/* ===============================
   Yoroi Wallet Landing Page
   HTML + CSS separated
================================ */

:root {
  --bg: #f6f8fb;
  --white: #ffffff;
  --dark: #0b1120;
  --dark-2: #111a2e;
  --text: #1f2937;
  --muted: #5b6472;
  --primary: #0033ad;
  --primary-dark: #002a8f;
  --accent: #34d399;
  --border: #e2e8f0;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary);
}

.main-nav {
  display: flex;
  gap: 26px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(0, 51, 173, 0.07);
}

.btn-light {
  background: #fff;
  color: var(--dark);
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Hero */
.hero {
  padding: 90px 0 80px;
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 51, 173, 0.12), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(52, 211, 153, 0.14), transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 55px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  color: var(--dark);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.8px;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.trust-list li {
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

/* Wallet preview */
.hero-card {
  display: flex;
  justify-content: center;
}

.wallet-preview {
  width: min(360px, 100%);
  background: linear-gradient(145deg, var(--dark), #16244a);
  color: #fff;
  padding: 28px;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.wallet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 18px;
}

.wallet-top span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.wallet-top strong {
  font-size: 1.5rem;
}

.wallet-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 12px;
}

.wallet-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.wallet-actions span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  padding: 12px 0;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 85px 0;
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  margin-top: 14px;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.info-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 30px;
  border-radius: var(--radius);
}

.info-box h3 {
  margin-bottom: 12px;
}

/* Page hero */
.page-hero {
  padding: 90px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 51, 173, 0.13), transparent 42%),
    radial-gradient(circle at 85% 85%, rgba(52, 211, 153, 0.13), transparent 40%);
  text-align: center;
}

.page-hero .lead {
  margin-inline: auto;
}

.page-hero .hero-actions {
  justify-content: center;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 28px;
  border-radius: var(--radius);
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #052e21;
  font-weight: 800;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* Security */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.security-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.security-item h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.security-item p {
  font-size: 0.94rem;
  color: var(--muted);
}

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
}

details p {
  margin-top: 12px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--dark-2);
  color: rgba(255, 255, 255, 0.72);
  padding: 65px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-grid a:hover {
  color: #fff;
}

.logo-light {
  color: #fff;
}

.logo-light span {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 22px;
  font-size: 0.88rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps,
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .header-inner {
    flex-direction: column;
    gap: 14px;
  }

  .main-nav {
    gap: 18px;
  }

  .hero,
  .page-hero,
  .section {
    padding: 60px 0;
  }

  .feature-grid,
  .steps,
  .security-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-content {
    text-align: center;
  }

  .lead {
    margin-inline: auto;
  }

  .trust-list {
    justify-content: center;
  }
}