/* ============================================================
   5G Bahrain Info - Main Stylesheet
   Theme: Futuristic Tech | Dark + Neon Purple/Blue
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --bg-primary: #050a14;
  --bg-secondary: #080f1e;
  --bg-card: #0a1628;
  --bg-card-hover: #0d1e38;
  --accent-purple: #a855f7;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --neon-purple: #c084fc;
  --neon-blue: #60a5fa;
  --neon-cyan: #22d3ee;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(168, 85, 247, 0.2);
  --border-glow: rgba(168, 85, 247, 0.5);
  --glow-purple: 0 0 20px rgba(168, 85, 247, 0.4), 0 0 40px rgba(168, 85, 247, 0.2);
  --glow-blue: 0 0 20px rgba(59, 130, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.2);
  --glow-cyan: 0 0 20px rgba(6, 182, 212, 0.4), 0 0 40px rgba(6, 182, 212, 0.2);
  --font-display: 'Orbitron', monospace;
  --font-body: 'Inter', sans-serif;
  --nav-height: 70px;
  --transition: all 0.3s ease;
  --radius: 12px;
  --radius-lg: 20px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-purple);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--neon-purple);
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-purple); border-radius: 3px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(5, 10, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: white;
  box-shadow: var(--glow-purple);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.nav-logo-text span {
  color: var(--accent-purple);
}

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

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.12);
}

.nav-links a.active {
  color: var(--accent-purple);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue)) !important;
  color: white !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  box-shadow: var(--glow-purple);
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(5, 10, 20, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px 24px;
  z-index: 999;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile ul a {
  display: block;
  padding: 12px 16px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
  text-decoration: none;
}

.nav-mobile ul a:hover,
.nav-mobile ul a.active {
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.12);
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.page-wrapper {
  padding-top: var(--nav-height);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  position: relative;
  padding: 100px 24px 80px;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(168, 85, 247, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 20% 60%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
  z-index: 0;
}

/* Grid lines overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-purple);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-purple);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

/* Sub-page hero (smaller) */
.hero-sub {
  padding: 70px 24px 60px;
}

.hero-sub h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

/* ============================================================
   HERO ICON (5G Signal)
   ============================================================ */
.hero-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto 0;
}

.signal-icon {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signal-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  animation: ring-pulse 3s infinite;
}

.signal-ring:nth-child(1) {
  width: 200px; height: 200px;
  border-color: rgba(168, 85, 247, 0.15);
  animation-delay: 0s;
}
.signal-ring:nth-child(2) {
  width: 160px; height: 160px;
  border-color: rgba(168, 85, 247, 0.25);
  animation-delay: 0.3s;
}
.signal-ring:nth-child(3) {
  width: 120px; height: 120px;
  border-color: rgba(168, 85, 247, 0.35);
  animation-delay: 0.6s;
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.6; }
}

.signal-core {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-purple), 0 0 60px rgba(168, 85, 247, 0.3);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: white;
  z-index: 1;
  animation: core-float 4s ease-in-out infinite;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  color: white;
  box-shadow: var(--glow-purple);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.6), 0 0 60px rgba(168, 85, 247, 0.3);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.08);
  color: var(--text-primary);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--bg-secondary);
}

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

.container-sm {
  max-width: 820px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue), var(--accent-cyan));
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), var(--glow-purple);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 26px;
}

.card-icon-purple {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: inset 0 0 20px rgba(168, 85, 247, 0.1);
}

.card-icon-blue {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.1);
}

.card-icon-cyan {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  box-shadow: inset 0 0 20px rgba(6, 182, 212, 0.1);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ============================================================
   STAT BOXES
   ============================================================ */
.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.stat-box:hover {
  border-color: var(--border-glow);
  box-shadow: var(--glow-purple);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   INFO BLOCKS (text + icon rows)
   ============================================================ */
.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: var(--transition);
}

.info-list li:hover {
  border-color: rgba(168, 85, 247, 0.4);
  background: var(--bg-card-hover);
}

.info-list-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.info-list-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

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

/* ============================================================
   GENERATION COMPARISON TABLE
   ============================================================ */
.gen-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.gen-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

.gen-table th {
  padding: 16px 20px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  background: rgba(168, 85, 247, 0.05);
}

.gen-table th:first-child { color: var(--accent-purple); }

.gen-table td {
  padding: 16px 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(168, 85, 247, 0.07);
}

.gen-table tr:last-child td { border-bottom: none; }

.gen-table tr:hover td {
  background: rgba(168, 85, 247, 0.04);
}

.gen-table td:first-child {
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.gen-highlight td:first-child {
  color: var(--accent-purple);
}

.gen-highlight td {
  background: rgba(168, 85, 247, 0.06);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--border-glow);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-size: 0.98rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent-purple);
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 6px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  color: var(--accent-purple);
}

.faq-item.open .faq-icon {
  background: var(--accent-purple);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============================================================
   CONTACT FORM & INFO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--accent-purple);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-detail:last-child { margin-bottom: 0; }

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
}

/* Form */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 11px 15px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
  background: rgba(168, 85, 247, 0.05);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

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

.form-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-purple);
}

/* ============================================================
   DISCLAIMER BANNER
   ============================================================ */
.disclaimer-banner {
  background: rgba(168, 85, 247, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 24px 0;
}

.disclaimer-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.disclaimer-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.disclaimer-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 24px 30px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
  text-decoration: none;
}

.footer-col ul a:hover {
  color: var(--accent-purple);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.83rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--accent-purple);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  padding: 60px 24px 50px;
  position: relative;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  z-index: 0;
}

.page-header-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.page-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 600px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover { color: var(--accent-purple); }

.breadcrumb-sep {
  color: var(--text-muted);
  font-size: 11px;
}

.breadcrumb-current {
  color: var(--accent-purple);
}

/* ============================================================
   TECH SPECS (progress bars)
   ============================================================ */
.spec-bar-wrap {
  margin-bottom: 20px;
}

.spec-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.spec-bar-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.spec-bar-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-purple);
  font-family: var(--font-display);
}

.spec-bar-track {
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.spec-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
  transition: width 1s ease;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-purple), var(--accent-blue), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: var(--glow-purple);
  border: 2px solid var(--bg-primary);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-purple);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   PROSE CONTENT (long-form pages)
   ============================================================ */
.prose {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 12px;
}

.prose p {
  margin-bottom: 18px;
}

.prose ul, .prose ol {
  margin: 16px 0 20px 24px;
}

.prose li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.prose a {
  color: var(--accent-purple);
  text-decoration: underline;
  text-decoration-color: rgba(168, 85, 247, 0.3);
}

/* ============================================================
   MAP PLACEHOLDER
   ============================================================ */
.map-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 40% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
}

.map-icon { font-size: 36px; }

/* ============================================================
   ALERT / NOTICE BOX
   ============================================================ */
.notice-box {
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.notice-box-purple {
  background: rgba(168, 85, 247, 0.06);
  border-color: rgba(168, 85, 247, 0.2);
}

.notice-icon { font-size: 22px; flex-shrink: 0; }

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

.notice-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-ring-wrap {
  position: relative;
  width: 260px;
  height: 260px;
}

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-toc {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.privacy-toc h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.privacy-toc ol {
  margin-left: 20px;
}

.privacy-toc li {
  margin-bottom: 8px;
}

.privacy-toc a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.privacy-toc a:hover {
  color: var(--accent-purple);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
  }

  .about-visual { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero { padding: 80px 24px 60px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .section { padding: 60px 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .btn-group { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .gen-table th, .gen-table td { padding: 12px 14px; font-size: 0.85rem; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fadeInUp {
  animation: fadeInUp 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-purple { color: var(--accent-purple); }
.text-blue { color: var(--accent-blue); }
.text-cyan { color: var(--accent-cyan); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none !important; }