/* ============================================
   Skipper Homepage — Styles
   Based on design.md tokens
   ============================================ */

:root {
  /* Brand Core */
  --skipper-blue: #0071E3;
  --skipper-blue-hover: #0077ED;
  --skipper-navy: #06132D;
  --skipper-gold: #D4A853;
  --skipper-gold-bright: #F5C563;
  --skipper-cyan: #64D2FF;

  /* Status */
  --status-positive: #30D158;
  --status-negative: #FF453A;

  /* Gradients */
  --gradient-accent: linear-gradient(135deg, var(--skipper-blue), var(--skipper-cyan));
  --gradient-gold: linear-gradient(135deg, var(--skipper-gold), var(--skipper-gold-bright));
  --hero-bg: radial-gradient(ellipse at top, #0A1A3A 0%, #000000 70%);

  /* Dark theme (default) */
  --bg-primary: #000000;
  --bg-secondary: #060606;
  --bg-tertiary: #111111;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-nav: rgba(0, 0, 0, 0.72);
  --bg-glass: rgba(28, 28, 30, 0.6);

  --text-primary: #F5F5F7;
  --text-secondary: #86868B;
  --text-tertiary: #6E6E73;
  --text-inverse: #000000;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.1);
  --shadow-soft: 0 2px 20px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.4);

  /* Typography */
  --font-sans: 'Geist', 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container-max: 1080px;
  --container-wide: 1400px;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.6s var(--ease-out-expo);
  --transition-fast: 0.3s var(--ease-out-expo);
  --transition-theme: 0.5s var(--ease-out-expo);
}

[data-theme="light"] {
  --hero-bg: linear-gradient(180deg, #D6E6F9 0%, #FFFFFF 100%);
  --bg-primary: #FFFFFF;
  --bg-secondary: #FBFBFD;
  --bg-tertiary: #F5F5F7;
  --bg-card: rgba(0, 0, 0, 0.02);
  --bg-card-hover: rgba(0, 0, 0, 0.04);
  --bg-nav: rgba(255, 255, 255, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.6);

  --text-primary: #1D1D1F;
  --text-secondary: #6E6E73;
  --text-tertiary: #86868B;
  --text-inverse: #FFFFFF;

  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-card: rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 2px 20px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.08);

  /* Light-theme gradients: darker endpoints for contrast on white */
  --gradient-accent: linear-gradient(135deg, #0056B3, var(--skipper-blue));
  --gradient-gold: linear-gradient(135deg, #8B6914, #C09530);
}

/* Phone interior — light theme (matches the page light aesthetic) */
.demo-wrap .demo-statusbar,
.demo-wrap .demo-statusbar-icons,
.demo-wrap .demo-header .demo-title {
  color: #1A2740;
}

.demo-wrap .demo-statusbar,
.demo-wrap .demo-header,
.demo-wrap .demo-messages,
.demo-wrap .demo-prompts,
.demo-wrap .demo-home-indicator {
  background: #FFFFFF;
}

.demo-wrap .demo-header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.demo-wrap .demo-header .demo-mode {
  color: rgba(26, 39, 64, 0.55);
  border-color: rgba(0, 0, 0, 0.15);
}

.demo-wrap .demo-prompts {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.demo-wrap .demo-home-indicator::before {
  background: rgba(0, 0, 0, 0.35);
  opacity: 1;
}

.demo-wrap .prompt-chip {
  background: #F2F4F7;
  color: #1A2740;
  border-color: rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
}

.demo-wrap .prompt-chip:hover:not(:disabled) {
  background: #E8ECF2;
  border-color: var(--skipper-blue);
}

.demo-wrap .demo-reset {
  position: relative;
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
  color: rgba(26, 39, 64, 0.5);
}

.demo-wrap .demo-reset:hover {
  color: #1A2740;
}

/* Unified Skipper response bubble — same style for all assistant messages */
.demo-wrap .msg-analysis,
.demo-wrap .msg-alert,
.demo-wrap .msg-log {
  align-self: flex-start;
  background: #F2F4F7;
  color: #1A2740;
  border-left: none;
  border-radius: 16px 16px 16px 4px;
}

.demo-wrap .msg-log {
  font-size: 13px;
  color: rgba(26, 39, 64, 0.55);
}

.demo-wrap .msg strong {
  color: var(--skipper-blue);
  font-weight: 700;
}

[data-theme="light"] .hero-sub {
  color: #3A4556;
}

[data-theme="light"] .scroll-hint {
  color: #6E6E73;
}

[data-theme="light"] .concept-caption {
  color: #6E6E73;
}

[data-theme="light"] .btn-gold {
  color: #FFFFFF;
  background: linear-gradient(135deg, #003E82 0%, #0056B3 50%, var(--skipper-blue) 100%);
}

[data-theme="light"] .btn-gold:hover {
  filter: brightness(1.08);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: 60px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  transition: background var(--transition-theme), color var(--transition-theme);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============== Line-break & Korean word-break ============== */
body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1, h2, h3, .concept-quote, .big-feature-num, .big-feature-title {
  text-wrap: balance;
}

.hero-sub, .section-desc, .big-feature-desc, .concept-caption, .cta p {
  text-wrap: pretty;
}

.br-mobile { display: none; }
.br-desktop { display: inline; }

@media (max-width: 480px) {
  .br-mobile { display: inline; }
  .br-desktop { display: none; }
}

/* ============== Navigation ============== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: #FFFFFF;
  z-index: 1000;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Dark variant — text/logo flip to light when nav sits over a dark section (Concept) */
.nav.nav-dark .nav-logo,
.nav.nav-dark .nav-links a,
.nav.nav-dark .lang-toggle,
.nav.nav-dark .lang-divider {
  color: rgba(255, 255, 255, 0.85);
}

.nav.nav-dark .nav-links a:hover,
.nav.nav-dark .nav-links a.active,
.nav.nav-dark .nav-logo:hover {
  color: #FFFFFF;
}

.nav.nav-dark .lang-toggle {
  border-color: rgba(255, 255, 255, 0.2);
}

.nav.nav-dark .mobile-menu-btn span {
  background: rgba(255, 255, 255, 0.85);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-logo svg {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}

/* Fixed widths so each menu item's center stays put when language switches */
.nav-links > li {
  display: flex;
  justify-content: center;
}

.nav-links > li:nth-child(1) { min-width: 100px; }
.nav-links > li:nth-child(2) { min-width: 80px; }
.nav-links > li:nth-child(3) { min-width: 130px; }
.nav-links > li:nth-child(4) { min-width: 100px; }
.nav-links > li:nth-child(5) { min-width: 100px; }

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast), font-weight var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a.active {
  color: var(--skipper-blue);
  font-weight: 800;
}

/* btn-nav (출시 알림) is already visually prominent — keep its base styling on active */
.nav-links a.btn-nav.active {
  font-weight: 600;
  color: #FFFFFF;
}

.nav.nav-dark .nav-links a.active {
  color: #FFFFFF;
  font-weight: 800;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 10px;
  border-radius: 980px;
  border: 1px solid var(--border-card);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.lang-toggle:hover {
  border-color: var(--skipper-blue);
}

.lang-divider {
  color: var(--text-tertiary);
  margin: 0 1px;
}

.lang-opt {
  transition: color var(--transition-fast);
}

.lang-opt.active {
  color: var(--skipper-blue);
}

.theme-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
}

[data-theme="dark"] .theme-toggle .icon-sun,
[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--skipper-blue);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--skipper-blue-hover);
  transform: scale(1.02);
}

.btn-secondary {
  background: transparent;
  color: var(--skipper-blue);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
}

.btn-secondary:hover svg {
  transform: translateX(3px);
}

.btn-secondary svg {
  transition: transform var(--transition-fast);
  width: 16px;
  height: 16px;
}

.btn-gold {
  background: linear-gradient(135deg, #0056B3 0%, var(--skipper-blue) 50%, var(--skipper-cyan) 100%);
  color: #FFFFFF;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
}

.btn-gold:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35);
}

.btn-gold:active {
  transform: translateY(0);
  filter: brightness(0.95);
  box-shadow: none;
}

.btn-nav {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  background: var(--gradient-accent);
  color: #FFFFFF;
  border-radius: 980px;
  min-width: 85px;
  text-align: center;
  transition: filter 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nav-links a.btn-nav {
  color: #FFFFFF;
}

.btn-nav:hover,
.nav-links a.btn-nav:hover {
  color: #FFFFFF;
  background: var(--gradient-accent);
  filter: brightness(1.08);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.20), 0 4px 14px rgba(0, 113, 227, 0.32);
  transform: translateY(-1px);
}

.btn-nav:active,
.nav-links a.btn-nav:active {
  background: var(--gradient-accent);
  filter: brightness(0.92);
  box-shadow: none;
  transform: translateY(0);
}

/* Hamburger menu button — always visible, leftmost */
.mobile-menu-btn {
  display: flex;
  width: 32px;
  height: 32px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px;
  margin-right: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay menu */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: 52px;
  background: var(--bg-primary);
  z-index: 999;
  padding: 40px 24px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.mobile-menu-overlay.open {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-overlay ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-menu-overlay a {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.mobile-menu-overlay a:hover {
  color: var(--skipper-blue);
}

.btn-large {
  padding: 18px 36px;
}

/* ============== Hero ============== */
.hero {
  min-height: 100vh;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 96px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 8, 24, 0.85) 0%, rgba(0, 8, 24, 0.55) 50%, rgba(0, 8, 24, 0.2) 100%),
    linear-gradient(180deg, rgba(0, 8, 24, 0.3) 0%, rgba(0, 8, 24, 0.55) 100%);
}

[data-theme="light"] .hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.65) 55%, rgba(255, 255, 255, 0.2) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.4) 100%);
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.7;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-content > * {
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-card);
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-positive);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: #1A2740;
}

.hero h1 .accent {
  background: linear-gradient(135deg, #0056B3 0%, var(--skipper-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(18px, 2.2vw, 22px);
  color: #5A6478;
  margin: 0 auto 40px;
  line-height: 1.5;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============== Hero Chat Bubbles ============== */
.hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-bubble {
  position: absolute;
  padding: 14px 22px;
  border-radius: 22px;
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 8, 24, 0.10);
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(6px) scale(0.94);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Bubble shape variants — randomized per spawn for visual richness */
.hero-bubble.shape-1 {
  border-radius: 22px 22px 22px 4px;   /* tail bottom-left */
}

.hero-bubble.shape-2 {
  border-radius: 22px 22px 4px 22px;   /* tail bottom-right */
}

.hero-bubble.shape-3 {
  border-radius: 999px;                /* pill */
}

.hero-bubble.shape-4 {
  border-radius: 12px;                 /* soft rounded square */
}

.hero-bubble.shape-5 {
  border-radius: 4px 22px 22px 22px;   /* tail top-left */
}

.hero-bubble.shape-6 {
  border-radius: 22px 4px 22px 22px;   /* tail top-right */
}

.hero-bubble.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-bubble.fading {
  opacity: 0;
  transform: translateY(-4px) scale(0.97);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Center-positioned bubbles use translateX(-50%) to align horizontally
   while preserving the visible/fading vertical animation */
.hero-bubble.bubble-center {
  transform: translate(-50%, 6px) scale(0.94);
}

.hero-bubble.bubble-center.visible {
  transform: translate(-50%, 0) scale(1);
}

.hero-bubble.bubble-center.fading {
  transform: translate(-50%, -4px) scale(0.97);
}

.hero-bubble.bubble-orange {
  background: #E08642;
  color: #FFFFFF;
}

.hero-bubble.bubble-pink {
  background: #F4CCE0;
  color: #5D2D4A;
}

.hero-bubble.bubble-lavender {
  background: #A992D9;
  color: #FFFFFF;
}

.hero-bubble.bubble-mint {
  background: #5FBEA0;
  color: #FFFFFF;
}

/* Typing cursor (only while typing) */
.hero-bubble.typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  background: currentColor;
  vertical-align: -2px;
  animation: bubble-cursor 0.8s step-end infinite;
}

@keyframes bubble-cursor {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Hero scroll-hint adjust for light bg */
.hero .scroll-hint {
  color: #5A6478;
  opacity: 0.5;
}

/* Hero btn-secondary adjustment for light bg */
.hero .btn-secondary {
  color: var(--skipper-blue);
}

.hero .btn-secondary:hover {
  background: rgba(0, 102, 204, 0.08);
}

/* "대화해보기" / "Say hi" — chat bubble shape (outgoing message, tail bottom-right)
   Visually echoes the surrounding Hero chat bubbles, reinforces the "conversation" concept */
.hero .btn-primary {
  border-radius: 24px 24px 6px 24px;
}

/* Mobile bubble adjustments */
@media (max-width: 768px) {
  .hero-bubble {
    font-size: 12px;
    padding: 10px 16px;
    max-width: 65%;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .hero-bubbles {
    display: none;
  }
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-tertiary);
  animation: scroll-hint 2s infinite;
}

@keyframes scroll-hint {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(4px);
  }
}

/* ============== Section base ============== */
section {
  padding: 160px 0 64px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section > .container {
  width: 100%;
}

.section-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--skipper-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}


.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.section-desc {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.5;
}

.section-header {
  text-align: left;
  margin: 0 0 72px;
}

.section-header .section-desc {
  margin: 0;
}

/* ============== Concept ============== */
/* Deep predawn navy — softer than pure black so the Hero→Concept tonal jump
   is gentler. Stars still pop, but the section breathes more like "blue hour"
   than "midnight void". */
.concept {
  background: #0A1A2E;
  color: #F5F5F7;
  text-align: left;
  padding: 160px 24px 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.concept .concept-quote {
  color: #F5F5F7;
}

.concept .concept-caption {
  color: rgba(245, 245, 247, 0.7);
}

.concept .section-tag {
  color: var(--skipper-cyan);
}

.concept .container {
  position: relative;
  z-index: 1;
}

.concept-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.concept-stars svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Background scattered tiny stars (atmospheric) */
.concept-stars .bg-stars circle {
  fill: rgba(255, 255, 255, 0.42);
  animation: bg-twinkle 4s ease-in-out infinite;
}

.concept-stars .bg-stars circle:nth-child(3n) { animation-delay: 1s; }
.concept-stars .bg-stars circle:nth-child(4n) { animation-delay: 2.4s; }
.concept-stars .bg-stars circle:nth-child(5n) { animation-delay: 3.6s; }
.concept-stars .bg-stars circle:nth-child(7n) { animation-delay: 4.5s; }

/* Single anchor star (Polaris) — halo + cross flare, slow pulse */
.concept-stars .polaris-star {
  animation: polaris-pulse 4s ease-in-out infinite;
}

.concept-stars .polaris-star .star-core {
  fill: white;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.75));
}

.concept-stars .polaris-star .ray-h,
.concept-stars .polaris-star .ray-v {
  stroke-linecap: round;
}

@keyframes bg-twinkle {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.75; }
}

@keyframes polaris-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

/* Concept section is always dark — stars stay light (no theme overrides) */

.compass-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 0 48px;
}

.compass-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-card);
  border-radius: 50%;
  animation: spin-slow 40s linear infinite;
}

.compass-ring::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--skipper-gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px var(--skipper-gold);
}

.compass-ring-inner {
  position: absolute;
  inset: 30px;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  animation: spin-slow 20s linear infinite reverse;
}

.compass-core {
  position: absolute;
  inset: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: 50%;
  animation: float-gentle 6s ease-in-out infinite;
}

.compass-core svg {
  width: 48px;
  height: 48px;
  color: #fff;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float-gentle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.concept-quote {
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin: 0;
}

/* Skipper's reply bubble — visually echoes Hero chat bubbles, ties the
   two sections together. Tail at bottom-left = "incoming message from Skipper".
   Warm cream tone harmonizes with the deep navy bg without competing. */
.concept-quote .gold {
  display: inline-block;
  background: linear-gradient(135deg, #E5BD52 0%, #C9A050 100%);
  color: #2D1F08;
  padding: 4px 18px;
  border-radius: 20px 20px 20px 6px;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  margin-top: 10px;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 24px rgba(201, 160, 80, 0.25);
}

.concept-caption {
  display: block;
  margin-top: 32px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0;
  line-height: 1.5;
}

/* ============== Demo (phone mockup) ============== */
/* Base: tall monitors — keep phone proportions pretty */
#demo {
  background: #FAF6EC;
  padding-top: 80px;
  padding-bottom: 48px;
}

#features {
  background: #F8F9FB;
}

.cta {
  background: #FFFFFF;
}

#demo .section-header {
  margin: 0 0 40px;
}

/* Medium monitors — modest compaction */
@media (max-height: 900px) {
  #demo {
    padding-top: 56px;
    padding-bottom: 32px;
  }
  #demo .section-header {
    margin: 0 0 28px;
  }
}

/* Short monitors — tighter so "Try it" → 3rd chip fits */
@media (max-height: 800px) {
  #demo {
    padding-top: 36px;
    padding-bottom: 20px;
  }
  #demo .section-header {
    margin: 0 0 18px;
  }
}

.demo-wrap {
  max-width: 380px;
  margin: 0 auto;
  background: #0b0b0d;
  border: 10px solid #0b0b0d;
  border-radius: 48px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

/* Dynamic Island */
.demo-wrap::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 94px;
  height: 26px;
  background: #000;
  border-radius: 14px;
  z-index: 10;
}

/* Screen regions share the card background */
.demo-statusbar,
.demo-header,
.demo-messages,
.demo-prompts,
.demo-home-indicator {
  background: var(--bg-card);
}

.demo-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  min-height: 38px;
}

.demo-statusbar-time {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.demo-statusbar-icons {
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--text-primary);
}

.demo-statusbar-icons svg { display: block; height: 12px; }
.demo-statusbar-icons svg:nth-child(1) { width: 18px; }
.demo-statusbar-icons svg:nth-child(2) { width: 16px; }
.demo-statusbar-icons svg:nth-child(3) { width: 24px; }

.demo-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.demo-header .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-positive);
  animation: pulse-dot 2s infinite;
}

.demo-header .demo-title {
  font-size: 13px;
  font-weight: 600;
}

.demo-header .demo-mode {
  margin-left: auto;
  font-size: 10px;
  color: var(--text-tertiary);
  padding: 2px 7px;
  border: 1px solid var(--border-card);
  border-radius: 980px;
  letter-spacing: 0.04em;
}

.demo-messages {
  min-height: 480px;
  max-height: 580px;
  padding: 14px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

@media (max-height: 1100px) {
  .demo-messages {
    min-height: 440px;
    max-height: 540px;
  }
}

@media (max-height: 1000px) {
  .demo-messages {
    min-height: 400px;
    max-height: 500px;
  }
}

@media (max-height: 900px) {
  .demo-messages {
    min-height: 340px;
    max-height: 440px;
  }
  .demo-wrap {
    max-width: 340px;
  }
  .demo-wrap::before {
    width: 84px;
  }
}

@media (max-height: 800px) {
  .demo-messages {
    min-height: 260px;
    max-height: 360px;
  }
  .demo-wrap {
    max-width: 300px;
  }
  .demo-wrap::before {
    width: 76px;
    height: 22px;
  }
}

@media (max-height: 720px) {
  .demo-messages {
    min-height: 200px;
    max-height: 300px;
  }
  .demo-wrap {
    max-width: 270px;
  }
  .demo-wrap::before {
    width: 68px;
    height: 20px;
  }
}

.msg {
  max-width: 90%;
  padding: 7px 13px;
  font-size: 14px;
  line-height: 1.45;
  animation: msg-in 0.5s var(--ease-out-expo);
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.msg-user {
  align-self: flex-end;
  background: var(--skipper-blue);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
  max-width: 80%;
}

.msg-analysis {
  align-self: flex-start;
  background: rgba(0, 113, 227, 0.08);
  border-left: 3px solid var(--skipper-blue);
  border-radius: 4px 14px 14px 4px;
}

.msg-alert {
  align-self: flex-start;
  background: rgba(255, 69, 58, 0.08);
  border-left: 3px solid var(--status-negative);
  border-radius: 4px 14px 14px 4px;
}

.msg-log {
  align-self: flex-start;
  background: rgba(100, 210, 255, 0.08);
  border-left: 3px solid var(--skipper-cyan);
  border-radius: 4px 14px 14px 4px;
  font-size: 12px;
  color: var(--text-secondary);
}

.msg strong {
  color: var(--skipper-gold);
  font-weight: 600;
}

.msg-user strong {
  color: #fff;
}

.typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 10px 12px;
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-tertiary);
  animation: typing-bounce 1.1s infinite;
}

.typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-bounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

.demo-prompts {
  padding: 12px 14px 8px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.prompt-chip {
  padding: 9px 14px;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.15),
    0 1px 1px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.prompt-chip:hover:not(:disabled) {
  border-color: var(--skipper-blue);
  transform: translateY(-1px);
  box-shadow:
    0 5px 12px rgba(0, 0, 0, 0.22),
    0 0 0 3px rgba(0, 113, 227, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.prompt-chip:active:not(:disabled) {
  transform: translateY(0);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.15),
    inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.prompt-chip:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.demo-reset {
  align-self: center;
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--text-secondary);
  padding: 6px 12px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.demo-reset:hover {
  color: var(--text-primary);
}

.demo-home-indicator {
  padding: 6px 0 10px;
  display: flex;
  justify-content: center;
}

.demo-home-indicator::before {
  content: '';
  width: 120px;
  height: 4px;
  background: var(--text-primary);
  opacity: 0.35;
  border-radius: 2px;
}

/* ============== Features ============== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Each card = an incoming message from Skipper.
   Tail at bottom-left echoes the Concept gold bubble + Hero chat bubbles. */
.feature-card {
  padding: 44px 32px;
  background: #FAF6EC;
  border-radius: 24px 24px 24px 6px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
}

.feature-card:hover {
  border-color: rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.10);
}

/* h3 border separator — slightly darker on tinted bg */
.feature-card h3 {
  border-bottom-color: rgba(0, 0, 0, 0.10);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #fff;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  min-height: 84px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* ============== Partners ============== */
.partners {
  padding: 80px 24px 60px;
  text-align: center;
  background: #F4F6FA;
}

.partners .container {
  max-width: 1280px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 36px 56px;
  height: 168px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.partner-logo {
  max-height: 88px;
  max-width: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Square-cropped logos need extra height to match wide logos visually */
.partner-logo.partner-logo-square {
  max-height: 140px;
  max-width: 200px;
}

[data-theme="light"] .partner-logo-wrap {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .partner-logo-wrap {
    height: 140px;
    padding: 24px 32px;
  }
}

/* ============== Showcase ============== */
.showcase {
  background: var(--bg-secondary);
  padding: 160px 24px;
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  margin: 0 auto;
  background: #0a0a0a;
  border: 8px solid #1c1c1e;
  border-radius: 44px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  background: linear-gradient(180deg, #06132D, #000);
  padding: 40px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #F5F5F7;
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #F5F5F7;
}

.phone-brand {
  letter-spacing: -0.01em;
}

.phone-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #B8D8FF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.phone-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-positive);
  box-shadow: 0 0 8px var(--status-positive);
}

.phone-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(0, 113, 227, 0.12);
  border: 1px solid rgba(100, 160, 255, 0.25);
}

.phone-label {
  font-size: 11px;
  color: #B8D8FF;
  letter-spacing: 0.04em;
}

.phone-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--skipper-gold-bright);
}

.phone-sub {
  font-size: 11px;
  color: #9AB3DD;
}

.phone-cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.phone-card-name {
  font-weight: 600;
}

.phone-card-pos {
  color: var(--status-positive);
  font-weight: 600;
}

.phone-card-neg {
  color: var(--status-negative);
  font-weight: 600;
}

.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.showcase-list li {
  display: flex;
  gap: 16px;
}

.showcase-list .num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--skipper-blue);
}

.showcase-list h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.showcase-list p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============== Big Feature ============== */
.big-feature {
  padding: 260px 24px 100px;
  text-align: left;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.big-feature-num {
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 24px;
}

.big-feature-title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.big-feature-desc {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0;
  line-height: 1.6;
}

/* ============== Platform ============== */
.platform {
  background: var(--bg-secondary);
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.platform-card {
  padding: 48px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  transition: all var(--transition-fast);
}

.platform-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.platform-card .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.platform-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.platform-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============== CTA ============== */
.cta {
  text-align: center;
  padding: 160px 24px 64px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 8, 24, 0.85) 0%, rgba(0, 8, 24, 0.55) 55%, rgba(0, 8, 24, 0.25) 100%),
    radial-gradient(circle at 30% 50%, rgba(0, 113, 227, 0.18), transparent 60%);
}

[data-theme="light"] .cta-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 55%, rgba(255, 255, 255, 0.2) 100%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 56px;
  border-radius: 28px;
  background: #DCE7F5;
  box-shadow:
    0 20px 50px rgba(0, 86, 179, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.04);
  text-align: center;
  box-sizing: border-box;
}

.cta-inner > * {
  max-width: 100%;
}

.cta-inner h2 {
  color: #0A2342;
}

.cta-inner p {
  color: #2D4263;
}

.cta-inner h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 12px;
}

.cta-inner p {
  font-size: 16px;
  margin-bottom: 28px;
}

.cta-inner .cta-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  margin: 0 auto;
}

.cta-inner .cta-form input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #1A2740;
  padding: 14px 22px;
  font-size: 15px;
  text-align: center;
}

.cta-inner .cta-form input::placeholder {
  color: rgba(10, 35, 66, 0.45);
}

.cta-inner .cta-form button {
  width: 100%;
  background: var(--gradient-accent);
  color: #FFFFFF;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.cta-inner .cta-form button::after {
  content: '→';
  font-size: 18px;
}

.cta-inner .cta-form button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35);
}

.cta-inner .cta-form button:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.cta-inner .cta-disclaimer {
  color: rgba(45, 66, 99, 0.65);
  margin-top: 14px;
}

.cta h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.cta p {
  font-size: 19px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0;
}

.cta-form input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 980px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.cta-form input:focus {
  border-color: var(--skipper-blue);
}

.cta-form button {
  flex-shrink: 0;
}

.cta-disclaimer {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ============== Footer ============== */
.footer {
  padding: 60px 24px 40px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.footer-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-legal {
  width: 100%;
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  text-align: right;
}

/* ============== Scroll Reveal ============== */
/* JS adds .js-ready to <html> — without it, content is fully visible (no FOIC) */
html.js-ready .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

html.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============== Responsive ============== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 120px 0 48px;
    min-height: auto;
  }

  .hero {
    min-height: 100vh;
  }

  .concept,
  .showcase {
    padding: 140px 24px 56px;
  }

  .cta {
    padding: 160px 24px 56px;
    min-height: auto;
  }

  .big-feature {
    padding: 180px 24px 72px;
  }

  .nav-links {
    display: none;
  }

  .features-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .phone-mockup {
    width: 260px;
    height: 520px;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-form button {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 100px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(48px, 10vw, 80px);
  }

  .section-title {
    font-size: clamp(40px, 8vw, 56px);
  }

  .concept-quote {
    font-size: clamp(32px, 7vw, 44px);
  }

  .big-feature-num {
    font-size: clamp(88px, 20vw, 180px);
  }

  .big-feature-title {
    font-size: clamp(36px, 8vw, 48px);
  }

  .cta h2 {
    font-size: clamp(40px, 8vw, 56px);
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
  }

  .demo-messages {
    min-height: 360px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}