:root {
  --deep-navy: #212F3D;
  --tech-blue: #3498DB;
  --fresh-green: #2ECC71;
  --pure-white: #FFFFFF;
  --light-gray: #F8FAFC;
  --medium-gray: #6B7280;
  --accent-red: #EF4444;
  --highlight-purple: #7B1FA2;
  --highlight-black: #333333;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --disabled-gray: #D1D5DB;
  /* For disabled AI Optimizer Pack */
  --disabled-lightgray: #D1D5DB00;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--deep-navy);
  line-height: 1.6;
  background-color: var(--pure-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

b {
  color: var(--deep-navy);
}

.cta-btn {
  display: inline-flex !important;
  /* force inline sizing */
  width: auto !important;
  /* prevent full width */
  min-width: max-content;
  /* keep text/icon compact */
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  /* avoid breaking inside */
}

.hero-video {
  max-width: 480px;
  /* limit width */
  margin: 2rem auto;
  /* center horizontally with spacing */
  border-radius: 12px;
  /* rounded corners */
  overflow: hidden;
  /* keeps video corners rounded */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  background: #000;
  /* fallback background */
  display: none;
}

.hero-video video {
  width: 100%;
  height: auto;
  display: block;
}

.hero-video-caption {
  font-size: 0.9rem;
  text-align: center;
  color: #555;
  background: #f8f8f8;
}

.video-placeholder {
  background-color: #f0f0f0;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  border: 1px solid #ddd;
  color: #666;
  font-style: italic;
}

.lang-switcher {
  position: relative;
  margin-left: 1rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn img {
  width: 20px;
  height: 20px;
  border-radius: 2px;
}

.lang-btn:hover {
  background: #f8f8f8;
}

.lang-menu {
  position: absolute;
  top: 110%;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  list-style: none;
  padding: 6px 0;
  margin: 0;
  display: none;
  min-width: 120px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.lang-menu li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
}

.lang-menu li img {
  width: 18px;
  height: 18px;
}

.lang-menu li:hover {
  background: #f5f5f5;
}

/* Show when active */
.lang-switcher.open .lang-menu {
  display: block;
}

.rating-star .star {
  display: inline-block;
  vertical-align: -0.15em;
  /* tweak baseline alignment */
  fill: var(--star-color, #f59e0b);
  /* amber; override with --star-color */
  width: 1em;
  height: 1em;
}

/* Mobile optimization */
@media (max-width: 480px) {
  .lang-btn span {
    display: none;
    /* only flag + chevron */
  }
}

.customize-section {
  padding: 20px 12px;
  display: block;
}

/* ===========================
   Header
=========================== */
.legal-popup-header {
  background: linear-gradient(135deg, var(--tech-blue), var(--fresh-green));
  color: var(--pure-white);
  padding: 24px 32px;
  position: relative;
}

.legal-popup-header h2 {
  margin: 0;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--highlight-black);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.legal-popup-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.legal-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  color: var(--accent-red);
  font-weight: 500;
}

.legal-notice i {
  font-size: 1.5rem;
  flex-shrink: 0;
  color: var(--accent-red);
}

.notice-text {
  line-height: 1.5;
  font-size: 0.95rem;
}

.legal-actions-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.legal-actions-btns .btn-legal {
  flex: 1;
  min-width: 120px;
  justify-content: center;
}

.error-message {
  margin: 1.2rem auto;
  color: var(--accent-red);
}
/* ===========================
   Content
=========================== */
.legal-popup-content {
  flex: 1;
  padding: 32px;
  max-height: 85vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--tech-blue) var(--light-gray);
}

.legal-popup-content::-webkit-scrollbar {
  width: 8px;
}

.legal-popup-content::-webkit-scrollbar-track {
  background: var(--light-gray);
  border-radius: 4px;
}

.legal-popup-content::-webkit-scrollbar-thumb {
  background: var(--tech-blue);
  border-radius: 4px;
}

.legal-popup-content::-webkit-scrollbar-thumb:hover {
  background: #2980b9;
}

.legal-popup-content h3 {
  color: var(--tech-blue);
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.legal-popup-content h4 {
  color: var(--deep-navy);
  margin: 24px 0 12px;
  font-size: 1.1rem;
}

.legal-popup-content p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--deep-navy);
}

.legal-popup-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-popup-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ===========================
   Footer
=========================== */
.legal-popup-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--light-gray);
  background: var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--medium-gray);
}

.progress-bar {
  width: 120px;
  height: 6px;
  background: rgba(52, 152, 219, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--tech-blue), var(--fresh-green));
  border-radius: 3px;
  transition: width 0.5s ease-in-out;
}

.legal-consent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-legal {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-legal-primary {
  background: var(--tech-blue);
  color: var(--pure-white);
}

.btn-legal-primary:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

.btn-legal-secondary {
  background: var(--medium-gray);
  color: var(--pure-white);
}

.btn-legal-secondary:hover {
  background: #64748b;
  transform: translateY(-2px);
}

.btn-legal:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ===========================
   Checkboxes & Notice
=========================== */
.consent-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  background: rgba(52, 152, 219, 0.05);
  border-radius: 8px;
  border: 2px solid transparent;
  transition: var(--transition);
}

.consent-checkbox.checked {
  border-color: var(--tech-blue);
  background: rgba(52, 152, 219, 0.1);
}

.consent-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--tech-blue);
}

.consent-checkbox label {
  font-weight: 500;
  color: var(--deep-navy);
  cursor: pointer;
  flex: 1;
}

.legal-notice {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  color: var(--accent-red);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}


/* Notification messages */
.notification {
  position: fixed;
  top: 20px;
  right: 0;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  z-index: 10002;
  animation: slideIn 0.3s ease;
}

.notification.success {
  background: var(--fresh-green);
  color: var(--pure-white);
}

.notification.error {
  background: var(--accent-red);
  color: var(--pure-white);
}

.notification.warning {
  background: var(--medium-gray);
  color: var(--pure-white);
}

.notification.fade-out {
  animation: slideOut 0.3s ease;
}

/* Animation keyframes */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

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

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ===========================
   Floating Trigger Button
=========================== */
.consent-trigger {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent-red);
  color: var(--pure-white);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  transition: var(--transition);
  z-index: 9999;
}

.consent-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.consent-trigger.hidden {
  display: none;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 1024px) {
  .legal-popup {
    max-width: 90%;
    border-radius: 12px;
  }

  .legal-popup-header,
  .legal-popup-content,
  .legal-popup-footer {
    padding: 20px 24px;
  }

  .legal-popup-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .legal-consent-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }

  .btn-legal {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .legal-popup {
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    transform: none;
  }

  .legal-popup-header {
    padding: 16px;
  }

  .legal-popup-header h2 {
    font-size: 1.2rem;
  }

  .legal-popup-content {
    padding: 16px;
    max-height: 100%;
  }
  .legal-popup-content>h2 {
    margin-bottom: 20px;
  }

  .legal-popup-footer {
    padding: 12px 16px;
    gap: 8px;
  }

  .legal-consent-actions {
    flex-direction: column;
    gap: 8px;
  }

  .btn-legal {
    width: 100%;
    font-size: 0.9rem;
    padding: 10px 16px;
  }

  .consent-trigger {
    bottom: 12px;
    right: 12px;
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .legal-popup-header h2 {
    font-size: 1rem;
  }

  .btn-legal {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .legal-progress {
    font-size: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--medium-gray);
  user-select: none;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-legal a {
  color: var(--medium-gray);
  text-decoration: none;
  margin: 0 0.3rem;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--tech-blue);
}

/* Container */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Hero */
.section-hero {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 0;
}

.section-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--deep-navy);
}

.section-hero p {
  font-size: 1.1rem;
  color: var(--medium-gray);
  max-width: 600px;
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

h1 {
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 24px;
}

h2 {
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 60px;
  position: relative;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(to right, var(--tech-blue), var(--fresh-green));
  border-radius: 2px;
  transition: width 0.4s ease;
}

h2:hover:after {
  cursor: pointer;
  width: 100%;
}

h3 {
  font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  line-height: 1.2;
  margin-bottom: 24px;
}

p {
  margin-bottom: 20px;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--deep-navy);
  font-weight: 400;
  line-height: 1.7;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
  gap: 10px;
}

.btn-cta {
  width: 100%;
}

.btn-primary {
  background-color: var(--tech-blue);
  color: var(--pure-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(52, 152, 219, 0.15);
}

.btn-secondary {
  background-color: var(--fresh-green);
  color: var(--pure-white);
}

.btn-secondary:hover {
  background-color: #27ae60;
  transform: translateY(-2px);
}

.btn:focus,
.btn-legal:focus,
.nav-links a:focus,
.consent-trigger:focus {
  outline: 3px solid var(--tech-blue);
  outline-offset: 2px;
}


/* Header Styles */
header {
  background: var(--pure-white);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.nav-header {
  height: 95px;
  background-color: var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 12px;
}

header.scrolled {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  /* Fade-in animation */
  opacity: 0;
  animation: fadeIn 1s forwards; /* 1s duration, keeps final state */
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--deep-navy);
  gap: 10px;
}

.logo span {
  color: var(--tech-blue);
}

.logo .fr {
  font-size: 0.8em;
  vertical-align: super;
  color: var(--accent-red);
}

.logo.white {
  color: var(--light-gray);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--deep-navy);
  font-weight: 500;
  font-size: 1.05rem;
}

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

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--deep-navy);
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--pure-white);
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }
}

.hero {
  background: linear-gradient(to bottom, var(--light-gray) 0%, var(--pure-white) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
  display: inline;
}

.hero-text h1 {
  margin-bottom: 24px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
  color: var(--medium-gray);
}

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

.mobile-actions {
  display: none;
}

.hero-cover {
  flex: 1;
  position: relative;
  text-align: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  background-image: url('/images/gemini-hero.webp');
  background-repeat: inherit;
  background-position: center;
  background-size: contain;
  min-height: 800px;
  display: none;
}

.hero-image {
  flex: 1;
  position: relative;
  text-align: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  min-height: 600px;
}

.hero-image img {
  width: 100%;
  height: auto;
  transition: transform 0.8s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

.products {
  background-color: var(--pure-white);
  position: relative;
}

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

.section-header h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.solution-card {
  background: var(--pure-white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.solution-icon {
  width: 70px;
  height: 70px;
  background: rgba(52, 152, 219, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: var(--tech-blue);
  font-size: 1.8rem;
}

.solution-card:nth-child(2) .solution-icon {
  background: rgba(46, 204, 113, 0.1);
  color: var(--fresh-green);
}

.solution-card:nth-child(3) .solution-icon {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
}

.solution-card h3 {
  margin-bottom: 16px;
}

.features-list {
  list-style: none;
  margin-top: 20px;
}

.features-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.features-list li i {
  color: var(--fresh-green);
  font-size: 1.1rem;
}

.management {
  background-color: var(--light-gray);
  position: relative;
}

.management-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.management-card {
  background: var(--pure-white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.management-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.solution-header,
.management-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.management-icon {
  width: 60px;
  height: 60px;
  background: rgba(52, 152, 219, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tech-blue);
  font-size: 1.8rem;
}

.management-card:nth-child(2) .management-icon {
  background: rgba(46, 204, 113, 0.1);
  color: var(--fresh-green);
}

.management-card:nth-child(3) .management-icon {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
}

.compliance {
  background-color: var(--pure-white);
  position: relative;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.compliance-card {
  background: var(--light-gray);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.compliance-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}

.compliance-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--tech-blue);
}

.integration-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pure-white);
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  color: var(--deep-navy);
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
}

.testimonials {
  background-color: var(--light-gray);
}

.testimonial-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  background: var(--pure-white);
  padding: 40px;
  border-radius: 16px;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  color: var(--tech-blue);
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--tech-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.author-info h4 {
  margin-bottom: 4px;
}

.author-info p {
  color: var(--medium-gray);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.carousel-nav {
  position: sticky;
  /* sticks under table header */
  top: 0;
  z-index: 10;
  padding: 4px 8px;
}

.carousel-nav button {
  border: 1px solid #ddd;
  border-radius: 24px;
  transition: all 0.2s ease;
}

.carousel-nav button:hover {
  background: #e6f0ff;
  border-color: #b3d4ff;
}

.carousel-nav svg {
  width: 20px;
  height: 20px;
  stroke: #333;
}

.carousel-title {
  min-width: 80px;
  /* keeps spacing stable even when numbers change */
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pure-white);
  border: none;
  padding: 10px;
  cursor: pointer;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.5);
  /* semi-transparent so it floats */
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 0;
  /* floats over edge */
  margin-left: 8px;
}

.carousel-next {
  right: 0;
  /* floats over edge */
  margin-right: 8px;
}

.carousel-prev svg,
.carousel-next svg {
  width: 24px;
  height: 24px;
  stroke: #333;
}

.testimonial-container {
  position: relative;
  overflow: hidden;
}

.stats {
  background: linear-gradient(135deg, var(--tech-blue) 0%, var(--fresh-green) 100%);
  color: var(--pure-white);
  text-align: center;
  border-radius: 16px;
  overflow: hidden;
  margin: 80px auto;
  max-width: 1200px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding: 60px 40px;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.cta {
  background-color: var(--deep-navy);
  color: var(--pure-white);
  text-align: center;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin: 80px auto;
  max-width: 1200px;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
  opacity: 0.08;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.cta-content {
  position: relative;
  z-index: 2;
  padding: 80px 40px;
}

.cta h2 {
  color: var(--pure-white);
}

.cta h2:after {
  background: var(--pure-white);
  left: 50%;
  transform: translateX(-50%);
}

.cta p {
  color: var(--medium-gray);
  margin-bottom: 40px;
  font-size: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

footer {
  background-color: var(--deep-navy);
  color: var(--pure-white);
  padding: 80px 12px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.footer-column h3 {
  color: var(--pure-white);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--tech-blue);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 15px;
}

.footer-column ul li a {
  color: var(--medium-gray);
}

.footer-column ul li a:hover {
  color: var(--fresh-green);
}

.app-badges-footer {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.badge-logo {
  display: inline-block;
  background: rgba(255, 255, 255, 1);
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 500;
  color: var(--pure-white);
  font-size: 0.9rem;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 500;
  color: var(--pure-white);
  font-size: 0.9rem;
  width: 175px;
}

.copyright {
  text-align: center;
  padding-top: 40px;
  color: var(--medium-gray);
  font-size: 0.95rem;
}

.legal-links {
  text-align: center;
  padding-top: 40px;
  color: var(--medium-gray);
  font-size: 0.95rem;
}

.legal-links a {
  color: var(--medium-gray);
  text-decoration: none;
  margin: 0 0.3rem;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: var(--tech-blue);
}

.legal-documents {
  background-color: var(--light-gray);
  position: relative;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.legal-card {
  background: var(--pure-white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.legal-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.legal-icon {
  width: 80px;
  height: 80px;
  background: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: var(--tech-blue);
  font-size: 2rem;
}

.legal-card:nth-child(2) .legal-icon {
  background: rgba(46, 204, 113, 0.1);
  color: var(--fresh-green);
}

.legal-card:nth-child(3) .legal-icon {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
}

.legal-card h3 {
  margin-bottom: 16px;
  color: var(--deep-navy);
}

.legal-card p {
  margin-bottom: 30px;
  color: var(--medium-gray);
  line-height: 1.6;
  flex-grow: 1;
}

.legal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: auto;
}

.legal-actions .btn {
  padding: 10px 20px;
  font-size: 0.95rem;
  min-width: 120px;
}

.demo-btn {
  background-color: var(--accent-red);
  color: var(--pure-white) !important;
  border-radius: 32px;
  padding: 14px 32px;
  font-weight: 600;
}

.demo-btn:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

.nav-links li a {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 1rem;
  text-decoration: none;
  color: var(--deep-navy);
}

.legal-popup.bottom-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 2px solid #ddd;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  padding: 1rem;
  z-index: 10000;
}
.legal-consent-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.btn-legal {
  padding: 0.6rem 1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
.btn-legal-primary {
  background: #0052cc;
  color: #fff;
}
.btn-legal-secondary {
  background: #f5f5f5;
  color: #333;
}

@media (max-width: 1024px) {
  h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
}

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

  .stats,
  .cta {
    margin: 60px 0;
    border-radius: 0;
  }

  .legal-actions {
    flex-direction: column;
  }

  .legal-actions .btn {
    width: 100%;
    justify-content: center;
  }
/* 
  .legal-popup {
    width: 100%;
    max-height: 95vh;
  }

  .legal-popup-header {
    padding: 20px 24px;
  }

  .legal-popup-content {
    padding: 24px;
    max-height: 85vh;
  }

  .legal-popup-footer {
    padding: 20px 24px;
    flex-direction: column;
    align-items: stretch;
  } */

  .legal-consent-actions {
    justify-content: center;
  }

  .legal-progress {
    justify-content: center;
  }

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

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

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

  .hero-text p {
    margin: 0 auto 40px;
  }

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

  .hero-image img {
    max-height: 300px;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
  }

  .hero {
    padding: 12px 0 60px;
  }

  .hero-image {
    min-height: 320px;
    display: none;
  }
  .hero-video {
    display: block;
  }

  .hero-cover {
    background-image: url('/images/gemini-hero.webp');
    background-repeat: inherit;
    background-position: center;
    background-size: cover;
    min-height: 168px; /*645px;*/
    width: 100%;
    display: inline;
  }

  .hero-text {
    display: block;
  }

  .cta-actions,
  .hero-actions {
    flex-direction: column;
  }

  .mobile-actions {
    display: none;
  }

  .btn-mobile {
    border-radius: 0;
    min-width: 195px;
  }

  .hero-content {
    flex-direction: column;
    padding: 0 0;
  }

  .main-container {
    padding: 12px 12px;
  }

  .container {
    padding: 0 12px;
  }

  .section-header {
    padding: 0 12px;
  }

  .legal-popup-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    /* or your popup background */
    padding: 12px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    z-index: 1000;
    /* keep above content */
  }

}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

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

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}