/* ============================================
   KripDost — Wise-Inspired Dark Design System
   ============================================ */

:root {
  --bg: #0e0f0c;
  --bg-surface: #1e201c;
  --text: #e8ebe6;
  --text-secondary: #a0a39e;
  --text-muted: #6a6a69;
  --green: #9fe870;
  --dark-green: #163300;
  --mint: #1a2e10;
  --pastel-green: #cdffad;
  --danger: #d03238;
  --warning: #ffd11a;
  --border: rgba(232,235,230,0.10);
  --border-green: rgba(159,232,112,0.25);
  --ring: rgba(232,235,230,0.08) 0px 0px 0px 1px;
  --font: 'Inter', Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.44;
  font-feature-settings: "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ───────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.nav-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.15s;
}

.nav-links a:hover { opacity: 0.7; text-decoration: none; }

.nav-cta {
  display: inline-block;
  background: var(--green);
  color: var(--dark-green);
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s;
}

.nav-cta:hover { transform: scale(1.05); text-decoration: none; }
.nav-cta:active { transform: scale(0.95); }

/* ── BUTTONS ───────────────────────────────── */

.btn-green {
  display: inline-block;
  background: var(--green);
  color: var(--dark-green);
  padding: 12px 28px;
  border-radius: 9999px;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
  font-feature-settings: "calt" 1;
}

.btn-green:hover { transform: scale(1.05); text-decoration: none; }
.btn-green:active { transform: scale(0.95); }

.btn-subtle {
  display: inline-block;
  background: rgba(159,232,112,0.08);
  color: var(--text);
  padding: 12px 28px;
  border-radius: 9999px;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
  font-feature-settings: "calt" 1;
}

.btn-subtle:hover { transform: scale(1.05); text-decoration: none; }
.btn-subtle:active { transform: scale(0.95); }

/* ── SECTION ───────────────────────────────── */

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

.section-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 0.85;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 48px;
  letter-spacing: 0.18px;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── HERO (index) ──────────────────────────── */

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 80px;
  font-weight: 900;
  line-height: 0.85;
  margin-bottom: 24px;
}

.hero-text h1 .highlight { color: var(--green); }

.hero-text p {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 32px;
  letter-spacing: 0.18px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── STORE BADGES ──────────────────────────── */

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(159,232,112,0.08);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s, border-color 0.2s;
}

.store-badge:hover {
  transform: scale(1.05);
  border-color: var(--border-green);
  text-decoration: none;
}

.store-badge:active { transform: scale(0.95); }

.store-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge-text small { font-size: 12px; opacity: 0.6; font-weight: 400; }
.store-badge-text strong { font-size: 16px; font-weight: 700; }

/* ── PHONE MOCKUP ──────────────────────────── */

.phone-mockup {
  width: 260px;
  height: 520px;
  background: var(--bg-surface);
  border-radius: 36px;
  box-shadow: var(--ring), 0 0 60px rgba(159,232,112,0.06);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.phone-status-bar {
  height: 36px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-notch {
  width: 80px;
  height: 20px;
  background: #000;
  border-radius: 0 0 14px 14px;
}

.phone-screen {
  flex: 1;
  background: var(--bg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.phone-header-bar span { color: var(--text); font-size: 12px; font-weight: 600; }

.coin-card {
  background: rgba(159,232,112,0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.coin-info { display: flex; flex-direction: column; }
.coin-name { color: var(--text); font-size: 13px; font-weight: 600; }
.coin-sub { color: var(--text-muted); font-size: 10px; }
.coin-price { text-align: right; }
.coin-price-val { color: var(--text); font-size: 13px; font-weight: 700; }
.coin-change { font-size: 10px; font-weight: 600; }
.coin-change.up { color: #9fe870; }
.coin-change.down { color: #d03238; }

.alert-card {
  background: rgba(159,232,112,0.08);
  border: 1px solid var(--border-green);
  border-radius: 16px;
  padding: 10px 12px;
}

.alert-label { color: var(--green); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.alert-text { color: var(--text); font-size: 12px; font-weight: 500; }

/* ── FEATURES GRID ─────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--ring);
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: scale(1.02);
  border-color: var(--border-green);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--mint);
  border: 1px solid var(--border-green);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.396px;
}

.feature-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.44;
  letter-spacing: 0.08px;
}

/* ── STEPS GRID ────────────────────────────── */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--ring);
  transition: transform 0.2s, border-color 0.2s;
}

.step:hover {
  transform: scale(1.02);
  border-color: var(--border-green);
}

.step-number {
  width: 36px;
  height: 36px;
  background: var(--green);
  color: var(--dark-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.108px; }
.step p { font-size: 16px; color: var(--text-secondary); line-height: 1.44; }

/* ── CTA SECTION ───────────────────────────── */

.cta-section {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.cta-card {
  background: var(--mint);
  border: 1px solid var(--border-green);
  border-radius: 40px;
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card h2 {
  font-size: 40px;
  font-weight: 900;
  line-height: 0.85;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-card p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 18px;
  position: relative;
  z-index: 1;
}

.cta-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ── CONTENT PAGE (privacy, terms, account-deletion) ── */

.content-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.page-header {
  margin-bottom: 40px;
}

.breadcrumb {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: -0.084px;
}

.breadcrumb a {
  color: var(--green);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.page-header h1 {
  font-size: 64px;
  font-weight: 900;
  line-height: 0.85;
  margin-bottom: 12px;
}

.page-header .meta {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.084px;
}

.content-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 48px;
  box-shadow: var(--ring);
}

.content-card h2 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 14px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--text);
  letter-spacing: -0.396px;
}

.content-card h2:first-child,
.content-card .lang-label + h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.content-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: -0.108px;
}

.content-card p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.55;
}

.content-card ul, .content-card ol {
  margin: 12px 0 16px 20px;
}

.content-card li {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.55;
}

.content-card li strong {
  color: var(--text);
  font-weight: 600;
}

.content-card a { color: var(--green); }
.content-card a:hover { text-decoration: underline; }

/* ── HIGHLIGHT / WARNING / DANGER BOXES ────── */

.highlight-box {
  background: var(--mint);
  border: 1px solid var(--border-green);
  border-left: 4px solid var(--green);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 16px;
  color: var(--green);
  line-height: 1.55;
}

.warning-box {
  background: var(--mint);
  border: 1px solid var(--border-green);
  border-left: 4px solid var(--green);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 20px 0;
  font-size: 16px;
  color: var(--green);
  line-height: 1.55;
  font-weight: 500;
}

.warning-box strong { color: var(--pastel-green); font-weight: 700; }

.danger-box {
  background: rgba(208,50,56,0.08);
  border: 1px solid rgba(208,50,56,0.2);
  border-left: 4px solid var(--danger);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 16px;
  color: var(--danger);
  line-height: 1.55;
  font-weight: 500;
}

.lang-divider {
  margin: 48px 0;
  border: none;
  border-top: 1px solid var(--border);
}

.lang-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-green);
  background: var(--green);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

/* ── DISCLAIMER ────────────────────────────── */

.disclaimer {
  background: var(--mint);
  border: 1px solid var(--border-green);
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--green);
  line-height: 1.5;
}

/* ── FOOTER ────────────────────────────────── */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .nav-brand { margin-bottom: 4px; }
.footer-brand p { font-size: 16px; color: var(--text-muted); max-width: 280px; }

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

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 8px;
  transition: opacity 0.15s;
}

.footer-col a:hover { opacity: 0.7; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 14px; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 600; margin-left: 16px; transition: opacity 0.15s; }
.footer-bottom a:hover { opacity: 0.7; }

/* Simple footer (content pages) */
.footer-simple {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-simple-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-simple-inner p { font-size: 14px; color: var(--text-muted); }

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

.footer-links-row a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: opacity 0.15s;
}

.footer-links-row a:hover { opacity: 0.7; }

/* ── SCROLL ANIMATION ──────────────────────── */

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up { opacity: 1; transform: none; transition: none; }
}

/* ── RESPONSIVE ────────────────────────────── */

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 20px 40px;
    gap: 40px;
    text-align: center;
  }

  .hero-text h1 { font-size: 48px; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 200px; height: 400px; }
  .cta-card { padding: 40px 24px; }
  .cta-card h2 { font-size: 32px; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-links { display: none; }
  .page-header h1 { font-size: 40px; }
  .section-title { font-size: 32px; }
}

@media (max-width: 640px) {
  .content-card { padding: 28px 20px; }
  .footer-simple-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}
