/* ─── RESET ──────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

:root {
  --ink: #0d0f14;
  --text: #0d0f14;
  --text-mid: #4a5068;
  --text-soft: #8891aa;
  --surface: #f4f5f8;
  --surface-2: #eceef3;
  --white: #ffffff;
  --accent: #3b6ef8;
  --border: rgba(13,15,20,0.08);
  --border-mid: rgba(13,15,20,0.12);
  --font: 'Inter', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-md: 0 8px 32px rgba(13,15,20,0.08);
  --shadow-lg: 0 24px 80px rgba(13,15,20,0.12);
  --shadow-xl: 0 40px 120px rgba(13,15,20,0.18);
}

body { font-family: var(--font); background: var(--white); color: var(--text); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── NAV ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 48px; height: 64px; display: flex; align-items: center;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { width: 100%; max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: 4px; color: var(--ink); }
.logo svg { color: var(--ink); flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; color: var(--text-mid); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--ink) !important; color: var(--white) !important;
  padding: 10px 22px; border-radius: 999px; font-size: 13px !important;
  font-weight: 600 !important; transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.82; }

/* ─── BUTTONS ─────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--ink); color: var(--white);
  padding: 15px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(13,15,20,0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(13,15,20,0.28); }
.btn-ghost { display: inline-flex; align-items: center; color: var(--text-mid); font-size: 15px; font-weight: 500; padding: 15px 0; transition: color 0.2s; }
.btn-ghost:hover { color: var(--text); }
.btn-light { background: var(--white); color: var(--ink); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  min-height: 100vh; padding: 64px 48px 0;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  clip-path: inset(0);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); }
.blob-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(59,110,248,0.12), transparent 70%); top: -80px; right: -80px; }
.blob-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(16,185,129,0.08), transparent 70%); bottom: 80px; left: -40px; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(13,15,20,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(13,15,20,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%; flex: 1;
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 60px; align-items: center;
  padding: 100px 0 80px; position: relative; z-index: 2;
}

.hero-content { display: flex; flex-direction: column; gap: 28px; }

.hero-tag {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: 3px; color: var(--text-soft);
  background: var(--surface); border: 1px solid var(--border-mid);
  padding: 9px 18px; border-radius: 999px; width: fit-content;
}

.hero h1 {
  font-size: 68px; line-height: 1.02; letter-spacing: -3px;
  color: var(--ink); font-weight: 800;
}

.hero-content > p {
  font-size: 18px; line-height: 1.75; color: var(--text-mid); max-width: 460px;
}

.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 6px; }

/* SCREEN */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
}
.screen-frame {
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.06);
  width: calc(100% + 160px);
  margin-right: -160px;
  flex-shrink: 0;
}
.screen-frame:hover {
  box-shadow: 0 48px 140px rgba(13,15,20,0.22);
}
.screen-bar {
  display: flex; gap: 6px; padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.screen-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.screen-frame img { width: 100%; display: block; }

/* STATS BAR */
.hero-stats {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: flex; align-items: center;
  padding: 28px 0 44px; border-top: 1px solid var(--border);
  position: relative; z-index: 2;
}
.stat-item { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 0 36px; }
.stat-item:first-child { padding-left: 0; }
.stat-item strong { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.5px; }
.stat-item span { font-size: 13px; color: var(--text-soft); }
.stat-divider { width: 1px; height: 36px; background: var(--border-mid); flex-shrink: 0; }

/* ─── SECTION LABELS ──────────────────────────────── */
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  color: var(--text-soft); margin-bottom: 20px; display: block;
}

/* ─── SHOWCASE ────────────────────────────────────── */
.showcase { padding: 100px 48px; }
.showcase-inner { max-width: 1280px; margin: 0 auto; }
.showcase-inner h2 {
  font-size: 50px; font-weight: 800; letter-spacing: -2.5px;
  line-height: 1.1; color: var(--ink); margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--text-mid); line-height: 1.7; margin-bottom: 60px; }

.showcase-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px;
}

.showcase-card {
  background: var(--surface); border: 1px solid var(--border-mid);
  border-radius: var(--radius-xl); overflow: visible;
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-text { padding: 44px 44px 28px; }
.card-tag {
  display: block; font-size: 10px; font-weight: 700;
  letter-spacing: 3px; color: var(--text-soft); margin-bottom: 16px;
}
.card-text h3 {
  font-size: 28px; font-weight: 800; letter-spacing: -1px;
  color: var(--ink); margin-bottom: 14px; line-height: 1.2;
}
.card-text p { font-size: 15px; color: var(--text-mid); line-height: 1.7; }

.card-scroll-wrap {
  padding: 0 0 32px;
  position: relative;
  overflow: hidden;
}
.card-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 16px;
  padding: 0 0 16px 0;
  scrollbar-width: none;
  margin-left:10px;
}
.card-scroll::-webkit-scrollbar { display: none; }
.card-scroll img {
  flex: 0 0 calc(100% - 88px);
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  object-fit: cover;
  width: 50%;
}
.card-scroll img:first-child { margin-left: 44px; }
.card-scroll img:last-child  { margin-right: 44px; }
.card-imgs-mobile {
  padding: 16px 44px 32px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.card-imgs-mobile img {
  width: 47%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  object-fit: cover;
  object-position: top;
  max-height: 320px;
}
.scroll-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border-mid);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.active {
  background: var(--ink);
  transform: scale(1.3);
}

/* ─── PRICING ─────────────────────────────────────── */
.pricing { padding: 100px 48px; }
.pricing-inner { max-width: 1280px; margin: 0 auto; }
.pricing-inner h2 {
  font-size: 50px; font-weight: 800; letter-spacing: -2.5px;
  line-height: 1.1; color: var(--ink); margin-bottom: 16px;
}

.pricing-toggle {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 56px;
}
.toggle-label { font-size: 14px; font-weight: 500; color: var(--text-mid); display: flex; align-items: center; gap: 8px; }
.badge-save {
  font-size: 11px; font-weight: 700; color: #fff;
  background: var(--ink); padding: 3px 8px; border-radius: 999px;
}
.toggle-btn {
  width: 44px; height: 24px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border-mid);
  cursor: pointer; position: relative; transition: background 0.2s;
  flex-shrink: 0;
}
.toggle-btn.active { background: var(--ink); }
.toggle-knob {
  position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--text-soft); transition: transform 0.2s, background 0.2s;
}
.toggle-btn.active .toggle-knob { transform: translateX(20px); background: #fff; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--surface); border: 1px solid var(--border-mid);
  border-radius: var(--radius-xl); padding: 40px 36px;
  position: relative; transition: transform 0.25s, box-shadow 0.25s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card--featured {
  background: var(--ink); border-color: var(--ink);
  transform: translateY(-8px);
}
.pricing-card--featured:hover { transform: translateY(-12px); }

.plan-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; color: var(--ink);
  background: #fff; padding: 4px 12px;
  border-radius: 999px; margin-bottom: 20px;
}
.plan-name {
  font-size: 18px; font-weight: 700; color: var(--ink);
  margin-bottom: 10px; letter-spacing: -0.3px;
}
.pricing-card--featured .plan-name { color: #fff; }
.plan-desc {
  font-size: 14px; color: var(--text-mid); line-height: 1.6;
  margin-bottom: 28px; min-height: 48px;
}
.pricing-card--featured .plan-desc { color: rgba(255,255,255,0.55); }

.plan-price {
  display: flex; align-items: baseline; gap: 2px;
  margin-bottom: 28px;
}
.price-amount { font-size: 52px; font-weight: 800; letter-spacing: -3px; color: var(--ink); line-height: 1; }
.pricing-card--featured .price-amount { color: #fff; }
.price-currency { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.pricing-card--featured .price-currency { color: #fff; }
.price-period { font-size: 13px; color: var(--text-soft); margin-left: 4px; }
.pricing-card--featured .price-period { color: rgba(255,255,255,0.4); }

.btn-plan {
  display: block; text-align: center;
  padding: 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--border-mid);
  color: var(--ink); background: var(--white);
  margin-bottom: 28px; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-plan:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-plan--dark {
  background: #fff; color: var(--ink);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan-features li { font-size: 14px; color: var(--text-mid); }
.pricing-card--featured .plan-features li { color: rgba(255,255,255,0.7); }
.plan-features li.muted { color: var(--text-soft); opacity: 0.5; }
.pricing-card--featured .plan-features li.muted { color: rgba(255,255,255,0.25); }

/* ─── FEATURES ────────────────────────────────────── */
.features { background: var(--surface); padding: 100px 48px; }
.features-inner { max-width: 1280px; margin: 0 auto; }
.features-header { margin-bottom: 60px; }
.features-header h2 {
  font-size: 50px; font-weight: 800; letter-spacing: -2.5px;
  line-height: 1.1; color: var(--ink);
}
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg); padding: 36px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
  font-size: 20px; margin-bottom: 24px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
}
.feature-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; color: var(--ink); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ─── CTA ─────────────────────────────────────────── */
.cta-section { padding: 40px 48px 80px; }
.cta-inner {
  max-width: 1280px; margin: 0 auto;
  background: var(--ink); border-radius: var(--radius-xl);
  padding: 100px 80px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-blob {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,110,248,0.22), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); filter: blur(60px);
}
.cta-label { color: rgba(255,255,255,0.4) !important; position: relative; z-index: 1; }
.cta-inner h2 {
  font-size: 58px; font-weight: 800; letter-spacing: -3px;
  color: var(--white); line-height: 1.05; margin-bottom: 20px;
  position: relative; z-index: 1;
}
.cta-inner p {
  font-size: 18px; color: rgba(255,255,255,0.5);
  margin-bottom: 44px; position: relative; z-index: 1;
}

/* ─── FOOTER ──────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 36px 48px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-size: 12px; font-weight: 700; letter-spacing: 4px; color: var(--ink); }
.footer p { font-size: 13px; color: var(--text-soft); }

/* ─── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-tag     { animation: fadeUp 0.5s ease both; animation-delay: 0.1s; }
.hero h1      { animation: fadeUp 0.5s ease both; animation-delay: 0.2s; }
.hero-content > p { animation: fadeUp 0.5s ease both; animation-delay: 0.3s; }
.hero-actions { animation: fadeUp 0.5s ease both; animation-delay: 0.4s; }
.hero-visual  { animation: fadeUp 0.7s ease both; animation-delay: 0.25s; }

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1100px) {
  .hero h1 { font-size: 54px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-inner h2, .features-header h2, .cta-inner h2 { font-size: 42px; }
}

@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .hero { padding: 64px 24px 0; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px 0 60px;
  }
  .screen-frame {
    width: calc(100% + 48px);
    margin-right: -24px;
    margin-left: -24px;
    border-radius: var(--radius-md);
  }
  .hero-stats { flex-wrap: wrap; gap: 20px; padding: 24px 0 36px; }
  .stat-item { flex: 1 1 40%; padding: 0; }
  .stat-divider { display: none; }
  .showcase { padding: 80px 24px; }
  .features { padding: 80px 24px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing { padding: 80px 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
  .cta-inner { padding: 60px 40px; }
  .footer { padding: 28px 24px; }
}

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero h1 { font-size: 44px; letter-spacing: -2px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-visual { display: none; }
  .showcase-inner h2, .features-header h2 { font-size: 34px; letter-spacing: -1.5px; }
  .cta-inner h2 { font-size: 34px; letter-spacing: -1.5px; }
  .features-grid { grid-template-columns: 1fr; }
  .card-text { padding: 28px 28px 16px; }
  .card-imgs, .card-imgs-mobile { padding: 16px 28px 28px; }
  .card-imgs { flex-direction: column; }
  .card-imgs img { width: 100%; flex: none; }
  .card-imgs-mobile img { width: 46%; }
  .cta-inner { padding: 48px 28px; }
  .cta-inner h2 { font-size: 32px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; }
}