/* ─────────────────────────────────────────
   12g.eu — Mobile-first stylesheet
   Breakpoints:
     sm  : 480px
     md  : 768px
     lg  : 1024px
   ───────────────────────────────────────── */

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

:root {
  --ink:          #1e2a3a;
  --ink2:         #2d3f55;
  --gold:         #d4900a;
  --gold-light:   #fef8ec;
  --gold-mid:     #fdecc8;
  --teal:         #0a7a6a;
  --teal-light:   #e6f7f3;
  --coral:        #c94a28;
  --purple-light: #f0eefe;
  --surface:      #f4f6f9;
  --surface2:     #eef1f5;
  --white:        #ffffff;
  --muted:        #758398;
  --muted2:       #a0aebf;
  --border:       rgba(30,42,58,0.09);
  --radius:       16px;
  --nav-h:        60px;
}

html {
  font-family: 'DM Sans', sans-serif;
  background: var(--surface);
  color: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ══════════════════════════════════════
   NAV — mobile first
   ══════════════════════════════════════ */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.25rem;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}

.logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.logo-mark {
  width: 38px; height: 38px;
  background: var(--ink);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -0.4px; }
.logo-tag  { font-size: 9px; font-weight: 500; color: var(--muted2); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

/* hamburger */
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  padding: 4px;
}
.nav-toggle__bar {
  display: block; width: 100%; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile dropdown */
.nav-links {
  display: none;
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
  flex-direction: column; gap: 0;
  list-style: none;
  box-shadow: 0 8px 24px rgba(30,42,58,0.08);
}
.nav-links.is-open { display: flex; }

.nav-links li { border-bottom: 1px solid var(--border); }
.nav-links li:last-child { border-bottom: none; }

.nav-links a {
  display: block; padding: .9rem 0;
  font-size: 15px; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.nav-cta-mobile { padding-top: .75rem; }
.nav-cta-mobile .btn-primary { width: 100%; text-align: center; }

/* desktop nav-cta pill — hidden on mobile */
.nav-cta { display: none; }

/* ══════════════════════════════════════
   HERO — mobile first (stacked)
   ══════════════════════════════════════ */
.hero {
  background: var(--white);
  display: flex; flex-direction: column;
}

.hero-left {
  padding: 2.5rem 1.25rem 2rem;
  display: flex; flex-direction: column;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold-light);
  border: 1px solid #f5d88a;
  border-radius: 999px;
  padding: 5px 12px; font-size: 12px; font-weight: 500;
  color: #8a5a00; margin-bottom: 1.25rem;
  width: fit-content;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 800; line-height: 1.15;
  color: var(--ink); margin-bottom: 1rem; letter-spacing: -.5px;
}
.hero-h1 em { font-style: normal; color: var(--teal); }

.hero-sub {
  font-size: 15px; color: var(--muted);
  line-height: 1.75; margin-bottom: 1.75rem;
}

.hero-actions { display: flex; flex-direction: column; gap: 10px; }
.hero-actions .btn-primary,
.hero-actions .btn-ghost { width: 100%; text-align: center; }

.hero-right {
  background: var(--surface);
  padding: 2rem 1.25rem;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-right::before {
  content: '';
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,144,10,0.08) 0%, transparent 70%);
  top: -80px; right: -80px;
}

/* ── DASHBOARD MOCK ── */
.dashboard-mock {
  width: 100%;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(30,42,58,0.08);
}

.mock-bar {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 5px;
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; }
.mock-bar .mock-title { margin-left: 7px; font-size: 12px; font-weight: 500; color: var(--muted2); }

.mock-body { padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }

.mock-stat-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }

.mock-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px; padding: 8px 10px;
}
.mock-stat-label { font-size: 9px; font-weight: 500; color: var(--muted2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.mock-stat-val   { font-size: 19px; font-weight: 600; color: var(--ink); }
.mock-stat-sub   { font-size: 9px; color: var(--muted2); margin-top: 1px; }
.mock-stat.gold .mock-stat-val { color: var(--gold); }
.mock-stat.teal .mock-stat-val { color: var(--teal); }

.mock-list-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px; padding: 10px 12px;
}
.mock-list-header { font-size: 10px; font-weight: 500; color: var(--muted2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.mock-list-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; border-bottom: 1px solid var(--border);
}
.mock-list-item:last-child { border-bottom: none; }
.mock-list-name { font-size: 12px; color: var(--ink); }
.mock-list-tag  { font-size: 10px; font-weight: 500; padding: 2px 7px; border-radius: 999px; }
.tag-gold  { background: var(--gold-mid);   color: #7a4800; }
.tag-teal  { background: var(--teal-light); color: #055a4d; }
.tag-muted { background: var(--surface2);   color: var(--muted); }

/* ══════════════════════════════════════
   FEATURES — mobile first
   ══════════════════════════════════════ */
.features { padding: 3.5rem 1.25rem; background: var(--surface); }

.section-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); margin-bottom: 10px; }
.section-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem; font-weight: 800; color: var(--ink);
  line-height: 1.2; letter-spacing: -.4px; margin-bottom: 12px;
}
.section-sub { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 2rem; }

.features-grid { display: flex; flex-direction: column; gap: 14px; }

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(30,42,58,0.07); }

.feature-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; flex-shrink: 0;
}
.icon-ink    { background: var(--surface2); }
.icon-gold   { background: var(--gold-light); }
.icon-teal   { background: var(--teal-light); }
.icon-coral  { background: #fdf0ec; }
.icon-purple { background: var(--purple-light); }

.feature-title { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.feature-desc  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ══════════════════════════════════════
   CTA — mobile first
   ══════════════════════════════════════ */
.cta-banner {
  background: var(--teal-light);
  border-top: 1px solid rgba(10,122,106,0.15);
  border-bottom: 1px solid rgba(10,122,106,0.15);
  padding: 3rem 1.25rem; text-align: center;
}
.cta-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem; font-weight: 800; color: var(--ink); margin-bottom: 12px;
}
.cta-sub { font-size: 15px; color: var(--muted); margin-bottom: 2rem; line-height: 1.65; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; }
.cta-actions .btn-teal,
.cta-actions .btn-outline-ink { width: 100%; text-align: center; }

/* ══════════════════════════════════════
   FOOTER — mobile first
   ══════════════════════════════════════ */
.site-footer {
  background: white;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 1rem; align-items: center;
  text-align: center;
}
.foot-left  { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.foot-logo  { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 800; color: var(--ink); }
.foot-copy  { font-size: 12px; color: var(--muted2); }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.foot-links a { font-size: 13px; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* ══════════════════════════════════════
   BUTTONS (shared)
   ══════════════════════════════════════ */
.btn-primary {
  background: var(--ink); color: white;
  border: none; border-radius: 12px;
  padding: 14px 24px; font-size: 15px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s; display: inline-block;
}
.btn-primary:hover { background: var(--ink2); transform: translateY(-2px); }

.btn-ghost {
  background: none; color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 24px; font-size: 15px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: border-color .2s, transform .15s; display: inline-block;
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-teal {
  background: var(--teal); color: white;
  border: none; border-radius: 12px;
  padding: 14px 28px; font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: filter .2s, transform .15s; display: inline-block;
}
.btn-teal:hover { filter: brightness(1.1); transform: translateY(-2px); }

.btn-outline-ink {
  background: none; color: var(--ink);
  border: 1.5px solid rgba(30,42,58,0.2);
  border-radius: 12px;
  padding: 13px 28px; font-size: 15px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: border-color .2s, transform .15s; display: inline-block;
}
.btn-outline-ink:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ══════════════════════════════════════
   BREAKPOINT: sm — 480px
   ══════════════════════════════════════ */
@media (min-width: 480px) {
  .hero-h1  { font-size: 2.4rem; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: auto; }
  .cta-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .cta-actions .btn-teal,
  .cta-actions .btn-outline-ink { width: auto; }
  .features-grid { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════
   BREAKPOINT: md — 768px
   ══════════════════════════════════════ */
@media (min-width: 768px) {
  :root { --nav-h: 68px; }

  .site-nav { padding: 0 5vw; }

  /* show desktop nav, hide hamburger */
  .nav-toggle      { display: none; }
  .nav-links {
    position: static;
    display: flex !important;
    flex-direction: row;
    gap: 28px;
    padding: 0;
    border-bottom: none;
    box-shadow: none;
    background: none;
  }
  .nav-links li { border-bottom: none; }
  .nav-links a  { padding: 0; font-size: 14px; }
  .nav-cta-mobile { display: none; }
  .nav-cta {
    display: inline-block;
    background: var(--ink); color: white;
    border-radius: 10px;
    padding: 9px 18px; font-size: 14px; font-weight: 500;
    text-decoration: none;
    transition: background .2s;
  }
  .nav-cta:hover { background: var(--ink2); }

  .hero { flex-direction: row; min-height: calc(100vh - var(--nav-h)); }
  .hero-left  { flex: 1; padding: 5rem 4vw 5rem 5vw; justify-content: center; }
  .hero-right { flex: 1; padding: 4rem 5vw 4rem 3vw; }
  .hero-h1    { font-size: clamp(2rem, 3.5vw, 3.25rem); }
  .hero-sub   { font-size: 16px; max-width: 400px; }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: auto; }

  .features { padding: 5rem 5vw; }
  .section-h2 { font-size: clamp(1.6rem, 2.5vw, 2.25rem); }
  .section-sub { font-size: 16px; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }

  .cta-banner { padding: 5rem 5vw; }
  .cta-h2     { font-size: clamp(1.6rem, 2.8vw, 2.75rem); }
  .cta-sub    { font-size: 17px; }
  .cta-actions { flex-direction: row; justify-content: center; }
  .cta-actions .btn-teal,
  .cta-actions .btn-outline-ink { width: auto; }

  .site-footer {
    flex-direction: row; justify-content: space-between;
    padding: 2.5rem 5vw; text-align: left;
  }
  .foot-left { flex-direction: row; align-items: center; gap: 10px; }
}

/* ══════════════════════════════════════
   BREAKPOINT: lg — 1024px
   ══════════════════════════════════════ */
@media (min-width: 1024px) {
  .site-nav { padding: 0 6vw; }
  .hero-left  { padding: 6rem 4vw 6rem 6vw; }
  .hero-right { padding: 5rem 6vw 5rem 3vw; }
  .features   { padding: 7rem 6vw; }
  .cta-banner { padding: 6rem 6vw; }
  .site-footer { padding: 2.5rem 6vw; }
}
