/* ========================================
   BilingualBulletin™ Website Stylesheet
   Based on app icon color scheme:
   - Deep Navy: #0A1E3D
   - Electric Cyan: #00D4FF
   - Golden Yellow: #FFB800
   ======================================== */

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
               'Helvetica Neue', Arial, sans-serif;
  background: #0A1E3D;
  color: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* ========================================
   2. TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}

h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }

p {
  font-size: 16px;
  line-height: 1.6;
  color: #B8D4E8;
}

a {
  color: #40C4FF;
  text-decoration: none;
  transition: all 0.3s;
}

a:hover {
  color: #00D4FF;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

a:focus {
  outline: 2px solid #00D4FF;
  outline-offset: 4px;
}

/* Mobile typography */
@media (max-width: 767px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 18px; }
}

/* ========================================
   3. LAYOUT UTILITIES
   ======================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

/* ========================================
   4. NAVIGATION
   ======================================== */

.nav-desktop {
  position: sticky;
  top: 0;
  background: rgba(10, 30, 61, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  padding: 20px 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.logo a:hover {
  color: #00D4FF;
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: #B8D4E8;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  font-size: 16px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00D4FF;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
  transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #00D4FF;
}

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

/* Download icon button in nav */
.nav-cta {
  background: linear-gradient(135deg, #00D4FF 0%, #1E9FFF 100%);
  color: #0A1E3D;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}

.nav-cta::after {
  display: none; /* Remove underline */
}

.nav-cta svg {
  stroke: #0A1E3D;
  transition: transform 0.3s;
  width: 22px;
  height: 22px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
}

.nav-cta:hover svg {
  transform: translateY(2px);
}

/* Ensure nav links have proper touch targets */
.nav-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 0;
}

@media (max-width: 767px) {
  .nav-container {
    padding: 0 20px;
  }

  .nav-links {
    gap: 20px;
    font-size: 14px;
  }
}

/* ========================================
   5. HERO SECTION
   ======================================== */

.hero {
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(180deg, #0A1E3D 0%, #0D2847 50%, #0A1E3D 100%);
  position: relative;
  overflow: hidden;
}

/* Animated background glow */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 184, 0, 0.05) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
  z-index: 0;
}

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


/* App Icon Globe - Circular PNG + CSS Edge Fade */
.globe-wrapper {
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.globe {
  width: 100%;
  height: 100%;
  display: block;
  /* No mask-image needed! PNG (globe-circular-final.png) already has circular transparency */
}

/* PNG is now color-corrected - no overlay needed! */
.globe-wrapper::after {
  /* Disabled - PNG background now matches page color #0D2847 */
  display: none;
}

/* Brand text below globe */
.hero-brand-text {
  font-size: 20px;
  font-weight: 600;
  color: #B8D4E8;
  margin: 0 0 24px;
  letter-spacing: 0.5px;
}

@keyframes node-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.8;
  }
}

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

/* Hero Text Styles */
.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  color: #B8D4E8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-subtitle strong {
  color: #00D4FF;
  font-weight: 600;
}

/* Language Selector Preview */

/* ========================================
   5A. STATS BAR
   ======================================== */

.stats-bar {
  padding: 60px 20px;
  background: rgba(13, 40, 71, 0.4);
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 40px;
}

@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, #00D4FF 0%, #FFB800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.stat-label {
  font-size: 14px;
  color: #B8D4E8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 767px) {
  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    font-size: 11px;
  }
}

/* Stat with topics underneath */
/* Topic chips grid - below stats, centered */
.topics-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0 20px;
}

.topic-chip {
  background: rgba(13, 40, 71, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 16px;
  padding: 4px 10px;
  font-size: 10px;
  color: #B8D4E8;
  white-space: nowrap;
}

/* ========================================
   5B. LANGUAGE STRIP (in hero section)
   ======================================== */

/* Language strip in hero */
.hero-languages {
  margin-top: 50px;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hero-languages::-webkit-scrollbar {
  display: none;
}

.hero-languages:active {
  cursor: grabbing;
}

.languages-container {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  animation: scroll-languages 40s linear infinite;
  will-change: transform;
}

.hero-languages:hover .languages-container,
.hero-languages:active .languages-container {
  animation-play-state: paused;
}

@keyframes scroll-languages {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.language-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(13, 40, 71, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 24px;
  padding: 10px 20px;
  transition: all 0.3s;
  min-height: 44px;
}

.language-badge:hover {
  border-color: #00D4FF;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
}

.lang-flag {
  font-size: 24px;
  line-height: 1;
}

.lang-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: nowrap;
}

.lang-native {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1;
}

.lang-english {
  font-size: 11px;
  color: #7A9FBF;
  line-height: 1;
}

.language-badge.more {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 184, 0, 0.1) 100%);
  border-color: rgba(255, 184, 0, 0.3);
}

.lang-more {
  font-size: 14px;
  font-weight: 600;
  color: #FFB800;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, #00D4FF 0%, #1E9FFF 100%);
  color: #0A1E3D;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow:
    0 4px 16px rgba(0, 212, 255, 0.3),
    0 0 20px rgba(0, 212, 255, 0.2);
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 24px rgba(0, 212, 255, 0.5),
    0 0 40px rgba(0, 212, 255, 0.4);
  color: #0A1E3D;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: linear-gradient(135deg, #FFB800 0%, #FFC107 100%);
  color: #0A1E3D;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow:
    0 4px 16px rgba(255, 184, 0, 0.3),
    0 0 20px rgba(255, 184, 0, 0.2);
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 24px rgba(255, 184, 0, 0.5),
    0 0 40px rgba(255, 184, 0, 0.4);
  color: #0A1E3D;
}

.btn-secondary:active {
  transform: translateY(0);
}

/* ========================================
   7. FEATURES SECTION
   ======================================== */

.features {
  padding: 60px 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

.feature-card {
  background: rgba(13, 40, 71, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  padding: 24px 20px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

/* Glow effect on hover */
.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(0, 212, 255, 0.15) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px) rotate(1deg);
  border-color: #00D4FF;
  box-shadow:
    0 8px 24px rgba(0, 212, 255, 0.2),
    0 0 40px rgba(0, 212, 255, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

/* Feature header with icon and title inline */
.feature-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-icon {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.feature-description {
  font-size: 14px;
  color: #B8D4E8;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Fade-in animation */
.fade-in-glow {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-glow.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for feature cards */
.feature-card:nth-child(1) {
  transition-delay: 0s;
}

.feature-card:nth-child(2) {
  transition-delay: 0.1s;
}

.feature-card:nth-child(3) {
  transition-delay: 0.2s;
}

.feature-card:nth-child(4) {
  transition-delay: 0.3s;
}

/* ========================================
   8. HOW IT WORKS SECTION
   ======================================== */

.how-it-works {
  padding: 60px 20px;
}

.section-divider {
  text-align: center;
  margin: 80px 0 40px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.divider-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    #00D4FF 50%,
    transparent 100%
  );
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00D4FF 0%, #1E9FFF 100%);
  color: #0A1E3D;
  font-size: 32px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.step h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.step p {
  font-size: 14px;
  color: #B8D4E8;
}

/* ========================================
   9. CTA SECTIONS
   ======================================== */

.cta {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(180deg,
    rgba(10, 30, 61, 0) 0%,
    rgba(0, 212, 255, 0.05) 100%
  );
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 32px;
}

.cta-note {
  margin-top: 16px;
  font-size: 14px;
  color: #7A9FBF;
}

.cta-secondary {
  background: linear-gradient(180deg,
    rgba(0, 212, 255, 0.03) 0%,
    rgba(10, 30, 61, 0) 100%
  );
  padding: 60px 20px;
}

@media (max-width: 767px) {
  .cta {
    padding: 60px 20px;
  }

  .cta h2 {
    font-size: 28px;
  }
}

/* ========================================
   9A. FAQ SECTION
   ======================================== */

.faq {
  padding: 80px 20px;
  background: rgba(13, 40, 71, 0.2);
}

.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  background: rgba(13, 40, 71, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: rgba(0, 212, 255, 0.4);
}

.faq-item.active {
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.2);
  background: rgba(13, 40, 71, 0.8);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  transition: all 0.3s;
  min-height: 44px;
  position: relative;
}

.faq-question:hover {
  color: #00D4FF;
}

.faq-item.active .faq-question {
  padding-bottom: 12px;
}

.faq-icon {
  font-size: 24px;
  color: #00D4FF;
  transition: transform 0.3s;
  line-height: 1;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  border-top: none;
}

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

.faq-answer p {
  padding: 0 24px 20px;
  color: #B8D4E8;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.faq-answer p:first-child {
  padding-top: 8px;
}

.faq-answer p:last-child {
  padding-bottom: 20px;
}

.faq-answer p + p {
  padding-top: 0;
  margin-top: 8px;
}

@media (max-width: 767px) {
  .faq-question {
    font-size: 15px;
    padding: 16px 20px;
  }

  .faq-answer p {
    padding: 0 20px 16px;
  }
}

/* ========================================
   10. FOOTER
   ======================================== */

.footer {
  background: rgba(10, 30, 61, 0.8);
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  padding: 50px 20px 30px;
  text-align: center;
  margin-top: 80px;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-brand {
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-nav-link {
  color: #B8D4E8;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
}

.footer-nav-link:hover {
  color: #00D4FF;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-legal-link {
  color: #7A9FBF;
  font-size: 12px;
  transition: color 0.3s;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
}

.footer-legal-link:hover {
  color: #B8D4E8;
}


.footer-email {
  color: #40C4FF;
  font-size: 14px;
  margin-bottom: 20px;
  display: block;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
}

.footer-email:hover {
  color: #00D4FF;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.footer-copyright {
  color: #7A9FBF;
  font-size: 12px;
  margin-top: 16px;
}

/* ========================================
   10A. SCROLL TO TOP BUTTON
   ======================================== */

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00D4FF 0%, #1E9FFF 100%);
  border: none;
  color: #0A1E3D;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.4);
  z-index: 999;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0, 212, 255, 0.6);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

/* ========================================
   11. LEGAL DOCUMENTS
   ======================================== */

.legal-doc {
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-doc h1 {
  font-size: 36px;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.last-updated {
  color: #7A9FBF;
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-content {
  color: #B8D4E8;
}

.legal-content h2 {
  font-size: 24px;
  color: #FFFFFF;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 18px;
  color: #FFFFFF;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: #B8D4E8;
}

.legal-content ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 8px;
  color: #B8D4E8;
}

.legal-content a {
  color: #40C4FF;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}

.legal-content a:hover {
  color: #00D4FF;
  border-bottom-color: #00D4FF;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.legal-content strong {
  color: #FFFFFF;
}

/* Network divider for legal sections */
.divider-network {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 212, 255, 0.3) 20%,
    rgba(0, 212, 255, 0.6) 50%,
    rgba(0, 212, 255, 0.3) 80%,
    transparent 100%
  );
  margin: 40px 0;
  position: relative;
}

/* Glowing nodes on divider line */
.divider-network::before,
.divider-network::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: #00D4FF;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.8);
  top: 50%;
  transform: translateY(-50%);
}

.divider-network::before {
  left: 25%;
}

.divider-network::after {
  right: 25%;
}

/* ========================================
   12. BACKGROUND NETWORK PATTERN
   ======================================== */

.network-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.3;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.4) 2px, transparent 2px),
    radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.4) 2px, transparent 2px),
    radial-gradient(circle at 40% 70%, rgba(255, 184, 0, 0.4) 2px, transparent 2px),
    radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.4) 2px, transparent 2px);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* ========================================
   13. ACCESSIBILITY
   ======================================== */

/* Focus states */
button:focus,
a:focus {
  outline: 2px solid #00D4FF;
  outline-offset: 4px;
}

/* Skip link for screen readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #00D4FF;
  color: #0A1E3D;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .globe {
    animation: none;
  }

  .globe-node {
    animation: none;
  }
}

/* ========================================
   14. PRINT STYLES
   ======================================== */

@media print {
  .nav-desktop,
  .footer,
  .btn-primary,
  .btn-secondary {
    display: none;
  }

  body {
    background: #FFFFFF;
    color: #000000;
  }

  .legal-content {
    color: #000000;
  }
}

/* ========================================
   TWEMOJI EMOJI SUPPORT
   Ensures emojis (especially flags) render correctly on all platforms
   ======================================== */

img.emoji {
  height: 1em;
  width: 1em;
  margin: 0 0.05em 0 0.1em;
  vertical-align: -0.1em;
  display: inline-block;
}

/* Larger emojis in language badges */
.lang-flag img.emoji {
  height: 1.2em;
  width: 1.2em;
  vertical-align: middle;
}

/* Feature card emojis */
.feature-icon img.emoji {
  height: 2em;
  width: 2em;
}
