/*
Theme Name: Zypra
Theme URI: https://zypra.com
Author: Zypra
Author URI: https://zypra.com
Description: Official Zypra website theme — a private digital currency minted on your device, transferred peer-to-peer. Built with SEO-first architecture, semantic HTML5, and Zypra brand identity.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
License URI: https://zypra.com/terms
Text Domain: zypra
Tags: one-column, custom-logo, custom-menu, featured-images, translation-ready

Zypra Brand Identity
====================
Primary:   Zypra Plum  #271431
Accent:    Zypra Gold  #DCC996
Neutral:   Ledger Grey #969897
Headings:  Manrope
Body:      Libre Baskerville
*/

/* ================================================================
   CSS CUSTOM PROPERTIES
   ================================================================ */
:root {
  /* Brand palette */
  --zypra-plum: #271431;
  --zypra-plum-90: rgba(39, 20, 49, 0.9);
  --zypra-plum-light: #3d2150;
  --zypra-plum-lighter: #f5f0f7;
  --zypra-gold: #DCC996;
  --zypra-gold-dark: #c4a96e;
  --zypra-gold-light: #f7f3e8;
  --zypra-grey: #969897;
  --zypra-grey-light: #e8e9e8;
  --zypra-white: #ffffff;
  --zypra-dark-text: #333333;
  --zypra-body-text: #4a4a4a;

  /* Typography */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 8rem);
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 200ms var(--ease-out);
  --transition-med: 400ms var(--ease-out);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(39, 20, 49, 0.08);
  --shadow-md: 0 4px 12px rgba(39, 20, 49, 0.1);
  --shadow-lg: 0 8px 30px rgba(39, 20, 49, 0.12);
  --shadow-xl: 0 16px 50px rgba(39, 20, 49, 0.16);

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--zypra-body-text);
  background-color: var(--zypra-white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--zypra-gold-dark); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--zypra-plum); }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--zypra-plum);
  line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

.text-gold { color: var(--zypra-gold-dark); }
.text-plum { color: var(--zypra-plum); }
.text-grey { color: var(--zypra-grey); }

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.container--narrow { max-width: var(--container-narrow); }

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section--plum { background: var(--zypra-plum); color: var(--zypra-white); }
.section--plum h2, .section--plum h3 { color: var(--zypra-gold); }
.section--plum p { color: rgba(255, 255, 255, 0.85); }

.section--light { background: var(--zypra-plum-lighter); }
.section--gold-light { background: var(--zypra-gold-light); }

/* ================================================================
   HEADER / NAVIGATION
   ================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--zypra-grey-light);
  transition: box-shadow var(--transition-med);
}

.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.site-logo { display: flex; align-items: center; gap: 0.625rem; font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; color: var(--zypra-plum); }
.site-logo img, .site-logo .logo-wordmark { height: 32px; width: auto; }
.footer-logo { display: inline-block; }
.footer-logo img, .footer-logo .logo-wordmark { height: 28px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--zypra-dark-text);
  position: relative;
  padding: 0.25rem 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--zypra-gold);
  transition: width var(--transition-fast);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a:hover { color: var(--zypra-plum); }

.nav-cta {
  font-weight: 700;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--zypra-plum);
  margin: 5px 0;
  transition: all var(--transition-fast);
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--zypra-white);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--zypra-grey-light);
    box-shadow: var(--shadow-lg);
    gap: 1rem;
  }
  .main-nav.active { display: flex; }
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--zypra-plum) 0%, #1a0d22 60%, #120818 100%);
  color: var(--zypra-white);
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(220, 201, 150, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(220, 201, 150, 0.12);
  border: 1px solid rgba(220, 201, 150, 0.25);
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--zypra-gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--zypra-white);
  margin-bottom: 1.5rem;
}

.hero h1 span { color: var(--zypra-gold); }

.hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

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

.btn--outline {
  background: transparent;
  color: var(--zypra-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn--outline:hover { border-color: var(--zypra-gold); color: var(--zypra-gold); transform: translateY(-2px); }

.btn--plum { background: var(--zypra-plum); color: var(--zypra-white); }
.btn--plum:hover { background: var(--zypra-plum-light); color: var(--zypra-white); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-phone-mockup {
  width: 300px;
  height: 600px;
  background: linear-gradient(180deg, #3d2150 0%, var(--zypra-plum) 100%);
  border-radius: 36px;
  border: 3px solid rgba(220, 201, 150, 0.3);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 28px;
  background: #1a0d22;
  border-radius: 0 0 16px 16px;
}

.phone-screen {
  width: 85%;
  height: 90%;
  background: linear-gradient(180deg, #1a0d22 0%, var(--zypra-plum) 100%);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

.phone-balance {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--zypra-gold);
  line-height: 1;
}

.phone-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
}

.phone-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.phone-action-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
}

.phone-action-btn--send { background: var(--zypra-gold); color: var(--zypra-plum); }
.phone-action-btn--earn { background: rgba(255, 255, 255, 0.1); color: var(--zypra-white); border: 1px solid rgba(255, 255, 255, 0.2); }

@media (max-width: 768px) {
  .hero { padding-bottom: 3rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-visual { margin-top: 2rem; }
  .hero-phone-mockup { width: 240px; height: 480px; }
  .hero-badge { margin-top: 1.5rem; }
}

/* ================================================================
   FEATURES / HOW IT WORKS
   ================================================================ */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--zypra-grey);
  margin-top: 1rem;
}

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

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

.feature-card {
  background: var(--zypra-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--zypra-grey-light);
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--zypra-gold); }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--zypra-plum-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.section--plum .feature-card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.section--plum .feature-card:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--zypra-gold); }
.section--plum .feature-icon { background: rgba(220, 201, 150, 0.12); }
.section--plum .feature-card h3 { color: var(--zypra-white); }
.section--plum .feature-card p { color: rgba(255, 255, 255, 0.7); }

.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.9375rem; color: var(--zypra-grey); line-height: 1.7; }

.step-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--zypra-plum-lighter);
  line-height: 1;
}
.section--plum .step-number { color: rgba(255, 255, 255, 0.05); }

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   WHY ZYPRA / BENEFITS
   ================================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.benefit-item:hover { background: var(--zypra-gold-light); }

.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--zypra-plum);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zypra-gold);
  font-size: 1.25rem;
}

.benefit-content h3 { font-size: 1.125rem; margin-bottom: 0.375rem; }
.benefit-content p { font-size: 0.9375rem; color: var(--zypra-grey); }

@media (max-width: 768px) { .benefits-grid { grid-template-columns: 1fr; } }

/* ================================================================
   TECHNOLOGY SECTION
   ================================================================ */
.tech-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tech-visual {
  background: var(--zypra-plum);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.tech-diagram {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.tech-node {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(220, 201, 150, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  width: 100%;
  max-width: 280px;
}

.tech-node-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(220, 201, 150, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.tech-node-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--zypra-white);
}

.tech-node-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.tech-connector {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, var(--zypra-gold), transparent);
}

.tech-content h2 { margin-bottom: 1.5rem; }
.tech-content p { margin-bottom: 1rem; }

.tech-features {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tech-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.tech-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--zypra-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zypra-plum);
  font-size: 0.75rem;
  margin-top: 0.1875rem;
}

@media (max-width: 768px) {
  .tech-split { grid-template-columns: 1fr; }
  .tech-visual { order: -1; }
}

/* ================================================================
   FAQ SECTION
   ================================================================ */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--zypra-grey-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item:hover { border-color: var(--zypra-gold); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--zypra-plum);
  text-align: left;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--zypra-plum-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--zypra-plum);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-med), padding var(--transition-med);
}

.faq-item.active .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--zypra-body-text);
  line-height: 1.75;
}

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
  text-align: center;
  padding: var(--section-padding) 0;
  background: linear-gradient(160deg, var(--zypra-plum) 0%, #1a0d22 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse at center, rgba(220, 201, 150, 0.05), transparent 60%);
}

.cta-banner h2 { color: var(--zypra-white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255, 255, 255, 0.7); margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn { position: relative; z-index: 2; }

/* Download Buttons — Solid Gold Block */
.download-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.btn--download {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  background: var(--zypra-gold);
  color: var(--zypra-plum);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  min-width: 200px;
}
.btn--download:hover {
  background: var(--zypra-gold-dark);
  color: var(--zypra-plum);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 201, 150, 0.35);
}

.btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--download svg { flex-shrink: 0; }

.download-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}
.download-btn-text small {
  font-size: 0.6875rem;
  font-weight: 500;
  opacity: 0.7;
}
.download-btn-text strong {
  font-size: 1.0625rem;
  font-weight: 700;
}

.download-coming-soon {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1.25rem;
  position: relative;
  z-index: 2;
}

.app-badges { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; position: relative; z-index: 2; }
.app-badge { height: 48px; border-radius: var(--radius-sm); transition: transform var(--transition-fast); }
.app-badge:hover { transform: scale(1.05); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--zypra-plum);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-top: 1rem; max-width: 280px; }
.footer-brand .site-logo { color: var(--zypra-white); margin-bottom: 0.5rem; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--zypra-gold);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; transition: color var(--transition-fast); }
.footer-col a:hover { color: var(--zypra-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.footer-patent {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--zypra-gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.7;
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.5); }
.footer-legal a:hover { color: var(--zypra-gold); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ================================================================
   UTILITIES
   ================================================================ */
.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;
}

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

/* Smooth reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ================================================================
   PAGE HERO (Inner Pages)
   ================================================================ */
.page-hero {
  padding: calc(72px + var(--section-padding)) 0 var(--section-padding);
  background: linear-gradient(160deg, var(--zypra-plum) 0%, #1a0d22 100%);
  color: var(--zypra-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(220, 201, 150, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 { color: var(--zypra-white); margin-bottom: 1rem; position: relative; z-index: 2; }
.page-hero-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-form-wrap h2 { margin-bottom: 0.5rem; }
.contact-form-wrap > p { color: var(--zypra-grey); margin-bottom: 2rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.375rem; }

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--zypra-plum);
}

.required { color: #c0392b; }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--zypra-grey-light);
  border-radius: var(--radius-sm);
  background: var(--zypra-white);
  color: var(--zypra-dark-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--zypra-gold);
  box-shadow: 0 0 0 3px rgba(220, 201, 150, 0.2);
}

.form-group input.form-error,
.form-group select.form-error,
.form-group textarea.form-error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

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

.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23969897' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-consent { flex-direction: row; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--zypra-grey);
  line-height: 1.5;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--zypra-plum);
}
.checkbox-label a { color: var(--zypra-gold-dark); text-decoration: underline; }

.btn--full { width: 100%; justify-content: center; }

.form-status {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.form-status--success {
  color: #27ae60;
  background: rgba(39, 174, 96, 0.08);
  padding: 0.875rem 1rem;
  border: 1px solid rgba(39, 174, 96, 0.2);
}
.form-status--error {
  color: #c0392b;
  background: rgba(192, 57, 43, 0.08);
  padding: 0.875rem 1rem;
  border: 1px solid rgba(192, 57, 43, 0.2);
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  background: var(--zypra-white);
  border: 1px solid var(--zypra-grey-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition-fast);
}
.contact-card:hover { border-color: var(--zypra-gold); box-shadow: var(--shadow-sm); }

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--zypra-plum);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-card h3 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.contact-card p { font-size: 0.8125rem; color: var(--zypra-grey); margin-bottom: 0.5rem; }
.contact-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--zypra-gold-dark);
}
.contact-link:hover { color: var(--zypra-plum); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ================================================================
   SUPPORT PAGE
   ================================================================ */
.support-search-wrap {
  max-width: 560px;
  margin: 2rem auto 0;
  position: relative;
  z-index: 2;
}

.support-search {
  position: relative;
  display: flex;
  align-items: center;
}

.support-search-icon {
  position: absolute;
  left: 1.125rem;
  color: var(--zypra-grey);
  pointer-events: none;
}

.support-search input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.1);
  color: var(--zypra-white);
  outline: none;
  transition: all var(--transition-fast);
}

.support-search input::placeholder { color: rgba(255, 255, 255, 0.5); }
.support-search input:focus {
  border-color: var(--zypra-gold);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(220, 201, 150, 0.15);
}

/* Support Category Cards */
.support-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.support-category-card {
  display: block;
  background: var(--zypra-white);
  border: 1px solid var(--zypra-grey-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-med);
}
.support-category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--zypra-gold);
  color: inherit;
}

.support-cat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--zypra-plum-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.support-category-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.support-category-card p { font-size: 0.875rem; color: var(--zypra-grey); line-height: 1.6; }

.support-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.support-response-time {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .support-categories-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   LEGAL PAGES (Privacy, Terms)
   ================================================================ */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--section-padding) 0;
}

.legal-content .legal-meta {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--zypra-grey);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--zypra-grey-light);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--zypra-gold-light);
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-content p { margin-bottom: 1rem; font-size: 0.9375rem; }

.legal-content ul, .legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.75rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.legal-content strong { color: var(--zypra-plum); }

.legal-callout {
  background: var(--zypra-plum-lighter);
  border-left: 4px solid var(--zypra-gold);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
}
.legal-callout h3, .legal-callout h4 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--zypra-plum);
}
.legal-callout p { font-size: 0.9375rem; }
.legal-callout ul { margin-bottom: 0.5rem; }

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}

.legal-content th, .legal-content td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--zypra-grey-light);
}

.legal-content th {
  font-family: var(--font-heading);
  font-weight: 600;
  background: var(--zypra-plum-lighter);
  color: var(--zypra-plum);
}

/* ================================================================
   LANGUAGE SELECTOR
   ================================================================ */
.lang-selector {
  position: relative;
  margin-left: 0.75rem;
  flex-shrink: 0;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: 1.5px solid var(--zypra-grey-light);
  border-radius: var(--radius-xl);
  padding: 0.375rem 0.875rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--zypra-plum);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.lang-btn:hover {
  border-color: var(--zypra-gold);
  color: var(--zypra-gold-dark);
}
.lang-btn svg { flex-shrink: 0; }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--zypra-white);
  border: 1px solid var(--zypra-grey-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 170px;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  z-index: 1000;
  padding: 0.375rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--zypra-gold) transparent;
}
.lang-dropdown.open { display: block; }

.lang-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--zypra-body-text);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.lang-dropdown a:hover {
  background: var(--zypra-plum-lighter);
  color: var(--zypra-plum);
}
.lang-dropdown a.active {
  color: var(--zypra-gold-dark);
  font-weight: 700;
}

/* ================================================================
   RTL SUPPORT (Arabic / Urdu)
   ----------------------------------------------------------------
   STRATEGY: The single global rule  [dir="rtl"] { direction: rtl }
   propagates direction to ALL descendants. In flex/grid containers
   this automatically reverses the item order (right-to-left), so
   we must NEVER also apply flex-direction:row-reverse — that would
   double-reverse back to LTR. Only explicit physical properties
   (left/right swaps, margin sides, border sides, text-align
   overrides) need manual handling.
   ================================================================ */

/* ── 1. Global ───────────────────────────────────────────────── */
/* Sets direction on the root; all flex, grid & inline inherit it */
[dir="rtl"] { direction: rtl; }

/* ── 2. Header / Navigation ──────────────────────────────────── */
/* header-inner flex auto-reverses: logo→right, nav→centre, selector→left ✓ */

/* Underline pseudo-element uses physical left:0 — must swap to right */
[dir="rtl"] .main-nav a::after { left: auto; right: 0; }

/* Lang selector: margin was on the left (between nav & selector in LTR);
   swap to right so the gap is correct on the right side in RTL */
[dir="rtl"] .lang-selector { margin-left: 0; margin-right: 0.75rem; }

/* Dropdown: selector is on the far LEFT in RTL, so open rightward */
[dir="rtl"] .lang-dropdown { right: auto; left: 0; text-align: right; }

/* Mobile drop-down nav */
[dir="rtl"] .main-nav.active { text-align: right; }

/* ── 3. Hero ─────────────────────────────────────────────────── */
/* hero-inner 2-col grid auto-reverses: visual→right, content→left ✓ */
/* hero-ctas flex auto-reverses: secondary CTA appears first (right) ✓  */
[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .hero h1 { text-align: right; }
[dir="rtl"] .hero-description { text-align: right; }

/* ── 4. How It Works — feature cards ────────────────────────── */
/* features-grid auto-reverses column order ✓ */
/* feature-card content stacks; text-align controls inline text */
[dir="rtl"] .feature-card { text-align: right; }

/* Step number is absolutely positioned top-right → move to top-left */
[dir="rtl"] .step-number { right: auto; left: 1.5rem; }

/* ── 5. Why Zypra — benefit items ───────────────────────────── */
/* benefit-item flex auto-reverses: icon→right, text→left ✓ */
[dir="rtl"] .benefit-content { text-align: right; }

/* ── 6. Technology ───────────────────────────────────────────── */
/* tech-split 2-col grid auto-reverses: diagram→right, content→left ✓ */
[dir="rtl"] .tech-content { text-align: right; }

/* tech-node flex auto-reverses: icon→right, labels→left ✓ */
[dir="rtl"] .tech-node-label { text-align: right; }
[dir="rtl"] .tech-node-desc  { text-align: right; }

/* tech-features li flex auto-reverses: check→right, text→left ✓ */
[dir="rtl"] .tech-features li { text-align: right; }

/* ── 7. FAQ ──────────────────────────────────────────────────── */
/* faq-question flex + justify-content:space-between auto-reverses:
   question text→right, toggle icon→left ✓ */
[dir="rtl"] .faq-question { text-align: right; }
[dir="rtl"] .faq-answer-inner { text-align: right; }

/* ── 8. Download / CTA banner ────────────────────────────────── */
/* cta-banner keeps text-align:center — looks better for Arabic too */
/* btn--download flex auto-reverses: platform icon→right, text→left ✓ */
/* Only override the explicitly left-aligned inner text block */
[dir="rtl"] .download-btn-text { text-align: right; }

/* ── 9. Footer ───────────────────────────────────────────────── */
/* footer-grid auto-reverses columns: brand→right, legal cols→left ✓ */
/* footer-bottom flex auto-reverses: copyright→right, links→left ✓ */
[dir="rtl"] .footer-brand { text-align: right; }
[dir="rtl"] .footer-brand p { text-align: right; }
[dir="rtl"] .footer-col { text-align: right; }

/* ── 10. Inner page heroes ───────────────────────────────────── */
/* Page hero titles (Support, Contact, Privacy, Terms) STAY CENTRED in RTL.
   The base rule is text-align:center — do NOT override to right.
   Only the hero subtitle (.page-hero-desc) might need right-align on pages
   where the description is in Arabic, but the centering looks natural. */

/* ── 11. Legal pages (Privacy & Terms) ──────────────────────── */
/* Legal body text is ALWAYS in English (authoritative binding version),
   so it must stay left-aligned and LTR even when the UI is Arabic/Urdu. */
[dir="rtl"] .legal-content {
  direction: ltr;
  text-align: left;
}
[dir="rtl"] .legal-meta {
  direction: ltr;
  text-align: left;
}
/* Keep English table content in LTR */
[dir="rtl"] .legal-content table { direction: ltr; text-align: left; }
/* Flip accent border from left edge to right edge, but keep text LTR */
[dir="rtl"] .legal-callout {
  border-left: none;
  border-right: 4px solid var(--zypra-gold);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  direction: ltr;
  text-align: left;
}
/* The legal notice banner translates — keep it RTL for Arabic text */
[dir="rtl"] .legal-notice-lang {
  border-left: none;
  border-right: 3px solid var(--zypra-gold);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  text-align: right;
  direction: rtl;
}

/* ── 12. Phone mockup ────────────────────────────────────────── */
/* Phone screen stays centred — only remove letter-spacing for Arabic script */
[dir="rtl"] .phone-label { letter-spacing: 0; }

@media (max-width: 768px) {
  .lang-selector { margin-left: 0; margin-top: 1rem; }
  .lang-dropdown { right: auto; left: 0; }
}

/* ================================================================
   ACCESSIBILITY: Skip Link
   ================================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--zypra-gold);
  color: var(--zypra-plum);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0.5rem;
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.zypra-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--zypra-plum, #271431);
  color: #fff;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
  padding: 0;
  animation: zypraCookieSlideUp 0.35s ease-out;
}
@keyframes zypraCookieSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.zypra-cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.zypra-cookie-banner__text {
  flex: 1;
  min-width: 280px;
}
.zypra-cookie-banner__text h4 {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--zypra-gold, #DCC996);
}
.zypra-cookie-banner__text p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.92;
}
.zypra-cookie-banner__text a {
  color: var(--zypra-gold, #DCC996);
  text-decoration: underline;
}
.zypra-cookie-banner__actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Cookie buttons */
.zypra-cookie-btn {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.zypra-cookie-btn--primary {
  background: var(--zypra-gold, #DCC996);
  color: var(--zypra-plum, #271431);
}
.zypra-cookie-btn--primary:hover {
  background: #c6a84c;
  box-shadow: 0 2px 8px rgba(198, 168, 76, 0.4);
}
.zypra-cookie-btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.zypra-cookie-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}
.zypra-cookie-btn--text {
  background: transparent;
  color: var(--zypra-gold, #DCC996);
  padding: 0.6rem 0.5rem;
  text-decoration: underline;
}
.zypra-cookie-btn--text:hover {
  color: #fff;
}

/* Cookie Preferences Panel */
.zypra-cookie-prefs {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zypra-cookie-prefs__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
}
.zypra-cookie-prefs__panel {
  position: relative;
  background: #fff;
  color: var(--zypra-plum, #271431);
  border-radius: 12px;
  max-width: 540px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
  animation: zypraCookieFadeIn 0.25s ease-out;
}
@keyframes zypraCookieFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.zypra-cookie-prefs__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #eee;
}
.zypra-cookie-prefs__header h3 {
  margin: 0;
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
}
.zypra-cookie-prefs__close {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #666;
  line-height: 1;
  padding: 0 0.25rem;
}
.zypra-cookie-prefs__close:hover {
  color: var(--zypra-plum, #271431);
}
.zypra-cookie-prefs__body {
  padding: 1.25rem 1.5rem;
}
.zypra-cookie-prefs__body > p {
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  color: #555;
}
.zypra-cookie-category {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.85rem;
}
.zypra-cookie-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.zypra-cookie-category__header label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
}
.zypra-cookie-category__header input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--zypra-gold, #DCC996);
}
.zypra-cookie-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}
.zypra-cookie-badge--always {
  background: rgba(39, 20, 49, 0.08);
  color: var(--zypra-plum, #271431);
}
.zypra-cookie-category__desc {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #777;
}
.zypra-cookie-prefs__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #eee;
  text-align: right;
}

/* Responsive: stack on mobile */
@media (max-width: 640px) {
  .zypra-cookie-banner__inner {
    flex-direction: column;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }
  .zypra-cookie-banner__actions {
    width: 100%;
    justify-content: stretch;
  }
  .zypra-cookie-btn {
    flex: 1;
    text-align: center;
  }
}

/* ================================================================
   REGULATORY APPROACH PAGE
   ================================================================ */
.page-hero--regulatory::before {
  background: radial-gradient(ellipse at center, rgba(220, 201, 150, 0.08) 0%, transparent 70%);
}

.reg-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.reg-intro h2 { margin-bottom: 1.5rem; }
.reg-intro p { font-size: 1.0625rem; color: var(--zypra-body-text); }

/* Is / Is Not columns */
.reg-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.reg-column {
  background: var(--zypra-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.reg-column h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--zypra-grey-light);
}

.reg-column--is h3 { color: var(--zypra-plum); border-bottom-color: var(--zypra-gold); }
.reg-column--isnot h3 { color: #8b5e3c; border-bottom-color: #e0c8a8; }

.reg-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.reg-column li {
  font-size: 0.9375rem;
  padding: 0.625rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(150, 152, 151, 0.12);
  line-height: 1.6;
}

.reg-column li:last-child { border-bottom: none; }

.reg-column--is li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--zypra-gold-dark);
  font-weight: 700;
}

.reg-column--isnot li::before {
  content: '\2717';
  position: absolute;
  left: 0;
  color: #c0392b;
  font-weight: 700;
}

/* Architecture features */
.reg-features {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.reg-feature {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem;
  background: var(--zypra-plum-lighter);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition-med);
}

.reg-feature:hover { box-shadow: var(--shadow-md); }

.reg-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--zypra-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.reg-feature h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.reg-feature p {
  font-size: 0.9375rem;
  color: var(--zypra-body-text);
  margin-bottom: 0;
}

/* Framework cards (on plum background) */
.reg-framework-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.reg-framework-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(220, 201, 150, 0.2);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: background var(--transition-med), border-color var(--transition-med);
}

.reg-framework-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(220, 201, 150, 0.4);
}

.reg-framework-card h3 {
  font-size: 1.0625rem;
  color: var(--zypra-gold);
  margin-bottom: 0.75rem;
}

.reg-framework-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 0;
}

/* User responsibilities */
.reg-responsibilities {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reg-responsibility {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--zypra-white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--zypra-gold);
  box-shadow: var(--shadow-sm);
}

.reg-resp-number {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--zypra-gold-dark);
  opacity: 0.5;
  line-height: 1;
  padding-top: 0.25rem;
}

.reg-responsibility h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.375rem;
}

.reg-responsibility p {
  font-size: 0.9375rem;
  color: var(--zypra-body-text);
  margin-bottom: 0;
}

/* Disclaimer box */
.reg-disclaimer {
  background: var(--zypra-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid var(--zypra-grey-light);
}

.reg-disclaimer h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.reg-disclaimer p { font-size: 0.9375rem; color: var(--zypra-body-text); }

.reg-disc-date {
  font-family: var(--font-heading);
  font-size: 0.8125rem !important;
  font-weight: 600;
  color: var(--zypra-grey) !important;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--zypra-grey-light);
}

/* Responsive: Regulatory page */
@media (max-width: 768px) {
  .reg-columns { grid-template-columns: 1fr; gap: 1.5rem; }
  .reg-framework-grid { grid-template-columns: 1fr; }
  .reg-feature { flex-direction: column; gap: 1rem; }
  .reg-responsibility { flex-direction: column; gap: 0.75rem; }
}

/* Print styles */
@media print {
  .site-header, .site-footer, .cta-banner, .lang-selector, .zypra-cookie-banner, .zypra-cookie-prefs { display: none; }
  body { color: #000; }
}
