/* ==========================================================================
   MARQUIS AI — Main Stylesheet
   ==========================================================================
   Table of Contents:
   1. Design Tokens (CSS Custom Properties)
   2. Reset & Base
   3. Typography
   4. Utilities
   5. Buttons
   6. Navigation
   7. Language Toggle
   8. Hamburger Menu
   9. Dropdown
   10. Page System (SPA transitions)
   11. Hero Section
   12. Product Cards
   13. Trust Strip
   14. Mission / Values Section
   15. Product Page Layouts
   16. Feature Lists
   17. FAQ Accordion
   18. Contact Form
   19. GEO Audit Tool
   20. Voice Demo
   21. Legal Pages
   22. Footer
   23. Responsive Breakpoints
   ========================================================================== */

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */
:root {
  --bg: #F5F5F7;
  --bg-dark: #0A0A0A;
  --bg-card: #FFFFFF;
  --text: #111111;
  --text-light: #F5F5F7;
  --text-secondary: #555555;
  --text-muted: #888888;
  --border: #E0E0E0;
  --accent: #E31937;
  --accent-hover: #C41530;
  --accent-dark-bg: #FF2D4B;
  --success: #16a34a;
  --error: #dc2626;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */
h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 2rem; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.4rem; margin-bottom: 1rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   4. Utilities
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.mono {
  font-family: 'Inter', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(227, 25, 55, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

.btn-secondary:hover {
  background: var(--text);
  color: var(--bg);
}

/* ==========================================================================
   6. Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 245, 247, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.nav.dark-mode {
  background: rgba(10, 10, 10, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav.dark-mode .nav-links > a,
.nav.dark-mode .nav-logo,
.nav.dark-mode .dropdown-toggle {
  color: var(--text-light);
}

.nav.dark-mode .nav-links > a:hover,
.nav.dark-mode .nav-links > a.active,
.nav.dark-mode .dropdown-toggle:hover {
  color: var(--accent-dark-bg);
}

.nav.dark-mode .dropdown-menu {
  background: var(--bg-dark);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav.dark-mode .dropdown-menu a {
  color: rgba(255, 255, 255, 0.7);
}

.nav.dark-mode .dropdown-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav.dark-mode .hamburger span {
  background: var(--text-light);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text);
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links > a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
}

.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links > a:hover,
.nav-links > a.active {
  color: var(--text);
}

.nav-links > a.active::after,
.nav-links > a:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 1rem;
}

/* ==========================================================================
   7. Language Toggle
   ========================================================================== */
.lang-toggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-left: 0.5rem;
}

.lang-btn {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
}

.nav.dark-mode .lang-toggle {
  border-color: rgba(255, 255, 255, 0.2);
}

.nav.dark-mode .lang-btn {
  color: rgba(255, 255, 255, 0.5);
}

.nav.dark-mode .lang-btn.active {
  background: var(--accent);
  color: #fff;
}

/* ==========================================================================
   8. Hamburger Menu
   ========================================================================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: var(--text);
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ==========================================================================
   9. Dropdown
   ========================================================================== */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  position: relative;
}

.dropdown-chevron {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition);
  margin-top: -3px;
}

.dropdown:hover .dropdown-chevron,
.dropdown.expanded .dropdown-chevron {
  transform: rotate(-135deg);
}

.dropdown:hover .dropdown-toggle {
  color: var(--text);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  padding: 0.5rem 0;
  margin-top: 1rem;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: var(--bg);
  color: var(--text);
  padding-left: 2rem;
}

/* ==========================================================================
   10. Page System (SPA transitions)
   ========================================================================== */
.page {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding-top: 72px;
  min-height: 100vh;
}

.page.active { display: block; }
.page.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   11. Hero Section
   ========================================================================== */
.hero {
  padding: 10rem 0 6rem;
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  margin-top: -72px;
  padding-top: calc(72px + 6rem);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(227, 25, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 { max-width: 900px; }
.hero h1 .accent { color: var(--accent-dark-bg); }

.hero-sub {
  font-size: 1.2rem;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hero .btn-secondary {
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
  background: var(--text-light);
  color: var(--bg-dark);
}

/* ==========================================================================
   12. Product Cards
   ========================================================================== */
.products-section { padding: 8rem 0; }

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  border-bottom: 2px solid var(--text);
  padding-bottom: 2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 3rem 2.5rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 2rem;
  filter: grayscale(30%);
  transition: filter var(--transition);
}

.product-card:hover .product-card-img { filter: grayscale(0%); }

.product-card:hover {
  background: var(--bg-dark);
  color: var(--text-light);
  z-index: 2;
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card:hover .card-link { color: var(--accent-dark-bg); }
.product-card:hover p { color: rgba(255, 255, 255, 0.6); }

.card-body { flex: 1; }

.card-link {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.card-link:hover { gap: 1rem; }

/* ==========================================================================
   13. Trust Strip
   ========================================================================== */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.trust-item {
  padding: 3rem 2rem;
  border-right: 1px solid var(--border);
  text-align: center;
}

.trust-item:last-child { border-right: none; }

.trust-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trust-num span { color: var(--accent); }

.trust-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ==========================================================================
   14. Mission / Values Section
   ========================================================================== */
.mission-section {
  padding: 8rem 0;
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.mission-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.mission-section.no-gradient::after { display: none; }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  position: relative;
  z-index: 2;
}

.mission-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  line-height: 1.8;
}

.mission-values {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.value-item {
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
}

.value-item h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value-item p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  margin: 0;
}

/* ==========================================================================
   15. Product Page Layouts
   ========================================================================== */
.prod-hero {
  padding: 6rem 0 5rem;
  background: var(--bg-dark);
  color: var(--text-light);
  margin-top: -72px;
  padding-top: calc(72px + 4rem);
  position: relative;
}

.prod-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
  z-index: 1;
}

.prod-hero.no-fade::before { display: none; }

.prod-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.prod-hero h1 { margin-bottom: 1.5rem; }
.prod-hero p { color: rgba(255, 255, 255, 0.7); font-size: 1.1rem; }
.prod-hero .btn-primary { margin-top: 2rem; }

.prod-hero-img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.prod-content { padding: 6rem 0; }

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.detail-block { margin-bottom: 4rem; }

.detail-block h3 {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.detail-block h3::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   16. Feature Lists
   ========================================================================== */
.feature-list {
  list-style: none;
  margin-top: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0;
}

.feature-list li {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: background var(--transition);
}

.feature-list li:last-child { border-bottom: none; }
.feature-list li:hover { background: #fafafa; }
.feature-list li strong { color: var(--text); font-weight: 600; display: block; margin-bottom: 0.2rem; }

.check {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   17. FAQ Accordion
   ========================================================================== */
.faq-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 6rem 0;
}

.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 2rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
  gap: 1rem;
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  transition: transform var(--transition);
}

.faq-icon::before { width: 20px; height: 2px; top: 9px; left: 0; }
.faq-icon::after  { width: 2px; height: 20px; top: 0; left: 9px; }

.faq-item.active .faq-icon::after { transform: rotate(90deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
  padding: 0 0 2rem 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   18. Contact Form
   ========================================================================== */
.contact-section { padding: 6rem 0 10rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 6rem;
}

.contact-info-item { margin-bottom: 3rem; }

.contact-info-item label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-info-item p {
  color: var(--text);
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(227, 25, 55, 0.1);
}

.form-control.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-control.error:focus {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.field-error {
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 0.35rem;
  display: none;
  font-weight: 500;
}

.form-group.has-error .field-error { display: block; }

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

/* ==========================================================================
   19. GEO Audit Tool
   ========================================================================== */
.audit-section {
  padding: 6rem 0;
  background: var(--bg-dark);
  color: var(--text-light);
}

.audit-box { max-width: 700px; margin: 0 auto; }

.audit-input-row {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.audit-input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.audit-input:focus { border-color: var(--accent); }
.audit-input::placeholder { color: rgba(255, 255, 255, 0.3); }

.audit-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 1rem;
  line-height: 1.6;
}

.audit-results {
  margin-top: 3rem;
  display: none;
}

.audit-results.visible { display: block; }

.audit-score-ring {
  width: 140px;
  height: 140px;
  margin: 0 auto 2rem;
  position: relative;
}

.audit-score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.audit-score-ring circle {
  fill: none;
  stroke-width: 8;
}

.audit-score-ring .bg { stroke: rgba(255, 255, 255, 0.1); }

.audit-score-ring .fg {
  stroke: var(--accent);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.audit-score-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.audit-score-num small {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.audit-category {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  margin-bottom: 1rem;
}

.audit-category h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.audit-category p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.7;
}

.audit-category-score {
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  font-weight: 600;
}

.score-good { background: rgba(22, 163, 74, 0.2); color: #4ade80; }
.score-ok   { background: rgba(234, 179, 8, 0.2);  color: #facc15; }
.score-bad  { background: rgba(239, 68, 68, 0.2);  color: #f87171; }

.audit-loading {
  text-align: center;
  padding: 3rem;
  display: none;
}

.audit-loading.visible { display: block; }

.audit-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   20. Voice Demo
   ========================================================================== */
.voice-demo-section {
  padding: 6rem 0;
  background: var(--bg-dark);
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.voice-demo-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.voice-audio-player {
  width: 280px;
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  position: relative;
}

.voice-audio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ff6b81);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.voice-audio-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 40px;
  margin-bottom: 1.5rem;
}

.voice-audio-wave span {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: none;
}

.voice-audio-wave.active span {
  animation: voiceWave 0.6s ease-in-out infinite alternate;
}

.voice-audio-wave span:nth-child(1) { animation-delay: 0s; }
.voice-audio-wave span:nth-child(2) { animation-delay: 0.1s; }
.voice-audio-wave span:nth-child(3) { animation-delay: 0.2s; }
.voice-audio-wave span:nth-child(4) { animation-delay: 0.3s; }
.voice-audio-wave span:nth-child(5) { animation-delay: 0.2s; }
.voice-audio-wave span:nth-child(6) { animation-delay: 0.1s; }
.voice-audio-wave span:nth-child(7) { animation-delay: 0s; }

@keyframes voiceWave { to { height: 40px; } }

.voice-audio-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: var(--accent);
  color: #fff;
  outline: none;
}

.voice-audio-btn span { transform: translateX(1px); }
.voice-audio-btn.is-playing span { transform: none; }

.voice-audio-btn:hover { background: var(--accent-hover); transform: scale(1.05); }

.voice-audio-btn:focus-visible { box-shadow: 0 0 0 4px rgba(227, 25, 55, 0.25); }

.voice-audio-btn.is-playing {
  animation: voiceBtnPulse 1.6s ease-in-out infinite;
}

@keyframes voiceBtnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227, 25, 55, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(227, 25, 55, 0); }
}

.voice-audio-caption {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.voice-channels {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.voice-channel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.voice-channel-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* ==========================================================================
   21. Legal Pages
   ========================================================================== */
.legal-content {
  padding: 4rem 0 8rem;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h3 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.legal-content li { margin-bottom: 0.5rem; }

/* ==========================================================================
   22. Footer
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 6rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 1rem; }

.footer ul a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer ul a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   23. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .nav-cta { display: none; }

  .mobile-cta {
    display: inline-flex !important;
    width: 100%;
    justify-content: center;
    margin-top: 2rem;
    margin-left: 0;
  }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 2rem;
    gap: 1.5rem;
    transform: translateX(-100%);
    display: flex;
    transition: transform var(--transition);
    z-index: 99;
    overflow-y: auto;
    border-top: 1px solid var(--border);
  }

  .nav.dark-mode .nav-links {
    background: var(--bg-dark);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .nav-links.active { transform: translateX(0); }

  .nav-links > a,
  .nav.dark-mode .nav-links > a,
  .dropdown-toggle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    width: 100%;
  }

  .dropdown { width: 100%; }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 0.5rem;
    padding: 0 0 0 1.5rem;
    background: transparent;
    border: none;
    width: 100%;
    display: none;
  }

  .dropdown.expanded .dropdown-menu { display: block; }
  .dropdown-menu a { padding: 0.75rem 0; font-size: 1rem; }
  .dropdown-chevron { width: 14px; height: 14px; border-width: 3px; }

  .products-grid { grid-template-columns: 1fr; }
  .product-card:hover { transform: none; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-item { border-bottom: 1px solid var(--border); }

  .prod-hero-grid,
  .details-grid,
  .contact-grid,
  .mission-grid { grid-template-columns: 1fr; gap: 3rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .audit-input-row { flex-direction: column; }
  .voice-channels { flex-direction: column; align-items: center; gap: 1rem; }

  .lang-toggle {
    margin-left: 0;
    margin-top: 1rem;
    align-self: flex-start;
  }
}