/* ═══════════════════════════════════════════════════════════════
   Χειραψία — Landing Page Styles (Dark Theme)
   Mobile-first, no framework, no external fonts
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────────────── */
:root {
  --navy:        #0D1B2A;
  --navy-dark:   #08111c;
  --navy-mid:    #112236;
  --navy-light:  #1a3050;
  --gold:        #C9A843;
  --gold-light:  #D4B45A;
  --gold-dark:   #a88932;
  --bg:          #0D1B2A;
  --bg-alt:      #112236;
  --text:        #e8edf8;
  --text-muted:  rgba(232,237,248,.6);
  --border:      rgba(255,255,255,.1);
  --border-gold: rgba(201,168,67,.18);
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 2px 16px rgba(0,0,0,.3);
  --shadow-md:   0 4px 24px rgba(0,0,0,.4);
  --transition:  .2s ease;
  --success:     #34D399;
  --danger:      #F87171;
  --warning:     #F59E0B;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ──────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: #fff; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p  { color: var(--text-muted); }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.section-title { color: #fff; margin-bottom: .75rem; }
.section-sub   { font-size: 1.05rem; max-width: 580px; color: var(--text-muted); }

/* ── Layout helpers ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
section { padding: 4.5rem 0; }

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: none;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 4px 18px rgba(201,168,67,.3);
}
.btn-primary:hover { background: var(--gold-light); box-shadow: 0 6px 24px rgba(201,168,67,.4); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid rgba(232,237,248,.2);
}
.btn-outline:hover { border-color: rgba(201,168,67,.5); color: var(--gold); }

.btn-ghost {
  background: rgba(255,255,255,.07);
  color: var(--text-muted);
  border: 1.5px solid rgba(255,255,255,.15);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--text); border-color: rgba(255,255,255,.25); }

/* ── Nav ─────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,27,42,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,67,.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
}
.nav-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: rgba(201,168,67,.15);
  border-radius: 10px;
  border: 1px solid rgba(201,168,67,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* Hamburger (CSS-only toggle) */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta { margin-left: .5rem; }

@media (max-width: 700px) {
  .nav-toggle-label { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy-mid);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav-cta { align-self: flex-start; }
}

/* ── Steps ───────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.step-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.step-card:hover { transform: translateY(-4px); border-color: var(--border-gold); }
.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-dark);
  font-size: .75rem;
  font-weight: 800;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon { font-size: 2.5rem; margin-bottom: 1rem; line-height: 1; }
.step-card h3 { margin-bottom: .4rem; font-size: 1.05rem; color: #fff; }
.step-card p  { font-size: .92rem; color: var(--text-muted); }

/* ── Features grid ───────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.feature-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.feature-card:hover { background: rgba(255,255,255,.07); border-color: rgba(201,168,67,.35); }
.feature-icon { font-size: 2rem; line-height: 1; margin-bottom: .25rem; }
.feature-card h3 { font-size: 1rem; color: #fff; }
.feature-card p  { font-size: .9rem; line-height: 1.5; color: var(--text-muted); }

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #08111c, var(--navy-mid));
  color: #fff;
  text-align: center;
  padding: 4rem 0;
  border-top: 1px solid rgba(201,168,67,.12);
}
.cta-banner h2 { color: #fff; margin-bottom: .75rem; }
.cta-banner p  { color: var(--text-muted); max-width: 460px; margin: 0 auto 2rem; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: #060e17;
  color: rgba(255,255,255,.4);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(201,168,67,.08);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
}
.footer-brand { display: flex; flex-direction: column; gap: .75rem; }
.footer-logo  { font-size: 1.1rem; font-weight: 800; color: var(--gold); display: flex; align-items: center; gap: .5rem; }
.footer-logo .logo-icon { width: 30px; height: 30px; background: rgba(201,168,67,.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-tagline { font-size: .88rem; line-height: 1.5; color: rgba(232,237,248,.4); }

.footer-col h4 { color: rgba(232,237,248,.6); font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { font-size: .9rem; color: rgba(232,237,248,.4); transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
  font-size: .82rem;
}

/* ── Legal pages ─────────────────────────────────────────────── */
.legal-page { padding: 3rem 0 5rem; }
.legal-page h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: #fff; margin-bottom: .5rem; }
.legal-updated { font-size: .88rem; color: var(--text-muted); margin-bottom: 3rem; }
.legal-section { margin-bottom: 2.25rem; }
.legal-section h2 { font-size: 1.1rem; margin-bottom: .6rem; color: var(--gold); }
.legal-section p { font-size: .97rem; line-height: 1.75; color: var(--text-muted); }
.legal-back { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold); font-weight: 600; font-size: .95rem; margin-bottom: 2rem; transition: gap var(--transition); }
.legal-back:hover { gap: .7rem; }

/* ── Utilities ───────────────────────────────────────────────── */
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
