/* ==========================================================
   Fluxane Landing Page Styles
   ========================================================== */

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-darker: #0f2a6e;
  --primary-light: #dbeafe;
  --dark: #0b1220;
  --dark-2: #111a33;
  --dark-3: #16224a;
  --text: #1e293b;
  --text-light: #64748b;
  --text-lightest: #94a3b8;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --green: #10b981;
  --purple: #8b5cf6;
  --orange: #f59e0b;
  --red: #ef4444;
  --teal: #14b8a6;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(11, 18, 32, 0.06);
  --shadow-md: 0 8px 30px rgba(11, 18, 32, 0.1);
  --shadow-lg: 0 20px 60px rgba(11, 18, 32, 0.14);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================
   Buttons
   ========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-white {
  background: #fff;
  color: var(--primary-darker);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn-primary-sm,
.btn-outline-sm {
  padding: 9px 18px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.btn-primary-sm {
  background: var(--primary);
  color: #fff;
}

.btn-primary-sm:hover {
  background: var(--primary-dark);
}

.btn-outline-sm {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline-sm:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================
   Navbar
   ========================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.35s ease;
  padding: 18px 0;
}

.navbar.scrolled {
  background: rgba(11, 18, 32, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  padding: 12px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

svg.logo-icon {
  display: block;
  background: none;
  padding: 0;
}

.logo-text {
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.logo-text sup {
  font-size: 10px;
  font-weight: 700;
  color: #93c5fd;
  vertical-align: super;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #60a5fa;
  transition: width 0.3s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================
   Hero
   ========================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 45%, var(--dark-3) 100%);
  overflow: hidden;
  padding: 140px 0 40px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
}

.hero-shape-1 {
  width: 450px;
  height: 450px;
  background: #1d4ed8;
  top: -100px;
  right: -100px;
  animation: float 12s ease-in-out infinite;
}

.hero-shape-2 {
  width: 350px;
  height: 350px;
  background: #059669;
  bottom: -120px;
  left: -80px;
  animation: float 15s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 250px;
  height: 250px;
  background: #7c3aed;
  top: 40%;
  left: 50%;
  opacity: 0.25;
  animation: float 18s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(96, 165, 250, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #93c5fd;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Hero visual / dashboard mockup */

.hero-visual {
  max-width: 900px;
  margin: 0 auto;
}

.dashboard-mockup {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.mockup-bar {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #34d399; }

.mockup-body {
  display: flex;
  min-height: 320px;
}

.mockup-sidebar {
  width: 140px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-nav-item {
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
}

.mockup-nav-item.active {
  background: linear-gradient(90deg, var(--primary), #60a5fa);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.5);
}

.mockup-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mockup-card {
  height: 70px;
  border-radius: 10px;
  opacity: 0.9;
}

.mockup-card.blue { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.mockup-card.green { background: linear-gradient(135deg, #059669, #34d399); }
.mockup-card.orange { background: linear-gradient(135deg, #d97706, #fbbf24); }
.mockup-card.purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }

.mockup-chart {
  flex: 1;
  border-radius: 10px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 0,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px,
    transparent 20%
  ),
  repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.06) 0,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px,
    transparent 25%
  );
  position: relative;
  overflow: hidden;
}

.mockup-chart::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.5), rgba(37, 99, 235, 0.15));
  clip-path: polygon(0 70%, 12% 55%, 25% 62%, 40% 35%, 55% 48%, 70% 25%, 85% 40%, 100% 15%, 100% 100%, 0 100%);
}

/* ==========================================================
   Stats Bar
   ========================================================== */

.stats-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 56px 24px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-number {
  display: inline-block;
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -1px;
}

.stat-suffix {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  display: block;
  margin-top: 6px;
  color: var(--text-light);
  font-size: 15px;
  font-weight: 500;
}

/* ==========================================================
   Section Headers
   ========================================================== */

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-header p {
  font-size: 17px;
  color: var(--text-light);
}

/* ==========================================================
   Features
   ========================================================== */

.features {
  padding: 100px 0;
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-icon.blue { background: var(--primary-light); color: var(--primary-dark); }
.feature-icon.green { background: #d1fae5; color: #065f46; }
.feature-icon.purple { background: #ede9fe; color: #5b21b6; }
.feature-icon.orange { background: #fef3c7; color: #92400e; }
.feature-icon.red { background: #fee2e2; color: #991b1b; }
.feature-icon.teal { background: #ccfbf1; color: #115e59; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-light);
}

/* ==========================================================
   Modules
   ========================================================== */

.modules {
  padding: 100px 0;
  background: var(--bg-alt);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.module-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.35s ease;
}

.module-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.module-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.module-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.module-card > p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 14px;
}

.module-features {
  list-style: none;
}

.module-features li {
  font-size: 13.5px;
  color: var(--text-light);
  padding: 5px 0;
  padding-left: 22px;
  position: relative;
}

.module-features li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 11px;
}

/* ==========================================================
   Benefits
   ========================================================== */

.benefits {
  padding: 100px 0;
  background: var(--dark);
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 50%;
  filter: blur(90px);
  top: -150px;
  right: -150px;
}

.benefits .section-header h2,
.benefits .section-header p {
  color: #fff;
}

.benefits .section-tag {
  background: rgba(96, 165, 250, 0.2);
  color: #93c5fd;
}

.benefits .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.benefit-item {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

.benefit-number {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(90deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.benefit-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.benefit-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================
   Pricing
   ========================================================== */

.pricing {
  padding: 100px 0;
  background: var(--bg);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
}

.toggle-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.3s;
}

.toggle-label.active {
  color: var(--text);
}

.save-badge {
  background: #d1fae5;
  color: #065f46;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 6px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 28px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: transform 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(28px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary), #60a5fa);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.pricing-header p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-light);
}

.amount {
  font-size: 52px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -2px;
}

.period {
  font-size: 15px;
  color: var(--text-light);
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 14.5px;
  color: var(--text);
}

.pricing-features li i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.pricing-features li i.fa-check {
  background: #d1fae5;
  color: #059669;
}

.pricing-features li.disabled {
  color: var(--text-lightest);
}

.pricing-features li.disabled i.fa-xmark {
  background: #f1f5f9;
  color: #94a3b8;
}

/* ==========================================================
   Testimonials
   ========================================================== */

.testimonials {
  padding: 100px 0;
  background: var(--bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: all 0.35s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 18px;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 15.5px;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.author-avatar.blue { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.author-avatar.green { background: linear-gradient(135deg, #059669, #34d399); }
.author-avatar.purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }

.testimonial-author strong {
  display: block;
  font-size: 15px;
  color: var(--text);
}

.testimonial-author span {
  font-size: 13.5px;
  color: var(--text-light);
}

/* ==========================================================
   FAQ
   ========================================================== */

.faq {
  padding: 100px 0;
  background: var(--bg);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq-item.open {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color 0.3s;
}

.faq-question i {
  font-size: 14px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.faq-item.open .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 22px 20px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

/* ==========================================================
   CTA
   ========================================================== */

.cta-section {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.cta-shape-1 {
  width: 400px;
  height: 400px;
  background: rgba(96, 165, 250, 0.4);
  top: -120px;
  right: 10%;
  animation: float 14s ease-in-out infinite;
}

.cta-shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(52, 211, 153, 0.3);
  bottom: -100px;
  left: 5%;
  animation: float 17s ease-in-out infinite reverse;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================
   Contact
   ========================================================== */

.contact {
  padding: 100px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
  line-height: 1.25;
}

.contact-info > p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-icon.blue { background: var(--primary-light); color: var(--primary-dark); }
.contact-icon.green { background: #d1fae5; color: #065f46; }
.contact-icon.purple { background: #ede9fe; color: #5b21b6; }

.contact-item strong {
  display: block;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-form-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-lightest);
}

.form-group textarea {
  resize: vertical;
}

.form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}

.form-note a {
  color: var(--primary);
  text-decoration: underline;
}

.form-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 18px;
  display: none;
}

.form-success.visible {
  display: block;
}

/* ==========================================================
   Footer
   ========================================================== */

.footer {
  background: var(--dark);
  padding: 70px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 14.5px;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-links h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #60a5fa;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: #60a5fa;
}

/* ==========================================================
   Scroll Animations
   ========================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 992px) {
  .features-grid,
  .modules-grid,
  .benefits-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
  }

  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .mockup-sidebar {
    display: none;
  }

  .features-grid,
  .modules-grid,
  .benefits-grid,
  .pricing-grid,
  .testimonials-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: 36px;
  }

  .mockup-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}