﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700;800&display=swap");

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

:root {
  /* Enhanced Color Palette */
  --primary: #0a0e27;
  --primary-light: #131832;
  --primary-dark: #060914;
  --accent: #00d9ff;
  --accent-glow: #00f0ff;
  --accent-warm: #ff6b9d;
  --accent-warm-glow: #ff7eb3;
  --accent-purple: #a78bfa;
  --accent-orange: #fb923c;
  --text: #e8f0f2;
  --text-dim: #8e9aaf;
  --text-dimmer: #5a6b7d;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(0, 217, 255, 0.3);
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --section-gap: 8rem;
  --container-max: 1300px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--primary);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Animated Background Gradient - Subtle */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(0, 217, 255, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 107, 157, 0.03) 0%,
      transparent 50%
    );
  z-index: 0;
  pointer-events: none;
}

/* Noise Texture Overlay for depth */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Grid Pattern Overlay - Removed in favor of noise texture */

/* Custom Cursor - Optimized */
.cursor,
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  will-change: transform;
  contain: layout style paint;
}
.cursor {
  width: 8px;
  height: 8px;
  background: var(--accent);
  margin: -4px 0 0 -4px;
}
.cursor-follower {
  width: 32px;
  height: 32px;
  border: 2px solid var(--accent);
  opacity: 0.6;
  margin: -16px 0 0 -16px;
}
.cursor.hover,
.cursor-follower.hover {
  transform: scale(1.3);
}

/* Floating Navigation - Enhanced */
.floating-nav {
  position: fixed;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 1.5rem 0.8rem;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}
.nav-link {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  text-indent: -9999px;
  display: block;
}
.nav-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
  transform: scale(1);
}
.nav-link:hover,
.nav-link.active {
  transform: scale(1.5);
  background: transparent;
  box-shadow:
    0 0 20px var(--accent),
    0 0 40px rgba(0, 217, 255, 0.3);
}

#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.3s ease;
}
@media (max-width: 768px) {
  #canvas-container {
    opacity: 0.3;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  #canvas-container {
    opacity: 0.5;
  }
}
.content {
  position: relative;
  z-index: 2;
}
section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-gap) 5%;
  position: relative;
}
section:not(.hero) {
  min-height: auto;
}

/* Section Dividers */
.section-divider {
  position: relative;
  height: 1px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 5%;
}
.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.2), rgba(255, 107, 157, 0.2), transparent);
}
.divider-glow {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(0, 217, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero {
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Hero Badge - Company Name */
.hero-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  font-feature-settings: "ss02" on;
}

/* Hero Headline - Main Value Prop */
.hero-headline {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 1.5rem;
  color: #ffffff;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  position: relative;
  font-feature-settings:
    "ss01" on,
    "cv01" on;
}

/* Subtle accent on last line */
.hero-headline::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #ffffff;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  position: relative;
  font-feature-settings:
    "ss01" on,
    "cv01" on;
}

@keyframes gradientFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

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

/* Hero Description */
.hero-description {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  max-width: 650px;
  margin: 0 auto 3rem;
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  line-height: 1.65;
  font-feature-settings: "liga" on;
}

.subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto 3rem;
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  line-height: 1.7;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  word-wrap: break-word;
  font-feature-settings: "liga" on;
}

/* Hero Inline Stats */
.hero-stats-inline {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.stat-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  font-feature-settings: "tnum" on;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.section-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-dim);
  margin-bottom: 3rem;
  opacity: 0.9;
  text-align: center;
  font-weight: 400;
  line-height: 1.6;
}

.cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
.cta-button {
  display: inline-block;
  padding: 1.3rem 3.5rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.9rem;
  font-feature-settings: "ss02" on;
}
.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s ease,
    height 0.6s ease;
}
.cta-button:hover::before {
  width: 300px;
  height: 300px;
}
.cta-primary {
  background: #ffffff;
  color: #0a0e27;
  border: 2px solid #ffffff;
  box-shadow:
    0 10px 30px rgba(255, 255, 255, 0.15),
    0 0 40px rgba(255, 255, 255, 0.05);
}
.cta-secondary {
  background: transparent;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 40px rgba(255, 255, 255, 0.2),
    0 0 60px rgba(255, 255, 255, 0.1);
}
.cta-primary:hover {
  background: var(--accent);
  color: #0a0e27;
  border-color: var(--accent);
  box-shadow:
    0 20px 40px rgba(0, 217, 255, 0.3),
    0 0 60px rgba(0, 217, 255, 0.15);
}
.cta-secondary:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--text) 0%,
    var(--accent) 50%,
    var(--accent-warm) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  position: relative;
  font-feature-settings: "ss01" on;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-warm) 100%);
  border-radius: 2px;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-title.visible::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

/* Feature Cards - Premium Glass Morphism */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  max-width: var(--container-max);
  width: 100%;
  perspective: 1500px;
  padding: 2rem 0;
}
.feature-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--transition-smooth);
  transition-delay: calc(var(--i, 0) * 0.1s);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.15), 0 0 80px rgba(0, 217, 255, 0.05);
}
.feature-front {
  padding: 2.5rem;
}
.feature-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--transition-smooth), padding 0.5s ease;
  padding: 0 2.5rem;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.08) 0%, rgba(167, 139, 250, 0.05) 50%, rgba(255, 107, 157, 0.08) 100%);
  border-top: 1px solid transparent;
}
.feature-card.expanded .feature-details {
  max-height: 500px;
  padding: 2rem 2.5rem 2.5rem;
  border-top-color: rgba(255, 255, 255, 0.1);
}
.feature-details h4 {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.feature-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}
.feature-expand-icon {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s var(--transition-bounce);
  margin-left: 0.5rem;
}
.feature-card.expanded .feature-expand-icon {
  transform: rotate(45deg);
  color: var(--accent-warm);
}
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--i, 0) * 0.12s);
}

/* Focus-visible styles for keyboard navigation */
.feature-card:focus-visible,
.faq-item:focus-visible,
.service-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Card Spotlight Hover Effect */
.feature-card::before,
.testimonial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 217, 255, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
.feature-card:hover::before,
.testimonial-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  color: var(--accent);
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 5px 15px rgba(0, 217, 255, 0.4));
  position: relative;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon svg {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 20px rgba(0, 217, 255, 0.6));
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.feature-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 217, 255, 0.3);
  letter-spacing: -0.01em;
}
.feature-card p {
  color: var(--text);
  line-height: 1.8;
  font-size: 1rem;
  opacity: 0.95;
  font-feature-settings: "liga" on;
}
.learn-more-btn {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-purple) 100%
  );
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  align-self: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}
.learn-more-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
  background: linear-gradient(
    135deg,
    var(--accent-warm) 0%,
    var(--accent) 100%
  );
}

/* Calculator - Clean Design */
.calculator-container {
  max-width: 1100px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}
.calculator {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 3.5rem 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

.calculator::before,
.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 25px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.3), rgba(167, 139, 250, 0.15), rgba(255, 107, 157, 0.3));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.calculator-input {
  margin-bottom: 2.5rem;
  text-align: left;
}
.calculator-input label {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 600;
}
.calculator-input input[type="range"] {
  width: 100%;
  height: 8px;
  background: rgba(0, 217, 255, 0.2);
  border-radius: 8px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}
.calculator-input input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 217, 255, 0.4);
  border: 3px solid var(--primary);
}
.calculator-input input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0, 217, 255, 0.5);
}
.calculator-input .value {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 0.7rem 1.8rem;
  border-radius: 20px;
  font-weight: 800;
  font-size: 1.6rem;
  margin-left: 1.5rem;
  min-width: 90px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}
.calculator-input select {
  width: 100%;
  padding: 1.1rem 1.3rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text);
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}
.calculator-input select:hover,
.calculator-input select:focus {
  border-color: var(--accent);
  background: rgba(0, 217, 255, 0.08);
  outline: none;
}
.calculator-input select option {
  background: var(--primary);
  color: var(--text);
  padding: 1rem;
}

.calculator-results {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 2.5rem;
  align-items: stretch;
  margin-top: 3rem;
  position: relative;
  padding-bottom: 80px;
}
.result-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
}
.result-card.savings {
  border-color: var(--accent);
  background: rgba(0, 217, 255, 0.08);
}
.result-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-weight: 600;
}
.price {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-warm) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}
.cost-breakdown {
  font-size: 0.9rem;
  color: var(--text-dim);
}
.result-arrow {
  font-size: 3rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.savings-badge {
  margin: 2.5rem auto 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--accent);
  padding: 1rem 2rem;
  border-radius: 30px;
  box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
  animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
  }
  50% {
    box-shadow: 0 8px 40px rgba(0, 217, 255, 0.5), 0 0 60px rgba(0, 217, 255, 0.2);
  }
}
.savings-text {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}
.savings-amount {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
}
.savings-percent {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
}

/* Stats - Enhanced with Gradients */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  max-width: var(--container-max);
  width: 100%;
}
.stat {
  text-align: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 3rem 2rem;
  background: linear-gradient(
    135deg,
    var(--glass) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(15px);
  border-radius: 25px;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Stat Card Glow Effect */
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 217, 255, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}
.stat:hover::before {
  opacity: 1;
}

.stat.visible {
  opacity: 1;
  transform: scale(1);
  transition-delay: calc(var(--i, 0) * 0.15s);
}
.stats-container .stat:hover {
  transform: scale(1.08) translateY(-5px);
  border-color: var(--accent);
  box-shadow:
    0 25px 70px rgba(0, 217, 255, 0.3),
    0 0 50px rgba(0, 217, 255, 0.2);
  transition: all 0.4s ease;
}
.stat-number {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-purple) 50%,
    var(--accent-warm) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  filter: drop-shadow(0 2px 10px rgba(0, 217, 255, 0.3));
}
.stat-plus {
  font-size: clamp(2rem, 6vw, 4rem);
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-warm) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.stat .stat-label {
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 600;
  margin-top: 1rem;
  line-height: 1.4;
}
.stat .stat-sublabel {
  font-size: 1rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
  opacity: 0.8;
}

/* Services - Enhanced Cards */
.services-container {
  max-width: 1200px;
  width: 100%;
}
.service-item {
  background: linear-gradient(
    135deg,
    var(--glass) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 0;
  margin-bottom: 2.5rem;
  border: 2px solid var(--glass-border);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Service Card Shine */
.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: left 0.8s ease;
}
.service-item:hover::before {
  left: 150%;
}

.service-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-item:hover {
  border-color: var(--accent);
  box-shadow:
    0 25px 70px rgba(0, 217, 255, 0.25),
    0 0 50px rgba(0, 217, 255, 0.15);
  transform: translateY(-5px);
}
.service-item.expanded {
  background: linear-gradient(
    135deg,
    rgba(0, 217, 255, 0.1) 0%,
    rgba(167, 139, 250, 0.05) 50%,
    rgba(255, 107, 157, 0.1) 100%
  );
  border-color: var(--accent);
}
.service-number {
  font-size: 7rem;
  font-weight: 900;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-purple) 50%,
    var(--accent-warm) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
  padding: 2rem 0 2rem 2rem;
  filter: drop-shadow(0 5px 20px rgba(0, 217, 255, 0.2));
}
.service-item:hover .service-number {
  opacity: 1;
  transform: scale(1.1) rotateY(10deg);
}
.service-content {
  flex: 1;
  padding: 2rem 2rem 2rem 0;
}
.service-content h3 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 217, 255, 0.2);
}
.expand-icon {
  font-size: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--accent);
  font-weight: 300;
}
.service-item.expanded .expand-icon {
  transform: rotate(45deg);
  color: var(--accent-warm);
}
.service-brief {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.8;
  opacity: 0.9;
}
.service-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 1.5rem;
}
.service-item.expanded .service-details {
  max-height: 600px;
}
.service-details h4 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.service-details ul {
  list-style: none;
  margin-bottom: 2rem;
}
.service-details li {
  padding: 0.8rem 0;
  color: var(--text);
  font-size: 1.05rem;
  opacity: 0.95;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.service-details li .bullet {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.service-cta {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-purple) 100%
  );
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-weight: 700;
  display: inline-block;
  margin-top: 1rem;
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}
.service-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
}

/* Contact */
.contact-section {
  text-align: center;
}
.contact-content {
  max-width: 900px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-content.visible {
  opacity: 1;
  transform: translateY(0);
}
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.contact-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--text);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.contact-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 30px 70px rgba(0, 217, 255, 0.3);
}
.contact-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}
.contact-card:hover .contact-icon {
  filter: grayscale(0%);
  transform: scale(1.2) rotateZ(5deg);
}
.contact-card h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.contact-card p {
  color: var(--text-dim);
  font-size: 1rem;
}
.hover-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-warm) 100%
  );
  color: var(--primary);
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  font-weight: 600;
}
.contact-card:hover .hover-text {
  transform: translateY(0);
}
.social-proof {
  margin-top: 3rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.proof-text {
  font-size: 1.2rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.proof-star-icon {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: var(--accent);
  flex-shrink: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation:
    fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards,
    bounce 2s infinite 1.8s;
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}
.scroll-indicator svg {
  width: 30px;
  height: 50px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: var(--primary);
  padding: 0.8rem 1.5rem;
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 5px 0;
  transition: top 0.3s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--accent-warm);
  outline-offset: 2px;
}

/* FAQ Section */
.faq-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}
.faq-item {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  padding: 0;
  border: 1px solid var(--glass-border);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--transition-smooth);
  transition-delay: calc(var(--i, 0) * 0.08s);
  cursor: pointer;
  overflow: hidden;
}
.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.faq-item:hover {
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 217, 255, 0.15);
}
.faq-item.expanded {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.06) 0%, rgba(167, 139, 250, 0.04) 50%, rgba(255, 107, 157, 0.06) 100%);
  border-color: rgba(0, 217, 255, 0.2);
  box-shadow: 0 15px 50px rgba(0, 217, 255, 0.1), 0 0 40px rgba(0, 217, 255, 0.05);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2.5rem;
  user-select: none;
}
.faq-question h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin: 0;
  font-weight: 600;
  flex: 1;
}
.faq-icon {
  font-size: 2rem;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.3s ease;
  width: 30px;
  text-align: center;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.expanded .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.4s ease;
  padding: 0 2.5rem;
}
.faq-item.expanded .faq-answer {
  max-height: 400px;
  padding: 0 2.5rem 2rem 2.5rem;
}
.faq-answer p {
  color: var(--text-dim);
  line-height: 1.8;
  font-size: 1.05rem;
  margin: 0;
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 3rem auto;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.contact-form.visible {
  opacity: 1;
  transform: translateY(0);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}
.form-group label {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.required {
  color: var(--accent-warm);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 217, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.6;
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--accent-warm);
  background: rgba(255, 107, 157, 0.05);
}
.error-message {
  color: var(--accent-warm);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
}
.form-group.error .error-message {
  display: block;
  animation: shake 0.3s ease;
}
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
.checkbox-group {
  flex-direction: row;
  align-items: center;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  cursor: pointer;
}
.submit-btn {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-warm) 100%
  );
  color: white;
  border: none;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  position: relative;
  overflow: hidden;
}
.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4);
}
.submit-btn:active {
  transform: translateY(-1px);
}
.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}
@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
.submit-btn.loading .btn-text {
  opacity: 0.5;
}
.submit-btn.loading .btn-loader {
  display: block;
}
.form-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 1rem;
}
.form-success {
  display: none;
  max-width: 500px;
  margin: 3rem auto;
  text-align: center;
  background: rgba(0, 217, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 25px;
  border: 2px solid var(--accent);
  animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-success.show {
  display: block;
}
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.success-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
  margin: 0 auto 1.5rem;
  font-weight: 700;
}
.form-success h3 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.form-success p {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.6;
}
.contact-divider {
  text-align: center;
  margin: 3rem 0;
  position: relative;
}
.contact-divider::before,
.contact-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
}
.contact-divider::before {
  left: 0;
}
.contact-divider::after {
  right: 0;
}
.contact-divider span {
  background: var(--primary);
  padding: 0 1.5rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  position: relative;
}

@media (max-width: 768px) {
  body {
    cursor: default;
  }

  body::before,
  body::after {
    opacity: 0.3;
  }

  html body .cursor,
  html body .cursor-follower {
    display: none;
  }

  .floating-nav {
    display: none;
  }

  .content section.hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 2rem 3%;
    padding: max(2rem, env(safe-area-inset-top)) 3%
      max(2rem, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    width: 100%;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero::before {
    width: 300px;
    height: 300px;
    opacity: 0.5;
  }

  .content h1 {
    font-size: clamp(2rem, 10vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
    width: 100%;
    text-align: center;
  }

  .hero .hero-headline {
    font-size: clamp(1.75rem, 8vw, 2.75rem);
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }

  .hero .hero-description {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .hero-stats-inline {
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
  }

  .stat-inline .stat-value {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .stat-inline .stat-label {
    font-size: 0.75rem;
  }

  .hero .subtitle {
    font-size: clamp(0.95rem, 4vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0;
    width: 100%;
    max-width: 90%;
    text-align: center;
  }

  .section-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 2rem;
  }

  .cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
    width: 100%;
  }

  .cta-button {
    width: 100%;
    max-width: 280px;
    padding: 1.1rem 2rem;
    font-size: 0.9rem;
    text-align: center;
  }

  .scroll-indicator {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem 0;
  }

  /* M3: Mobile feature card styles */
  .feature-card {
    border-radius: var(--radius-sm);
    backdrop-filter: blur(8px);
  }

  .feature-card:hover {
    transform: none;
  }

  .feature-front {
    padding: 2rem 1.5rem;
  }

  .feature-card .feature-icon {
    animation: none;
  }

  .feature-card.expanded .feature-details {
    padding: 1.5rem;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat {
    padding: 2rem 1rem;
  }

  .stat-number {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .calculator {
    padding: 2.5rem 1.8rem;
    border-radius: 20px;
  }

  .calculator-input {
    margin-bottom: 2rem;
  }

  .calculator-input .value {
    display: block;
    margin: 1rem auto 0;
    width: 100%;
    max-width: 200px;
  }

  /* M7: Calculator mobile - single column results */
  .calculator-results {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .result-card {
    min-height: 180px;
    padding: 2rem 1.5rem;
  }

  .result-arrow {
    transform: rotate(90deg);
    font-size: 3rem;
  }

  .price {
    font-size: 2.5rem;
  }

  /* M7: Full-width savings badge */
  .calculator .savings-badge {
    width: 100%;
    margin-top: 1.5rem;
  }

  .content .service-item {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .service-number {
    font-size: 4rem;
    padding: 0;
  }

  .service-content {
    padding: 0;
  }

  .service-content h3 {
    font-size: 1.8rem;
  }

  .contact-methods {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq-question {
    padding: 1.5rem;
  }

  .faq-question h3 {
    font-size: 1.05rem;
  }

  .faq-item.expanded .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .skip-link {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }

  section {
    padding: 0 5%;
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  /* M4: Trust badges mobile - 2x2 grid */
  .trust-badges,
  .trust-badges-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2.5rem 3%;
    text-align: center;
  }

  .trust-badge {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.2rem;
    gap: 0.5rem;
  }

  .trust-badge-icon {
    width: 36px;
    height: 36px;
  }

  .trust-badge-text strong {
    font-size: 1.1rem;
  }

  .trust-badge-text span {
    font-size: 0.8rem;
  }

  /* M5: Sticky CTA adjust for mobile nav bar */
  .sticky-cta {
    bottom: calc(70px + env(safe-area-inset-bottom));
    right: 20px;
  }

  .sticky-cta-btn {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }

  /* M6: Touch affordance styles */
  a, button, .feature-card, .faq-item, .service-item, .testimonial-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .cta-button:active,
  .submit-btn:active,
  .service-cta:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
  }

  /* M2: Mobile bottom nav */
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom));
    z-index: 1000;
  }

  .mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s ease;
  }

  .mobile-nav-link.active {
    color: var(--accent);
  }

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

@media (min-width: 769px) {
  .mobile-nav {
    display: none;
  }
}

/* Tablet improvements */
@media (min-width: 769px) and (max-width: 1024px) {
  .content section.hero {
    padding: 4rem 5%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .content .hero h1 {
    font-size: clamp(3.5rem, 8vw, 5rem);
    line-height: 1.15;
    margin-bottom: 2rem;
    width: 100%;
    text-align: center;
  }

  .hero .hero-headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }

  .hero .hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
    max-width: 90%;
  }

  .hero-stats-inline {
    gap: 2rem;
  }

  .hero .subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    max-width: 700px;
    width: 100%;
    text-align: center;
  }

  .cta-group {
    gap: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
  }

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

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .calculator {
    padding: 3rem 2.5rem;
  }
}

/* Extra small mobile devices */
@media (max-width: 390px) {
  .content section.hero {
    padding: 1.5rem 2%;
    padding: max(1.5rem, env(safe-area-inset-top)) 2%
      max(1.5rem, env(safe-area-inset-bottom));
    min-height: 100vh;
    min-height: 100dvh;
  }

  .content .hero {
    padding: 0;
  }

  .content .hero h1 {
    font-size: clamp(1.75rem, 11vw, 2.5rem);
    line-height: 1.25;
    margin-bottom: 1rem;
    width: 100%;
  }

  .hero .subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    padding: 0;
    max-width: 95%;
  }

  .cta-group {
    margin-bottom: 0;
  }

  .cta-button {
    max-width: 240px;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* ============================================
   SCROLL PROGRESS INDICATOR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent-purple) 50%,
    var(--accent-warm) 100%
  );
  z-index: 10000;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

/* ============================================
   STICKY CTA BUTTON
   ============================================ */
.sticky-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9998;
  opacity: 0;
  transform: translateY(100px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.sticky-cta-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-purple) 100%
  );
  color: var(--primary);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow:
    0 10px 40px rgba(0, 217, 255, 0.4),
    0 0 60px rgba(0, 217, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid var(--accent);
  cursor: pointer;
}

.sticky-cta-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow:
    0 20px 60px rgba(255, 107, 157, 0.5),
    0 0 100px rgba(255, 107, 157, 0.3);
  background: linear-gradient(
    135deg,
    var(--accent-warm) 0%,
    var(--accent-purple) 100%
  );
  border-color: var(--accent-warm);
}

.sticky-cta-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.sticky-cta-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 2.5;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  padding: 8rem 5%;
  min-height: auto;
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3rem 0;
}

.testimonial-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--transition-smooth);
  transition-delay: calc(var(--i, 0) * 0.15s);
  cursor: pointer;
}
.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: left 0.6s ease;
}

.testimonial-card:hover::before {
  left: 100%;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow:
    0 20px 60px rgba(0, 217, 255, 0.2),
    0 0 80px rgba(0, 217, 255, 0.1);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1.5rem;
  opacity: 0.3;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2rem;
  font-style: italic;
}

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

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

.testimonial-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.testimonial-info p {
  font-size: 0.95rem;
  color: var(--text-dim);
}

.testimonial-rating {
  color: var(--accent-warm);
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

/* ============================================
   TRUST BADGES SECTION
   ============================================ */
.trust-badges,
.trust-badges-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 4rem 5%;
  background: var(--glass);
  backdrop-filter: blur(10px);
  margin: 4rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.trust-badge:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.trust-badge-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 10px rgba(0, 217, 255, 0.3));
}

.trust-badge-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.trust-badge:hover .trust-badge-icon svg {
  transform: scale(1.15);
}

.trust-badge-text {
  display: flex;
  flex-direction: column;
}

.trust-badge-text strong {
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 700;
}

.trust-badge-text span {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
}
.footer-content p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--accent-warm);
}
.footer-separator {
  color: var(--text-dimmer);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .trust-badges,
  .trust-badges-section {
    gap: 1.5rem;
  }

  .trust-badge {
    padding: 1rem 1.5rem;
  }
}

/* ============================================
   ENHANCED FORM FEEDBACK
   ============================================ */
.form-group.success input,
.form-group.success select,
.form-group.success textarea {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.05);
}

.form-group.success::after {
  content: "✓";
  position: absolute;
  right: 1rem;
  top: 3.2rem;
  color: #10b981;
  font-size: 1.5rem;
  font-weight: 700;
}

.success-message {
  color: #10b981;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: none;
}

.form-group.success .success-message {
  display: block;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow:
    0 0 0 3px rgba(0, 217, 255, 0.1),
    0 4px 12px rgba(0, 217, 255, 0.2);
}

/* ============================================
   ACCESSIBILITY - PREFERS REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .cursor,
  .cursor-follower {
    display: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  *,
  *::before,
  *::after {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    cursor: default;
  }

  .cursor,
  .cursor-follower,
  .floating-nav,
  .sticky-cta,
  .scroll-progress,
  #canvas-container,
  .scroll-indicator,
  .cta-group,
  .contact-form,
  .contact-methods {
    display: none !important;
  }

  section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }

  h1,
  h2,
  h3 {
    page-break-after: avoid;
  }

  a {
    text-decoration: underline;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
  }
}
