/* ============================================
   SoA Digi – Design System
   Inspired by OpenAI, Perplexity, Apple
   ============================================ */

/* ============================================
   1. CSS RESET & BASE
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* ============================================
   2. CSS VARIABLES
   ============================================ */

:root {
  /* Primary Colors */
  --color-primary: #1A7B7B;
  --color-primary-light: #238F8F;
  --color-primary-dark: #155F5F;
  --color-accent: #E67F4F;
  --color-accent-light: #F09A70;
  --color-accent-dark: #D06A3A;

  /* Neutrals */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8F9FA;
  --color-bg-dark: #0F0F0F;
  --color-text: #1A1A1A;
  --color-text-muted: #6B7280;
  --color-text-light: #9CA3AF;
  --color-border: #E5E7EB;
  --color-border-dark: #374151;

  /* Functional Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #3B82F6;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Container */
  --container-max: 1200px;
  --container-padding: 24px;

  /* Header Height */
  --header-height: 80px;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --body-size: 18px;
  --h1-size: clamp(40px, 6vw, 72px);
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: var(--h1-size);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
}

h4 {
  font-size: 20px;
  font-weight: 600;
}

p {
  color: var(--color-text-muted);
  max-width: 65ch;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.text-small {
  font-size: 14px;
}

/* ============================================
   4. LAYOUT & CONTAINER
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-5xl) 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-dark {
  background-color: var(--color-bg-dark);
  color: #FFFFFF;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #FFFFFF;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   5. HEADER & NAVIGATION
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  padding-top: var(--space-md);
  z-index: 1000;
  background-color: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.logo span:first-of-type {
  color: var(--color-primary);
}

.logo span:last-of-type {
  color: var(--color-text-muted);
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

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

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

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

/* ============================================
   6. BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--color-text);
  color: #FFFFFF;
}

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

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-text);
  background-color: var(--color-bg-alt);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-text-muted);
  padding: 10px 16px;
}

.btn-ghost:hover {
  color: var(--color-text);
  background-color: var(--color-bg-alt);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* ============================================
   7. CARDS
   ============================================ */

.card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 24px;
}

.card-title {
  margin-bottom: var(--space-sm);
}

.card-text {
  font-size: 16px;
  line-height: 1.6;
}

/* Dark Card Variant */
.card-dark {
  background-color: var(--color-bg-dark);
  border-color: var(--color-border-dark);
  color: #FFFFFF;
}

.card-dark .card-title {
  color: #FFFFFF;
}

.card-dark .card-text {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   8. FORMS & INPUTS
   ============================================ */

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 123, 123, 0.1);
}

.form-input::placeholder {
  color: var(--color-text-light);
}

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

/* Search Input (Perplexity Style) */
.search-wrapper {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 20px 60px 20px 56px;
  font-size: 17px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xl), 0 0 0 3px rgba(26, 123, 123, 0.1);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  font-size: 20px;
}

.search-submit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: var(--color-text);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.search-submit:hover {
  background-color: #000000;
  transform: translateY(-50%) scale(1.05);
}

/* ============================================
   9. HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: var(--space-3xl) var(--container-padding);
}

.hero h1 {
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero Background Animation */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: radial-gradient(circle at 30% 40%, rgba(26, 123, 123, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(230, 127, 79, 0.06) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {

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

  25% {
    transform: translate(2%, 2%) rotate(1deg);
  }

  50% {
    transform: translate(0, 4%) rotate(0deg);
  }

  75% {
    transform: translate(-2%, 2%) rotate(-1deg);
  }
}

/* ============================================
   10. TRUST BAR
   ============================================ */

.trust-bar {
  padding: var(--space-xl) 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.trust-item:hover {
  background-color: var(--color-bg-alt);
}

.trust-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-success);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
}

.trust-item span:last-child {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
}

/* Responsive Trust Bar */
@media (max-width: 900px) {
  .trust-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .trust-bar {
    padding: var(--space-2xl) 0;
  }

  .trust-items {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .trust-item {
    padding: var(--space-md);
  }

  .trust-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .trust-item span:last-child {
    font-size: 13px;
  }
}

/* ============================================
   11. DEMO SECTIONS
   ============================================ */

/* Smart Search Demo */
.demo-section {
  text-align: center;
}

.demo-section h2 {
  margin-bottom: var(--space-md);
}

.demo-section .subtitle {
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.demo-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

/* Search Result (hidden initially) */
.search-result {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-md);
  text-align: left;
  display: none;
}

.search-result.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.search-result-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-weight: 600;
  color: var(--color-primary);
}

.search-result-text {
  font-size: 16px;
  line-height: 1.8;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: var(--color-primary);
  margin-left: 2px;
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

/* Anonymization Demo */
.anonymize-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  text-align: left;
}

.anonymize-column {
  display: flex;
  flex-direction: column;
}

.anonymize-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.anonymize-input,
.anonymize-output {
  flex: 1;
  min-height: 200px;
  padding: var(--space-lg);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.7;
  resize: none;
}

.anonymize-output {
  background-color: var(--color-bg-alt);
  color: var(--color-text);
}

.anonymize-output .highlight {
  background-color: rgba(26, 123, 123, 0.15);
  color: var(--color-primary);
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 500;
}

.anonymize-button {
  margin-top: var(--space-lg);
}

/* ============================================
   12. FEATURES / SERVICES SECTION
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.feature-card {
  text-align: center;
  padding: var(--space-2xl);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-border) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.feature-title {
  margin-bottom: var(--space-sm);
}

.feature-text {
  font-size: 16px;
  margin: 0 auto;
}

/* ============================================
   13. WHY SECTION (Vertical Statements)
   ============================================ */

.why-section {
  text-align: center;
}

.why-items {
  margin-top: var(--space-3xl);
}

.why-item {
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.why-item:last-child {
  border-bottom: none;
}

.why-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.why-title {
  font-size: clamp(28px, 4vw, 40px);
  max-width: 700px;
  margin: 0 auto var(--space-md);
}

.why-text {
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   14. CTA SECTION
   ============================================ */

.cta-section {
  text-align: center;
  padding: var(--space-5xl) 0;
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section .subtitle {
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Contact Form in CTA */
.contact-form {
  max-width: 500px;
  margin: var(--space-2xl) auto 0;
  text-align: left;
}

.contact-form .form-input {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.contact-form .form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form .form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(230, 127, 79, 0.2);
}

/* ============================================
   15. FOOTER
   ============================================ */

.footer {
  background-color: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .logo {
  color: #FFFFFF;
  margin-bottom: var(--space-md);
}

.footer-brand .logo span:first-of-type {
  color: var(--color-primary-light);
}

.footer-brand .logo span:last-of-type {
  color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.6;
  max-width: 300px;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  font-size: 15px;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: #FFFFFF;
}

/* ============================================
   16. ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

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

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 {
  transition-delay: 0.1s;
}

.animate-delay-2 {
  transition-delay: 0.2s;
}

.animate-delay-3 {
  transition-delay: 0.3s;
}

.animate-delay-4 {
  transition-delay: 0.4s;
}

/* ============================================
   17. UTILITY CLASSES
   ============================================ */

.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;
}

.hidden {
  display: none !important;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.mb-2xl {
  margin-bottom: var(--space-2xl);
}

/* ============================================
   18. RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --container-padding: 32px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --container-padding: 20px;
  }

  body {
    font-size: 16px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bg);
    flex-direction: column;
    padding: var(--space-2xl);
    gap: var(--space-lg);
  }

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

  .nav-link {
    font-size: 24px;
  }

  .nav .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 60px) 0 60px;
  }

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

  .hero-cta .btn {
    width: 100%;
  }

  .trust-items {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .search-input {
    padding: 16px 56px 16px 48px;
    font-size: 16px;
  }

  .anonymize-demo {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: var(--space-4xl) 0;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  .btn-lg {
    padding: 16px 28px;
    font-size: 16px;
  }
}

/* ============================================
   19. LEGAL PAGES
   ============================================ */

.legal-page {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: var(--space-4xl);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: var(--space-2xl);
}

.legal-content h2 {
  font-size: 24px;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-content h3 {
  font-size: 20px;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content p {
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.legal-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-content li {
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  list-style: disc;
}

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

.legal-content a:hover {
  color: var(--color-primary-dark);
}

/* ============================================
   20. PRINT STYLES
   ============================================ */

@media print {

  .header,
  .hero-bg,
  .btn,
  .footer {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a {
    text-decoration: underline;
  }
}