/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --red: #C41E3A;
  --red-dark: #A01830;
  --navy: #1B2A4A;
  --navy-light: #2A3D66;
  --green: #1B6B3A;
  --green-light: #E8F5EC;
  --gold: #D4A843;        /* retained for coming-soon badges only */
  --gold-light: #F5EDD4;
  --cream: #FAF9F6;
  --warm-gray: #F5F3EF;
  --text-primary: #1B2A4A;
  --text-secondary: #4A5568;
  --text-light: #718096;
  --border: #E2DFD8;
  --white: #FFFFFF;

  --font-heading: "Source Serif 4", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --max-width: 1140px;
  --section-padding: 5rem 1.5rem;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--cream);
  line-height: 1.7;
  font-size: 17px;
}

img { max-width: 100%; display: block; }

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--red-dark); }

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(27, 42, 74, 0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  text-decoration: none;
}

.nav-brand:hover { color: var(--navy); }
.nav-brand .brand-911 { color: var(--red); }

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--red-dark);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ============================================
   LANGUAGE BAR
   ============================================ */
.lang-bar {
  background: var(--navy);
  padding: 0;
  font-size: 0.82rem;
}

.lang-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.45rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.lang-bar-label {
  color: rgba(255,255,255,0.5);
  margin-right: 0.5rem;
  font-weight: 500;
}

.lang-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  transition: all 0.15s;
  font-weight: 500;
}

.lang-link:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.lang-link.active {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 10rem 1.5rem 6rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; right: -10%;
  width: 55%; height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(196,30,58,0.03) 50%, rgba(27,42,74,0.04) 100%);
  border-radius: 0 0 0 40%;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  max-width: 720px;
  margin-bottom: 1.75rem;
}

.hero h1 .accent { color: var(--red); }

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(196,30,58,0.2);
}

.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(196,30,58,0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
}

/* ============================================
   SECTION COMMON
   ============================================ */
section { padding: var(--section-padding); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.75;
}

.section-header { margin-bottom: 3.5rem; }

/* ============================================
   URGENCY / STATS BAR
   ============================================ */
.stats-bar {
  background: var(--navy);
  padding: 3rem 1.5rem;
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat { color: var(--white); }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

/* ============================================
   CARD PREVIEW
   ============================================ */
.cards-section { background: var(--white); }

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.card-preview {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.card-preview:hover {
  box-shadow: 0 8px 30px rgba(27,42,74,0.1);
  transform: translateY(-2px);
}

.card-preview-header { padding: 1.75rem 2rem 1.25rem; color: var(--white); }
.card-preview-header.side-a { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); }
.card-preview-header.side-b { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); }

.card-preview-side-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.card-preview-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
}

.card-preview-body {
  padding: 1.5rem 2rem;
  background: var(--cream);
}

.card-preview-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card-preview-body li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 1.3rem;
  position: relative;
  line-height: 1.5;
}

.card-preview-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
}

.card-preview.red li::before { background: var(--red); }
.card-preview.navy li::before { background: var(--navy); }

/* ============================================
   DOWNLOAD
   ============================================ */
.download-section { background: var(--cream); }

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.download-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: box-shadow 0.3s, transform 0.3s;
}

.download-card:hover {
  box-shadow: 0 6px 24px rgba(27,42,74,0.08);
  transform: translateY(-2px);
}

.download-card.available {
  border-color: var(--green);
  border-width: 1.5px;
}

.download-lang {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.download-lang-native {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.download-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.download-status.ready { background: var(--green-light); color: var(--green); }
.download-status.coming { background: var(--gold-light); color: #8B7635; }

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.download-btn:hover { background: var(--navy-light); color: var(--white); }

.download-btn.disabled {
  background: var(--warm-gray);
  color: var(--text-light);
  pointer-events: none;
}

.download-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

.download-note a { font-weight: 500; }

/* ============================================
   RIGHTS
   ============================================ */
.rights-section {
  background: var(--navy);
  color: var(--white);
}

.rights-section .section-label { color: var(--red); }
.rights-section .section-title { color: var(--white); max-width: 600px; }
.rights-section .section-subtitle { color: rgba(255,255,255,0.85); margin-bottom: 3rem; }

.rights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.rights-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 2rem;
}

.rights-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(27,107,58,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.rights-card-icon svg { width: 22px; height: 22px; color: #5FD88B; }

.rights-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.rights-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
}

/* ============================================
   WORKSHOP
   ============================================ */
.workshop-section { background: var(--white); }

.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.workshop-modules {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.module-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.module-number {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.module-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.module-content .module-time {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.module-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.workshop-info-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}

.workshop-info-box h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.workshop-info-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.workshop-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.workshop-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.workshop-detail-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.workshop-detail-icon svg { width: 16px; height: 16px; color: var(--navy); }

/* ============================================
   PRACTITIONERS
   ============================================ */
.practitioners-section { background: var(--white); }

.practitioners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.practitioner-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: box-shadow 0.3s;
}

.practitioner-card:hover { box-shadow: 0 4px 20px rgba(27,42,74,0.06); }

.practitioner-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.practitioner-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   LICENSE BANNER
   ============================================ */
.license-banner {
  background: var(--warm-gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.license-inner { max-width: 700px; margin: 0 auto; }

.license-cc {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.license-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
}

.contact-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon.red { background: rgba(196,30,58,0.08); }
.contact-card-icon.navy { background: rgba(27,42,74,0.08); }
.contact-card-icon.green { background: rgba(27,107,58,0.08); }
.contact-card-icon svg { width: 22px; height: 22px; }

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-email { font-weight: 600; word-break: break-all; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  padding: 8.5rem 1.5rem 3rem;
  background: var(--cream);
}

.about-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-content {
  background: var(--white);
  padding: var(--section-padding);
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.credential {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.credential-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.partners-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}

.partners-box h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.partner-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.partner-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.partner-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.partner-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   PLACEHOLDER PAGE
   ============================================ */
.placeholder-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.placeholder-page h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.placeholder-native {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.placeholder-page p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.placeholder-back {
  font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.footer-brand .brand-911 { color: var(--red); }

.footer-text {
  font-size: 0.82rem;
  line-height: 1.7;
  text-align: right;
}

.footer-text a { color: rgba(255,255,255,0.8); }
.footer-text a:hover { color: var(--white); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 8rem 1.5rem 4rem; }
  .stats-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .cards-grid, .workshop-grid, .about-grid { grid-template-columns: 1fr; }
  .rights-grid, .practitioners-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-text { text-align: center; }
  .lang-bar-inner { justify-content: center; }
}

@media (max-width: 600px) {
  :root { --section-padding: 3.5rem 1.25rem; }
  body { font-size: 16px; }
  .hero h1 { font-size: 2.2rem; }
  .download-grid { grid-template-columns: 1fr; }
}
