/* =====================================================
   FORGEDO HOME — 2026 REDESIGN
   Fonts: Fraunces (display) · Plus Jakarta Sans (body)
   Theme: Warm cream editorial · Ember orange accent
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,700;0,9..144,900;1,9..144,400;1,9..144,900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Design tokens ─── */
:root {
  --cream:    #F6F1E9;
  --cream2:   #EDE8DF;
  --cream3:   #E5DFD4;
  --ink:      #1A1512;
  --ink2:     #3D3830;
  --ember:    #E84D1C;
  --ember-h:  #C83C0E;
  --ember-s:  #FEF0EB;
  --stone:    #8A8076;
  --stone2:   #B5AFA7;
  --card:     #FFFFFF;
  --border:   rgba(26,21,18,.11);
  --border2:  rgba(26,21,18,.22);
}

.hidden { display: none !important; }

/* ─── Nav ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,241,233,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 0 28px; height: 64px;
  display: flex; align-items: center; gap: 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  flex-shrink: 0; margin-right: 36px;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 900; font-size: 17px;
}
.brand-mark.sm { width: 28px; height: 28px; font-size: 14px; border-radius: 8px; }
.brand-name {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: 1.1rem; letter-spacing: -0.02em;
}
.nav-links {
  display: flex; gap: 28px; flex: 1;
}
.nav-links a {
  color: var(--stone); text-decoration: none;
  font-size: .875rem; font-weight: 600;
  transition: color .12s;
}
.nav-links a:hover { color: var(--ink); }
.nav-actions {
  display: flex; align-items: center; gap: 8px; margin-left: auto;
}
.auth-pill {
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--cream2);
  font-size: .8rem; color: var(--stone);
}
.btn-nav {
  padding: 8px 14px; border-radius: 10px;
  border: 1px solid var(--border2); background: transparent;
  color: var(--ink); text-decoration: none; cursor: pointer;
  font: 600 .875rem 'Plus Jakarta Sans', sans-serif;
  transition: background .12s;
}
.btn-nav:hover { background: var(--cream2); }
.btn-cta {
  padding: 8px 16px; border-radius: 10px;
  background: var(--ember); color: #fff;
  text-decoration: none; font-weight: 700; font-size: .875rem;
  transition: background .12s;
}
.btn-cta:hover { background: var(--ember-h); }

/* ─── Hero ─── */
.hero { padding: 80px 28px 72px; }
.hero-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--stone); margin-bottom: 22px;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ember); flex-shrink: 0;
}
.hero-h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  font-weight: 900; line-height: .93;
  letter-spacing: -0.035em; color: var(--ink);
}
.hero-h1 em {
  font-style: italic; color: var(--ember);
}
.hero-sub {
  margin-top: 22px; max-width: 460px;
  font-size: 1.05rem; line-height: 1.68; color: var(--stone);
}
.hero-ctas {
  display: flex; gap: 12px; margin-top: 30px;
  flex-wrap: wrap; align-items: center;
}
.cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; background: var(--ember);
  color: #fff; text-decoration: none;
  font-weight: 700; font-size: .95rem; border-radius: 12px;
  transition: background .12s, transform .1s;
}
.cta-primary:hover { background: var(--ember-h); transform: translateY(-1px); }
.cta-arrow { font-size: 1rem; }
.cta-ghost {
  display: inline-flex; align-items: center;
  padding: 13px 22px;
  border: 1px solid var(--border2); border-radius: 12px;
  color: var(--ink2); text-decoration: none;
  font-weight: 600; font-size: .95rem;
  transition: background .12s;
}
.cta-ghost:hover { background: var(--cream2); }
.auth-hint {
  margin-top: 16px; font-size: .82rem; color: var(--stone);
}
.auth-hint a { color: var(--ember); text-decoration: none; font-weight: 600; }

/* ─── Hero Visual (CSS mockup) ─── */
.hero-visual { position: relative; height: 440px; }
.hv-card {
  position: absolute;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 18px;
  box-shadow: 0 20px 48px rgba(26,21,18,.12),
              0 4px 12px rgba(26,21,18,.06);
  width: 230px;
}
.hv-card--invoice { top: 0; right: 48px; }
.hv-card--booking { top: 150px; right: 0; }
.hv-card--crm     { top: 264px; right: 56px; }

.hv-top {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 12px;
}
.hv-label {
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--stone);
}
.hv-status {
  font-size: .7rem; font-weight: 700;
  border-radius: 999px; padding: 3px 9px;
}
.hv-status.paid     { background: #DCFCE7; color: #166534; }
.hv-status.upcoming { background: #DBEAFE; color: #1D4ED8; }
.hv-count { font-size: .78rem; color: var(--stone); }
.hv-client { font-weight: 700; font-size: .95rem; }
.hv-amount {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--ink); margin-top: 4px;
}
.hv-rule { height: 1px; background: var(--border); margin: 11px 0; }
.hv-meta { font-size: .75rem; color: var(--stone); }
.hv-bar-wrap { margin: 8px 0; }
.hv-bar {
  height: 6px; background: var(--cream3);
  border-radius: 999px; overflow: hidden;
}
.hv-bar-fill { height: 100%; background: var(--ember); border-radius: 999px; }
.hv-notification {
  position: absolute;
  background: var(--ink); color: var(--cream);
  font-size: .73rem; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(26,21,18,.2);
}
.hv-notif--a { top: 88px; left: 0; }
.hv-notif--b { top: 210px; left: 8px; }

/* ─── Tool Strip ─── */
.tool-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--cream2);
  padding: 14px 28px;
  display: flex; align-items: center;
  justify-content: center; gap: 16px; flex-wrap: wrap;
}
.tool-strip span {
  font-size: .82rem; font-weight: 600; color: var(--stone);
}
.tool-strip .dot {
  color: var(--stone2); font-size: 1.1rem;
}

/* ─── Section shared ─── */
.section { padding: 88px 0; }
.section-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section-head { margin-bottom: 52px; }
.section-label {
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--ember); margin-bottom: 12px;
}
.section-h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.025em;
}
.section-sub {
  margin-top: 12px; font-size: 1rem;
  color: var(--stone); line-height: 1.6;
}

/* ─── Tools Section ─── */
.tools-section { background: var(--cream); }
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tool-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 24px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(26,21,18,.1);
  border-color: var(--border2);
}
.tool-card--soon {
  background: var(--cream2); border-style: dashed;
  cursor: default;
}
.tool-card--soon:hover { transform: none; box-shadow: none; }
.tool-icon { font-size: 28px; line-height: 1; margin-bottom: 14px; }
.tool-name {
  font-weight: 800; font-size: 1rem; margin-bottom: 8px;
}
.tool-desc {
  font-size: .875rem; line-height: 1.62;
  color: var(--stone); flex: 1;
}
.tool-link {
  margin-top: 18px; font-size: .85rem;
  font-weight: 700; color: var(--ember);
}
.soon-label { color: var(--stone2); }

/* ─── Why Section ─── */
.why-section {
  background: var(--cream2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.why-p {
  margin-top: 16px; font-size: 1rem;
  line-height: 1.72; color: var(--stone);
}
.why-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 22px;
}
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem; font-weight: 900;
  color: var(--ember); line-height: 1;
}
.stat-label {
  margin-top: 8px; font-size: .83rem;
  line-height: 1.55; color: var(--stone);
}

/* ─── Pricing Section ─── */
.pricing-section { background: var(--cream); }
.plans-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 20px;
}
.plan-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 22px; padding: 30px; position: relative;
}
.plan-featured {
  border: 2px solid var(--ember);
  box-shadow: 0 0 0 4px rgba(232,77,28,.07);
}
.plan-badge {
  position: absolute; top: -13px;
  left: 50%; transform: translateX(-50%);
  background: var(--ember); color: #fff;
  font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.plan-name {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem; font-weight: 700; margin-bottom: 8px;
}
.plan-price {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem; font-weight: 900; line-height: 1;
}
.plan-price span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .95rem; color: var(--stone); font-weight: 500;
  margin-left: 2px;
}
.plan-desc {
  margin: 10px 0 18px; font-size: .875rem;
  line-height: 1.5; color: var(--stone);
}
.plan-features {
  list-style: none; margin: 0 0 26px; display: grid; gap: 9px;
}
.plan-features li {
  font-size: .875rem; padding-left: 22px; position: relative;
  line-height: 1.5;
}
.plan-features li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cream2);
}
.plan-features li.yes::before { background: #22C55E; }
.plan-features li.no { color: var(--stone2); }
.plan-features li.no::before { background: var(--cream3); }
.plan-btn {
  display: block; width: 100%; text-align: center;
  padding: 12px; border-radius: 12px;
  background: var(--cream2); border: 1px solid var(--border2);
  color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: .9rem;
  transition: background .12s;
}
.plan-btn:hover { background: var(--cream3); }
.plan-btn-featured {
  background: var(--ember); border-color: var(--ember); color: #fff;
}
.plan-btn-featured:hover { background: var(--ember-h); }

/* ─── Add-ons ─── */
.addons-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.addon-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--ember-s);
  border: 1px solid rgba(232,77,28,.18); border-radius: 16px;
  padding: 16px 20px; flex-wrap: wrap;
}
.addon-icon { font-size: 22px; flex-shrink: 0; }
.addon-info { flex: 1; min-width: 0; }
.addon-name { font-weight: 700; font-size: .92rem; }
.addon-desc { color: var(--stone); font-size: .8rem; margin-top: 2px; }
.addon-price {
  font-family: 'Fraunces', serif;
  font-weight: 700; font-size: 1.1rem; color: var(--ember);
  flex-shrink: 0;
}
.addon-btn {
  padding: 8px 14px; border-radius: 10px;
  background: var(--ember); color: #fff;
  text-decoration: none; font-size: .82rem; font-weight: 700;
  flex-shrink: 0; transition: background .12s;
}
.addon-btn:hover { background: var(--ember-h); }

/* ─── CTA Band ─── */
.cta-band {
  background: var(--ink); padding: 80px 28px;
}
.cta-band-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900; color: var(--cream);
  line-height: .95; letter-spacing: -0.03em;
}
.cta-p { margin-top: 12px; color: rgba(246,241,233,.58); font-size: 1rem; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta-band-btn {
  padding: 14px 26px; background: var(--ember); color: #fff;
  text-decoration: none; font-weight: 700; font-size: .95rem;
  border-radius: 12px; transition: background .12s;
}
.cta-band-btn:hover { background: var(--ember-h); }
.cta-band-ghost {
  padding: 14px 26px;
  border: 1px solid rgba(246,241,233,.2);
  border-radius: 12px; color: rgba(246,241,233,.65);
  text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: border-color .12s, color .12s;
}
.cta-band-ghost:hover { border-color: rgba(246,241,233,.4); color: var(--cream); }

/* ─── Footer ─── */
.footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner {
  display: flex; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.footer-links {
  display: flex; gap: 22px;
}
.footer-links a {
  font-size: .85rem; color: var(--stone);
  text-decoration: none; font-weight: 500;
  transition: color .12s;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: .8rem; color: var(--stone); margin-left: auto; }

/* ─── Toast ─── */
.toast {
  position: fixed; right: 18px; bottom: 18px; z-index: 1000;
  padding: 12px 16px; border-radius: 12px;
  background: var(--ink); color: var(--cream);
  font-size: .875rem; font-weight: 600;
  box-shadow: 0 12px 36px rgba(26,21,18,.18);
}
.toast.error { background: #7f1d1d; }

/* ─── Responsive ─── */
@media (max-width: 1080px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; max-width: 460px; }
  .addons-row { grid-template-columns: 1fr; }
}
@media (max-width: 840px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .tools-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-copy { margin-left: 0; }
}
@media (max-width: 520px) {
  .nav-inner { padding: 0 16px; }
  .hero { padding: 48px 16px 48px; }
  .section-inner { padding: 0 16px; }
  .cta-band { padding: 64px 16px; }
  .tool-strip { padding: 12px 16px; }
}

.support-band { padding: 0 0 88px; }
.support-band-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 28px; border-radius: 24px; border: 1px solid var(--border); background: linear-gradient(180deg, #fff, #fcf8f3);
  box-shadow: 0 18px 44px rgba(26,21,18,.08);
}
.support-band-card .section-h2 { max-width: 12ch; }
.support-band-card .section-sub { max-width: 58ch; }
.support-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 820px) {
  .support-band-card { padding: 22px; }
  .support-band-card .section-h2 { max-width: none; }
}
