/* BMIC Presale - Premium Dark Theme */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #222240;
  --gold: #f0b90b;
  --gold-light: #fcd535;
  --gold-dark: #c99a00;
  --cyan: #00d4ff;
  --cyan-light: #4de8ff;
  --cyan-dark: #0099cc;
  --text-primary: #ffffff;
  --text-secondary: #b0b0c0;
  --text-muted: #6a6a80;
  --border: #2a2a3e;
  --gradient-gold: linear-gradient(135deg, #f0b90b 0%, #fcd535 100%);
  --gradient-cyan: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  --gradient-hero: linear-gradient(180deg, #0a0a0f 0%, #0f0f1a 50%, #12121a 100%);
  --shadow-gold: 0 0 30px rgba(240, 185, 11, 0.2);
  --shadow-cyan: 0 0 30px rgba(0, 212, 255, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--cyan-light); }

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

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

/* Header / Nav */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo {
  font-size: 1.5rem; font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; letter-spacing: -0.5px;
}
.nav-logo span { color: var(--cyan); -webkit-text-fill-color: var(--cyan); }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--gradient-gold); color: #000 !important; font-weight: 700;
  padding: 10px 24px; border-radius: 8px; font-size: 0.9rem;
  transition: transform 0.3s, box-shadow 0.3s;
  -webkit-text-fill-color: #000;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
  padding: 140px 0 80px;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(240,185,11,0.03) 0%, transparent 50%),
              radial-gradient(circle at 30% 70%, rgba(0,212,255,0.03) 0%, transparent 50%);
  animation: heroGlow 15s ease-in-out infinite;
}
@keyframes heroGlow { 0%,100%{transform:rotate(0deg)} 50%{transform:rotate(180deg)} }

.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,185,11,0.1); border: 1px solid rgba(240,185,11,0.3);
  padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; color: var(--gold);
  margin-bottom: 24px; font-weight: 600;
}
.hero-badge .pulse {
  width: 8px; height: 8px; background: #00ff88; border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.5)} }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800;
  line-height: 1.15; margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero h1 em {
  font-style: normal;
  background: var(--gradient-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1.15rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 32px; }

.hero-price {
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 16px 32px; border-radius: var(--radius); margin-bottom: 32px;
}
.hero-price .label { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.hero-price .price { font-size: 2.5rem; font-weight: 800; color: var(--gold); }

.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gradient-gold); color: #000; font-weight: 700;
  padding: 16px 40px; border-radius: 10px; font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none; cursor: pointer; text-decoration: none;
}
.hero-cta:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); color: #000; }
.hero-cta svg { width: 20px; height: 20px; }

.hero-stats {
  display: flex; justify-content: center; gap: 48px; margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stat .num { font-size: 1.8rem; font-weight: 800; color: var(--cyan); }
.hero-stat .txt { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* Section */
section { padding: 80px 0; }
.section-label {
  text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem;
  color: var(--cyan); font-weight: 600; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800;
  margin-bottom: 16px; line-height: 1.2;
}
.section-sub { color: var(--text-secondary); max-width: 600px; margin-bottom: 48px; }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* Feature Cards */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240,185,11,0.3);
  box-shadow: var(--shadow-gold);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(240,185,11,0.1); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
}
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* Bullets Section */
.bullet-list { list-style: none; max-width: 700px; }
.bullet-list li {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.bullet-list li:last-child { border-bottom: none; }
.bullet-check {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,212,255,0.1); display: flex; align-items: center; justify-content: center;
  color: var(--cyan); font-size: 0.85rem; margin-top: 2px;
}
.bullet-list h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.bullet-list p { font-size: 0.9rem; color: var(--text-secondary); }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.step-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; text-align: center;
  position: relative;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient-gold); color: #000; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* Tokenomics */
.token-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.token-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.token-item .val { font-size: 2rem; font-weight: 800; color: var(--gold); margin-bottom: 4px; }
.token-item .lbl { color: var(--text-secondary); font-size: 0.9rem; }

/* Roadmap */
.roadmap-timeline { position: relative; max-width: 700px; margin: 0 auto; }
.roadmap-timeline::before {
  content: ''; position: absolute; left: 20px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.roadmap-item { padding-left: 56px; margin-bottom: 32px; position: relative; }
.roadmap-dot {
  position: absolute; left: 12px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gradient-gold); border: 3px solid var(--bg-primary);
}
.roadmap-item.future .roadmap-dot { background: var(--bg-card); border: 3px solid var(--border); }
.roadmap-phase { color: var(--cyan); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.roadmap-item h4 { font-size: 1.05rem; font-weight: 700; margin: 4px 0; }
.roadmap-item p { color: var(--text-secondary); font-size: 0.9rem; }

/* Media / Press */
.media-banner {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px; text-align: center;
}
.media-banner .big-num { font-size: 3.5rem; font-weight: 800; color: var(--gold); }
.media-banner p { color: var(--text-secondary); margin-top: 8px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border); overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1rem;
  color: var(--text-primary); background: none; border: none; width: 100%; text-align: left;
  font-family: inherit;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--gold); transition: transform 0.3s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 20px; }
.faq-a p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(240,185,11,0.08) 0%, rgba(0,212,255,0.05) 100%);
  border-top: 1px solid rgba(240,185,11,0.2);
  border-bottom: 1px solid rgba(240,185,11,0.2);
  text-align: center; padding: 80px 0;
}
.cta-section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.cta-section p { color: var(--text-secondary); max-width: 500px; margin: 0 auto 32px; }

/* Footer */
.site-footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  margin-bottom: 32px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; max-width: 320px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; color: var(--text-muted); font-size: 0.8rem; }

/* Blog List */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: transform 0.3s, border-color 0.3s;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(0,212,255,0.3); }
.blog-card .tag { color: var(--cyan); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.blog-card h3 { font-size: 1.1rem; font-weight: 700; margin: 10px 0; }
.blog-card h3 a { color: var(--text-primary); }
.blog-card h3 a:hover { color: var(--gold); }
.blog-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 16px; }
.blog-card .read-more { color: var(--gold); font-size: 0.85rem; font-weight: 600; }

/* Blog Post / Page Content */
.page-hero { padding: 120px 0 48px; text-align: center; background: var(--gradient-hero); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.page-hero .page-sub { color: var(--text-secondary); font-size: 1.05rem; }
.page-hero .breadcrumb { margin-top: 16px; font-size: 0.85rem; color: var(--text-muted); }
.page-hero .breadcrumb a { color: var(--text-muted); }
.page-hero .breadcrumb a:hover { color: var(--cyan); }

.content-section { max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.content-section h2 { font-size: 1.6rem; font-weight: 700; margin: 40px 0 16px; }
.content-section h3 { font-size: 1.25rem; font-weight: 600; margin: 32px 0 12px; }
.content-section p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.content-section ul, .content-section ol { color: var(--text-secondary); margin: 0 0 16px 24px; }
.content-section li { margin-bottom: 8px; }
.content-section strong { color: var(--text-primary); }
.content-section a { color: var(--cyan); }

.content-cta {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; text-align: center;
  margin: 40px 0;
}
.content-cta h3 { margin-bottom: 12px; }
.content-cta p { color: var(--text-secondary); margin-bottom: 20px; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 70px; left: 0; right: 0; background: var(--bg-primary);
    border-bottom: 1px solid var(--border); padding: 24px;
    gap: 16px;
  }
  .hero { padding: 110px 0 60px; }
  .hero-stats { gap: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-price { padding: 12px 20px; }
  .hero-price .price { font-size: 2rem; }
  .blog-grid { grid-template-columns: 1fr; }
}
