/* ========================================
   AMINO LANDING — GLOBAL STYLES
   Dark-mode only • Red accent #FF3B30
   ======================================== */

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

:root {
  --bg:          #000000;
  --card:        #1C1C1E;
  --card-2:      #2C2C2E;
  --card-3:      #3A3A3C;
  --primary:     #FF3B30;
  --primary-dark:#CC2F26;
  --text:        #FFFFFF;
  --text-2:      #8E8E93;
  --text-3:      #636366;
  --sep:         #38383A;
  --success:     #30D158;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── CONTAINER ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: none;
  outline: none;
  font-family: inherit;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 24px rgba(255, 59, 48, 0.4);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 0 40px rgba(255, 59, 48, 0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--sep);
}
.btn-ghost:hover {
  border-color: var(--text-2);
  color: var(--text);
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--sep);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.3px;
}
.logo-icon { font-size: 22px; }
.logo-text { color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: #fff; }

/* ── GLOWS & GRID ── */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 59, 48, 0.25) 0%, transparent 70%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
}
.glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 59, 48, 0.1) 0%, transparent 70%);
  bottom: 0; right: -100px;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 120px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero > .container { position: relative; z-index: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  letter-spacing: 0.2px;
  animation: fadeInDown 0.6s ease both;
}

.hero-title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s 0.1s ease both;
}

.accent {
  background: linear-gradient(135deg, #FF3B30, #FF6B60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.7s 0.2s ease both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 0.7s 0.3s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  animation: fadeInUp 0.7s 0.4s ease both;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--sep);
}

/* ── SECTION ── */
.section {
  padding: 100px 0;
}
.section--dark {
  background: var(--card);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text);
}

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card--large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--sep);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 59, 48, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: rgba(255, 59, 48, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
}

.feature-tag {
  margin-top: 20px;
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.feature-card--large h3 { font-size: 26px; }
.feature-card--large p { font-size: 17px; }

/* ── HOW IT WORKS ── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 0 16px;
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.2), rgba(255, 59, 48, 0.05));
  border: 1px solid rgba(255, 59, 48, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-content p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

.step-connector {
  flex: 0 0 60px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,59,48,0.4), rgba(255,59,48,0.1));
  margin-top: 28px;
  align-self: flex-start;
}

/* ── CTA SECTION ── */
.cta-section { padding: 60px 0 100px; }

.cta-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--sep);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
}

.glow-cta {
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(255, 59, 48, 0.2) 0%, transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
}

.cta-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(48, 209, 88, 0.12);
  border: 1px solid rgba(48, 209, 88, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 24px;
}

.cta-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--sep);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-3);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 14px;
  color: var(--text-3);
}

/* ── INNER PAGES ── */
.page-hero {
  padding: 120px 0 60px;
  border-bottom: 1px solid var(--sep);
  margin-bottom: 60px;
}

.page-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.page-meta {
  font-size: 14px;
  color: var(--text-3);
}

.page-content {
  padding-bottom: 100px;
}

.doc-section {
  margin-bottom: 48px;
}

.doc-section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sep);
}

.doc-section p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 12px;
}

.doc-section ul {
  list-style: none;
  margin: 12px 0;
}

.doc-section ul li {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.doc-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.doc-section a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.doc-section a:hover { color: var(--text); }

/* ── ANIMATIONS ── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── HEALTH WARNING BLOCK ── */
.health-warning {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 59, 48, 0.08);
  border: 1px solid rgba(255, 59, 48, 0.35);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0 24px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}

.health-warning strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.health-warning-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card--large {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .steps {
    flex-direction: column;
    align-items: stretch;
  }
  .step {
    flex-direction: row;
    text-align: left;
    padding: 0;
  }
  .step-num { flex-shrink: 0; }
  .step-connector {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, rgba(255,59,48,0.4), rgba(255,59,48,0.1));
    margin-top: 0;
    margin-left: 28px;
    align-self: auto;
    flex: 0 0 auto;
  }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: auto; }
  .hero-stats { gap: 24px; }
  .nav-links a:not(.btn) { display: none; }
  .cta-card { padding: 48px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
