/* ==========================================================================
   CloudMove Design System — Playful, Creative & Tactile
   Targeting: Creators, Designers, Indie Makers & Individuals
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700;800&display=swap');

:root {
  color-scheme: light;

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Ink & Canvas */
  --ink: #1a162b;
  --muted: #69627a;
  --muted-light: #9b94ab;
  --paper: #fbf8f3;
  --surface: #ffffff;
  --surface-alt: #f5f0e8;
  --line: #e8e2d8;
  --line-bold: #1a162b;

  /* Playful Pop Palette */
  --brand: #5e43f3;
  --brand-hover: #4c30e5;
  --brand-soft: #ede8ff;
  --brand-deep: #1a162b;

  --coral: #ff5a36;
  --coral-hover: #e84622;
  --coral-soft: #ffebe6;

  --lemon: #ffd84d;
  --lemon-hover: #f5cb36;
  --lemon-soft: #fff9db;

  --mint: #10b981;
  --mint-soft: #d1fae5;

  --sky: #38bdf8;
  --sky-soft: #e0f2fe;

  --candy-pink: #f472b6;
  --candy-pink-soft: #fdf2f8;

  --amber: #b45309;
  --amber-pale: #fef3c7;

  /* Shadows & Shapes */
  --shadow-hard: 3px 3px 0px var(--line-bold);
  --shadow-hard-hover: 5px 5px 0px var(--line-bold);
  --shadow-card: 6px 6px 0px var(--line-bold);
  --shadow-soft: 0 16px 36px -8px rgba(94, 67, 243, 0.12), 0 4px 12px rgba(26, 22, 43, 0.04);

  --radius-control: 12px;
  --radius-card: 22px;
  --radius-panel: 28px;
  --radius-pill: 999px;

  --focus: #5e43f3;

  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 10% 220px, rgba(255, 90, 54, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 90% 180px, rgba(94, 67, 243, 0.11) 0%, transparent 50%),
    radial-gradient(circle at 50% 560px, rgba(255, 216, 77, 0.13) 0%, transparent 55%);
  background-repeat: no-repeat;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  margin-top: 0;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--ink);
}
p { margin-top: 0; }

/* Announcement Bar */
.status-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px;
  color: var(--ink);
  background: var(--lemon);
  border-bottom: 2px solid var(--line-bold);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 2px var(--line-bold);
  animation: pulse-dot-anim 1.5s infinite;
}
@keyframes pulse-dot-anim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.8; }
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-control);
  color: #fff;
  background: var(--brand);
  border: 2px solid var(--line-bold);
  transform: translateY(-200%);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  width: min(1160px, calc(100% - 64px));
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.05em;
  transition: transform 0.15s ease;
}
.brand:hover { transform: scale(1.03) rotate(-1deg); }

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--brand);
  border: 2px solid var(--line-bold);
  box-shadow: 2px 2px 0 var(--line-bold);
  font-size: 18px;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  margin-left: auto;
}
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--brand); }

/* Playful Tactile Buttons */
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 2px solid var(--line-bold);
  border-radius: var(--radius-control);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-hard);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
  user-select: none;
}
.button:hover:not(:disabled) {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard-hover);
}
.button:active:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--line-bold);
}
.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
  transform: none;
}

.button-small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 13px;
  border-radius: 10px;
  box-shadow: 2px 2px 0 var(--line-bold);
}
.button-small:hover:not(:disabled) {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--line-bold);
}

.button-primary {
  color: #fff;
  background: var(--brand);
}
.button-primary:hover:not(:disabled) { background: var(--brand-hover); }

.button-coral {
  color: #fff;
  background: var(--coral);
}
.button-coral:hover:not(:disabled) { background: var(--coral-hover); }

.button-lemon {
  color: var(--ink);
  background: var(--lemon);
}
.button-lemon:hover:not(:disabled) { background: var(--lemon-hover); }

.button-secondary {
  color: var(--ink);
  background: #fff;
}
.button-secondary:hover:not(:disabled) { background: var(--surface-alt); }

.button-outline {
  color: var(--ink);
  background: #fff;
  border-color: var(--line-bold);
}
.button-outline:hover:not(:disabled) { background: var(--surface-alt); }

.button-quiet {
  color: var(--muted);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.button-quiet:hover:not(:disabled) {
  color: var(--ink);
  background: var(--surface-alt);
  transform: none;
  box-shadow: none;
}

/* Playful Eyebrows & Stickers */
.sticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--lemon);
  color: var(--ink);
  border: 2px solid var(--line-bold);
  box-shadow: 2px 2px 0 var(--line-bold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  transform: rotate(-1.5deg);
  width: fit-content;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow-line { width: 20px; height: 3px; border-radius: 2px; background: var(--brand); }

/* Playful Hero Surface — Full bleed, unclipped */
.hero-surface {
  width: 100%;
  position: relative;
  isolation: isolate;
  background: transparent;
}

.hero-highlight {
  position: relative;
  display: inline-block;
  color: var(--brand);
}
.hero-highlight::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 4px;
  height: 12px;
  background: var(--lemon);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-0.5deg);
}

@media (max-width: 768px) {
  .site-header { width: calc(100% - 32px); min-height: 72px; }
  .main-nav { display: none; }
}
