/* ============================================
   MAIN PAGE STYLES
   Layout, horizontal scroll track, hero,
   CTA, navigation, and mobile fallback.
   ============================================ */


/* ─── 0. Page Foundations ─────────────────────────────────────────────── */

html {
  overflow-x: hidden;
}

body,
body.glass-enabled {
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(56, 189, 248, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 90%, rgba(14, 165, 233, 0.30) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(99, 102, 241, 0.20) 0%, transparent 45%),
    linear-gradient(160deg, #0a2463 0%, #1e40af 30%, #2563eb 55%, #0ea5e9 100%);
  background-attachment: fixed;
  color: #ffffff;
  font-family: var(--font-sans);
}


/* ─── 1. Site Navigation (fixed progress dots) ───────────────────────── */

.site-nav {
  position: fixed;
  right: var(--space-6);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  cursor: pointer;
  transition: all 300ms ease;
  padding: 0;
}

.nav-dot:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.15);
}

.nav-dot.active {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.3);
}

.nav-label {
  position: absolute;
  right: 24px;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: var(--tracking-wide);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
}

.nav-dot:hover .nav-label {
  opacity: 1;
  transform: translateX(0);
}

/* Desktop only: hide slide progress indicator */
@media (min-width: 769px) {
  .site-nav {
    display: none;
  }
}

/* ─── 2. Hero Section ────────────────────────────────────────────────── */

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8);
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-main-title {
  font-family: var(--font-sans);
  font-size: var(--text-6xl);
  font-weight: var(--font-bold);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: #ffffff;
  margin-bottom: var(--space-6);
  max-width: 16ch;
}

.hero-main-accent {
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 40%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-main-subtitle {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: var(--font-light);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.65);
  max-width: 48ch;
  margin-bottom: var(--space-10);
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  background: #ffffff;
  color: #1e40af;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  border: none;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

a.btn-primary,
a.btn-secondary {
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  letter-spacing: var(--tracking-wide);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 200ms ease, transform 200ms ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.scroll-hint-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}


/* ─── 3. Horizontal Scroll Section ───────────────────────────────────── */

.horizontal-section {
  overflow: hidden;
  position: relative;
}

.scroll-track {
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
}

.slide-panel {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-10) var(--space-6) var(--space-20);
  position: relative;
}

.slide-panel .bento-wrapper,
.slide-panel .impact-wrapper {
  flex: 1;
  min-height: 0;
  opacity: 0;
}


/* ─── 4. Slide Labels ────────────────────────────────────────────────── */

.slide-label {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center center;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.slide-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: rgba(255, 255, 255, 0.7);
}

.slide-category {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}


/* ─── 5. CTA / Footer Section ────────────────────────────────────────── */

.cta-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8);
  position: relative;
}

.cta-title {
  font-family: var(--font-sans);
  font-size: var(--text-6xl);
  font-weight: var(--font-bold);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: #ffffff;
  margin-bottom: var(--space-6);
  max-width: 20ch;
}

.cta-accent {
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 40%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtitle {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: var(--font-light);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.65);
  max-width: 48ch;
  margin-bottom: var(--space-10);
}

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

.footer-links {
  display: flex;
  gap: var(--space-8);
  align-items: center;
  margin-top: auto;
  padding-top: var(--space-8);
}

.footer-link {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-light);
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: var(--tracking-wide);
  transition: color 200ms ease;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--font-light);
  color: rgba(255, 255, 255, 0.25);
  margin-top: var(--space-6);
}


/* ─── 6. Support Section ────────────────────────────────────────────── */

.support-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-8) var(--space-6);
  padding-bottom: var(--space-16);
  position: relative;
  max-width: var(--max-w-md);
  margin: 0 auto;
  width: 100%;
}

.support-divider {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin-bottom: var(--space-12);
}

.support-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.support-title {
  font-family: var(--font-sans);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: #ffffff;
  margin-bottom: var(--space-4);
}

.support-title-accent {
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 40%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.support-subtitle {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: var(--font-light);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.6);
}

.support-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  width: 100%;
}

.support-card {
  padding: var(--space-8);
}

.support-contact-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-card-icon {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-4);
}

.support-card-title {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: #ffffff;
  margin-bottom: var(--space-4);
}

.support-card-text {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--font-light);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-6);
  max-width: 44ch;
}

.support-email-btn {
  margin-bottom: var(--space-4);
  text-decoration: none;
}

.support-card-note {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--font-light);
  color: rgba(255, 255, 255, 0.35);
}

.support-faq-heading {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: var(--space-4);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.faq-article {
  padding-top: var(--space-2);
}

.faq-question {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: #ffffff;
  margin-bottom: var(--space-2);
}

.faq-answer {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-light);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.55);
}


/* ─── 6b. Privacy Policy Section ─────────────────────────────────────── */

.privacy-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-8) var(--space-6);
  padding-bottom: var(--space-16);
  position: relative;
  max-width: var(--max-w-md);
  margin: 0 auto;
  width: 100%;
}

.privacy-divider {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin-bottom: var(--space-12);
}

.privacy-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.privacy-title {
  font-family: var(--font-sans);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: #ffffff;
  margin-bottom: var(--space-4);
}

.privacy-title-accent {
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 40%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.privacy-subtitle {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: var(--font-light);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.6);
}

.privacy-card {
  padding: 0;
  width: 100%;
  overflow: hidden;
}

.privacy-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-6) var(--space-8);
  background: transparent;
  border: none;
  cursor: pointer;
  color: #ffffff;
  transition: background-color 200ms ease;
}

.privacy-toggle:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.privacy-toggle-text {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
}

.privacy-toggle-chevron {
  flex-shrink: 0;
  transition: transform 300ms ease;
  opacity: 0.6;
}

.privacy-toggle[aria-expanded="true"] .privacy-toggle-chevron {
  transform: rotate(180deg);
}

.privacy-content {
  padding: 0 var(--space-8) var(--space-8);
}

.privacy-content[hidden] {
  display: none;
}

.privacy-meta {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-light);
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-4);
}

.privacy-hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: var(--space-6) 0;
}

.privacy-content h3 {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: #ffffff;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.privacy-content p {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-light);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-3);
}

.privacy-content ul,
.privacy-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.privacy-content li {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--font-light);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-2);
}

.privacy-content li strong {
  font-weight: var(--font-semibold);
  color: rgba(255, 255, 255, 0.8);
}

.privacy-content li p {
  margin-top: var(--space-2);
}

.privacy-content li ul {
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
}

.privacy-link {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 200ms ease;
}

.privacy-link:hover {
  color: #ffffff;
}

.privacy-closing {
  font-style: italic;
  color: rgba(255, 255, 255, 0.45);
}


/* ─── 7. Footer ─────────────────────────────────────────────────────── */

.site-footer {
  text-align: center;
  padding: var(--space-6) var(--space-8) var(--space-8);
}

.site-footer .footer-copy {
  margin-top: 0;
}

.site-footer .footer-links {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  margin-top: var(--space-3);
}


/* ─── 7b. Language Switcher ─────────────────────────────────────────── */

.lang-switcher {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.lang-switcher-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

.lang-switcher-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-6) var(--space-2) var(--space-3);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-2) center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lang-switcher-select:hover,
.lang-switcher-select:focus {
  border-color: rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.12);
  outline: none;
}

.lang-switcher-select option {
  background: #1a1a2e;
  color: #fff;
}


/* ─── 8. Responsive — Tablet ─────────────────────────────────────────── */

@media (max-width: 1024px) {
  .slide-panel {
    padding: var(--space-3);
  }

  .hero-main-title {
    font-size: var(--text-5xl);
  }

  .cta-title {
    font-size: var(--text-5xl);
  }

  .site-nav {
    right: var(--space-3);
  }
}


/* ─── 9. Responsive — Mobile (vertical stack) ────────────────────────── */

@media (max-width: 768px) {
  .site-nav {
    position: fixed;
    top: auto;
    bottom: var(--space-4);
    right: 50%;
    transform: translateX(50%);
    flex-direction: row;
    gap: 10px;
  }

  .nav-label {
    display: none;
  }

  .slide-label {
    display: none;
  }

  .horizontal-section {
    overflow: visible;
  }

  .scroll-track {
    flex-direction: column;
  }

  .slide-panel {
    width: 100%;
    height: auto;
    min-height: auto;
    flex: none;
    padding: var(--space-4);
    padding-bottom: var(--space-20);
  }

  .slide-panel .bento-wrapper,
  .slide-panel .impact-wrapper {
    flex: none;
    min-height: 0;
    height: auto;
    opacity: 1;
    transform: none;
  }

  .hero-section {
    min-height: 85vh;
    padding: var(--space-6);
  }

  .hero-main-title {
    font-size: var(--text-4xl);
    max-width: 100%;
  }

  .hero-main-subtitle {
    font-size: var(--text-base);
  }

  .cta-section {
    min-height: 70vh;
    padding: var(--space-6);
  }

  .cta-title {
    font-size: var(--text-4xl);
    max-width: 100%;
  }

  .slide-label {
    top: var(--space-4);
    left: var(--space-4);
  }

  .scroll-hint {
    display: none;
  }

  .support-section {
    padding: var(--space-6) var(--space-4);
    padding-bottom: var(--space-10);
  }

  .support-title {
    font-size: var(--text-3xl);
  }

  .support-card {
    padding: var(--space-6);
  }

  .privacy-section {
    padding: var(--space-6) var(--space-4);
    padding-bottom: var(--space-10);
  }

  .privacy-title {
    font-size: var(--text-3xl);
  }

  .privacy-toggle {
    padding: var(--space-5) var(--space-6);
  }

  .privacy-content {
    padding: 0 var(--space-6) var(--space-6);
  }
}
