/* ============================================
   ZIPPY PRO — Design System & Component Styles
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Primary Colors */
  --navy: #0f172a;
  --navy-light: #1e293b;
  --navy-mid: #162036;
  --blue: #3b82f6;
  --blue-hover: #2563eb;
  --blue-light: rgba(59, 130, 246, 0.15);
  --blue-glow: rgba(59, 130, 246, 0.2);
  --purple: #8b5cf6;
  --white: #ffffff;

  /* Secondary Colors */
  --slate: #64748b;
  --slate-light: #94a3b8;
  --slate-bg: #f1f5f9;
  --slate-border: #e2e8f0;
  --green: #22c55e;
  --orange: #f97316;
  --orange-hover: #ea580c;
  --orange-light: rgba(249, 115, 22, 0.12);
  --orange-glow: rgba(249, 115, 22, 0.2);
  --amber: #f59e0b;
  --red: #ef4444;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --max-width: 1280px;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 48px rgba(0,0,0,0.16);
  --shadow-glow: 0 0 40px rgba(59,130,246,0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 180ms var(--ease-out);
  --transition-base: 300ms var(--ease-out);
  --transition-slow: 500ms var(--ease-out);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--slate);
  background: var(--white);
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; color: var(--navy); }
p, li, figcaption { text-wrap: pretty; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }

::selection {
  background: rgba(59, 130, 246, 0.25);
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

/* --- Section Spacing --- */
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}

.section--dark {
  background: var(--navy);
  color: var(--slate-light);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--light {
  background: var(--white);
}

.section--slate {
  background: var(--slate-bg);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.75rem;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0 0 0 0 rgba(59,130,246,0);
}

.btn--primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 4px 12px rgba(59,130,246,0.35), 0 0 0 0 rgba(59,130,246,0);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.btn--outline:hover {
  background: var(--blue-light);
}

.btn--large {
  padding: 1rem 2.25rem;
  font-size: var(--text-base);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all var(--transition-base);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .nav__inner { padding: var(--space-4) var(--space-8); }
}

.nav--scrolled {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav__logo svg {
  flex-shrink: 0;
}

.nav__links {
  display: none;
  list-style: none;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 1024px) {
  .nav__links { display: flex; }
}

.nav__links a {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav__links a:hover {
  color: var(--white);
}

.nav__ctas {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__ctas .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.nav__ctas .btn--ghost {
  display: none;
}

@media (min-width: 768px) {
  .nav__ctas .btn--ghost { display: inline-flex; }
}

/* Mobile Menu */
.nav__mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
}

@media (min-width: 1024px) {
  .nav__mobile-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  padding: 6rem var(--space-8) var(--space-8);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  padding: var(--space-4) 0;
  color: var(--white);
  font-size: var(--text-lg);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-8);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.hero__gradient-orb--1 {
  width: 600px;
  height: 600px;
  background: var(--blue);
  top: -200px;
  right: -100px;
}

.hero__gradient-orb--2 {
  width: 400px;
  height: 400px;
  background: var(--orange);
  bottom: -100px;
  left: -50px;
  opacity: 0.2;
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem var(--space-6) var(--space-16);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr 1fr;
    padding: 10rem var(--space-8) var(--space-16);
  }
}

.hero__text { max-width: 600px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--radius-xl);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--orange);
  margin-bottom: var(--space-6);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: var(--space-6);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--orange), #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--slate-light);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__trust-avatars {
  display: flex;
}

.hero__trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
}

.hero__trust-avatar:not(:first-child) {
  margin-left: -8px;
}

.hero__trust-text {
  font-size: var(--text-xs);
  color: var(--slate-light);
}

.hero__trust-text strong {
  color: var(--white);
}

.hero__trust-stars {
  display: flex;
  gap: 2px;
  color: var(--amber);
}

/* Hero Dashboard Preview */
.hero__visual {
  position: relative;
  display: block;
  margin-top: var(--space-10);
}

@media (min-width: 1024px) {
  .hero__visual { margin-top: 0; }
}

.hero__dashboard {
  position: relative;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 80px rgba(59,130,246,0.1);
}

/* Hero Screenshot Frame */
.hero__screenshot-frame {
  position: relative;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 80px rgba(59,130,246,0.15);
}

.hero__screenshot-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero__screenshot-bar-title {
  font-size: 0.6875rem;
  color: var(--slate);
  margin-left: var(--space-2);
  font-weight: 500;
}

.hero__screenshot-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__dashboard-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero__dashboard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hero__dashboard-dot--red { background: #ef4444; }
.hero__dashboard-dot--yellow { background: #f59e0b; }
.hero__dashboard-dot--green { background: #22c55e; }

.hero__dashboard-content {
  padding: var(--space-6);
}

.hero__dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}

.hero__dashboard-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
}

.hero__dashboard-date {
  font-size: var(--text-xs);
  color: var(--slate);
}

/* KPI Cards */
.hero__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero__kpi {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
}

.hero__kpi-label {
  font-size: 0.6875rem;
  color: var(--slate);
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__kpi-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-mono);
}

.hero__kpi-change {
  font-size: 0.6875rem;
  color: var(--green);
  margin-top: 2px;
}

/* Mini Chart */
.hero__mini-chart {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.hero__chart-label {
  font-size: 0.6875rem;
  color: var(--slate);
  margin-bottom: var(--space-3);
}

.hero__chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
}

.hero__chart-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(to top, var(--blue), rgba(59,130,246,0.4));
  transition: height 1s var(--ease-out);
}

.hero__chart-bar:nth-child(even) {
  background: linear-gradient(to top, var(--orange), rgba(249,115,22,0.4));
}

/* --- PAIN POINT SECTION --- */
.pain {
  background: var(--white);
}

.pain__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.pain__header h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.pain__header p {
  font-size: var(--text-lg);
  color: var(--slate);
  max-width: 600px;
  margin: 0 auto;
}

.pain__comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pain__comparison {
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-6);
  }
}

.pain__old {
  background: var(--slate-bg);
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.pain__old-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: var(--space-6);
}

.pain__tool-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pain__tool {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-border);
  font-size: var(--text-sm);
}

.pain__tool-name {
  color: var(--navy);
  font-weight: 500;
}

.pain__tool-price {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--red);
  font-size: var(--text-sm);
}

.pain__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4);
  background: rgba(239,68,68,0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(239,68,68,0.15);
  margin-top: var(--space-3);
}

.pain__total-label {
  font-weight: 700;
  color: var(--navy);
  font-size: var(--text-sm);
}

.pain__total-price {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--red);
  font-size: var(--text-lg);
}

.pain__vs {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pain__vs-badge {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8125rem;
  color: var(--white);
}

.pain__new {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}

.pain__new::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.08), transparent);
  pointer-events: none;
}

.pain__new-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: var(--space-6);
  position: relative;
}

.pain__new-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  position: relative;
}

.pain__new-logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pain__new-name {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--white);
}

.pain__feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  position: relative;
}

.pain__feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--slate-light);
}

.pain__feature-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: rgba(34,197,94,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.pain__new-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-4);
  background: rgba(59,130,246,0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(59,130,246,0.2);
  position: relative;
}

.pain__new-price-label {
  font-size: var(--text-xs);
  color: var(--slate-light);
}

.pain__new-price-value {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--white);
}

.pain__new-price-period {
  font-size: var(--text-xs);
  color: var(--slate);
}

/* --- FEATURES SECTION --- */
.features {
  background: var(--slate-bg);
}

.features__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.features__header h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.features__header p {
  font-size: var(--text-lg);
  color: var(--slate);
  max-width: 600px;
  margin: 0 auto;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  border-color: rgba(59,130,246,0.2);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(-2px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  color: var(--blue);
}

.feature-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.6;
}

/* --- FEATURES EXPANDED SECTION --- */
.features__expanded {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease,
              margin-top 0.4s ease;
  margin-top: 0;
}

.features__expanded.is-visible {
  max-height: 2000px;
  opacity: 1;
  margin-top: var(--space-10);
}

/* --- DEMO SECTION --- */
.demo {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.demo__content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.demo h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.demo p {
  font-size: var(--text-lg);
  color: var(--slate-light);
  max-width: 600px;
  margin: 0 auto var(--space-10);
}

.demo__player {
  max-width: 900px;
  margin: 0 auto;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.demo__play-btn {
  width: 80px;
  height: 80px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-base);
  box-shadow: 0 0 60px rgba(249,115,22,0.4);
}

.demo__player:hover .demo__play-btn {
  transform: scale(1.08);
  box-shadow: 0 0 80px rgba(249,115,22,0.5);
}

/* --- MULTI-DEVICE SHOWCASE --- */
.devices {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
  position: relative;
  padding: var(--space-8) 0;
}

/* Base device styles */
.device {
  position: relative;
}

.device__screen {
  overflow: hidden;
}

.device__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.device__label {
  text-align: center;
  margin-top: var(--space-3);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* MacBook */
.device--macbook {
  width: 60%;
  max-width: 700px;
  z-index: 2;
}

.device--macbook .device__screen {
  background: var(--navy-light);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 12px 12px 0 0;
  aspect-ratio: 16/10;
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
}

.device--macbook .device__base {
  background: linear-gradient(180deg, #3a3a3f 0%, #2a2a2e 100%);
  height: 14px;
  border-radius: 0 0 8px 8px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.device--macbook .device__notch {
  width: 80px;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 0 0 4px 4px;
  margin: 0 auto;
}

/* iPhone */
.device--iphone {
  width: 15%;
  max-width: 160px;
  z-index: 3;
  margin-left: -40px;
  margin-bottom: -20px;
}

.device--iphone .device__screen {
  background: var(--navy-light);
  border: 3px solid #2a2a2e;
  border-radius: 24px;
  aspect-ratio: 9/19.5;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
}

/* Android */
.device--android {
  width: 14%;
  max-width: 150px;
  z-index: 3;
  margin-left: -30px;
  margin-bottom: -10px;
}

.device--android .device__screen {
  background: var(--navy-light);
  border: 3px solid #1a1a1e;
  border-radius: 16px;
  aspect-ratio: 9/19.5;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* Windows Browser */
.device--windows {
  max-width: 1000px;
  margin: 0 auto var(--space-4);
}

.device--windows .device__toolbar {
  background: #1e1e22;
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.device--windows .device__toolbar-dots {
  display: flex;
  gap: 6px;
}

.device--windows .device__toolbar-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.device--windows .device__toolbar-dots span:nth-child(1) { background: #ff5f57; }
.device--windows .device__toolbar-dots span:nth-child(2) { background: #ffbd2e; }
.device--windows .device__toolbar-dots span:nth-child(3) { background: #28c840; }

.device--windows .device__toolbar-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--slate-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.device--windows .device__screen {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: none;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Mobile responsive for devices */
@media (max-width: 768px) {
  .devices {
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
  }

  .device--macbook {
    width: 100%;
  }

  .device--iphone,
  .device--android {
    width: 40%;
    max-width: 180px;
    margin-left: 0;
    margin-bottom: 0;
  }

  .devices {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .device--macbook {
    flex-basis: 100%;
  }
}

@media (max-width: 480px) {
  .device--iphone,
  .device--android {
    width: 35%;
  }
}

/* --- PLATFORM SHOWCASE GRID --- */
.showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .showcase__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.showcase__item {
  position: relative;
}

.showcase__item--large {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .showcase__item--large {
    grid-column: span 1;
  }
}

.showcase__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--navy-light);
  transition: all var(--transition-base);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.showcase__frame:hover {
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 8px 40px rgba(59,130,246,0.15);
  transform: translateY(-4px);
}

.showcase__frame img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase__label {
  text-align: center;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
  background: var(--white);
}

.testimonials__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.testimonials__header h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: var(--slate-bg);
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: var(--amber);
  margin-bottom: var(--space-4);
}

.testimonial-card__quote {
  font-size: var(--text-base);
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--white);
}

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--slate);
}

/* --- TRADES SECTION --- */
.trades {
  background: var(--slate-bg);
}

.trades__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.trades__header h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.trades__header p {
  font-size: var(--text-lg);
  color: var(--slate);
  max-width: 600px;
  margin: 0 auto;
}

.trades__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .trades__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .trades__grid { grid-template-columns: repeat(6, 1fr); }
}

/* Expanded grid for 36+ trade cards */
.trades__grid--expanded {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .trades__grid--expanded { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .trades__grid--expanded { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .trades__grid--expanded { grid-template-columns: repeat(6, 1fr); }
}

.trade-card {
  background: var(--white);
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
}

/* Compact cards in expanded grid */
.trades__grid--expanded .trade-card {
  padding: var(--space-4) var(--space-3);
}

.trade-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 24px rgba(249, 115, 22, 0.12);
  transform: translateY(-2px);
}

.trade-card__icon {
  width: 56px;
  height: 56px;
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-size: 1.5rem;
}

.trades__grid--expanded .trade-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-3);
  font-size: 1.25rem;
}

.trade-card__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.trades__grid--expanded .trade-card__name {
  font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
}

/* --- PRICING SECTION --- */
.pricing {
  background: var(--white);
}

.pricing__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.pricing__header h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.pricing__header p {
  font-size: var(--text-lg);
  color: var(--slate);
  max-width: 600px;
  margin: 0 auto;
}

.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.pricing__toggle-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--slate);
}

.pricing__toggle-label--active {
  color: var(--navy);
  font-weight: 600;
}

.pricing__toggle-switch {
  width: 48px;
  height: 26px;
  background: var(--blue);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.pricing__toggle-switch.is-monthly {
  background: var(--slate-border);
}

.pricing__toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.pricing__toggle-switch.is-monthly::after {
  transform: translateX(22px);
}

.pricing__save {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--green);
  background: rgba(34,197,94,0.1);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.pricing__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing__cards { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-card--popular {
  border-color: var(--orange);
  box-shadow: 0 0 40px rgba(249,115,22,0.12);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-1);
}

.pricing-card__tagline {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}

.pricing-card--popular .pricing-card__tagline {
  color: var(--orange);
}

.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--slate);
  margin-bottom: var(--space-2);
}

.pricing-card__users {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--slate-bg);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: var(--space-4);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  margin-bottom: var(--space-1);
}

.pricing-card__billed {
  font-size: 0.75rem;
  color: var(--slate);
  margin-bottom: var(--space-6);
}

.pricing-card__badge--value {
  background: linear-gradient(135deg, var(--blue), #8b5cf6);
}

.pricing-card__currency {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
}

.pricing-card__amount {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-mono);
  line-height: 1;
}

.pricing-card__period {
  font-size: var(--text-sm);
  color: var(--slate);
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--slate);
}

.pricing-card__check {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
}

/* Founder's Rate Badge */
.pricing__founders {
  text-align: center;
  margin-top: var(--space-10);
  padding: var(--space-6);
  background: linear-gradient(135deg, rgba(249,115,22,0.06), rgba(251,191,36,0.06));
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: var(--radius-xl);
  max-width: 600px;
  margin-inline: auto;
}

.pricing__founders-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.pricing__founders-text {
  font-size: var(--text-sm);
  color: var(--slate);
}

.pricing__founders-text strong {
  color: var(--orange);
}

/* --- AI SECTION --- */
.ai {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.ai__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(249,115,22,0.06));
  pointer-events: none;
}

.ai__content {
  position: relative;
  z-index: 2;
}

.ai__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.ai__header h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.ai__header p {
  font-size: var(--text-lg);
  color: var(--slate-light);
  max-width: 600px;
  margin: 0 auto;
}

.ai__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .ai__grid { grid-template-columns: repeat(2, 1fr); }
}

.ai-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.ai-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(59,130,246,0.2);
  box-shadow: 0 0 40px rgba(59,130,246,0.08);
}

.ai-card:hover::before {
  opacity: 1;
}

.ai-card__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.15));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  color: var(--blue);
}

.ai-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.ai-card p {
  font-size: var(--text-sm);
  color: var(--slate-light);
  line-height: 1.7;
}

/* --- CTA SECTION --- */
.cta {
  background: linear-gradient(135deg, var(--navy), #1a1040);
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
}

.cta__orb--3 {
  width: 300px;
  height: 300px;
  background: var(--orange);
  top: 50%;
  right: 20%;
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
}

.cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
}

.cta__orb--1 {
  width: 500px;
  height: 500px;
  background: var(--blue);
  top: -200px;
  left: -150px;
}

.cta__orb--2 {
  width: 400px;
  height: 400px;
  background: var(--purple);
  bottom: -150px;
  right: -100px;
}

.cta__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.cta p {
  font-size: var(--text-lg);
  color: var(--slate-light);
  margin-bottom: var(--space-8);
}

.cta__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 440px;
  margin: 0 auto var(--space-6);
}

@media (min-width: 640px) {
  .cta__form { flex-direction: row; }
}

.cta__input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  color: var(--white);
  font-size: var(--text-sm);
  outline: none;
  transition: all var(--transition-fast);
}

.cta__input::placeholder {
  color: var(--slate);
}

.cta__input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

.cta__trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.cta__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--slate-light);
}

/* --- FOOTER --- */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: var(--space-16) var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr repeat(4, 1fr); }
}

.footer__brand p {
  font-size: var(--text-sm);
  color: var(--slate);
  margin-top: var(--space-4);
  max-width: 280px;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.3);
  color: var(--blue);
}

.footer__col-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col a {
  font-size: var(--text-sm);
  color: var(--slate);
  transition: color var(--transition-fast);
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.06);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--slate);
}

.footer__tagline {
  font-size: var(--text-xs);
  color: var(--slate);
  font-style: italic;
}

/* --- Animations (scroll-triggered) --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

/* Counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 639px) {
  .hero h1 { font-size: clamp(2rem, 1rem + 5vw, 3rem); }
  .section { padding-block: var(--space-12); }
  .hero__content { padding-top: 6rem; }
}
