:root {
  --color-primary: #e8621a;
  --color-primary-dark: #c44e0e;
  --color-primary-light: #fbefe7;
  --color-gold: #d4af37;
  --color-gold-light: #fdf7e7;
  --color-bg: #faf7f2;
  --color-surface: #ffffff;
  --color-surface-translucent: rgba(255, 255, 255, 0.85);
  --color-text-main: #24201d;
  --color-text-muted: #6b6560;
  --color-border: #eadbcc;
  --color-dark-bg: #181513;
  --color-dark-surface: #221e1b;
  --color-dark-text: #f3efea;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 24px rgba(232, 98, 26, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-sans:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1040px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text-main);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-btn {
  background: var(--color-primary);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition:
    transform 0.15s ease,
    background-color 0.2s ease;
}

.nav-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

/* Page Container */
.main-content {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 80px;
  width: 100%;
}

/* Hero Section (Landing) */
.hero {
  text-align: center;
  padding: 50px 0 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(232, 98, 26, 0.2);
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #1a1614;
}

.hero h1 span.gradient-text {
  background: linear-gradient(135deg, #e8621a 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #181513;
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: var(--shadow-md);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--color-text-main);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--color-border);
  transition: background 0.2s ease;
}

.btn-secondary:hover {
  background: #f4efeb;
}

/* Feature Grid */
.features-section {
  padding: 40px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 40px;
}

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

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Languages List */
.languages-pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 24px 0 40px;
}

.lang-pill {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-pill span {
  color: var(--color-primary);
}

/* Legal & Policy Document Styles */
.doc-header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 24px;
  margin-bottom: 36px;
}

.doc-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.doc-meta {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.doc-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px 48px;
  box-shadow: var(--shadow-sm);
}

.doc-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 36px 0 16px;
  color: #1a1614;
  border-bottom: 1px solid #f0e8de;
  padding-bottom: 8px;
}

.doc-content h2:first-of-type {
  margin-top: 0;
}

.doc-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 20px 0 10px;
  color: #2d2723;
}

.doc-content p {
  margin-bottom: 16px;
  color: #3e3834;
  font-size: 1rem;
}

.doc-content ul,
.doc-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.doc-content li {
  margin-bottom: 8px;
  color: #3e3834;
}

.doc-content strong {
  color: #1a1614;
}

/* Callout Box */
.callout {
  background: var(--color-primary-light);
  border-left: 4px solid var(--color-primary);
  border-radius: 4px var(--radius-sm) var(--radius-sm) 4px;
  padding: 16px 20px;
  margin: 24px 0;
}

.callout p {
  margin: 0;
  color: #532305;
  font-size: 0.95rem;
}

.callout strong {
  color: var(--color-primary-dark);
}

/* Contact / Support Cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 28px 0 40px;
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.contact-card .contact-link {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  font-size: 1.02rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--color-text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: var(--color-dark-bg);
  color: var(--color-dark-text);
  padding: 50px 24px 30px;
  margin-top: auto;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  max-width: 380px;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin-bottom: 16px;
}

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

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 24px auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero p.lead {
    font-size: 1.05rem;
  }
  .doc-content {
    padding: 24px 20px;
  }
  .nav-menu {
    gap: 14px;
  }
  .nav-link {
    font-size: 0.88rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
