/* index.css — DaroFrame landing page styles */

/* ── Reset & Variables ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:     #0e0e0e;
  --paper:   #faf9f6;
  --warm:    #f5f0e8;
  --accent:  #c8a96e;
  --accent2: #8b5e3c;
  --muted:   #888;
  --green:   #2d6a4f;
  --r:       16px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5vw;
  position: sticky;
  top: 0;
  background: rgba(250,249,246,0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
nav a.btn-nav {
  background: var(--ink);
  color: #fff;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
nav a.btn-nav:hover { background: var(--accent2); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  padding: 5vw;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, #f0e4c8 0%, transparent 70%);
  pointer-events: none;
}
.hero-text { position: relative; z-index: 2; }
.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  background: rgba(200,169,110,0.15);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  color: #555;
  max-width: 460px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1.5px solid rgba(0,0,0,0.15);
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-google:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.btn-google svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Mock frame in hero */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.mock-frame {
  width: min(380px, 42vw);
  aspect-ratio: 4/3;
  border-radius: 18px;
  background: var(--ink);
  box-shadow: 0 40px 100px rgba(0,0,0,0.22), 0 0 0 6px #fff, 0 0 0 8px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
}
.mock-frame-inner {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  position: relative;
}
.mock-photo-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23e8d5b0'/%3E%3Cstop offset='1' stop-color='%23a0856b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='300' fill='url(%23g)'/%3E%3C/svg%3E");
  background-size: cover;
}
.mock-meta { position: relative; z-index: 2; color: rgba(255,255,255,0.9); }
.mock-meta p { font-size: 0.7rem; opacity: 0.7; margin-bottom: 0.1rem; }
.mock-meta h3 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 400; }
.mock-clock { position: absolute; top: 1rem; left: 1rem; z-index: 2; color: #fff; }
.mock-clock .time { font-size: 1.4rem; font-weight: 300; letter-spacing: 0.05em; }
.mock-clock .date { font-size: 0.6rem; opacity: 0.6; }
.mock-weather {
  position: absolute;
  bottom: 1rem; right: 1rem;
  z-index: 2;
  color: #fff;
  text-align: right;
  font-size: 0.65rem;
  opacity: 0.8;
}

/* ── How It Works ────────────────────────────────────────────────────────── */
.section { padding: 7rem 5vw; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 1rem;
}
.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 4rem;
  font-weight: 300;
}
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.step {
  background: var(--warm);
  border-radius: var(--r);
  padding: 2rem;
  position: relative;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.07); }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(200,169,110,0.25);
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 0.5rem; }
.step p  { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ── Features ────────────────────────────────────────────────────────────── */
.features-bg { background: var(--ink); color: #fff; }
.features-bg .section-label { color: var(--accent); }
.features-bg .section h2 { color: #fff; }
.features-bg .section-sub { color: rgba(255,255,255,0.5); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r);
  padding: 1.8rem;
  transition: background 0.2s;
}
.feature-card:hover { background: rgba(255,255,255,0.09); }
.feature-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1rem; font-weight: 500; margin-bottom: 0.4rem; }
.feature-card p  { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ── Privacy ─────────────────────────────────────────────────────────────── */
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.privacy-visual { background: var(--warm); border-radius: var(--r); padding: 3rem; text-align: center; }
.lock-icon { font-size: 4rem; margin-bottom: 1rem; }
.token-example {
  font-family: monospace;
  font-size: 0.75rem;
  background: rgba(0,0,0,0.06);
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  letter-spacing: 0.05em;
  color: #444;
  word-break: break-all;
  margin-top: 1rem;
}

/* ── Coffee / Donate ─────────────────────────────────────────────────────── */
.coffee-section { background: var(--warm); text-align: center; padding: 6rem 5vw; }
.coffee-section h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; margin-bottom: 1rem; }
.coffee-section p { color: var(--muted); max-width: 480px; margin: 0 auto 2rem; font-weight: 300; }
.btn-coffee {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #0070ba;
  color: #fff;
  padding: 1rem 2.2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-coffee:hover { background: #005ea6; transform: translateY(-1px); }
.btn-coffee svg { width: 22px; height: 22px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
  padding: 3rem 5vw;
  border-top: 1px solid rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.footer-logo span { color: var(--accent); }
footer p { font-size: 0.82rem; color: var(--muted); }
footer nav { display: flex; gap: 1.5rem; }
footer nav a { font-size: 0.82rem; color: var(--muted); text-decoration: none; }
footer nav a:hover { color: var(--ink); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 4rem 5vw; min-height: auto; gap: 3rem; }
  .hero-text { order: 2; }
  .hero-visual { order: 1; }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-cta { justify-content: center; }
  .mock-frame { width: min(300px, 80vw); }
  .privacy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2.4rem; }
  .section { padding: 5rem 5vw; }
  .btn-google, .btn-primary { font-size: 0.9rem; padding: 0.8rem 1.4rem; }
  footer { flex-direction: column; align-items: flex-start; }
}
