/* ==========================================================================
   寰呭姙鏄?AI 鈥?Landing Page  /  鍏ㄩ潰浼樺寲鐗?   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --c-bg:          #000000;
  --c-bg-soft:     #0a0a0a;
  --c-bg-muted:    #171717;
  --c-text:        #f8fafc;
  --c-text-2:      #cbd5e1;
  --c-text-3:      #94a3b8;
  --c-border:      #334155;
  --c-border-soft: #1e293b;

  /* Brand */
  --c-blue:        #2563eb;
  --c-blue-light:  rgba(37,99,235,.15);
  --c-blue-glow:   rgba(37,99,235,.15);

  /* Radius */
  --r-sm:   8px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  24px;
  --r-full:9999px;

  /* Shadow */
  --sh-card:  0 4px 20px -2px rgba(0,0,0,.05);
  --sh-hover: 0 16px 40px -6px rgba(0,0,0,.10);
  --sh-hero:  0 30px 70px -15px rgba(0,0,0,.14);

  /* Header */
  --header-h: 68px;
  --header-bg: rgba(255,255,255,.92);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body { background: var(--c-bg); min-height: 100vh; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 1000;
  transition: box-shadow .3s ease, background .3s ease;
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  background: rgba(255,255,255,.97);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--c-text);
  flex-shrink: 0;
}
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.logo-text-wrap { display: flex; flex-direction: row; align-items: center; gap: .4rem; line-height: 1.2; }
.logo-name  { font-size: 1rem; font-weight: 800; letter-spacing: -.3px; }
.logo-badge {
  font-size: .6rem; font-weight: 700;
  color: var(--c-blue);
  background: var(--c-blue-light);
  padding: .1rem .4rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
  width: fit-content;
}

/* Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: .2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.btn-nav {
  font-size: .9rem;
  font-weight: 500;
  color: var(--c-text-2);
  padding: .45rem .85rem;
  border-radius: var(--r-sm);
  transition: color .18s, background .18s;
  position: relative;
}
.btn-nav:hover        { color: var(--c-text); background: var(--c-bg-soft); }
.btn-nav.active       { color: var(--c-text); font-weight: 600; }

/* Actions */
.header-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.btn-login {
  font-size: .875rem; font-weight: 500;
  color: var(--c-text-2);
  padding: .45rem .9rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  transition: all .18s;
}
.btn-login:hover { color: var(--c-text); background: var(--c-bg-soft); border-color: #cbd5e1; }

.btn-primary-sm {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .875rem; font-weight: 700;
  color: var(--c-bg);
  background: var(--c-text);
  padding: .5rem 1.1rem;
  border-radius: var(--r-sm);
  transition: all .2s;
  box-shadow: 0 2px 8px rgba(15,23,42,.18);
}
.btn-primary-sm:hover { background: #1e293b; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(15,23,42,.22); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; transition: all .2s; }

/* Dark Theme Header */
.header-dark {
  background: transparent;
  border-bottom-color: rgba(255,255,255,0.08);
}
.header-dark.scrolled {
  background: rgba(10,10,10,.95);
  box-shadow: 0 4px 24px rgba(0,0,0,.5);
  border-bottom-color: rgba(255,255,255,0.05);
}
.header-dark .logo,
.header-dark .btn-nav { color: #fff; }
.header-dark .btn-nav:hover { background: rgba(255,255,255,0.1); }
.header-dark .btn-nav.active { color: #fff; }
.header-dark .btn-login { color: #cbd5e1; border-color: rgba(255,255,255,0.3); }
.header-dark .btn-login:hover { color: #fff; background: rgba(255,255,255,0.1); border-color: #fff; }
.header-dark .btn-primary-sm { background: #fff; color: #000; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.header-dark .btn-primary-sm:hover { background: var(--c-bg-soft); }
.header-dark .nav-toggle span { background: #fff; }

/* ========================================
   MAIN LAYOUT
   ======================================== */
main { padding-top: var(--header-h); }

/* Section common */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: none;
}
.section-title {
  font-size: 2.5rem; font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.section-subtitle { font-size: 1.05rem; color: var(--c-text-2); line-height: 1.65; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.75rem;
  border-radius: var(--r-md);
  font-size: 1rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: all .22s;
}
.btn-primary {
  background: #ffffff; color: #0a0a0a;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.btn-primary:hover { background: #e2e8f0; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.btn-primary.btn-lg { padding: .95rem 2.2rem; font-size: 1.05rem; }

.btn-ghost {
  background: transparent; color: var(--c-text-2);
  border: 1px solid var(--c-border);
  transition: all .22s;
}
.btn-ghost:hover { background: var(--c-bg-soft); color: var(--c-text); }

.btn-outline-primary {
  background: transparent; color: var(--c-blue);
  border: 1.5px solid var(--c-blue);
  width: 100%;
  justify-content: center;
  transition: all .22s;
}
.btn-outline-primary:hover { background: var(--c-blue-light); }

.btn-white {
  background: var(--c-bg); color: var(--c-text);
  width: 100%; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.btn-white:hover { background: var(--c-bg-soft); transform: translateY(-1px); }

/* ========================================
   HERO
   ======================================== */
.hero.dark-section {
  background: #0a0a0a;
  padding: 0; 
  overflow: visible; 
  margin-top: calc(-1 * var(--header-h));
}
.hero-banner-inner {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  padding: 10rem 0 8rem;
}
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.5) 50%, rgba(10,10,10,0.1) 100%);
  z-index: 1;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

/* GSAP Init state to prevent FOUC */
.gsap-hide { visibility: hidden; }

/* Left */
.hero-content { text-align: left; }

.hero-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: .38rem 1rem;
  border-radius: var(--r-full);
  font-size: .82rem; font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 1.6rem;
}
.hero-pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,.08); }
}

.hero-title {
  font-size: 3.8rem; font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2.5px;
  color: #fff;
  margin-bottom: 1.4rem;
}
/* ShinyText spans inside hero-title: inherit font weight/size, own fill */
.hero-title .shiny-text {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}
.hero-title-accent {
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem; color: #cbd5e1;
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 2.4rem;
}

.hero-cta { display: flex; gap: 1rem; margin-bottom: 2.2rem; }
.hero-cta .btn-primary { background: #ffffff; color: #0a0a0a; }
.hero-cta .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,0.3);
}
.hero-cta .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
}

.hero-trust {
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem;
}
.trust-item {
  display: flex; align-items: center; gap: .35rem;
  font-size: .82rem; color: #94a3b8;
}

/* Right */
.hero-visual { position: relative; }
.hero-product-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 1.25rem;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  color: #fff;
}
.card-img-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.card-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-full);
}
.card-info {
  padding: 0 0.5rem;
}
.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.card-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
}
.card-price {
  font-size: 1.25rem;
  font-weight: 800;
}
.price-unit {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}
.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  transition: transform 0.2s;
}
.btn-icon:hover {
  transform: scale(1.1);
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
  background: var(--c-bg-muted);
  padding: 2.4rem 0;
  margin: 0;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 3.5rem;
}
.stat-num {
  font-size: 2.4rem; font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-num span { font-size: 1.6rem; color: #22c55e; }
.stat-label { font-size: .85rem; color: rgba(255,255,255,.5); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.12); flex-shrink: 0; }

/* ========================================
   MODES
   ======================================== */
.modes-section { padding: 6rem 0; }

.modes-grid {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  height: 560px; /* Provide enough height for scaling */
  margin-top: 2rem;
}

.mode-card {
  flex: 1;
  height: 460px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  /* Slightly dim non-hovered cards if desired, or keep them normal */
  filter: grayscale(20%) brightness(0.7);
}

.mode-card:hover { 
  transform: scale(1.12);
  z-index: 10;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6); 
  border-color: rgba(255,255,255,0.3);
  filter: grayscale(0%) brightness(1.1);
}

.mode-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  border: none;
  z-index: 0;
}

.mode-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mode-card:hover .mode-visual img {
  transform: scale(1.08);
}

/* Gradient overlay for text readability */
.mode-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.95) 100%);
  z-index: 1;
}

.mode-info {
  position: relative;
  z-index: 2;
  padding: 2.2rem 1.8rem;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.mode-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.mode-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  /* Override icon bg colors to be more glassy in the new dark theme */
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  backdrop-filter: blur(10px);
}
.mode-icon svg {
  width: 18px;
  height: 18px;
}

.mode-card h3 { 
  font-size: 1.55rem; 
  font-weight: 800; 
  color: #ffffff; 
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  letter-spacing: -0.5px;
}

.mode-card p { 
  font-size: 0.9rem; 
  color: rgba(255,255,255,0.75); 
  line-height: 1.6; 
  margin: 0; 
  transition: all 0.4s ease;
  /* Optional: Make description appear on hover for cleaner default look */
  opacity: 0.6;
}

.mode-card:hover p {
  opacity: 1;
  color: rgba(255,255,255,0.95);
}

.mode-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0;
  transform: scale(0.8) translate(-10px, 10px);
}

.mode-card:hover .mode-arrow { 
  opacity: 1;
  transform: scale(1) translate(0, 0);
  background: var(--c-blue);
  box-shadow: 0 4px 15px rgba(37,99,235,0.4);
}

@media (max-width: 992px) {
  .modes-grid { 
    flex-direction: column; 
    height: auto; 
    gap: 2rem; 
  }
  .mode-card { 
    width: 100%; 
    height: 380px; 
    filter: none;
  }
  .mode-card:hover {
    transform: scale(1.02);
  }
}

/* ========================================
   WORKFLOW
   ======================================== */
.workflow-section {
  padding: 6rem 0;
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.workflow-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 3.5rem;
}
.step-item {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.6rem;
  text-align: left;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.step-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.step-num {
  font-size: 2rem; font-weight: 900;
  color: var(--c-border);
  letter-spacing: -1px;
  margin-bottom: .75rem;
  line-height: 1;
}
.step-item h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.step-item p  { font-size: .85rem; color: var(--c-text-2); line-height: 1.55; }

.step-connector {
  display: flex; align-items: flex-start;
  padding-top: 2.4rem;
  margin: 0 .5rem;
}
.step-connector::before {
  content: '';
  width: 28px; height: 1.5px;
  background: linear-gradient(90deg, var(--c-border) 0%, var(--c-blue) 100%);
  display: block;
}

/* ── Drag-to-reveal Compare Slider ── */
.compare-slider {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 16px 56px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
  background: #0a0a0a;
  touch-action: none;
}

/* After (AI result) — full-size base layer */
.compare-img {
  display: block;
  width: 100%;
  height: 680px;
  object-fit: cover;
  object-position: center 30%;
  pointer-events: none;
  -webkit-user-drag: none;
  vertical-align: bottom;
}

.compare-img-after {
  position: relative;
  z-index: 1;
}

/* Before (original) — clipped top layer */
.compare-before-clip {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;   /* JS will update this */
  height: 100%;
  overflow: hidden;
  z-index: 2;
}
.compare-before-clip .compare-img {
  width: auto;
  min-width: 100%;
  /* Use the slider's total width so image isn't stretched */
  width: var(--slider-width, 100%);
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Floating labels */
.compare-label-float {
  position: absolute;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  letter-spacing: 0.2px;
  pointer-events: none;
}
.compare-label-left  { left: 16px; }
.compare-label-right { right: 16px; }

/* Divider line + knob */
.compare-handle {
  position: absolute;
  top: 0;
  left: 50%;    /* JS will update this */
  height: 100%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.compare-handle-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.9) 15%,
    rgba(255,255,255,0.9) 85%,
    rgba(255,255,255,0) 100%);
  box-shadow: 0 0 12px rgba(255,255,255,0.35);
}

.compare-handle-knob {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow:
    0 0 0 6px rgba(255,255,255,0.08),
    0 8px 32px rgba(0,0,0,0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
}

/* Active / hover glow */
.compare-slider.dragging .compare-handle-knob,
.compare-slider:hover .compare-handle-knob {
  transform: scale(1.12);
  box-shadow:
    0 0 0 8px rgba(255,255,255,0.12),
    0 0 24px rgba(255,255,255,0.2),
    0 8px 32px rgba(0,0,0,0.5);
}

.compare-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.compare-slider.dragging .compare-hint { opacity: 0; }

@media (max-width: 768px) {
  .compare-img {
    height: 460px;
  }
}

.compare-bottom-text {
  text-align: center;
  max-width: 640px;
  margin: 2.5rem auto 0;
}
.compare-bottom-text h3 {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.compare-bottom-text p {
  font-size: 0.95rem;
  color: var(--c-text-2);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.feature-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .9rem; font-weight: 600; color: var(--c-blue);
  transition: gap .2s;
}
.feature-link:hover { gap: .7rem; }

@media (max-width: 768px) {
  .visual-feature-box-v2 {
    flex-direction: column;
    border-radius: 20px;
  }
  .compare-img-wrap {
    min-height: 220px;
  }
  .compare-vs {
    top: auto;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ========================================
   CASES
   ======================================== */
.cases-section { padding: 6rem 0; }

.cases-grid-v2 {
  display: flex;
  flex-direction: row;
  align-items: center; /* Centers items vertically so the middle card can be taller */
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.case-item-v2 {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Left Card */
.case-left .case-visual-v2 {
  width: 100%;
  height: 340px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.case-left .case-visual-v2 img {
  object-position: center 30%;
}
.case-visual-v2 img {
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}
.case-visual-v2:hover img {
  transform: scale(1.05);
}

.case-meta-left {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0 0.5rem;
}
.meta-icon-asterisk {
  color: #ef4444; /* vivid red asterisk */
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 900;
  margin-top: -4px;
}
.meta-text-left p {
  font-size: 0.85rem;
  color: var(--c-text-3);
  line-height: 1.6;
  margin: 0;
}
.meta-text-left strong {
  color: #fff;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.4rem;
}

/* Center Card */
.case-center .case-visual-v2 {
  width: 100%;
  height: 440px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.case-center .case-visual-v2 img {
  object-position: center;
}
.case-center-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 2.2rem 2rem;
  pointer-events: none; /* Let hovers pass through if needed, except for button */
}
.center-text {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  letter-spacing: -0.5px;
}
.pill-tag {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 30px;
  padding: 0.1rem 0.7rem;
  font-size: 0.85rem;
  margin: 0 0.3rem;
  vertical-align: middle;
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.05);
}
.center-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: auto;
}
.center-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.case-right .case-visual-v2 {
  width: 100%;
  height: 340px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.case-right .case-visual-v2 img {
  transform: scale(1.25) translateY(10%);
  object-position: top;
}
.case-right .case-visual-v2:hover img {
  transform: scale(1.3) translateY(10%);
}
.case-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0.5rem;
}
.btn-outline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 40px;
  padding: 0.7rem 1.4rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
.btn-outline-pill:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

@media (max-width: 992px) {
  .cases-grid-v2 {
    flex-direction: column;
    gap: 3rem;
  }
  .case-center .case-visual-v2 {
    height: 360px;
  }
}

/* ========================================
   PRICING — Editorial Plan Layout
   ======================================== */
.pricing-section {
  padding: 6rem 0;
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-border);
}

.plans-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-width: 920px;
  margin: 0 auto 2.5rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: rgba(255,255,255,.04);
}

/* Each plan is a horizontal row */
.plan-card {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: stretch;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
  transition: background .2s;
  min-height: 160px;
}
.plan-card:last-child { border-bottom: none; }
.plan-card:hover { background: #111; }

.plan-highlight {
  background: #111;
}
.plan-highlight:hover { background: #141414; }

/* Left: name + price block */
.plan-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2rem 2rem 2.4rem;
  border-right: 1px solid rgba(255,255,255,.06);
  gap: 0;
  position: relative;
}
.plan-highlight .plan-header::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #2563eb 0%, #60a5fa 100%);
  border-radius: 0 2px 2px 0;
}

.plan-name {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: .6rem;
}
.plan-highlight .plan-name { color: #60a5fa; }

.plan-price {
  font-size: 2.8rem; font-weight: 900;
  color: #fff;
  letter-spacing: -.06em;
  line-height: 1;
  margin-bottom: .25rem;
}
.plan-price span {
  font-size: .85rem; font-weight: 500;
  color: rgba(255,255,255,.35);
  letter-spacing: 0;
}

.plan-desc {
  font-size: .72rem; color: rgba(255,255,255,.25);
  margin-top: .2rem;
}

.plan-annual {
  font-size: .72rem; color: rgba(255,255,255,.25);
  margin-top: .4rem;
}
.plan-highlight .plan-annual { color: rgba(96,165,250,.5); }

/* Badge moved inline into header */
.plan-badge {
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 4px;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.plan-badge-hot {
  color: #4ade80;
  background: rgba(34,197,94,.1);
  border-color: rgba(34,197,94,.2);
}

/* Middle: features */
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .6rem;
  padding: 1.75rem 2rem;
  margin: 0;
}
.plan-features li {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .82rem; color: rgba(255,255,255,.45);
  line-height: 1.45;
}
.plan-features li svg { flex-shrink: 0; margin-top: 2px; }
.plan-highlight .plan-features li { color: rgba(255,255,255,.65); }

/* Right: CTA button */
.plan-cta-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 2rem 1rem;
  min-width: 180px;
}

/* Override btn styles for plan CTA */
.plan-card .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}
.plan-card .btn-outline-primary {
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  background: transparent;
  padding: .75rem 1.5rem;
  border-radius: 8px;
  font-size: .85rem; font-weight: 700;
  transition: all .2s;
  white-space: nowrap;
}
.plan-card .btn-outline-primary:hover {
  border-color: rgba(255,255,255,.35);
  color: #fff;
  background: rgba(255,255,255,.05);
}
.plan-card .btn-white {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: .75rem 1.5rem;
  border-radius: 8px;
  font-size: .85rem; font-weight: 700;
  transition: all .2s;
  white-space: nowrap;
}
.plan-card .btn-white:hover {
  background: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(37,99,235,.25);
}

/* ===== Packages — Editorial Two-Column Layout ===== */
.packages-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
  background: #0d0d0d;
}

/* ---- Left panel ---- */
.packages-left {
  padding: 2.8rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #111;
  border-right: 1px solid rgba(255,255,255,.07);
  position: relative;
  overflow: hidden;
}
.packages-left::before {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.18) 0%, transparent 70%);
  pointer-events: none;
}

.pkg-eyebrow {
  display: flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.2rem;
}
.pkg-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #2563eb;
  display: inline-block;
  flex-shrink: 0;
}

.pkg-headline {
  font-size: 2.6rem; font-weight: 900;
  line-height: 1.1; letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 2rem;
}
.pkg-headline em {
  font-style: normal;
  color: #2563eb;
}

.pkg-stat-block {
  margin-bottom: 1.5rem;
}
.pkg-stat-num {
  font-size: 3.8rem; font-weight: 900;
  line-height: 1; letter-spacing: -.05em;
  color: #fff;
  display: flex; align-items: baseline; gap: .3rem;
}
.pkg-stat-unit {
  font-size: 1rem; font-weight: 700;
  color: rgba(255,255,255,.4);
  letter-spacing: normal;
}
.pkg-stat-label {
  font-size: .78rem; color: rgba(255,255,255,.35);
  margin-top: .3rem; letter-spacing: .02em;
}

.pkg-note {
  font-size: .8rem; color: rgba(255,255,255,.3);
  line-height: 1.7;
}

/* ---- Right panel ---- */
.packages-right {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.pkg-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
  transition: background .2s;
  gap: 1rem;
  min-height: 0;
}
.pkg-row:last-child { border-bottom: none; }
.pkg-row:hover { background: rgba(255,255,255,.025); }

.pkg-row-popular {
  background: rgba(37,99,235,.07);
  border-bottom: 1px solid rgba(37,99,235,.15) !important;
  border-top: 1px solid rgba(37,99,235,.15);
}
.pkg-row-popular:hover { background: rgba(37,99,235,.12); }

.pkg-row-popular-tag {
  position: absolute;
  top: 50%; right: calc(100% - 1px);
  transform: translateY(-50%);
  font-size: .62rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff;
  background: #2563eb;
  padding: .22rem .55rem;
  border-radius: 3px 0 0 3px;
  white-space: nowrap;
  display: none; /* shown via inner placement */
}

/* inner tag that's actually visible */
.pkg-row-popular .pkg-row-popular-tag {
  position: static;
  transform: none;
  display: inline-flex;
  align-items: center;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #2563eb;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.3);
  padding: .18rem .45rem;
  border-radius: 4px;
  margin-bottom: .3rem;
  width: fit-content;
  line-height: 1.3;
}

.pkg-row-info {
  display: flex; flex-direction: column; gap: .2rem;
}
.pkg-row-credits {
  font-size: 1.15rem; font-weight: 800;
  color: #fff; letter-spacing: -.02em;
}
.pkg-row-popular .pkg-row-credits { color: #60a5fa; }
.pkg-row-sub {
  font-size: .75rem; color: rgba(255,255,255,.35);
}

.pkg-row-cta {
  display: flex; align-items: center; gap: 1rem;
  flex-shrink: 0;
}
.pkg-row-price {
  font-size: 1.25rem; font-weight: 800;
  color: #fff; letter-spacing: -.02em;
  min-width: 60px; text-align: right;
}

.pkg-buy-btn {
  display: inline-flex; align-items: center;
  font-size: .78rem; font-weight: 700;
  padding: .5rem 1.1rem;
  border-radius: 6px;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  transition: all .2s;
  white-space: nowrap;
  letter-spacing: .01em;
}
.pkg-buy-btn:hover {
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.pkg-buy-btn-accent {
  background: #2563eb;
  color: #fff;
  border-color: transparent;
}
.pkg-buy-btn-accent:hover {
  background: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(37,99,235,.25);
}

/* ========================================
   FAQ
   ======================================== */
.faq-section { padding: 6rem 0; }

.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  margin-bottom: .75rem;
  overflow: hidden;
  background: var(--c-bg);
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--sh-card); }

.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.4rem;
  font-size: 1rem; font-weight: 600; color: var(--c-text);
  background: none; border: none; cursor: pointer; text-align: left;
  gap: 1rem;
  transition: background .15s;
}
.faq-q:hover { background: var(--c-bg-soft); }

.faq-icon { transition: transform .25s ease; flex-shrink: 0; color: var(--c-text-3); }
.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: .92rem; color: var(--c-text-2); line-height: 1.65;
  padding: 0 1.4rem;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 1.4rem 1.2rem;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--c-text) 0%, #1e3a5f 100%);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,.2) 0%, transparent 60%);
}
.cta-banner-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  position: relative;
}
.cta-title { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: .5rem; letter-spacing: -.5px; }
.cta-sub   { font-size: 1rem; color: rgba(255,255,255,.6); }

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--c-bg-muted); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p {
  font-size: .9rem; color: rgba(255,255,255,.4);
  margin-top: .9rem; max-width: 280px; line-height: 1.6;
}
.footer-logo { margin-bottom: .5rem; }
.footer-logo .logo-name { color: #fff; }

.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.footer-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-col-title { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .7px; margin-bottom: .4rem; }
.footer-col a { font-size: .88rem; color: rgba(255,255,255,.55); transition: color .18s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding: 1.4rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.3);
  text-align: center;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.2rem; }
  .modes-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 900px) {
  .hero-layout  { grid-template-columns: 1fr; gap: 3rem; }
  .hero-content { text-align: center; }
  .hero-subtitle{ margin-left: auto; margin-right: auto; }
  .hero-cta     { justify-content: center; }
  .hero-trust   { justify-content: center; }
  .hero-preview-img { height: 420px; }
  .hero-float-top   { right: 10px; }
  .hero-float-bottom{ left: 10px; }

  .stats-grid   { flex-wrap: wrap; gap: 2rem 0; }
  .stat-item    { width: 50%; padding: 0; }
  .stat-divider { display: none; }

  .workflow-steps { grid-template-columns: 1fr; }
  .step-connector { display: none; }

  .visual-feature-box { grid-template-columns: 1fr; }
  .visual-feature-img { height: 260px; }

  .plan-card { grid-template-columns: 1fr; min-height: auto; }
  .plan-header { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); padding: 1.75rem 1.75rem 1.5rem; }
  .plan-highlight .plan-header::before { width: 100%; height: 3px; top: 0; left: 0; right: 0; bottom: auto; border-radius: 0; }
  .plan-features { padding: 1.4rem 1.75rem; }
  .plan-cta-col { padding: 1.25rem 1.75rem 1.75rem; justify-content: flex-start; min-width: auto; }
  .cases-grid   { grid-template-columns: repeat(2,1fr); }
  .section-title{ font-size: 2rem; }

  .packages-wrapper { grid-template-columns: 1fr; }
  .packages-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); padding: 2rem 1.75rem; }
  .pkg-headline { font-size: 2rem; }
  .pkg-stat-num { font-size: 3rem; }

  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-title    { font-size: 1.6rem; }
}

@media (max-width: 700px) {
  .header-nav { display: none; position: fixed; inset: var(--header-h) 0 auto 0; background: var(--c-bg); padding: 1rem; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--c-border); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .header-nav.open { display: flex; }
  .btn-nav { padding: .75rem 1rem; border-radius: var(--r-sm); }
  .btn-nav::after { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-login { display: none; }

  .hero-title { font-size: 2.6rem; letter-spacing: -1.5px; }
  .hero-preview-img { height: 320px; }

  .modes-grid   { grid-template-columns: 1fr; }
  .cases-grid   { grid-template-columns: 1fr; }
  .pkg-row { padding: 1.1rem 1.25rem; }
  .pkg-row-price { font-size: 1rem; min-width: 48px; }
  .pkg-buy-btn { padding: .42rem .85rem; font-size: .72rem; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
}





