/* ═══════════════════════════════════════════════════════════
   BILL YANTRA — Promotional Website Styles
   Design System: Deep Teal + Dark Mode + Glassmorphism
   ═══════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand Colors */
  --teal-900: #042f31;
  --teal-800: #064b4e;
  --teal-700: #085f63;
  --teal-600: #0b7a80;
  --teal-500: #0e9aa3;
  --teal-400: #14b8c4;
  --teal-300: #22d3dd;
  --teal-200: #67e8f0;
  --teal-100: #cffafe;

  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;

  /* Background System */
  --bg-base:    #080c10;
  --bg-raised:  #0d1117;
  --bg-overlay: #111820;
  --bg-glass:   rgba(13, 17, 23, 0.7);
  --bg-card:    rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  /* Text */
  --text-primary:   #f0f6fc;
  --text-secondary: #8b949e;
  --text-muted:     #484f58;
  --text-accent:    var(--teal-300);

  /* Border */
  --border-subtle:  rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.10);
  --border-accent:  rgba(8, 95, 99, 0.6);

  /* Gradients */
  --gradient-hero: radial-gradient(ellipse 120% 80% at 50% -10%, rgba(8,95,99,0.45) 0%, transparent 70%);
  --gradient-brand: linear-gradient(135deg, var(--teal-400) 0%, var(--cyan-300) 100%);
  --gradient-text:  linear-gradient(135deg, #22d3dd 0%, #67e8f9 40%, #a5f3fc 100%);
  --gradient-card:  linear-gradient(145deg, rgba(8,95,99,0.15) 0%, rgba(255,255,255,0.02) 100%);

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.5);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.6);
  --shadow-teal: 0 0 40px rgba(8,180,160,0.2);
  --shadow-glow: 0 0 80px rgba(8,95,99,0.4);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;
  --space-4xl: 8rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-brand: 'Audiowide', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--gradient-brand);
  color: #080c10;
  padding: 0.7rem 1.6rem;
  font-size: 0.95rem;
  box-shadow: 0 4px 24px rgba(14,154,163,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(14,154,163,0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  padding: 0.7rem 1.6rem;
  font-size: 0.95rem;
  border: 1px solid var(--border-default);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-2px);
  border-color: var(--teal-500);
}

.btn-ghost-white {
  background: rgba(255,255,255,0.1);
  color: white;
  padding: 0.8rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--teal-300);
  padding: 0.75rem 1.6rem;
  border: 1.5px solid var(--teal-600);
}
.btn-outline:hover {
  background: rgba(8,95,99,0.2);
  border-color: var(--teal-400);
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--gradient-brand);
  color: #080c10;
  padding: 0.5rem 1.2rem;
  font-size: 0.875rem;
  box-shadow: 0 2px 12px rgba(14,154,163,0.3);
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(14,154,163,0.5); }

.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-base);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(8, 12, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-subtle);
  padding: 0.6rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.nav-icon { width: 32px; height: 32px; }
.nav-brand {
  font-family: var(--font-brand);
  font-size: 1.2rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}
.brand-accent { color: var(--teal-300); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(8,95,99,0.6) 0%, transparent 70%);
  top: -200px; left: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(14,154,163,0.3) 0%, transparent 70%);
  top: 100px; right: -150px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(103,232,249,0.12) 0%, transparent 70%);
  bottom: 0; left: 40%;
  animation: orbFloat 12s ease-in-out infinite 2s;
}

.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;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

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

.hero-content { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(8,95,99,0.2);
  border: 1px solid rgba(8,180,160,0.3);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  color: var(--teal-300);
  font-weight: 500;
  width: fit-content;
  animation: fadeInUp 0.6s ease both;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--teal-400);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding-top: 0.5rem;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-300);
  line-height: 1;
}
.stat-suffix { font-size: 1.2rem; font-weight: 700; color: var(--teal-400); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: var(--border-default); }

/* HERO VISUAL */
.hero-visual { position: relative; animation: fadeInRight 0.8s ease 0.2s both; }

.mockup-wrapper { position: relative; }

.mockup-frame {
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.03) inset;
  transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
  transition: transform var(--transition-slow);
}
.mockup-frame:hover {
  transform: perspective(1000px) rotateY(-3deg) rotateX(0deg);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border-subtle);
}
.titlebar-dots { display: flex; gap: 5px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.titlebar-title { font-size: 0.75rem; color: var(--text-secondary); margin: 0 auto; }

.mockup-img { width: 100%; max-height: 380px; object-fit: cover; }

.mockup-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse 80% 60% at 50% 60%, rgba(8,95,99,0.35) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(13,17,23,0.9);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 0.65rem 1rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  animation: floatCard 4s ease-in-out infinite;
}
.float-card-1 { bottom: -1rem; left: -2rem; animation-delay: 0s; }
.float-card-2 { top: 2rem; right: -2rem; animation-delay: 2s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-icon { font-size: 1.4rem; }
.float-text { display: flex; flex-direction: column; }
.float-title { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); }
.float-sub { font-size: 0.7rem; color: var(--text-secondary); }

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  animation: fadeIn 1s ease 1s both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--teal-600), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* ─── TRUST BAR ──────────────────────────────────────────────── */
.trust-bar {
  background: rgba(8,95,99,0.08);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 2rem;
}
.trust-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 500;
}
.trust-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem;
  transition: all var(--transition-fast);
}
.tag:hover {
  color: var(--teal-300);
  border-color: var(--border-accent);
  background: rgba(8,95,99,0.15);
}

/* ─── SECTION COMMON ─────────────────────────────────────────── */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(8,95,99,0.15);
  border: 1px solid rgba(8,180,160,0.25);
  color: var(--teal-300);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 540px;
  text-align: center;
}

/* ─── FEATURES ───────────────────────────────────────────────── */
.features { background: var(--bg-base); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  grid-template-areas:
    "large-left mid1 mid2"
    "large-left mid3 large-right"
    ". calc units";
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 30px rgba(8,95,99,0.15);
}

.feature-card-inner {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.feature-card-large {
  grid-row: span 2;
}
#feat-pos { grid-area: large-left; }
#feat-offline { grid-area: mid1; }
#feat-cloud { grid-area: mid2; }
#feat-print { grid-area: mid3; }
#feat-multiprint { grid-area: large-right; }
#feat-calc { grid-area: calc; }
#feat-units { grid-area: units; }

.feature-card-dark {
  background: linear-gradient(145deg, rgba(8,50,60,0.4) 0%, rgba(13,17,23,0.6) 100%);
  border-color: rgba(8,95,99,0.3);
}

.feature-icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon-wrap svg { width: 26px; height: 26px; }

.feature-icon-teal { background: rgba(8,95,99,0.25); color: var(--teal-300); border: 1px solid rgba(8,95,99,0.4); }
.feature-icon-cyan { background: rgba(34,211,238,0.12); color: var(--cyan-300); border: 1px solid rgba(34,211,238,0.25); }
.feature-icon-purple { background: rgba(139,92,246,0.15); color: #c4b5fd; border: 1px solid rgba(139,92,246,0.25); }
.feature-icon-green { background: rgba(34,197,94,0.1); color: #86efac; border: 1px solid rgba(34,197,94,0.2); }

.feature-img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.feature-highlight {
  margin-top: auto;
  background: rgba(8,95,99,0.15);
  border: 1px solid rgba(8,95,99,0.3);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: var(--teal-300);
  font-weight: 500;
  width: fit-content;
}

.printer-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
}
.printer-badge {
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  color: #c4b5fd;
  font-weight: 500;
}

.feature-card-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand);
}

/* ─── HOW IT WORKS ───────────────────────────────────────────── */
.how-it-works {
  background: var(--bg-raised);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: start;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem 1rem;
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}
.step:hover {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
}

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(8,95,99,0.35);
  line-height: 1;
  letter-spacing: -0.05em;
  transition: color var(--transition-base);
}
.step:hover .step-number { color: var(--teal-600); }

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.step-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-arrow {
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--teal-700);
  pointer-events: none;
}

/* ─── TECH STACK ─────────────────────────────────────────────── */
.tech-stack { background: var(--bg-base); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.tech-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  text-align: center;
}
.tech-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-teal);
}

.tech-logo {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-logo svg { width: 100%; height: 100%; }

.tech-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-primary);
}
.tech-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ─── PRICING ─────────────────────────────────────────────────── */
.pricing {
  background: var(--bg-raised);
  border-top: 1px solid var(--border-subtle);
}
.pricing .section-container { padding-top: 3rem; padding-bottom: 3rem; }
.pricing .section-header { margin-bottom: 1.5rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  position: relative;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}

.pricing-card-featured {
  background: linear-gradient(145deg, rgba(8,60,70,0.5) 0%, rgba(13,17,23,0.8) 100%);
  border-color: rgba(14,154,163,0.5);
  box-shadow: 0 0 0 1px rgba(14,154,163,0.15), var(--shadow-lg), var(--shadow-teal);
  transform: scale(1.02);
}
.pricing-card-featured:hover { transform: scale(1.02) translateY(-4px); }

.popular-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #080c10;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.plan-header { display: flex; flex-direction: column; gap: 0.5rem; }

.plan-icon { font-size: 2rem; }

.plan-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  color: var(--text-primary);
}
.price-currency { font-size: 1rem; font-weight: 600; color: var(--text-secondary); }
.price-amount { font-family: var(--font-display); font-size: 2.2rem; font-weight: 900; line-height: 1; }
.price-period { font-size: 0.8rem; color: var(--text-secondary); }

.plan-desc { font-size: 0.875rem; color: var(--text-secondary); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}
.feat-item::before {
  content: '';
  width: 15px; height: 15px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.feat-yes { color: var(--text-primary); }
.feat-yes::before {
  background-color: rgba(8,95,99,0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3dd' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  border: 1px solid rgba(8,95,99,0.4);
}
.feat-no { color: var(--text-muted); text-decoration: line-through; }
.feat-no::before {
  background-color: rgba(255,255,255,0.03);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23484f58' stroke-width='2'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  border: 1px solid rgba(255,255,255,0.06);
}

/* ─── FAQ ─────────────────────────────────────────────────────── */
.faq { background: var(--bg-base); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item:hover { border-color: var(--border-accent); }
.faq-item.open { border-color: rgba(8,95,99,0.4); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-align: left;
  transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--teal-300); }

.faq-chevron {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--text-muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--teal-400); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}
.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── DOWNLOAD CTA ───────────────────────────────────────────── */
.download-cta {
  position: relative;
  overflow: hidden;
  background: var(--bg-raised);
  border-top: 1px solid var(--border-subtle);
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.cta-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(8,95,99,0.5) 0%, transparent 70%);
  top: -200px; left: -100px;
}
.cta-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(14,154,163,0.25) 0%, transparent 70%);
  bottom: -150px; right: -50px;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.cta-icon img {
  width: 80px; height: 80px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-teal);
  border: 1px solid rgba(8,95,99,0.4);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cta-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 480px;
}

.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.cta-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 2rem 0;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-logo { margin-bottom: 0.25rem; }
.footer-tagline { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }

.footer-links { display: contents; }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--teal-300); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll-triggered animation base */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "large-left mid1"
      "large-left mid2"
      "large-right mid3"
      "large-right calc"
      ". units";
  }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .hero-content { align-items: center; text-align: center; }
  .hero-subtitle { max-width: 600px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .steps-container { grid-template-columns: repeat(2, 1fr); }
  .step-arrow { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-card-featured { transform: none; }
  .pricing-card-featured:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .hamburger { display: flex; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(8,12,16,0.96);
    backdrop-filter: blur(20px);
    padding: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 0.25rem;
  }
  .nav-links.mobile-open li a { display: block; padding: 0.75rem 1rem; font-size: 1rem; }

  .features-grid {
    grid-template-columns: 1fr;
    grid-template-areas: unset;
  }
  .feature-card-large { grid-row: auto; }
  #feat-pos, #feat-offline, #feat-cloud, #feat-print, #feat-multiprint, #feat-calc, #feat-units {
    grid-area: auto;
  }

  .steps-container { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .hero-stats { flex-direction: column; gap: 0.75rem; align-items: center; }
  .stat-divider { width: 60px; height: 1px; }
}

@media (max-width: 480px) {
  .section-container { padding: 4rem 1.25rem; }
  .trust-container { flex-direction: column; }
  .footer-container { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ─── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--teal-800); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal-600); }

/* ─── SELECTION ──────────────────────────────────────────────── */
::selection { background: rgba(8,95,99,0.4); color: var(--teal-100); }
