/* ============================================
   StampRack Marketing Site — Custom Styles
   ============================================ */

:root {
  --base: #F8F9FA;
  --base-light: #F1F5F9;
  --base-lighter: #E2E8F0;
  --surface: #FFFFFF;
  --accent: #2f7eda;
  --accent-light: #5a9be6;
  --accent-glow: rgba(47, 126, 218, 0.3);
  --text: #1E2A3B;
  --text-muted: #64748B;
  --text-dim: #94A3B8;

  /* Adaptive border/shadow tokens */
  --border-subtle: rgba(30, 42, 59, 0.08);
  --border-medium: rgba(30, 42, 59, 0.12);
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.1);
  --nav-bg: rgba(255, 255, 255, 0.9);
  --mobile-nav-bg: rgba(248, 249, 250, 0.95);
  --overlay-bg: rgba(0, 0, 0, 0.15);
  --code-bg: rgba(30, 42, 59, 0.06);

  /* Stamp colors */
  --stamp-approved: #34b369;
  --stamp-cfo: #2196f3;
  --stamp-paid: #e6992e;
  --stamp-draft: #9e9e9e;
  --stamp-confidential: #e53935;
  --stamp-received: #4da6c9;
  --stamp-void: #e6334d;
  --stamp-copy: #7c7cb3;
  --stamp-review: #cc8033;
  --stamp-final: #339980;
}

@media (prefers-color-scheme: dark) {
  :root {
    --base: #0F1724;
    --base-light: #162032;
    --base-lighter: #1E2A3B;
    --surface: #162032;
    --accent: #2f7eda;
    --accent-light: #5a9be6;
    --accent-glow: rgba(47, 126, 218, 0.3);
    --text: #E8ECF1;
    --text-muted: #94A3B8;
    --text-dim: #64748B;

    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-medium: rgba(255, 255, 255, 0.08);
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.3);
    --nav-bg: rgba(15, 23, 36, 0.85);
    --mobile-nav-bg: rgba(15, 23, 36, 0.95);
    --overlay-bg: rgba(0, 0, 0, 0.3);
    --code-bg: rgba(255, 255, 255, 0.08);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--base);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Grain Overlay ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(0px);
  background: transparent;
}

.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-medium);
  padding: 0.75rem 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-logo-img {
  width: auto !important;
  height: 36px !important;
  border-radius: 0 !important;
  display: block;
}

.nav-logo span {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

@media (prefers-color-scheme: dark) {
  .nav-logo-text strong {
    color: #E8ECF1 !important;
  }
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

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

.nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}

.nav-cta:hover {
  background: var(--accent-light) !important;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(47, 126, 218, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(20, 184, 166, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 20% 60%, rgba(30, 42, 59, 0.04) 0%, transparent 50%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black, transparent);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(47, 126, 218, 0.3);
  background: rgba(47, 126, 218, 0.08);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  animation: pulse-dot 2s infinite;
}

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

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero h1 .accent {
  color: var(--accent-light);
  position: relative;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--accent);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(47, 126, 218, 0.3);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(47, 126, 218, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(47, 126, 218, 0.04);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mockup {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero-mockup-frame {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    var(--card-shadow-hover),
    0 0 0 1px var(--border-subtle) inset;
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--overlay-bg);
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-medium);
}

.mockup-dot:nth-child(1) { background: #e6334d; }
.mockup-dot:nth-child(2) { background: #e6992e; }
.mockup-dot:nth-child(3) { background: #34b369; }

.mockup-body {
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  min-height: 320px;
}

.mockup-sidebar {
  width: 60px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-thumb {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--border-subtle);
  border-radius: 4px;
  border: 1px solid var(--border-medium);
}

.mockup-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.mockup-canvas {
  flex: 1;
  background: var(--border-subtle);
  border-radius: 8px;
  border: 1px solid var(--border-medium);
  position: relative;
  overflow: hidden;
}

.mockup-canvas-lines {
  position: absolute;
  inset: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-line {
  height: 6px;
  background: var(--border-subtle);
  border-radius: 3px;
}

.mockup-line:nth-child(odd) { width: 100%; }
.mockup-line:nth-child(even) { width: 75%; }
.mockup-line:nth-child(3) { width: 90%; }
.mockup-line:nth-child(5) { width: 60%; }

.mockup-stamp {
  position: absolute;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid;
  transform: rotate(-8deg);
  white-space: nowrap;
}

.mockup-stamp-1 {
  top: 30%;
  left: 15%;
  color: var(--stamp-approved);
  border-color: var(--stamp-approved);
  background: rgba(52, 179, 105, 0.1);
  animation: stamp-appear 0.6s 1s both cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mockup-stamp-2 {
  top: 55%;
  right: 15%;
  color: var(--stamp-paid);
  border-color: var(--stamp-paid);
  background: rgba(230, 153, 46, 0.1);
  transform: rotate(3deg);
  animation: stamp-appear 0.6s 1.4s both cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mockup-stamp-sub {
  font-size: 0.45rem;
  font-weight: 500;
  opacity: 0.7;
  margin-top: 2px;
}

.mockup-rack {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: var(--base-light);
  border-radius: 10px;
  border: 1px solid var(--border-medium);
  box-shadow: var(--card-shadow-hover);
}

.rack-stamp {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transition: transform 0.2s;
}

.rack-stamp:hover {
  transform: scale(1.4);
}

@keyframes stamp-appear {
  0% {
    opacity: 0;
    transform: rotate(-8deg) scale(1.8);
  }
  100% {
    opacity: 1;
    transform: rotate(-8deg) scale(1);
  }
}

.mockup-stamp-2 {
  animation-name: stamp-appear-2;
}

@keyframes stamp-appear-2 {
  0% {
    opacity: 0;
    transform: rotate(3deg) scale(1.8);
  }
  100% {
    opacity: 1;
    transform: rotate(3deg) scale(1);
  }
}

/* ---- Social Proof ---- */
.social-proof {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(47, 126, 218, 0.02);
}

.social-proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.social-proof p {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.35;
}

.proof-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* ---- Sections Common ---- */
.section {
  padding: 7rem 2rem;
  position: relative;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
}

/* ---- Features ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.feature-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--card-accent, var(--accent));
  opacity: 0;
  transition: opacity 0.35s;
}

.feature-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
  background: rgba(47, 126, 218, 0.1);
  border: 1px solid rgba(47, 126, 218, 0.15);
}

.feature-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---- Stamp Showcase ---- */
.stamp-showcase {
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stamps-scroll {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.stamps-track {
  display: flex;
  gap: 1rem;
  animation: scroll-stamps 30s linear infinite;
}

.stamp-chip {
  flex-shrink: 0;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid;
  white-space: nowrap;
  transition: transform 0.2s;
}

.stamp-chip:hover {
  transform: scale(1.05);
}

@keyframes scroll-stamps {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- How It Works ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(33.333% - 1rem);
  right: calc(33.333% - 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--stamp-approved));
  opacity: 0.3;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  background: var(--surface);
  border: 2px solid rgba(47, 126, 218, 0.3);
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ---- Download ---- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--card-shadow);
}

.download-card:hover {
  border-color: rgba(47, 126, 218, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.download-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 126, 218, 0.08);
  border: 1px solid rgba(47, 126, 218, 0.15);
  color: var(--accent);
}

.download-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.download-platform {
  font-size: 1.15rem;
  font-weight: 700;
}

.download-filetype {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.btn-download {
  padding: 0.6rem 2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--accent);
  color: white;
  transition: all 0.2s;
}

.download-card:hover .btn-download {
  background: var(--accent-light);
  box-shadow: 0 4px 16px rgba(47, 126, 218, 0.3);
}

.download-card-disabled {
  cursor: default;
  opacity: 0.6;
}
.download-card-disabled .download-icon {
  color: var(--text-dim);
}
.download-card-disabled .btn-download {
  background: var(--text-dim);
}
.download-card-disabled:hover {
  border-color: var(--border-subtle);
  transform: none;
  box-shadow: var(--card-shadow);
}
.download-card-disabled:hover .btn-download {
  background: var(--text-dim);
  box-shadow: none;
}
.download-coming-soon {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

.download-trial-badge {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

.install-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--border-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  text-align: left;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.install-note-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.install-platforms {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.install-platform strong {
  color: var(--text-main);
}
.install-platform ol {
  margin: 0.25rem 0 0 1.25rem;
  padding: 0;
}
.install-platform code {
  background: var(--code-bg);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.8em;
}

.download-version {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---- Pricing ---- */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.billing-option {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s;
}

.billing-option.active {
  color: var(--text);
  font-weight: 600;
}

.save-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: rgba(47, 126, 218, 0.1);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--base-lighter);
  border-radius: 24px;
  transition: background 0.2s;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--accent);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--card-shadow);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.pricing-card.featured {
  border-color: rgba(47, 126, 218, 0.4);
  background: linear-gradient(135deg, var(--surface), rgba(47, 126, 218, 0.06));
  box-shadow: 0 8px 40px rgba(47, 126, 218, 0.1);
}

.pricing-card.featured:hover {
  box-shadow: 0 20px 60px rgba(47, 126, 218, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 0.3rem 1rem;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
}

.pricing-tier {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.pricing-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-price .amount {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features li::before {
  content: '✓';
  color: var(--stamp-approved);
  font-weight: 700;
  font-size: 0.85rem;
}

.btn-pricing {
  display: block;
  width: 100%;
  padding: 0.9rem;
  text-align: center;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-pricing-primary {
  background: var(--accent);
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(47, 126, 218, 0.3);
}

.btn-pricing-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(47, 126, 218, 0.4);
}

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

.btn-pricing-outline:hover {
  border-color: var(--accent);
  background: rgba(47, 126, 218, 0.04);
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 720px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.faq-item {
  background: var(--surface);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent-light);
}

.faq-icon {
  font-size: 1.3rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-dim);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---- CTA Banner ---- */
.cta-banner {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(47, 126, 218, 0.08), transparent);
}

.cta-banner .section-inner {
  position: relative;
  z-index: 1;
}

.cta-banner .section-title {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .section-desc {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

/* ---- Footer ---- */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-left img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.footer-logo-img {
  width: auto !important;
  height: 28px !important;
  border-radius: 0 !important;
}

.footer-left span {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
}

.footer-right {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.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; }

/* ---- Mobile ---- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 1rem;
  }

  .hero-mockup {
    max-width: 400px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .steps-grid::before {
    display: none;
  }

  .download-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--mobile-nav-bg);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-medium);
    gap: 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 6rem 1.25rem 4rem;
  }

  .section {
    padding: 4rem 1.25rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .mockup-rack {
    display: none;
  }
}
