/* ==========================================================================
   EdgeLab Pro (edgelab.pro) — Apple-Inspired Dark Aesthetics
   ========================================================================== */

:root {
  --font-main: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Monaco, Consolas, monospace;

  /* Color Palette */
  --bg-black: #050507;
  --bg-card: rgba(18, 20, 28, 0.65);
  --bg-card-hover: rgba(26, 29, 41, 0.78);
  --bg-surface: #0d0f17;
  --bg-glass: rgba(13, 15, 23, 0.7);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.18);
  --border-active: rgba(56, 189, 248, 0.45);

  /* Typography Colors */
  --text-primary: #f5f5f7;
  --text-secondary: #9ea3b0;
  --text-muted: #646876;
  --text-dim: #444855;

  /* Accents */
  --accent-cyan: #38bdf8;
  --accent-cyan-glow: rgba(56, 189, 248, 0.25);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.22);
  --accent-violet: #818cf8;
  --accent-gold: #fbbf24;
  --danger: #f87171;

  /* Shadows & Blurs */
  --shadow-card: 0 16px 40px -12px rgba(0, 0, 0, 0.65);
  --shadow-card-hover: 0 24px 60px -12px rgba(0, 0, 0, 0.85);
  --blur-glass: 24px;

  /* Layout */
  --container-max: 1200px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-black);
  color: var(--text-primary);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-black);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Ambient Background Lights (Apple glow) */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-top {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 80%);
}

.glow-right {
  top: 600px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.12) 0%, transparent 70%);
}

.glow-left {
  top: 1400px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

/* Announcement Bar */
.announcement-bar {
  background: rgba(13, 15, 23, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  padding: 8px 0;
  font-size: 0.825rem;
  font-weight: 500;
  position: relative;
  z-index: 100;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  display: inline-block;
}

.status-dot.pulse {
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.announcement-text {
  color: var(--text-secondary);
}

.announcement-link {
  color: var(--accent-cyan);
  font-weight: 600;
  margin-left: 4px;
}

.announcement-link:hover {
  text-decoration: underline;
  color: #fff;
}

/* Header & Navigation (Floating Island Capsule style) */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 90;
  max-width: 1100px;
  margin: 14px auto 0;
  border-radius: var(--radius-full);
  background: rgba(12, 14, 22, 0.82);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 36px -10px rgba(0, 0, 0, 0.7);
  padding: 8px 16px;
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition-smooth);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.3);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-smooth);
}

.brand-logo:hover .logo-mark {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px var(--accent-cyan-glow);
}

.logo-svg {
  width: 20px;
  height: 20px;
}

.brand-name {
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  margin-left: 6px;
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.brand-domain {
  color: var(--accent-cyan);
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 6px 0;
  position: relative;
}

.nav-link:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switch-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 600;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 4px;
  transition: var(--transition-smooth);
}

.lang-btn.active {
  color: #fff;
  font-weight: 700;
}

.lang-btn:hover:not(.active) {
  color: var(--text-secondary);
}

.lang-sep {
  color: var(--text-dim);
  margin: 0 2px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, background-color 0.2s ease;
  transform-origin: center;
}

.mobile-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.12);
}

.mobile-toggle[aria-expanded="true"] .bar:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .bar:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Button Component System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  outline: none;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.84rem;
}

.btn-primary {
  background: #ffffff;
  color: #050507;
  border-color: #ffffff;
}

.btn-primary:hover {
  background: #eaeaea;
  transform: translateY(-1px);
}

.btn-glow {
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
}

.btn-glow:hover {
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-highlight);
  color: #fff;
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

/* Apple Card System */
.apple-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.apple-card:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

/* Sections Common */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.6;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-container {
  max-width: 960px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(180deg, #FFFFFF 20%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 70px;
  flex-wrap: wrap;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}

.stat-card {
  background: rgba(18, 20, 28, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: var(--border-highlight);
  background: rgba(26, 29, 41, 0.7);
  transform: translateY(-2px);
}

.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.stat-value {
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  font-family: var(--font-mono);
  margin-bottom: 6px;
  line-height: 1.1;
}

.stat-period {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-weight: 500;
}

.highlight-emerald {
  color: var(--accent-emerald) !important;
}

.highlight-cyan {
  color: var(--accent-cyan) !important;
}

.highlight-silver {
  color: #e2e8f0;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Markets Section
   ========================================================================== */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.market-card {
  padding: 36px 32px;
}

.card-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--border-subtle);
}

.card-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.icon-forex { background: rgba(56, 189, 248, 0.1); color: var(--accent-cyan); border-color: rgba(56, 189, 248, 0.2); }
.icon-indices { background: rgba(16, 185, 129, 0.1); color: var(--accent-emerald); border-color: rgba(16, 185, 129, 0.2); }
.icon-metals { background: rgba(251, 191, 36, 0.1); color: var(--accent-gold); border-color: rgba(251, 191, 36, 0.2); }
.icon-stocks { background: rgba(129, 140, 248, 0.1); color: var(--accent-violet); border-color: rgba(129, 140, 248, 0.2); }

.market-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.market-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.market-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.market-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-tag {
  font-size: 0.76rem;
  font-family: var(--font-mono);
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* ==========================================================================
   Verification Section & Timeline
   ========================================================================== */
.verification-banner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px;
}

.banner-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.banner-title {
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 18px;
}

.banner-lead {
  color: var(--text-secondary);
  font-size: 1.12rem;
  line-height: 1.7;
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline-track {
  position: absolute;
  top: 15px;
  bottom: 30px;
  left: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-emerald) 0%, var(--accent-cyan) 40%, rgba(255, 255, 255, 0.1) 80%);
}

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

.step-marker {
  position: absolute;
  left: -40px;
  top: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.step-complete .step-marker {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #050507;
}

.step-complete .step-marker svg {
  width: 14px;
  height: 14px;
}

.step-active .step-marker {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.15);
}

.marker-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.step-upcoming .step-marker {
  border-color: rgba(255, 255, 255, 0.15);
  background: #0d0f17;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  transition: var(--transition-smooth);
}

.active-card {
  border-color: var(--border-active);
  background: rgba(20, 24, 38, 0.7);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.1);
}

.step-status {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.active-status {
  color: var(--accent-cyan);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ==========================================================================
   Simulator Section (Performance Visualizer)
   ========================================================================== */
.simulator-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 44px;
}

.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sim-control-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sim-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.sim-val {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #fff;
}

/* Apple Style Custom Range Slider */
.apple-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.apple-range:hover {
  background: rgba(255, 255, 255, 0.2);
}

.apple-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #0d0f17;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  cursor: grab;
  transition: transform 0.1s ease;
}

.apple-range::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.15);
}

.range-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Simulator Results Panel */
.simulator-results {
  background: rgba(10, 12, 18, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.res-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.res-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.result-number-block {
  text-align: center;
  margin-bottom: 28px;
}

.res-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.res-amount {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 6px;
}

.res-delta {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-emerald);
  font-family: var(--font-mono);
}

.sim-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.sim-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.detail-val {
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: #fff;
}

.sim-disclaimer {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   Cooperation Section
   ========================================================================== */
.coop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.coop-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.featured-card {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(22, 26, 38, 0.8);
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.08);
}

.coop-status-pill {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.coop-status-pill.upcoming {
  background: rgba(251, 191, 36, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.coop-status-pill.available {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.coop-icon {
  width: 44px;
  height: 44px;
  color: #fff;
  margin-bottom: 18px;
}

.coop-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.coop-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 24px;
}

.coop-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.coop-features li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}

.coop-features li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  padding: 24px 28px;
  cursor: pointer;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-secondary);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-cyan);
}

.faq-answer {
  padding-top: 14px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.text-accent {
  color: var(--accent-cyan);
  text-decoration: underline;
}

/* ==========================================================================
   Contact Section & Anti-Spam Form
   ========================================================================== */
.contact-box {
  max-width: 840px;
  margin: 0 auto;
  padding: 50px 48px;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 12px;
}

.contact-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.full-width {
  grid-column: 1 / -1;
}

.field-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.field-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.95rem;
  color: #fff;
  outline: none;
  transition: var(--transition-smooth);
}

.field-input::placeholder {
  color: var(--text-dim);
}

.field-input:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px var(--accent-cyan-glow);
}

/* Modern :user-valid and :user-invalid form states */
.field-input:user-valid {
  border-color: rgba(16, 185, 129, 0.5);
}

.field-input:user-invalid {
  border-color: rgba(248, 113, 113, 0.7);
}

/* Apple Dark Style Glass Chip Selector for Inquiry Subject */
.subject-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.chip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
  outline: none;
  position: relative;
}

.chip-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-highlight);
  color: #fff;
  transform: translateY(-1px);
}

.chip-item.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.14) 0%, rgba(16, 185, 129, 0.08) 100%);
  border-color: var(--accent-cyan);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.22), inset 0 0 14px rgba(56, 189, 248, 0.08);
}

.chip-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.chip-item:hover .chip-radio {
  border-color: var(--text-secondary);
}

.chip-item.active .chip-radio {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.chip-item.active .chip-radio::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #050507;
}

@media (max-width: 640px) {
  .subject-chips {
    grid-template-columns: 1fr;
  }
}

.field-textarea {
  resize: vertical;
  min-height: 110px;
}

.field-error {
  display: none;
  font-size: 0.75rem;
  color: var(--danger);
}

.field-invalid .field-error {
  display: block;
}

/* Anti-Spam Captcha Box */
.captcha-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.captcha-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.captcha-question {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.captcha-problem {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  margin: 0 4px;
}

.captcha-input-wrap {
  width: 90px;
}

.captcha-input {
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 8px;
}

/* Form Actions & Spinner */
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn-submit {
  min-width: 230px;
  position: relative;
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-submit.loading .btn-text {
  visibility: hidden;
}

.btn-submit.loading .btn-spinner {
  display: block;
  position: absolute;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-footnote {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.security-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-alert.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  color: #fff;
}

.form-alert.error {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid var(--danger);
  color: #fff;
}

/* ==========================================================================
   Modal Dialog
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  max-width: 460px;
  width: 100%;
  padding: 40px 32px;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-backdrop.open .modal-card {
  transform: scale(1);
}

.modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-icon svg {
  width: 32px;
  height: 32px;
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.modal-actions {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #020204;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand .brand-name {
  font-size: 1.3rem;
  margin-left: 8px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 14px;
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

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

.footer-col a:hover {
  color: #fff;
}

.footer-tech-item {
  color: var(--text-secondary);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-tech-item::before {
  content: "•";
  color: var(--accent-cyan);
}

.footer-domain-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  width: fit-content;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.risk-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-credits {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .simulator-wrapper {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

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

  .announcement-bar {
    font-size: 0.76rem;
    padding: 6px 14px;
  }

  .announcement-inner {
    gap: 6px;
  }

  .hero-section {
    padding: 48px 0 40px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 7vw, 2.6rem);
    letter-spacing: -0.03em;
  }

  .hero-subtitle {
    font-size: 1.02rem;
    margin-bottom: 30px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 50px;
  }

  .hero-cta-group .btn {
    width: 100%;
    min-height: 48px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    padding: 18px 16px;
  }

  .stat-value {
    font-size: 1.6rem;
  }

  .section {
    padding: 65px 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .markets-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .market-card {
    padding: 26px 20px;
  }

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

  .contact-box {
    padding: 32px 18px;
    border-radius: var(--radius-md);
  }

  .contact-title {
    font-size: 1.75rem;
  }

  /* Prevent iOS Safari auto-zoom by enforcing >= 16px on inputs */
  .field-input,
  .field-textarea,
  .captcha-input {
    font-size: 16px !important;
  }

  .site-header {
    margin: 8px 12px 0;
    padding: 6px 12px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--header-height) + 14px);
    left: 12px;
    right: 12px;
    background: rgba(12, 14, 22, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 20px 24px;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
    display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    animation: menuSlideDown 0.22s ease-out forwards;
  }

  @keyframes menuSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu .nav-link {
    font-size: 1.05rem;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-menu .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }

  .header-cta {
    display: none;
  }

  .apple-range {
    touch-action: pan-y;
  }

  .simulator-wrapper {
    padding: 24px 18px;
  }

  .simulator-results {
    padding: 24px 18px;
  }
}

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

  .res-amount {
    font-size: 2.2rem;
  }

  .sim-details-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .timeline-container {
    padding-left: 28px;
  }

  .step-marker {
    left: -28px;
    width: 22px;
    height: 22px;
  }

  .step-card {
    padding: 18px 16px;
  }

  .btn-submit {
    width: 100%;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .captcha-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .captcha-input-wrap {
    width: 100%;
  }

  .captcha-input {
    width: 100%;
  }

  .footer-links-group {
    flex-direction: column;
    gap: 30px;
  }
}

/* ==========================================================================
   Geo-Blocked Screen (Apple Dark Aesthetics)
   ========================================================================== */
.geo-blocked-screen {
  position: fixed;
  inset: 0;
  background: #050507;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.geo-blocked-card {
  max-width: 520px;
  width: 100%;
  background: rgba(18, 20, 28, 0.95);
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  box-shadow: 0 0 50px rgba(248, 113, 113, 0.18);
  backdrop-filter: blur(24px);
}

.geo-blocked-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.geo-blocked-icon svg {
  width: 30px;
  height: 30px;
}

.geo-blocked-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f87171;
  background: rgba(248, 113, 113, 0.12);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.geo-blocked-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.geo-blocked-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.geo-blocked-subtext {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

.geo-blocked-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  font-size: 0.78rem;
  color: var(--text-dim);
}
