/* ═══════════════════════════════════════════════════
   NowINR Landing — Unique Design System
   Font: Outfit | Theme: Deep black + emerald accent
   ═══════════════════════════════════════════════════ */

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

:root {
  --black: #050505;
  --surface: #0c0c0c;
  --card: #111111;
  --card-hover: #161616;
  --border: #1e1e1e;
  --border-light: #2a2a2a;
  --white: #fafafa;
  --gray: #888;
  --dim: #666;
  --accent: #00E676;
  --accent-soft: rgba(0, 230, 118, 0.08);
  --accent-mid: rgba(0, 230, 118, 0.15);
  --accent-glow: 0 0 60px rgba(0, 230, 118, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --font: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Ambient background ── */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: drift 20s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,230,118,0.15), transparent 70%);
  top: -100px; left: -100px;
}

.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,176,255,0.1), transparent 70%);
  top: 40%; right: -150px;
  animation-delay: -7s;
}

.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(0,230,118,0.08), transparent 70%);
  bottom: -50px; left: 30%;
  animation-delay: -14s;
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.1); }
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 16px 0;
  transition: all 0.3s;
}

.site-header.scrolled {
  background: rgba(5,5,5,0.8);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  flex-shrink: 0;
}

.logo img { border-radius: 8px; }
.logo.sm { font-size: 1rem; }

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--white); }

.header-btn {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #000;
  background: var(--accent);
  padding: 9px 22px;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.header-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--accent-glow);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all 0.3s;
}

.burger.active span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.active span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 0 80px;
}

.hero-wrap { max-width: 720px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0,230,118,0.15);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 36px;
}

.dot-live {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.accent-line {
  background: linear-gradient(135deg, #00E676, #00B0FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #000;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-main:hover {
  transform: translateY(-2px);
  box-shadow: var(--accent-glow);
}

.cta-main.large { padding: 16px 40px; font-size: 1.05rem; }

.cta-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.cta-ghost:hover {
  color: var(--white);
  border-color: var(--border-light);
  background: rgba(255,255,255,0.03);
}

/* ── Ticker ── */
.ticker-strip {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  gap: 32px;
  animation: scroll-ticker 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
}

.ticker-item strong { color: var(--accent); font-weight: 700; }
.ticker-item img { border-radius: 50%; }
.ticker-sep { color: var(--border-light); font-size: 0.5rem; }

@keyframes scroll-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Pill label ── */
.pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0,230,118,0.12);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

/* ── Section headings ── */
.converter-section h2,
.why-section h2,
.steps-section h2,
.faq-section h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.why-section em,
.steps-section em {
  font-style: normal;
  color: var(--accent);
}

/* ═══════════ CONVERTER ═══════════ */
.converter-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.converter-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}

.converter-text p {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.converter-highlights {
  display: flex;
  gap: 32px;
}

.highlight {
  display: flex;
  flex-direction: column;
}

.highlight strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.highlight span {
  font-size: 0.8rem;
  color: var(--dim);
  margin-top: 2px;
}

/* Converter card */
.converter-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--accent-glow);
}

.conv-header {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.token-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border: none;
  background: transparent;
  color: var(--gray);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.token-tab.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.token-tab img { border-radius: 50%; }

.conv-body { padding: 24px; }

.conv-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dim);
  margin-bottom: 10px;
}

.conv-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.conv-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  width: 100%;
}

.conv-input::-webkit-inner-spin-button,
.conv-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.conv-input[type="number"] { -moz-appearance: textfield; }

.conv-suffix {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dim);
  margin-left: 8px;
}

.conv-rate {
  font-size: 0.8rem;
  color: var(--dim);
  margin-bottom: 16px;
}

.conv-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

.conv-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--gray);
  padding: 4px 0;
}

.conv-row.fee span:last-child { color: #ff6b6b; }
.conv-row.total { font-weight: 700; color: var(--white); font-size: 1rem; padding-top: 8px; }
.conv-row.total span:last-child { color: var(--accent); }

.conv-btn {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px;
  text-decoration: none;
  transition: filter 0.2s;
}

.conv-btn:hover { filter: brightness(1.1); }

/* ═══════════ WHY / BENTO ═══════════ */
.why-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bento-card:hover {
  border-color: var(--border-light);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.bento-lg { grid-column: span 2; }

.bento-num {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #00E676, #00B0FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bento-unit {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dim);
  margin-bottom: 12px;
}

.bento-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.bento-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ═══════════ STEPS / TIMELINE ═══════════ */
.steps-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.timeline {
  margin-top: 48px;
  position: relative;
  padding-left: 60px;
}

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

.tl-item {
  position: relative;
  padding-bottom: 48px;
}

.tl-item:last-child { padding-bottom: 0; }

.tl-marker {
  position: absolute;
  left: -60px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 0 24px rgba(0,230,118,0.25);
}

.tl-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.tl-content p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 500px;
}

/* ═══════════ FAQ GRID ═══════════ */
.faq-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.faq-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}

.faq-card:hover {
  border-color: var(--border-light);
  background: var(--card-hover);
}

.faq-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
}

.faq-card a {
  color: var(--accent);
  text-decoration: none;
}

.faq-card a:hover { text-decoration: underline; }

/* ═══════════ FINAL CTA ═══════════ */
.final-cta {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.final-cta p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-left p {
  font-size: 0.85rem;
  color: var(--dim);
  margin-top: 8px;
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}

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

.copyright {
  font-size: 0.78rem;
  color: var(--dim);
  margin-top: 8px;
}

/* ═══════════ SCROLL ANIMATIONS ═══════════ */
.anim {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  .converter-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .bento-lg { grid-column: span 1; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    top: 64px;
    flex-direction: column;
    background: rgba(5,5,5,0.95);
    backdrop-filter: blur(24px);
    padding: 40px 24px;
    gap: 24px;
    z-index: 199;
  }

  .main-nav.open { display: flex; }
  .main-nav a { font-size: 1.1rem; }

  .header-btn { display: none; }
  .burger { display: flex; }

  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero-sub { font-size: 1rem; }

  .converter-highlights { gap: 20px; }
  .highlight strong { font-size: 1.1rem; }

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

  .timeline { padding-left: 50px; }
  .tl-marker { left: -50px; width: 36px; height: 36px; font-size: 0.9rem; }

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