/* =====================================================
   NanoBillion — style.css
   ===================================================== */

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

:root {
  --gold: #b8974a;
  --gold-light: #d4b46a;
  --gold-dim: #8a6f35;
  --near-black: #0a0a0a;
  --deep: #111111;
  --surface: #181818;
  --surface-2: #222222;
  --text-main: #e8e4dc;
  --text-muted: #9a948a;
  --text-dim: #5a5550;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Josefin Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--near-black);
  color: var(--text-main);
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.05em;
  overflow-x: hidden;
}


/* ── NAV ── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 4rem;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, transparent 100%);
  transition: background 0.4s;
}
nav.scrolled {
  background: rgba(10,10,10,0.97);
  border-bottom: 0.5px solid rgba(184,151,74,0.2);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-decoration: none;
}
.nav-logo span {
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  font-size: 0.75rem;
  display: block;
  letter-spacing: 0.4em;
  margin-top: -4px;
}
.nav-links { display: flex; gap: 3rem; list-style: none; }
.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  border: 0.5px solid var(--gold-dim);
  padding: 0.6rem 1.6rem;
  transition: all 0.3s;
}
.nav-cta:hover { background: var(--gold); color: var(--near-black); }


/* ── HERO ── */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(184,151,74,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(184,151,74,0.04) 0%, transparent 50%),
    #0a0a0a;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,151,74,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,151,74,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 4rem;
  max-width: 900px;
}
.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}
.hero-eyebrow::before { content: '—  '; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}
.hero-title em { color: var(--gold); font-style: italic; }
.hero-title .sub {
  display: block;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--text-muted);
  font-weight: 300;
}
.hero-desc {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  line-height: 2;
  max-width: 420px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.7s forwards;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 3rem;
  opacity: 0;
  animation: fadeUp 1s 0.9s forwards;
}
.btn-primary {
  background: var(--gold);
  color: var(--near-black);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.1rem 3rem;
  display: inline-block;
  transition: all 0.3s;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s;
}
.btn-ghost::after { content: '→'; transition: transform 0.3s; }
.btn-ghost:hover { color: var(--text-main); }
.btn-ghost:hover::after { transform: translateX(4px); }
.hero-price {
  position: absolute;
  right: 4rem;
  bottom: 4rem;
  text-align: right;
  opacity: 0;
  animation: fadeUp 1s 1.1s forwards;
}
.hero-price .label {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.hero-price .amount {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
}
.hero-price .tax { font-size: 0.6rem; color: var(--text-dim); letter-spacing: 0.2em; }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}
.hero-scroll span { font-size: 0.55rem; letter-spacing: 0.5em; color: var(--text-dim); text-transform: uppercase; }
.scroll-line {
  width: 0.5px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scrollPulse 2s infinite;
}


/* ── SHARED SECTION LAYOUT ── */

.section { padding: 6rem 4rem; }
.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.section-label::after {
  content: '';
  flex: 0 0 60px;
  height: 0.5px;
  background: var(--gold-dim);
}
.divider {
  height: 0.5px;
  background: linear-gradient(90deg, transparent, rgba(184,151,74,0.3), transparent);
  margin: 0 4rem;
}


/* ── CONCEPT ── */

.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.concept-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 1.8rem;
}
.concept-title em { color: var(--gold); font-style: italic; }
.concept-body {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  line-height: 2.2;
  margin-bottom: 1rem;
}
.concept-visual {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--surface);
  overflow: hidden;
}
.concept-visual-inner {
  position: absolute;
  inset: 20px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
}
.bubble-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  border: 0.5px solid rgba(184,151,74,0.3);
  animation: bubbleFloat linear infinite;
}
.b1 { width: 12px; height: 12px; top: 60%; left: 20%; animation-duration: 4s; animation-delay: 0s;   background: rgba(184,151,74,0.08); }
.b2 { width: 8px;  height: 8px;  top: 40%; left: 70%; animation-duration: 5s; animation-delay: 1s;   background: rgba(184,151,74,0.06); }
.b3 { width: 20px; height: 20px; top: 70%; left: 55%; animation-duration: 6s; animation-delay: 0.5s; background: rgba(184,151,74,0.04); }
.b4 { width: 6px;  height: 6px;  top: 30%; left: 40%; animation-duration: 3.5s; animation-delay: 2s; background: rgba(184,151,74,0.1); }
.b5 { width: 16px; height: 16px; top: 80%; left: 30%; animation-duration: 7s; animation-delay: 1.5s; background: rgba(184,151,74,0.05); }
.nano-text {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.1em;
  opacity: 0.4;
}
.nano-sub { font-size: 0.6rem; letter-spacing: 0.4em; color: var(--text-dim); }
.concept-visual-caption {
  position: absolute;
  bottom: 0; right: 0;
  background: rgba(10,10,10,0.9);
  border: 0.5px solid rgba(184,151,74,0.2);
  padding: 1.2rem 1.8rem;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
}
.concept-visual-caption strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-top: 0.3rem;
}


/* ── FEATURES ── */

.features { background: var(--surface); }
.features-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.features-sub {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.feature-item {
  padding: 2.5rem;
  border: 0.5px solid rgba(184,151,74,0.1);
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.feature-item:hover { background: rgba(184,151,74,0.04); }
.feature-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-item:hover::before { opacity: 1; }
.feature-num {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(184,151,74,0.12);
  line-height: 1;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}
.feature-name {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.feature-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.feature-desc { font-size: 0.74rem; letter-spacing: 0.08em; color: var(--text-muted); line-height: 2; }


/* ── TECHNOLOGY ── */

.tech-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.tech-sticky { position: sticky; top: 120px; }
.tech-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 2rem;
}
.tech-title em { color: var(--gold); font-style: italic; }
.tech-lead { font-size: 0.8rem; letter-spacing: 0.1em; color: var(--text-muted); line-height: 2.2; }
.tech-items { display: flex; flex-direction: column; gap: 0; }
.tech-item {
  padding: 1.8rem 0;
  border-bottom: 0.5px solid rgba(184,151,74,0.1);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}
.tech-step {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
}
.tech-item-title {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.tech-item-heading { font-family: var(--serif); font-size: 1.4rem; font-weight: 300; margin-bottom: 0.8rem; }
.tech-item-body { font-size: 0.74rem; letter-spacing: 0.08em; color: var(--text-muted); line-height: 2; }


/* ── SPEC ── */

.spec-section { background: var(--deep); }
.spec-header { text-align: center; margin-bottom: 3rem; }
.spec-title { font-family: var(--serif); font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 300; margin-bottom: 1rem; }
.spec-sub { font-size: 0.75rem; letter-spacing: 0.2em; color: var(--text-muted); }
.spec-table {
  max-width: 780px;
  margin: 0 auto;
  border: 0.5px solid rgba(184,151,74,0.15);
}
.spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 0.5px solid rgba(184,151,74,0.08);
  transition: background 0.3s;
}
.spec-row:last-child { border-bottom: none; }
.spec-row:hover { background: rgba(184,151,74,0.03); }
.spec-key, .spec-val { padding: 1.4rem 2.5rem; font-size: 0.75rem; letter-spacing: 0.15em; }
.spec-key { color: var(--text-dim); border-right: 0.5px solid rgba(184,151,74,0.08); }
.spec-val { color: var(--text-main); }


/* ── TESTIMONIAL ── */

.testimonial-section { background: var(--near-black); overflow: hidden; }
.testimonial-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.testimonial-quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 3rem;
  position: relative;
}
.testimonial-quote::before {
  content: '\201C';
  font-size: 8rem;
  color: rgba(184,151,74,0.12);
  position: absolute;
  top: -2rem;
  left: -3rem;
  font-family: var(--serif);
  line-height: 1;
}
.testimonial-name { font-size: 0.65rem; letter-spacing: 0.4em; color: var(--gold); text-transform: uppercase; margin-bottom: 0.4rem; }
.testimonial-role { font-size: 0.65rem; letter-spacing: 0.25em; color: var(--text-dim); }


/* ── COMING SOON ── */

.coming-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--near-black);
  padding: 6rem 4rem 4rem;
}
.coming-bg-ring {
  position: absolute;
  border-radius: 50%;
  border: 0.5px solid rgba(184,151,74,0.12);
  animation: ringPulse 6s ease-in-out infinite;
  pointer-events: none;
}
.ring1 { width: 600px;  height: 600px;  top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: 0s; }
.ring2 { width: 900px;  height: 900px;  top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: 1.5s; border-color: rgba(184,151,74,0.07); }
.ring3 { width: 1200px; height: 1200px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: 3s;   border-color: rgba(184,151,74,0.04); }
.coming-particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(184,151,74,0.5);
  animation: particleDrift linear infinite;
}
.coming-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  width: 100%;
}
.coming-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.6em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}
.coming-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.9;
  margin-bottom: 1.5rem;
}
.coming-title-line {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  display: block;
  animation: letterShimmer 4s ease-in-out infinite;
}
.gold-stroke {
  -webkit-text-stroke: 1px var(--gold);
  color: transparent;
  animation: strokePulse 3s ease-in-out infinite;
}
.coming-sub {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  line-height: 2.2;
  margin-bottom: 2rem;
}

.coming-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.price-line { flex: 0 0 60px; height: 0.5px; background: rgba(184,151,74,0.25); }
.price-label { font-size: 0.6rem; letter-spacing: 0.35em; color: var(--text-dim); text-transform: uppercase; }
.price-amount { font-family: var(--serif); font-size: 2rem; font-weight: 300; color: var(--gold); }
.price-tax { font-size: 0.6rem; letter-spacing: 0.2em; color: var(--text-dim); }
.coming-scroll-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  border-top: 0.5px solid rgba(184,151,74,0.1);
  padding: 0.9rem 0;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  color: var(--text-dim);
  text-transform: uppercase;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  z-index: 2;
}


/* ── FOOTER ── */

footer {
  background: var(--near-black);
  border-top: 0.5px solid rgba(184,151,74,0.12);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.footer-brand { font-family: var(--serif); font-size: 1.4rem; font-weight: 300; color: var(--gold); letter-spacing: 0.2em; margin-bottom: 0.4rem; }
.footer-tagline { font-size: 0.65rem; letter-spacing: 0.3em; color: var(--text-dim); }
.footer-copy {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  border-top: 0.5px solid rgba(184,151,74,0.06);
  padding-top: 2rem;
}


/* ── SCROLL REVEAL ── */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }


/* ── KEYFRAMES ── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}
@keyframes bubbleFloat {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 0.6; }
  100% { transform: translateY(-140px) scale(0.6); opacity: 0; }
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%,-50%) scale(1.03); }
}
@keyframes particleDrift {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 0.6; }
  100% { transform: translateY(-80vh) scale(0.3); opacity: 0; }
}
@keyframes letterShimmer {
  0%, 100% { color: var(--text-main); }
  50%       { color: #f0e8d8; }
}
@keyframes strokePulse {
  0%, 100% { -webkit-text-stroke-color: var(--gold-dim); }
  50%       { -webkit-text-stroke-color: var(--gold-light); }
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
