/* ===================================
   FINANALYZE — Premium Architecture V3
   Comprehensive Design System & Styles
   =================================== */

/* --- Design Tokens --- */
:root {
  --bg-primary: #050508;
  --bg-secondary: #0a0a0f;
  --bg-tertiary: #101018;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.45);
  --accent-primary: #7c77ff;
  --accent-secondary: #00e5ff;
  --accent-emerald: #10f9ad;
  --accent-amber: #ffb800;
  --accent-rose: #ff4d6d;
  --gradient-glow: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(124, 119, 255, 0.1);
  --shadow-glow: 0 0 40px rgba(124, 119, 255, 0.3);
  --radius-md: 14px;
  --radius-lg: 24px;
  --font-main: 'Inter', -apple-system, sans-serif;
  --transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes auraRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes checkPop {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

::selection {
  background: rgba(124, 119, 255, 0.3);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --bg-glass-hover: rgba(255, 255, 255, 0.9);
  --border-glass: rgba(0, 0, 0, 0.05);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #64748b;
  --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 8px rgba(0, 0, 0, 0.02);
  --shadow-glow: 0 0 20px rgba(124, 119, 255, 0.08);
  --nav-bg: rgba(254, 254, 255, 0.85);
  --nav-border: rgba(0, 0, 0, 0.04);
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

@keyframes neonPulse {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(124, 119, 255, 0.2);
    border-color: rgba(124, 119, 255, 0.2);
  }

  50% {
    box-shadow: 0 0 25px rgba(124, 119, 255, 0.4);
    border-color: rgba(124, 119, 255, 0.5);
  }
}

@keyframes blinkFinn {

  0%,
  90%,
  100% {
    transform: scaleY(1);
  }

  95% {
    transform: scaleY(0.1);
  }
}

@keyframes mascotBreath {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

/* --- Base & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

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

.section {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.preloader__logo {
  width: 60px;
  height: 60px;
  animation: pulse 2s infinite;
}

.preloader__spinner {
  width: 100px;
  height: 100px;
  border: 2px solid transparent;
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  position: absolute;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-glow);
  z-index: 1001;
  transition: width 0.1s;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-emerald) 50%, var(--accent-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 5s linear infinite;
  display: inline-block;
}

@keyframes gradientFlow {
  to {
    background-position: 200% center;
  }
}

/* --- Typography --- */
h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 2rem;
}

.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(124, 119, 255, 0.1);
  color: var(--accent-primary);
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(124, 119, 255, 0.2);
}

.section-subtitle {
  max-width: 700px;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-size: 1.125rem;
  margin-left: auto;
  margin-right: auto;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  display: flex;
  align-items: center;
  backdrop-filter: blur(24px);
  transition: var(--transition);
}

.nav__mobile-controls {
  display: none;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 1rem;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  transition: var(--transition);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.25rem;
  z-index: 1002;
}

.nav__logo-img {
  width: 32px;
  height: 32px;
}

.nav__links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav__link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

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

.nav__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: 0.3s;
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Language Switch --- */
.lang-switch {
  display: flex;
  background: var(--bg-glass);
  padding: 4px;
  border-radius: 99px;
  position: relative;
  border: 1px solid var(--border-glass);
  height: 36px;
  align-items: center;
}

.lang-switch__btn {
  padding: 0 12px;
  border: none;
  background: none;
  color: var(--text-tertiary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  z-index: 2;
  min-width: 48px;
  height: 100%;
  text-align: center;
  transition: color 0.3s ease;
}

.lang-switch__btn--active {
  color: #ffffff !important;
}

.lang-switch__slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 48px;
  height: calc(100% - 8px);
  background: var(--accent-primary);
  background: linear-gradient(135deg, var(--accent-primary) 0%, #a855f7 100%);
  border-radius: 99px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  box-shadow: 0 4px 12px rgba(124, 119, 255, 0.4);
}

.lang-switch.en .lang-switch__slider {
  transform: translateX(48px);
}

/* --- Theme Toggle --- */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-tertiary);
  transition: var(--transition);
}

.theme-toggle:hover {
  color: var(--accent-primary);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle__moon {
  display: none;
}

[data-theme="light"] .theme-toggle__sun {
  display: none;
}

[data-theme="light"] .theme-toggle__moon {
  display: block;
  color: #131313;
}

[data-theme="light"] .hero__badge {
  background: rgba(124, 119, 255, 0.1);
  color: var(--accent-primary);
  border-color: rgba(124, 119, 255, 0.2);
}

[data-theme="light"] .hero__title span:not(.hero__title-main) {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

[data-theme="light"] .hero__title-main {
  color: var(--text-primary);
}

[data-theme="light"] .theme-toggle:hover {
  color: var(--accent-primary);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.875rem 2rem;
  border-radius: 99px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  font-size: 1rem;
}

.btn--primary {
  background: var(--gradient-glow);
  color: #fff;
  box-shadow: 0 10px 20px rgba(124, 119, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
  transition: 0.8s;
  pointer-events: none;
}

.btn--primary:hover::after {
  animation: shimmer 1.5s infinite;
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(124, 119, 255, 0.3);
}

.btn--secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: var(--bg-glass-hover);
  transform: translateY(-2px);
}

/* --- Hero --- */
.hero {
  padding-top: 180px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: floatOrb 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  background: var(--accent-primary);
  top: -100px;
  right: -100px;
}

.hero__orb--2 {
  width: 500px;
  height: 500px;
  background: var(--accent-secondary);
  bottom: -150px;
  left: -150px;
  animation-delay: -5s;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: var(--accent-rose);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, 100px) scale(1.1);
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 99px;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.hero__badge-dot--pulse {
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseEmerald 2s infinite;
}

@keyframes pulseEmerald {
  0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(16, 249, 173, 0.7); }
  70% { transform: scale(1.2); opacity: 0.8; box-shadow: 0 0 0 10px rgba(16, 249, 173, 0); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(16, 249, 173, 0); }
}

.hero__title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin-bottom: 2rem;
  letter-spacing: -0.04em;
  font-weight: 900;
  line-height: 1.1;
}

.hero__title-accent {
  display: inline-block;
  color: var(--text-primary);
  opacity: 0.9;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-top: 0.5rem;
}

.hero__subtitle {
  max-width: 600px;
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

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

.hero__content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__stats {
  display: flex;
  gap: 4rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

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

.hero__stat-value {
  font-size: 2.75rem;
  font-weight: 900;
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero__stat-label {
  color: var(--text-tertiary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* --- Countdown Timer (Premium Overhaul) --- */
.hero__countdown {
  margin: 1rem 0 4rem 0;
  width: 100%;
}

.hero__countdown-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-primary);
  margin-bottom: 2rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero__countdown-title::before,
.hero__countdown-title::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--border-glass);
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: floating 4s infinite ease-in-out;
}

.countdown__item:nth-child(3) { animation-delay: 0.5s; }
.countdown__item:nth-child(5) { animation-delay: 1s; }
.countdown__item:nth-child(7) { animation-delay: 1.5s; }

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

.countdown__value {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: 'Inter', sans-serif;
  color: #fff;
  width: 100px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  text-shadow: 0 0 20px rgba(124, 119, 255, 0.4);
}

.countdown__value::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(124, 119, 255, 0.1) 0%, transparent 70%);
}

.countdown__label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 1.5px;
}

.countdown__sep {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-primary);
  margin-top: -30px;
  animation: pulseSep 1.5s infinite;
  opacity: 0.5;
}

@keyframes pulseSep {
  0%, 100% { opacity: 0.3; transform: translateY(-30px) scale(1); }
  50% { opacity: 1; transform: translateY(-30px) scale(1.2); }
}

@media (max-width: 768px) {
  .countdown { gap: 0.8rem; }
  .countdown__item { min-width: 60px; }
  .countdown__value {
    width: 70px;
    height: 80px;
    font-size: 2.25rem;
    border-radius: 14px;
  }
}

/* --- Store Badges --- */
.store-badge {
  background: #000;
  color: #fff;
  padding: 10px 24px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}

.store-badge:hover {
  background: #0a0a0f;
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.store-badge__icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex-shrink: 0;
}

.store-badge__subtitle {
  display: block;
  font-size: 0.65rem;
  opacity: 0.6;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 2px;
}

.store-badge__title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

/* --- Glass Cards --- */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.blog__card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.blog__card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--accent-primary);
  background: var(--bg-glass-hover);
  box-shadow: var(--shadow-premium);
}

.blog__card:active {
  transform: translateY(-5px) scale(0.98);
}

.glass-card:hover {
  border-color: rgba(124, 119, 255, 0.4);
  transform: translateY(-8px);
  background: var(--bg-glass-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* --- Analytics --- */
.analytics__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

[data-theme="light"] .glass-card {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .glass-card h3,
[data-theme="light"] .blog__card-title {
  color: var(--text-primary);
}

[data-theme="light"] .blog__meta {
  color: var(--text-tertiary);
}

[data-theme="light"] .blog__tag {
  background: rgba(124, 119, 255, 0.15);
  color: var(--accent-primary);
}

[data-theme="light"] .glass-card p,
[data-theme="light"] .roadmap__item {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.04);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .roadmap__version {
  color: var(--accent-primary);
}

[data-theme="light"] .roadmap__list li {
  color: var(--text-secondary);
}

[data-theme="light"] .analytics-card h4 {
  color: var(--text-primary);
}

[data-theme="light"] .analytics-card p {
  color: var(--text-secondary);
}

.analytics-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.chart-container {
  height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.chart-svg {
  width: 100%;
  height: 100%;
}

.chart-path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}

.chart-path--line {
  stroke: var(--accent-primary);
  filter: drop-shadow(0 0 10px var(--accent-primary));
}

.chart-path--area {
  fill: url(#chartGradient);
  opacity: 0.1;
}

.chart-container--donut {
  justify-content: center;
  align-items: center;
}

.chart-circle {
  fill: none;
  stroke-width: 15;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.chart-circle--bg {
  stroke: rgba(255, 255, 255, 0.05);
}

.chart-circle--segment1 {
  stroke: var(--accent-primary);
  stroke-dasharray: 440;
  stroke-dashoffset: 110;
}

.chart-donut-center {
  position: absolute;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
}

.chart-container--bar {
  align-items: flex-end;
  justify-content: space-between;
}

.chart-bar {
  width: 40px;
  border-radius: 8px 8px 4px 4px;
  height: var(--h);
  background: var(--c);
  opacity: 0.8;
  animation: barGrow 1.5s ease-out forwards var(--d);
  transform: scaleY(0);
  transform-origin: bottom;
}

@keyframes barGrow {
  to {
    transform: scaleY(1);
  }
}

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

.security-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.security-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 249, 173, 0.1);
  color: var(--accent-emerald);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(16, 249, 173, 0.1);
}

/* --- Showcase --- */
.showcase__carousel {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.showcase__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  gap: 4rem;
}

.showcase__slide {
  flex: 0 0 300px;
  opacity: 0.5;
  transform: scale(0.9);
  transition: 0.4s;
}

.showcase__slide--active {
  opacity: 1;
  transform: scale(1.1);
}

.showcase__phone-frame {
  width: 280px;
  height: 560px;
  background: #000;
  border-radius: 40px;
  border: 8px solid #1a1a1a;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.showcase__phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #000;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.showcase__phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase__slide-label {
  margin-top: 2rem;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.9rem;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.showcase__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  z-index: 20;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase__arrow--left {
  left: 2rem;
}

.showcase__arrow--right {
  right: 2rem;
}

.showcase__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 3rem;
}

.showcase__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-glass);
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.showcase__dot--active {
  width: 24px;
  background: var(--accent-primary);
  border-radius: 4px;
}

/* --- Features Grid --- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: rgba(124, 119, 255, 0.1);
  color: var(--accent-primary);
  box-shadow: inset 0 0 15px rgba(124, 119, 255, 0.2), 0 5px 15px rgba(0, 0, 0, 0.3);
}

.feature-card__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Simulator Module --- */
.simulator-section {
  background: var(--bg-secondary);
}

.sim__card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 968px) {
  .sim__card {
    grid-template-columns: 1fr;
  }
}

.sim__field {
  margin-bottom: 2rem;
}

.sim__value {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.sim__slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
}

.sim__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--accent-primary);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 0 10px rgba(124, 119, 255, 0.4);
}

.sim__range {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  color: var(--text-tertiary);
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.8;
}

.sim__results {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}

.sim__result-card {
  background: rgba(255, 255, 255, 0.015);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.sim__result-card--error {
  border-color: rgba(255, 59, 92, 0.3);
  background: rgba(255, 59, 92, 0.05);
  animation: simShake 0.5s ease-in-out;
}

.sim__result-card--error .sim__result-val {
  color: var(--accent-rose) !important;
}

@keyframes simShake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-4px);
  }

  75% {
    transform: translateX(4px);
  }
}

.sim__result-badge {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.sim__result-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.sim__result-val {
  font-weight: 700;
}

.sim__result-val--highlight {
  color: var(--accent-amber);
  font-size: 1.1rem;
}

.sim__vs {
  font-weight: 800;
  color: var(--text-tertiary);
  font-style: italic;
}

.sim__savings {
  margin-top: 2rem;
  text-align: center;
  padding: 1.5rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #fff;
  font-size: 1.1rem;
}

/* --- How It Works --- */
.hiw__timeline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 4rem;
}

.hiw__step {
  flex: 1;
  position: relative;
  z-index: 2;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.hiw__step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: var(--accent-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: 0 0 15px var(--accent-primary);
}

.hiw__connector {
  flex: 0.5;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0.3;
  position: relative;
  top: 0;
}

.hiw__step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 5px 15px rgba(124, 119, 255, 0.3));
}

@media (max-width: 968px) {
  .hiw__timeline {
    flex-direction: column;
    gap: 3rem;
  }

  .hiw__connector {
    width: 2px;
    height: 40px;
    flex: none;
  }
}

/* --- FinCoach Chat --- */
.fincoach {
  position: relative;
  overflow: hidden;
}

.fincoach::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 119, 255, 0.15) 0%, transparent 70%);
  z-index: -1;
  filter: blur(60px);
  animation: pulseGlow 10s infinite alternate;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1) translate(-20px, -20px);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.3) translate(20px, 20px);
    opacity: 0.8;
  }
}

[data-theme="light"] .fincoach {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.fincoach__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.fincoach__visual {
  position: relative;
  perspective: 1000px;
}

.fincoach__mascot-wrapper {
  position: absolute;
  top: -80px;
  left: -50px;
  right: auto;
  width: 160px;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

.professor-finn-mascot {
  width: 100%;
  height: auto;
  animation: mascotBreath 4s ease-in-out infinite, blinkFinn 8s steps(1) infinite;
  transform-origin: bottom center;
}

.fincoach__chat {
  max-width: 480px;
  margin: 0 auto;
  background: rgba(5, 5, 8, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  position: relative;
  backdrop-filter: blur(20px);
}

.fincoach__chat-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  gap: 1rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
}

.fincoach__chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-glass);
}

.fincoach__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fincoach__chat-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 320px;
}

.fincoach__msg {
  padding: 14px 18px;
  border-radius: 20px;
  max-width: 85%;
  font-size: 0.9rem;
  line-height: 1.5;
}

.fincoach__msg--bot {
  background: var(--bg-glass);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .fincoach__msg--bot {
  background: #f1f5f9;
  color: #0f172a;
}

.fincoach__msg--user {
  background: var(--gradient-glow);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(124, 119, 255, 0.2);
}

[data-theme="light"] .fincoach__msg--user {
  background: var(--accent-primary);
  color: #fff;
}

.fincoach__chat-input {
  background: var(--bg-glass);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fincoach__chat-input-field {
  flex: 1;
  color: var(--text-tertiary);
  font-size: 0.9rem;
  cursor: text;
}

.fincoach__chat-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 229, 255, 0.2);
}

.fincoach__chat-send:hover {
  transform: scale(1.1) rotate(15deg);
}

/* --- Chat Interaction Additions --- */
.fincoach__suggestions {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  padding-right: 4rem;
  /* Spacing for the fade effect */
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  /* Premium fade effect on the right */
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.fincoach__suggestions::-webkit-scrollbar {
  display: none;
}

.fincoach__suggestions:active {
  cursor: grabbing;
}

.fincoach__chip {
  padding: 8px 16px;
  background: rgba(124, 119, 255, 0.08);
  border: 1px solid rgba(124, 119, 255, 0.2);
  border-radius: 99px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.fincoach__chip:hover {
  background: rgba(124, 119, 255, 0.15);
  color: #fff;
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(124, 119, 255, 0.2);
  transform: translateY(-2px);
}

.fincoach__msg {
  animation: msgSlide 0.3s ease-out forwards;
}

@keyframes msgSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: var(--bg-glass);
  border-radius: 12px;
  width: fit-content;
  margin-bottom: 1rem;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--text-tertiary);
  border-radius: 50%;
  animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {

  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.fincoach__content-title {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.fincoach__content-desc {
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-size: 1.15rem;
  line-height: 1.8;
}

.fincoach__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fincoach__feature {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1rem;
}

.fincoach__feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(124, 119, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(124, 119, 255, 0.1);
  animation: neonPulse 3s ease-in-out infinite;
}

/* --- Pricing Table --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-glass);
  padding: 3rem 2.5rem;
  position: relative;
  background: var(--bg-glass);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 32px;
  overflow: hidden; /* For glass streak */
}

.pricing-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(124, 119, 255, 0.4);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

/* Glass Streak Animation */
.pricing-card::after {
  content: '';
  position: absolute;
  top: -150%;
  left: -150%;
  width: 300%;
  height: 300%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 55%
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  pointer-events: none;
  z-index: 5;
}

.pricing-card:hover::after {
  top: 150%;
  left: 150%;
}

.pricing-card--popular {
  background: rgba(124, 119, 255, 0.05);
  box-shadow: var(--shadow-premium);
  border-color: rgba(124, 119, 255, 0.3) !important;
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card--popular:hover {
  transform: scale(1.08) translateY(-15px);
}

.pricing-card--popular::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: conic-gradient(from var(--a, 0deg), 
    transparent 0deg, 
    var(--accent-primary) 90deg, 
    var(--accent-secondary) 180deg, 
    transparent 270deg
  );
  border-radius: 33px;
  z-index: -1;
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: auraGlow 4s linear infinite;
}

@property --a {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes auraGlow {
  to { --a: 360deg; }
}

.pricing-card__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--accent-amber), #ff8c00);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.4);
  z-index: 10;
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

.pricing-card__title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #a5a5a5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 1;
}

.pricing__price {
  font-size: 4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  letter-spacing: -2px;
}

.pricing-card__features {
  list-style: none !important;
  margin: 2rem 0;
  flex: 1;
  padding: 0;
}

.pricing-card__feature {
  color: var(--text-secondary);
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  list-style: none !important;
  list-style-type: none !important;
  position: relative;
}

/* Eradicate any potential list markers or double-check characters */
.pricing-card__feature::before,
.pricing-card__feature::after,
.pricing-card__feature::marker {
  content: none !important;
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

.pricing-card__feature i {
  color: var(--accent-primary);
  font-size: 1.1rem;
  filter: drop-shadow(0 0 5px rgba(124, 119, 255, 0.4));
  flex-shrink: 0;
}

/* --- Blog Section --- */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(124, 119, 255, 0.1);
}

.blog-card__image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

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

.blog-card:hover .blog-card__image {
  transform: scale(1.1);
}

.blog-card__image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(5, 5, 8, 0.8));
}

.blog-card__content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-card__tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  background: rgba(124, 119, 255, 0.1);
  color: var(--accent-primary);
  border-radius: 6px;
}

.blog-card__dot {
  width: 4px;
  height: 4px;
  background: var(--text-tertiary);
  border-radius: 50%;
}

.blog-card__time {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

.blog-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  transition: var(--transition);
}

.blog-card:hover .blog-card__title {
  color: var(--accent-primary);
}

.blog-card__link {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-primary);
  transition: var(--transition);
}

.blog-card__link:hover {
  gap: 12px;
}

/* --- FAQ Accordion --- */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__item {
  border-radius: 20px;
  transition: var(--transition);
  overflow: hidden;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
}

.faq__question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq__chevron {
  transition: transform 0.3s ease;
  opacity: 0.5;
}

.faq__item[aria-expanded="true"] .faq__chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 2rem;
  color: var(--text-secondary);
}

.faq__item[aria-expanded="true"] .faq__answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq__item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-glass-hover);
}

/* --- Forms & Inputs --- */
.form-group input,
.form-group textarea,
.newsletter__input {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .newsletter__input {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
  color: #000000 !important;
}

[data-theme="light"] .form-group label {
  color: #000000;
}

/* --- Stats Band --- */
.stats-band {
  padding: 60px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stats-band__value {
  font-size: 2.8rem;
  font-weight: 900;
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.stats-band__label {
  color: var(--text-tertiary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Testimonials --- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-card__stars {
  color: var(--accent-amber);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-card__text {
  color: var(--text-secondary);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

.testimonial-card__name {
  font-weight: 700;
  color: #fff;
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* --- Pricing Comparison --- */
.pricing__comparison {
  margin-top: 6rem;
}

.pricing__comparison-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.comparison-table-container {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 2rem;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
}

.comparison-table th {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  letter-spacing: 1px;
}

.comparison-table td:first-child {
  color: var(--text-primary);
  font-weight: 600;
}

.comparison-table th.highlight,
.comparison-table td.highlight {
  background: rgba(124, 119, 255, 0.05);
  text-align: center;
}

.comparison-table td:not(:first-child) {
  text-align: center;
  font-size: 1.1rem;
}

/* --- Roadmap --- */
.roadmap__container {
  position: relative;
  max-width: 800px;
  margin: 4rem auto 0;
  padding-left: 2rem;
}

.roadmap__container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-glass);
}

.roadmap__item {
  position: relative;
  padding-bottom: 4rem;
  padding-left: 2rem;
}

.roadmap__dot {
  position: absolute;
  left: -26px;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--bg-primary);
  border: 2px solid var(--border-glass);
  border-radius: 50%;
  z-index: 2;
  transition: 0.3s;
}

.roadmap__item--completed .roadmap__dot {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  box-shadow: 0 0 15px var(--accent-emerald);
}

.roadmap__item--current .roadmap__dot {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary);
}

.roadmap__date {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.roadmap__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.roadmap__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.roadmap__list li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.5;
}

.roadmap__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: 800;
}

/* --- Contact Section --- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-top: 4rem;
}

.contact__card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.contact__card:hover {
  border-color: var(--accent-primary);
  background: var(--bg-glass-hover);
  transform: translateX(10px);
}

.contact__card-icon {
  width: 50px;
  height: 50px;
  background: rgba(124, 119, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}

.contact__card-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  font-weight: 700;
}

.contact__card-value {
  font-size: 1.1rem;
  font-weight: 700;
}

.contact__card-action {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  transition: 0.3s;
}

.contact__card:hover .contact__card-action {
  opacity: 1;
}

.contact__card-hint {
  font-size: 0.7rem;
  color: var(--accent-primary);
}

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

.btn--full {
  width: 100%;
  justify-content: center;
  height: 56px;
}

/* --- Newsletter --- */
.newsletter__card {
  text-align: center;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.newsletter__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(124, 119, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter__form {
  display: flex;
  max-width: 500px;
  margin: 2rem auto 0;
  gap: 1rem;
}

.newsletter__input {
  flex: 1;
}

/* --- Back to Top & Toast --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s;
  z-index: 100;
  box-shadow: 0 10px 20px rgba(124, 119, 255, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(124, 119, 255, 0.4);
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #fff;
  color: #000;
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 10000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
}

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  z-index: 10000;
  padding: 1.25rem 1.75rem;
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  transform: translateY(120%);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cookie-banner__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cookie-banner__text a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  gap: 1rem;
}

.btn--small {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* --- Pricing Comparison Responsive --- */
@media (max-width: 768px) {

  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table th,
  .comparison-table td,
  .comparison-table tr {
    display: block;
  }

  .comparison-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .comparison-table tr {
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    background: var(--bg-glass);
    padding: 1rem;
  }

  .comparison-table td {
    border: none;
    position: relative;
    padding-left: 50% !important;
    text-align: right !important;
    font-size: 0.95rem;
  }

  .comparison-table td:before {
    content: attr(data-label);
    position: absolute;
    left: 1rem;
    width: 45%;
    text-align: left;
    font-weight: 700;
    color: var(--text-tertiary);
  }

  .comparison-table td.highlight {
    background: none;
    color: var(--accent-primary);
    font-weight: 800;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0.5rem;
    padding-top: 1rem !important;
  }
}

/* --- Footer --- */
.footer {
  padding: 80px 0;
  border-top: 1px solid var(--border-glass);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-glass) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-glass) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
  opacity: 0.6;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(124, 119, 255, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.5rem;
}

.footer__logo img {
  width: 40px;
  height: 40px;
}

.footer__desc {
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer__socials {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background: var(--bg-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
  border: 1px solid var(--border-glass);
}

.footer__social-link:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-5px);
  background: rgba(124, 119, 255, 0.1);
  box-shadow: 0 5px 15px rgba(124, 119, 255, 0.2);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
}

.footer__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.footer__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 2px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__link {
  text-decoration: none;
  color: var(--text-tertiary);
  transition: var(--transition);
  font-size: 0.95rem;
}

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

/* --- Responsive Helpers --- */
@media (max-width: 968px) {
  .nav__hamburger {
    display: block;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    z-index: 1001;
    gap: 3rem;
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-glass);
  }

  .nav__links.active {
    right: 0;
    display: flex;
  }

  .nav__mobile-controls {
    display: flex;
  }

  .nav__link {
    font-size: 1.5rem;
  }

  .nav__right {
    display: none;
  }

  .nav__logo span {
    font-size: 1.1rem;
  }

  .hero__title {
    font-size: 2.75rem;
  }

  .hero__stats {
    gap: 2rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.25rem;
  }

  .hero__actions {
    justify-content: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Extra Global Polish */
svg {
  max-width: 100%;
  height: auto;
  transition: fill 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

.nav__logo img {
  height: 32px;
  width: auto;
}

[data-theme="light"] .nav__hamburger span {
  background: #000;
}

/* --- Mobile Fixes --- */
@media (max-width: 968px) {
  .analytics__grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table {
    min-width: 500px;
  }

  .hero__countdown {
    margin: 1rem 0 2rem 0;
  }

  .countdown__value {
    font-size: 2rem;
    width: 80px;
    height: 90px;
  }

  .showcase__arrow {
    display: none;
  }
}