/* ==========================================================================
   SubTracker Landing Page Stylesheet
   Modern, Dark-Themed, Responsive & Dependency-Free
   ========================================================================== */

:root {
  /* Colors */
  --bg-primary: #0A0915;
  --bg-secondary: #121024;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(99, 91, 255, 0.35);

  --primary: #635BFF;
  --primary-hover: #736BFF;
  --primary-glow: rgba(99, 91, 255, 0.35);

  --accent-cyan: #00F2FE;
  --accent-purple: #8438FF;
  --accent-emerald: #22EAA8;
  --accent-red: #FF4D6D;

  --text-main: #FFFFFF;
  --text-muted: #9E9BB2;
  --text-dim: #6F6C87;

  /* Fonts & Weights */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Background Ambient Glows */
.glow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.glow-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  max-width: 100vw;
}

.glow-top-left {
  top: -120px;
  left: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

.glow-top-right {
  top: 50px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.glow-center {
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  opacity: 0.2;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 100px;
}

/* Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, #A29BFE 60%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px auto;
}

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  background: rgba(99, 91, 255, 0.12);
  border: 1px solid rgba(99, 91, 255, 0.28);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #5247FF 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99, 91, 255, 0.5);
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-white {
  background: #FFFFFF;
  color: #0A0915;
}

.btn-white:hover {
  background: #F0EDFA;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-coming-soon {
  opacity: 0.65;
  cursor: default;
  user-select: none;
}

.btn-coming-soon:hover {
  transform: none !important;
  box-shadow: none !important;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(10, 9, 21, 0.75);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.brand-accent {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.navbar.nav-open .mobile-menu-btn span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar.nav-open .mobile-menu-btn span:nth-child(2) {
  opacity: 0;
}

.navbar.nav-open .mobile-menu-btn span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #C3C0FF;
  background: rgba(99, 91, 255, 0.12);
  border: 1px solid rgba(99, 91, 255, 0.28);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.stars {
  color: #FFB703;
  letter-spacing: 2px;
}

/* ==========================================================================
   Hero Phone Mockup & App Screen
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 100%;
  max-width: 320px;
  background: #141320;
  border: 10px solid #232236;
  border-radius: 46px;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 24px 60px rgba(0, 0, 0, 0.7),
    0 0 50px rgba(99, 91, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  width: 100px;
  height: 18px;
  background: #232236;
  border-radius: 0 0 12px 12px;
  margin: 0 auto;
  position: relative;
  z-index: 20;
}

.app-screen {
  padding: 16px;
  background: #0E0D1B;
  color: #FFFFFF;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.app-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.greeting-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
}

.greeting-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.app-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bell-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

.app-summary-card {
  background: linear-gradient(135deg, #211E48 0%, #15132D 100%);
  border: 1px solid rgba(99, 91, 255, 0.35);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
}

.summary-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.summary-label {
  font-size: 0.75rem;
  color: #C3C0FF;
  font-weight: 500;
}

.summary-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: #00F2FE;
  background: rgba(0, 242, 254, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.summary-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFFFFF;
}

.summary-cycle {
  font-size: 0.9rem;
  font-weight: 500;
  color: #9E9BB2;
}

.summary-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin: 10px 0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--primary) 100%);
  border-radius: 3px;
}

.summary-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-dim);
}

.app-alert-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.3);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.72rem;
  color: #FFA5B4;
  margin-bottom: 14px;
}

.app-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.text-link {
  color: var(--primary);
  cursor: pointer;
  font-size: 0.72rem;
}

.app-subs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 8px 10px;
}

.sub-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.bg-red { background: #E50914; color: white; }
.bg-green { background: #1DB954; color: black; }
.bg-purple { background: #10A37F; color: white; }
.bg-blue { background: #0ACF83; color: black; }

.sub-details {
  flex: 1;
}

.sub-name {
  font-size: 0.78rem;
  font-weight: 700;
}

.sub-date {
  font-size: 0.65rem;
  color: var(--text-dim);
}

.sub-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
}

.sub-price span {
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(18, 16, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  padding: 10px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  animation: float 4s ease-in-out infinite;
  z-index: 10;
}

.badge-save {
  top: 15%;
  left: -20px;
  animation-delay: 0s;
}

.badge-scan {
  bottom: 20%;
  right: -20px;
  animation-delay: 2s;
}

.badge-icon {
  font-size: 1.4rem;
}

.badge-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
}

.badge-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

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

/* ==========================================================================
   Metrics Bar
   ========================================================================== */
.metrics-bar {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.metric-val {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 91, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.highlight-card {
  border-color: var(--border-bright);
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(99, 91, 255, 0.12);
  border: 1px solid rgba(99, 91, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon {
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-pill {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Savings Calculator Section
   ========================================================================== */
.calc-section {
  padding-top: 40px;
}

.calc-box {
  background: linear-gradient(135deg, rgba(33, 30, 72, 0.4) 0%, rgba(18, 16, 36, 0.8) 100%);
  border: 1px solid rgba(99, 91, 255, 0.3);
  border-radius: 32px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.calc-content .section-title {
  text-align: left;
}

.calc-content .section-sub {
  margin-bottom: 32px;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.slider-display {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 1rem;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 12px var(--primary-glow);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-result-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.res-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.res-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.res-sub {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-left: 4px;
}

.savings-text {
  color: var(--accent-emerald);
}

.divider {
  height: 1px;
  background: var(--border-subtle);
}

.res-tip {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Steps Section
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
}

.step-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(99, 91, 255, 0.3);
  margin-bottom: 12px;
  line-height: 1;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.test-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.test-stars {
  color: #FFB703;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.test-quote {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #E2DFEB;
  margin-bottom: 24px;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(99, 91, 255, 0.2);
  color: #C3C0FF;
  border: 1px solid rgba(99, 91, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.author-name {
  font-size: 0.92rem;
  font-weight: 700;
}

.author-title {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
  max-width: 800px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: rgba(99, 91, 255, 0.35);
  background: rgba(255, 255, 255, 0.045);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-chevron {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #18153A 0%, #0E0D1B 100%);
  border: 1px solid rgba(99, 91, 255, 0.4);
  border-radius: 36px;
  padding: 72px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 91, 255, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
}

.cta-logo {
  margin-bottom: 20px;
}

.cta-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.cta-guarantee {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 40px 0;
  background: #080712;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-brand .brand-logo {
  justify-content: center;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-bottom {
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  width: 100%;
}

/* ==========================================================================
   Document & Legal Pages (About, Privacy, Terms)
   ========================================================================== */
.doc-page {
  padding-top: 48px;
  padding-bottom: 96px;
}

.doc-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px auto;
}

.doc-date {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.doc-body {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.doc-section {
  margin-bottom: 40px;
}

.doc-section:last-child {
  margin-bottom: 0;
}

.doc-section h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}

.doc-section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ECEAF5;
  margin: 20px 0 10px 0;
}

.doc-section p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.doc-section p:last-child {
  margin-bottom: 0;
}

.doc-section ul {
  list-style: none;
  padding-left: 0;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc-section ul li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  padding-left: 22px;
}

.doc-section ul li::before {
  content: "•";
  color: var(--primary);
  font-weight: 800;
  position: absolute;
  left: 4px;
}

.doc-callout {
  background: rgba(99, 91, 255, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
  color: #ECEAF5;
  font-size: 0.95rem;
  line-height: 1.6;
}

.doc-callout strong {
  color: #FFFFFF;
}

.doc-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.doc-mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.doc-mini-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 0;
  margin-bottom: 8px;
}

.doc-mini-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-trust {
    justify-content: center;
  }

  .features-grid, .steps-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-box {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 36px;
  }

  .calc-content .section-title {
    text-align: center;
  }

  .calc-content .section-sub {
    text-align: center;
  }

  .floating-badge {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 9, 21, 0.97);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  }

  .navbar.nav-open .nav-links {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .features-grid, .steps-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .floating-badge {
    display: none !important;
  }

  .section-title {
    font-size: clamp(1.7rem, 5vw, 2.1rem);
  }

  .cta-title {
    font-size: clamp(1.7rem, 5vw, 2.1rem);
  }

  .doc-body {
    padding: 32px 24px;
  }

  .doc-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .metric-card {
    padding: 8px 4px;
  }

  .metric-val {
    font-size: 1.7rem;
  }

  .metric-label {
    font-size: 0.78rem;
  }

  .calc-box {
    padding: 24px 14px;
    border-radius: 20px;
    gap: 24px;
  }

  .calc-result-card {
    padding: 20px 14px;
  }

  .res-num {
    font-size: 1.9rem;
  }

  .cta-banner {
    padding: 40px 16px;
    border-radius: 22px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .cta-guarantee {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .doc-page {
    padding-top: 32px;
    padding-bottom: 64px;
  }

  .doc-body {
    padding: 24px 14px;
    border-radius: var(--radius-md);
  }

  .doc-section h2 {
    font-size: 1.25rem;
  }
}
