/* ============================================
   AFGCoin Wallet — style.css
   Dark theme · Gold accents · Glassmorphism
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg-dark: #0D0C09;
  --bg-mid: #13100A;
  --bg-light: #1E150C;
  --card-bg: #1E1C14;
  --card-border: #2E2A1E;
  --gold: #F1DD54;
  --gold-dim: #C4B545;
  --gold-glow: rgba(241, 221, 84, 0.25);
  --white: #FDFCFD;
  --grey: #8A8575;
  --grey-light: #B0A990;
  --font: 'DM Sans', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ---------- Utilities ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  padding: 6px 16px;
  background: rgba(241, 221, 84, 0.08);
  border: 1px solid rgba(241, 221, 84, 0.15);
  border-radius: 100px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--grey);
  max-width: 600px;
  margin-bottom: 48px;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.gold { color: var(--gold); }
.hidden { display: none !important; }

/* ---------- Page Loader ---------- */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-pulse {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  animation: loaderPulse 1s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* ---------- Header / Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(13, 12, 9, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 1px 0 rgba(241, 221, 84, 0.08);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
}
.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--grey);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 10px 24px;
  background: var(--gold);
  color: var(--bg-dark) !important;
  font-weight: 600;
  border-radius: 100px;
  font-size: 0.9rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow);
  color: var(--bg-dark) !important;
}
.nav-cta::after { display: none !important; }

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: rgba(13, 12, 9, 0.98);
    backdrop-filter: blur(20px);
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right var(--transition);
    border-left: 1px solid var(--card-border);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.05rem; }
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 50%, var(--bg-light) 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(241, 221, 84, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(241, 221, 84, 0.08);
  border: 1px solid rgba(241, 221, 84, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: linear-gradient(90deg, var(--gold), #E8C547);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.1rem;
  color: var(--grey);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg-dark);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow);
  color: var(--bg-dark);
}
.btn-secondary {
  background: rgba(241, 221, 84, 0.08);
  color: var(--gold);
  border: 1px solid rgba(241, 221, 84, 0.2);
}
.btn-secondary:hover {
  background: rgba(241, 221, 84, 0.15);
  transform: translateY(-2px);
  color: var(--gold);
}
.btn svg { width: 20px; height: 20px; }

/* Hero Phone Mockup */
.hero-visual { position: relative; display: flex; justify-content: center; z-index: 2; }
.phone-mockup {
  position: relative;
  width: 280px;
  animation: float 6s ease-in-out infinite;
}
.phone-frame {
  width: 100%;
  background: #111;
  border-radius: 36px;
  border: 3px solid #2E2A1E;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(241,221,84,0.08);
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #111;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}
.phone-screen {
  background: linear-gradient(180deg, #0D0C09, #1E150C);
  padding: 44px 20px 24px;
  min-height: 520px;
}
.phone-header {
  text-align: center;
  margin-bottom: 24px;
}
.phone-header .wallet-label {
  font-size: 0.7rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.phone-header .wallet-balance {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 4px;
}
.phone-header .wallet-change {
  font-size: 0.75rem;
  color: var(--gold);
  margin-top: 2px;
}
.phone-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
.phone-action {
  text-align: center;
}
.phone-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(241, 221, 84, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
}
.phone-action-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 2; }
.phone-action span { font-size: 0.65rem; color: var(--grey); }
.phone-tokens { display: flex; flex-direction: column; gap: 10px; }
.phone-token {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(30, 28, 20, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(46, 42, 30, 0.5);
}
.phone-token-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.65rem;
  flex-shrink: 0;
}
.phone-token-icon.bnb { background: linear-gradient(135deg, #F3BA2F, #E8A817); color: #000; }
.phone-token-icon.afgc { background: linear-gradient(135deg, var(--gold), #C4A832); color: #000; }
.phone-token-icon.usdt { background: linear-gradient(135deg, #50AF95, #3D8B75); color: #fff; }
.phone-token-icon.usdc { background: linear-gradient(135deg, #8A8575, #6B6356); color: #fff; }
.phone-token-info { flex: 1; }
.phone-token-name { font-size: 0.8rem; font-weight: 600; }
.phone-token-amount { font-size: 0.65rem; color: var(--grey); }
.phone-token-value { text-align: right; }
.phone-token-usd { font-size: 0.8rem; font-weight: 600; }
.phone-token-pct { font-size: 0.65rem; color: var(--gold); }

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

.hero-glow-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 221, 84, 0.1), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-glow-orb.orb-1 { top: -50px; right: -50px; }
.hero-glow-orb.orb-2 { bottom: -80px; left: -80px; }

@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .phone-mockup { width: 240px; }
}

/* ---------- Particles Canvas ---------- */
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Features Section ---------- */
.features { background: var(--bg-mid); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 221, 84, 0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(241, 221, 84, 0.08);
  border: 1px solid rgba(241, 221, 84, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.6;
}

@media (max-width: 992px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------- Supported Tokens ---------- */
.tokens { background: linear-gradient(180deg, var(--bg-mid), var(--bg-dark)); }
.tokens-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.token-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 40px;
  text-align: center;
  transition: all var(--transition);
  min-width: 160px;
}
.token-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 221, 84, 0.2);
}
.token-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.token-icon.bnb { background: linear-gradient(135deg, #F3BA2F, #E8A817); color: #000; }
.token-icon.afgc { background: linear-gradient(135deg, var(--gold), #C4A832); color: #000; }
.token-icon.usdt { background: linear-gradient(135deg, #50AF95, #3D8B75); color: #fff; }
.token-icon.usdc { background: linear-gradient(135deg, #8A8575, #6B6356); color: #fff; }
.token-card h4 { font-size: 1rem; margin-bottom: 4px; }
.token-card p { font-size: 0.8rem; color: var(--grey); }
.tokens-note {
  text-align: center;
  color: var(--grey);
  font-size: 0.9rem;
  margin-top: 16px;
}

/* ---------- How It Works ---------- */
.how-it-works { background: var(--bg-dark); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-border), transparent);
}
.step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}
.step-number svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--grey); }

@media (max-width: 576px) {
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .steps::before { display: none; }
}

/* ---------- Stats Section ---------- */
.stats {
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-mid));
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.stat-label { font-size: 0.9rem; color: var(--grey); }

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

/* ---------- Download CTA ---------- */
.download-cta {
  background: linear-gradient(180deg, var(--bg-mid), var(--bg-dark));
  text-align: center;
}
.download-cta-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}
.download-cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.download-cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.download-cta p {
  color: var(--grey);
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--card-border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--grey);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 300px;
  line-height: 1.6;
}
.footer h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--white);
}
.footer-links a {
  display: block;
  color: var(--grey);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--gold);
  background: rgba(241, 221, 84, 0.08);
}
.footer-social svg { width: 16px; height: 16px; fill: var(--grey); }
.footer-social a:hover svg { fill: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--grey); }
.footer-bottom a { color: var(--grey); font-size: 0.8rem; }

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

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--bg-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 20px var(--gold-glow);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30, 28, 20, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--card-border);
  padding: 20px 24px;
  z-index: 9999;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: 0.85rem; color: var(--grey); max-width: 700px; }
.cookie-inner a { color: var(--gold); }
.cookie-buttons { display: flex; gap: 12px; }
.cookie-btn {
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.cookie-accept { background: var(--gold); color: var(--bg-dark); }
.cookie-accept:hover { box-shadow: 0 4px 20px var(--gold-glow); }
.cookie-decline { background: transparent; color: var(--grey); border: 1px solid var(--card-border); }
.cookie-decline:hover { border-color: var(--grey); color: var(--white); }

/* ---------- Page Headers (for inner pages) ---------- */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-mid));
  text-align: center;
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-border), transparent);
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.page-header p { color: var(--grey); font-size: 1.05rem; }

/* ---------- Content Pages (Privacy, Terms) ---------- */
.content-page {
  background: var(--bg-mid);
  padding: 80px 0;
}
.content-page .container { max-width: 800px; }
.content-page h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--gold);
}
.content-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}
.content-page p {
  color: var(--grey-light);
  margin-bottom: 16px;
  line-height: 1.8;
}
.content-page ul {
  margin-bottom: 16px;
  padding-left: 24px;
}
.content-page ul li {
  color: var(--grey-light);
  line-height: 1.8;
  position: relative;
  padding-left: 16px;
}
.content-page ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.content-page a { color: var(--gold); }
.content-page strong { color: var(--white); font-weight: 600; }

/* ---------- Forms ---------- */
.form-page { background: var(--bg-mid); padding: 80px 0; }
.form-page .container { max-width: 720px; }
.form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}
.form-group label .required { color: var(--gold); }
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(13, 12, 9, 0.6);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input::placeholder { color: var(--grey); }
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(241, 221, 84, 0.1);
}
.form-input.error { border-color: #E74C3C; }
.form-error {
  font-size: 0.78rem;
  color: #E74C3C;
  margin-top: 6px;
  display: none;
}
.form-error.show { display: block; }
textarea.form-input { min-height: 140px; resize: vertical; }
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8575' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
select.form-input option { background: var(--card-bg); color: var(--white); }

/* Checkbox Group */
.checkbox-group { display: flex; flex-wrap: wrap; gap: 12px; }
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(13, 12, 9, 0.6);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--grey-light);
  transition: all var(--transition);
}
.checkbox-label:hover { border-color: var(--gold); }
.checkbox-label input { display: none; }
.checkbox-label input:checked + span { color: var(--gold); }
.checkbox-label:has(input:checked) {
  border-color: var(--gold);
  background: rgba(241, 221, 84, 0.06);
}
.checkbox-mark {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--card-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.checkbox-label input:checked ~ .checkbox-mark {
  background: var(--gold);
  border-color: var(--gold);
}
.checkbox-label input:checked ~ .checkbox-mark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid var(--bg-dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* File input */
.file-input-wrapper {
  position: relative;
  border: 2px dashed var(--card-border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.file-input-wrapper:hover { border-color: var(--gold); }
.file-input-wrapper input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file-input-text { color: var(--grey); font-size: 0.85rem; }
.file-input-text strong { color: var(--gold); }
.file-name { margin-top: 8px; font-size: 0.8rem; color: var(--gold); display: none; }

/* Submit button */
.btn-submit {
  width: 100%;
  padding: 16px 32px;
  background: var(--gold);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.btn-submit .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: var(--bg-dark);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: none;
}
.btn-submit.loading .spinner { display: block; }
.btn-submit.loading .btn-text { display: none; }

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

/* Honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Rate limit note */
.rate-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--grey);
  margin-top: 16px;
}

/* Toast */
.toast-container {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.toast {
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.4s ease;
  min-width: 300px;
  max-width: 440px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.toast-success {
  background: rgba(241, 221, 84, 0.12);
  border: 1px solid rgba(241, 221, 84, 0.3);
  color: var(--gold);
}
.toast-error {
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #E74C3C;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 576px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
}

/* ---------- 404 Page ---------- */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-mid));
}
.page-404 h1 {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  opacity: 0.15;
  margin-bottom: -40px;
}
.page-404 h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}
.page-404 p { color: var(--grey); margin-bottom: 32px; }

/* ---------- Advertise Benefits ---------- */
.adv-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.adv-benefit {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}
.adv-benefit:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 221, 84, 0.2);
}
.adv-benefit h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.adv-benefit h3 svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
}
.adv-benefit p { font-size: 0.85rem; color: var(--grey); }

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

/* ---------- AOS-style animations ---------- */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-down"] { transform: translateY(-30px); }
[data-aos="fade-left"] { transform: translateX(-30px); }
[data-aos="fade-right"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}
