:root {
  --bg-color: #030305;
  --text-color: #e2e8f0;
  --text-muted: #94a3b8;
  /* Colors extracted from logo: Light Purple, Cyan, Blue */
  --primary-color: #60a5fa;
  /* Lighter Blue */
  --secondary-color: #c084fc;
  /* Light Purple/Lavender */
  --accent-color: #22d3ee;
  /* Cyan */
  --success-color: #4ade80;
  --error-color: #f87171;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-main: 'Outfit', sans-serif;
}

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

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: var(--bg-color);
  padding: 0.8rem 1.5rem;
  z-index: 10000;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Screen Reader Only Content */
.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;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

/* Typography */
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--primary-color); /* Fallback for accessibility */
}

@supports (background-clip: text) {
  .gradient-text {
    color: transparent;
  }
}

.highlight {
  color: var(--primary-color);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Glassmorphism */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(3, 3, 5, 0.7);
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Link Styles */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--accent-color);
}

.btn-text {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-text:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: 2px solid transparent;
  border-radius: 4px;
  color: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.menu-toggle:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  border-color: var(--accent-color);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  border-color: var(--accent-color);
}

.menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-color);
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Toggle Animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  position: relative;
  overflow: hidden;
}

.hero-visual {
  position: relative;
  width: min(52%, 640px);
  height: min(76vh, 640px);
  display: grid;
  place-items: center;
  z-index: 1;
  pointer-events: none;
}

.hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 28px;
  background: radial-gradient(circle at 30% 30%, rgba(96, 165, 250, 0.12), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(192, 132, 252, 0.12), transparent 55%);
  box-shadow: 0 0 90px rgba(34, 211, 238, 0.14), inset 0 0 60px rgba(96, 165, 250, 0.08);
}

.hero-content {
  max-width: 600px;
  z-index: 2;
}

#hero h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: 1.5rem;
}

#hero h2 {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 400;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
}

/* Buttons */
.btn-primary {
  padding: 0.8rem 2rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  font-weight: 600;
  transition: background 0.3s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Orbs & Backgrounds */
.orb {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--secondary-color), transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  top: 20%;
  right: -10%;
  animation: float 10s infinite ease-in-out;
  z-index: 1;
}

.orb-2 {
  background: radial-gradient(circle, var(--accent-color), transparent 70%);
  width: 300px;
  height: 300px;
  bottom: 10%;
  left: -5%;
  animation: float 14s infinite ease-in-out reverse;
}

@keyframes float {

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

  50% {
    transform: translate(30px, -50px);
  }
}

/* Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 1.5rem 0;
  border-left: none;
  border-right: none;
  border-radius: 0;
  margin-bottom: 4rem;
  background: rgba(3, 3, 5, 0.5);
}

.marquee-content {
  display: flex;
  gap: 4rem;
  width: max-content;
}

.marquee-group {
  display: flex;
  gap: 4rem;
  animation: scroll 30s linear infinite;
  list-style: none;
  margin: 0;
  padding: 0;
}

.marquee-group li {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  opacity: 0.8;
}

/* Trust Enhancements */
.trust-bar {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  /* Fallback */
  background: linear-gradient(to right, #0a0a0a, #1a1a1a, #0a0a0a);
  position: relative;
  z-index: 10;
}

.trust-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  color: var(--text-color);
  opacity: 0.9;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item i,
.trust-item span {
  opacity: 0.7;
}

.step-number {
  font-size: 4rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--primary-color);
  opacity: 0.3;
  margin-bottom: -1rem;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/* ROI Calculator */
.calculator-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-muted);
}

.input-group input[type="range"] {
  width: calc(100% - 40px);
  margin-right: 10px;
  accent-color: var(--primary-color);
}

.input-group input[type="number"] {
  width: 100%;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  color: white;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 1rem;
}

.input-group output {
  font-weight: 700;
  color: var(--primary-color);
  width: 30px;
  display: inline-block;
  text-align: right;
}

.calc-result {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid var(--primary-color);
}

.calc-result h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

#annual-loss {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
}

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

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

/* Proof (Stats) */
.stat-large {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin: 0.5rem 0;
}

#about h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.leadership-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
  padding: 2rem;
}

.role {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.bio {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.quote {
  font-style: italic;
  border-left: 3px solid var(--primary-color);
  padding-left: 1rem;
  color: var(--secondary-color);
  margin-top: 2rem;
}

.skill-list {
  list-style: none;
}

.skill-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

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

.stat-label {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Before/After Diagram */
.comparison-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.comp-side {
  flex: 1;
  padding: 2rem;
}

.manual h3 {
  color: var(--error-color);
  margin-bottom: 1rem;
}

.automated h3 {
  color: var(--success-color);
  margin-bottom: 1rem;
}

.chaos-visual {
  font-size: 2rem;
  min-height: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
}

.flow-visual {
  font-size: 2rem;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.line {
  height: 2px;
  width: 50px;
  background: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
}

.middle-divider {
  font-size: 2rem;
  color: var(--text-color);
  opacity: 0.5;
}

/* Large CTA Button */
.btn-large {
  font-size: 1.2rem;
  padding: 1rem 3rem;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.btn-large:hover {
  box-shadow: 0 0 40px rgba(96, 165, 250, 0.8);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .comparison-container {
    flex-direction: column;
  }

  .middle-divider {
    transform: rotate(90deg);
    margin: 1rem 0;
  }
}

/* Hook Hero (Secondary) */
.orb-3 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-color), transparent 60%);
  opacity: 0.2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(100px);
  z-index: -1;
}

.relative {
  position: relative;
}

.card-xl {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 30px rgba(96, 165, 250, 0.1);
}

/* Cards */
.card,
.service-card {
  padding: 2.5rem;
  transition: transform 0.3s, background 0.3s;
}

.card:hover,
.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-color);
}

/* Make pricing cards keyboard accessible with visible focus */
.pricing-card:focus {
  outline: none;
}
.pricing-card:focus-visible {
  box-shadow: 0 0 0 4px rgba(96,165,250,0.12), 0 8px 30px rgba(96,165,250,0.12);
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card .icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.tag {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.problem,
.solution {
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

.text-white {
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 3rem auto;
  padding: 2rem;
  display: flex;
  gap: 1rem;
}

.contact-form input {
  flex: 1;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.3);
  color: white;
}

.contact-form button {
  border-radius: 8px;
}

/* Full Contact Form */
.contact-form-full {
  max-width: 700px;
  margin: 2rem auto;
  padding: 2.5rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--bg-color);
  color: var(--text-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-full button[type="submit"] {
  width: 100%;
  margin-top: 1rem;
}

.contact-form-full button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Form Success Message */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
}

.form-success .success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--success-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--bg-color);
  margin: 0 auto 1.5rem;
  animation: scaleIn 0.5s ease-out;
}

.form-success h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.form-success p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

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

/* Form Error Message */
.form-error {
  color: var(--error-color);
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid var(--error-color);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  text-align: center;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-form-full {
    padding: 1.5rem;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Cursor Glow */
#cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.3s;
}

/* Animations Classes */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal-up.reveal-ready {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease-out;
}

.reveal-left.reveal-ready {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease-out;
}

.reveal-right.reveal-ready {
  opacity: 1;
  transform: translateX(0);
}

.active {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 {
  animation-delay: 0.2s;
  transition-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
  transition-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
  transition-delay: 0.6s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4.5rem 0;
  }

  .navbar {
    padding: 0.8rem 1.2rem;
  }

  #hero {
    flex-direction: column;
    text-align: center;
    padding: 7rem 6% 4rem;
    min-height: auto;
    gap: 2rem;
  }

  #hero h1 {
    font-size: clamp(2.4rem, 7vw, 3.2rem);
  }

  .subtitle {
    font-size: 1.05rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-visual {
    width: min(88%, 340px);
    height: 300px;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .hero-canvas {
    border-radius: 20px;
  }

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

  .card,
  .service-card {
    padding: 1.6rem;
  }

  .section-title {
    font-size: 2rem;
  }

  #cursor-glow {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(3, 3, 5, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease-in-out;
    z-index: -1;
  }

  .nav-links a {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .menu-toggle {
    display: flex;
  }

  /* Simplified for MVP */
  .orb {
    width: 200px;
    height: 200px;
  }

  .contact-form {
    flex-direction: column;
  }
}

/* Product Page Styles */
.hero-small {
  padding: 8rem 0 4rem;
  background: radial-gradient(circle at center, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
}

.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem;
  margin-bottom: 2rem;
  gap: 2rem;
}

.product-info {
  flex: 2;
}

.product-icon {
  flex: 1;
  font-size: 8rem;
  text-align: center;
  opacity: 0.8;
  filter: drop-shadow(0 0 20px rgba(96, 165, 250, 0.3));
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0;
}

.feature-list li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-color);
}

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

.comparison-table th {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .product-row {
    flex-direction: column-reverse;
    text-align: center;
  }

  .product-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
  }
}

/* ============================================
   AI Chat Widget Styles
   ============================================ */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: var(--font-main);
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(96, 165, 250, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.chat-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 30px rgba(96, 165, 250, 0.5);
}

.chat-toggle:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  transform: scale(1.05);
}

.chat-toggle:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  transform: scale(1.05);
}

.chat-toggle.active {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.chat-window {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 520px;
  max-height: calc(100vh - 150px);
  background: rgba(10, 10, 15, 0.98);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(192, 132, 252, 0.1));
  border-bottom: 1px solid var(--glass-border);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chat-title {
  font-weight: 600;
  color: var(--text-color);
  font-size: 1rem;
}

.chat-status {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chat-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s;
}

.chat-close:hover {
  color: var(--text-color);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.chat-message {
  display: flex;
  max-width: 85%;
}

.chat-message.user {
  align-self: flex-end;
}

.chat-message.assistant {
  align-self: flex-start;
}

.message-content {
  padding: 0.8rem 1rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-message.user .message-content {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-message.assistant .message-content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  border-bottom-left-radius: 4px;
}

/* Formatted content inside assistant messages */
.chat-message.assistant .message-content p {
  margin: 0 0 0.8rem 0;
}

.chat-message.assistant .message-content p:last-child {
  margin-bottom: 0;
}

.chat-message.assistant .message-content ul {
  margin: 0.5rem 0;
  padding-left: 1.2rem;
}

.chat-message.assistant .message-content li {
  margin: 0.3rem 0;
  line-height: 1.4;
}

.chat-message.assistant .message-content strong {
  color: var(--primary-color);
  font-weight: 600;
}

.chat-message.assistant .message-content a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.2s;
}

.chat-message.assistant .message-content a:hover {
  color: var(--secondary-color);
}

/* Typing indicator */
.typing-indicator .message-content {
  display: flex;
  gap: 4px;
  padding: 1rem 1.2rem;
}

.typing-indicator .dot {
  width: 8px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator .dot:nth-child(1) { animation-delay: 0s; }
.typing-indicator .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.chat-form {
  display: flex;
  padding: 1rem;
  gap: 0.5rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.3);
}

.chat-input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  background: var(--glass-bg);
  color: var(--text-color);
  font-size: 0.9rem;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.2s;
}

.chat-input:focus {
  border-color: var(--primary-color);
}

.chat-input::placeholder {
  color: var(--text-muted);
}

.chat-input:disabled {
  opacity: 0.6;
}

.chat-send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.2s, opacity 0.2s;
}

.chat-send:hover {
  transform: scale(1.05);
}

.chat-send:active {
  transform: scale(0.95);
}

/* Mobile adjustments for chat */
@media (max-width: 480px) {
  .chat-widget {
    bottom: 16px;
    right: 16px;
  }
  
  .chat-toggle {
    width: 54px;
    height: 54px;
  }
  
  .chat-window {
    bottom: 70px;
    width: calc(100vw - 32px);
    height: calc(100vh - 120px);
    right: -8px;
  }
}

/* ============================================
   Cookie Consent Banner
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(10, 10, 15, 0.98);
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner-hidden {
  animation: slideDown 0.3s ease-in forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

.cookie-content {
  max-width: 900px;
  margin: 0 auto;
}

.cookie-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.cookie-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 1rem 0;
}

.cookie-text a {
  color: var(--primary-color);
  text-decoration: underline;
}

.cookie-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.cookie-option:hover {
  border-color: var(--primary-color);
}

.cookie-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.cookie-option input[type="checkbox"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-option-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cookie-option-info strong {
  font-size: 0.9rem;
  color: var(--text-color);
}

.cookie-option-info small {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: var(--font-main);
}

.cookie-btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.cookie-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(96, 165, 250, 0.4);
}

.cookie-btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-links {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cookie-links a {
  color: var(--text-muted);
  text-decoration: underline;
}

.cookie-links a:hover {
  color: var(--primary-color);
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal-hidden {
  animation: fadeOut 0.3s ease-in forwards;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.cookie-modal-content {
  background: rgba(10, 10, 15, 0.98);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.cookie-modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-color);
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.cookie-modal-close:hover {
  color: var(--text-color);
}

.cookie-modal-body {
  padding: 1.5rem;
}

.cookie-modal-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.cookie-modal-body .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-modal-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem 1.5rem;
  justify-content: flex-end;
}

/* Mobile cookie banner */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 1.25rem 1rem;
  }
  
  .cookie-options {
    grid-template-columns: 1fr 1fr;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
  
  .cookie-modal-content {
    margin: 1rem;
  }
  
  .cookie-modal-footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .cookie-options {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
#testimonials {
  padding: 6rem 0;
  overflow: hidden;
}

.testimonials-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1.33rem);
  min-width: 300px;
  padding: 2rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  color: var(--text-color);
  font-size: 1rem;
}

.author-info span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial-nav-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-nav-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.1);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--glass-border);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.testimonial-dots .dot:hover {
  background: var(--secondary-color);
}

@media (max-width: 992px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 100%;
  }
  
  .testimonials-track {
    gap: 1rem;
  }
}

/* ===================================
   LEAD MAGNET POPUP
   =================================== */
.lead-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease-out;
  backdrop-filter: blur(5px);
}

.lead-popup {
  position: relative;
  max-width: 500px;
  width: 100%;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  text-align: center;
  animation: popupSlideIn 0.4s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lead-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lead-popup-close:hover {
  background: var(--error-color);
  color: white;
  transform: rotate(90deg);
}

.lead-popup-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.lead-popup h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.lead-popup-content > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.lead-popup-benefits {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
  padding: 0;
}

.lead-popup-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-color);
}

.lead-popup-benefits li i {
  color: var(--success-color);
  font-size: 0.9rem;
}

.lead-popup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.lead-popup-form input {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.lead-popup-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.lead-popup-form input::placeholder {
  color: var(--text-muted);
}

.lead-popup-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}

.lead-popup-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Popup hidden state */
.lead-popup-overlay.hidden {
  display: none;
}

/* Success state */
.lead-popup.success .lead-popup-icon {
  animation: successBounce 0.5s ease;
}

@keyframes successBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

@media (max-width: 480px) {
  .lead-popup {
    padding: 2rem 1.5rem;
  }
  
  .lead-popup h3 {
    font-size: 1.3rem;
  }
}

/* ===================================
   ENHANCED ROI CALCULATOR
   =================================== */
.calculator-card {
  max-width: 800px;
  margin: 2rem auto;
  padding: 3rem;
  border-radius: 20px;
}

.calc-inputs {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.input-group label {
  font-weight: 600;
  color: var(--text-color);
  font-size: 1rem;
}

.input-group input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--primary-color) 0%, var(--secondary-color) 100%);
  outline: none;
  cursor: pointer;
}

.input-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.input-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.input-group input[type="number"] {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-size: 1.1rem;
  max-width: 150px;
}

.input-group output {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.calc-result {
  text-align: center;
  padding: 2rem;
  background: rgba(96, 165, 250, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.calc-result h3 {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#annual-loss {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  animation: countUp 0.5s ease-out;
}

.calc-result p {
  color: var(--text-muted);
  font-size: 1rem;
}

.calc-cta {
  margin-top: 1.5rem;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .calculator-card {
    padding: 2rem 1.5rem;
  }
  
  #annual-loss {
    font-size: 2.5rem;
  }
}