:root {
  --bg: #f5f4f0;
  --bg2: #edecea;
  --ink: #1a1916;
  --ink2: #6b6860;
  --ink3: #a8a59f;
  --accent: #2d5be3;
  --accent-light: #eef1fd;
  --accent-dark: #1a3db8;
  --green: #16a34a;
  --green-light: #dcfce7;
  --border: #dddbd6;
  --border2: #e8e6e1;
  --white: #ffffff;
  --card: #ffffff;
  --shadow: 0 1px 3px rgba(26,25,22,0.06), 0 4px 16px rgba(26,25,22,0.04);
  --shadow-lg: 0 8px 40px rgba(26,25,22,0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(245,244,240,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 18px;
  color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.logo-mark {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 13px; font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  color: var(--ink2); text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 6px 14px; border-radius: 6px;
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--ink); background: var(--border2); }
.nav-btn {
  background: var(--ink) !important; color: var(--bg) !important;
  font-weight: 600 !important; padding: 7px 18px !important;
  border-radius: 8px !important; transition: opacity 0.15s !important;
}
.nav-btn:hover { opacity: 0.85 !important; background: var(--ink) !important; }

/* ── HERO ── */
.hero {
  padding: 80px 48px 60px;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.hero-label {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-light); color: var(--green);
  border-radius: 100px; padding: 4px 12px;
  font-size: 12px; font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 24px;
}
.hero-label::before { content: ''; width: 6px; height: 6px; background: var(--green); border-radius: 50%; }

h1 {
  font-family: Arial, sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800; line-height: 1.0;
  letter-spacing: -2.5px; margin-bottom: 20px;
  color: var(--ink);
}
h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: 17px; color: var(--ink2);
  line-height: 1.7; max-width: 460px;
  margin-bottom: 36px; font-weight: 400;
}

.hero-actions { display: flex; gap: 12px; align-items: center; margin-bottom: 48px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none;
  transition: all 0.15s; font-family: inherit;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #2d2b27; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(26,25,22,0.2); }
.btn-ghost { background: transparent; color: var(--ink2); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink2); background: var(--white); }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(45,91,227,0.3); }

.hero-trust {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--ink3);
}
.trust-avatars { display: flex; }
.trust-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--bg);
  margin-right: -8px; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.trust-sep { width: 1px; height: 16px; background: var(--border); }

/* ── HERO VISUAL ── */
.hero-visual { position: relative; }

.invoice-preview {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.inv-topbar {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border2);
  display: flex; align-items: center; gap: 8px;
  background: var(--bg2);
}
.inv-dot { width: 10px; height: 10px; border-radius: 50%; }
.inv-body { padding: 24px 28px; }
.inv-head {
  display: flex; justify-content: space-between;
  margin-bottom: 24px;
}
.inv-from-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; }
.inv-from-sub { font-size: 12px; color: var(--ink3); font-family: 'JetBrains Mono', monospace; margin-top: 2px; }
.inv-status {
  background: var(--green-light); color: var(--green);
  border-radius: 6px; padding: 4px 10px;
  font-size: 11px; font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  height: fit-content;
}
.inv-divider { height: 1px; background: var(--border2); margin: 16px 0; }
.inv-line {
  display: flex; justify-content: space-between;
  padding: 8px 0; font-size: 13px;
}
.inv-line-name { color: var(--ink); font-weight: 500; }
.inv-line-price { font-family: 'JetBrains Mono', monospace; color: var(--ink); }
.inv-line-desc { font-size: 11px; color: var(--ink3); margin-top: 2px; }
.inv-total-box {
  background: var(--ink); color: var(--bg);
  border-radius: 10px; padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px;
}
.inv-total-label { font-size: 12px; opacity: 0.6; font-family: 'JetBrains Mono', monospace; }
.inv-total-amount { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -1px; }

.badge-float {
  position: absolute; background: var(--white);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 16px; box-shadow: var(--shadow);
  font-size: 13px; display: flex; align-items: center; gap: 10px;
  animation: float-y 4s ease-in-out infinite;
}
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.badge-float-1 { top: -20px; right: -20px; animation-delay: 0s; }
.badge-float-2 { bottom: 30px; left: -30px; animation-delay: 2s; }
.badge-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.bg-green-soft { background: var(--green-light); }
.bg-blue-soft { background: var(--accent-light); }
.badge-t { font-weight: 600; font-size: 13px; }
.badge-s { font-size: 11px; color: var(--ink3); font-family: 'JetBrains Mono', monospace; }

/* ── LOGOS BAND ── */
.logos-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 48px;
  display: flex; align-items: center;
  justify-content: center; gap: 48px;
  background: var(--bg2);
}
.logos-label { font-size: 12px; color: var(--ink3); font-family: 'JetBrains Mono', monospace; white-space: nowrap; }
.logo-partner {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 16px; color: var(--ink3);
  letter-spacing: -0.5px; opacity: 0.5;
}

/* ── SECTIONS ── */
.section { padding: 96px 48px; max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 3px;
  margin-bottom: 14px;
}
h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800; letter-spacing: -1.5px;
  line-height: 1.05; margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--ink2); max-width: 520px; line-height: 1.7; }

/* ── FEATURES ── */
.features-section { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-inner { max-width: 1200px; margin: 0 auto; padding: 96px 48px; }
.features-header { max-width: 560px; margin-bottom: 64px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--border);
}
.feat {
  background: var(--white);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feat:hover { background: var(--bg); }
.feat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 20px;
}
.feat-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 8px; letter-spacing: -0.3px; }
.feat-desc { font-size: 14px; color: var(--ink2); line-height: 1.65; }

/* ── HOW IT WORKS ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; }
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--accent); font-weight: 500;
  margin-bottom: 16px;
}
.step-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; margin-bottom: 10px; letter-spacing: -0.5px; }
.step-desc { font-size: 14px; color: var(--ink2); line-height: 1.7; }
.step-divider { width: 40px; height: 3px; background: var(--accent); border-radius: 2px; margin-bottom: 16px; }

/* ── PRICING ── */
.pricing-section { background: var(--bg2); border-top: 1px solid var(--border); }
.pricing-inner { max-width: 1100px; margin: 0 auto; padding: 96px 48px; }
.pricing-header { text-align: center; margin-bottom: 56px; }
.pricing-header .section-sub { margin: 0 auto; text-align: center; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  border-color: var(--accent); background: var(--ink);
  color: var(--bg);
}
.price-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: white;
  font-size: 10px; font-weight: 700; font-family: 'JetBrains Mono', monospace;
  padding: 3px 12px; border-radius: 100px; text-transform: uppercase; letter-spacing: 1px;
}
.plan-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--ink3); margin-bottom: 20px;
}
.featured .plan-name { color: rgba(245,244,240,0.5); }
.plan-price {
  font-family: 'Syne', sans-serif;
  font-size: 52px; font-weight: 800; letter-spacing: -3px;
  line-height: 1; margin-bottom: 4px;
}
.plan-price sup { font-size: 22px; letter-spacing: 0; vertical-align: super; }
.plan-period { font-size: 13px; color: var(--ink3); margin-bottom: 28px; font-family: 'JetBrains Mono', monospace; }
.featured .plan-period { color: rgba(245,244,240,0.5); }

.plan-feats { list-style: none; margin-bottom: 32px; }
.plan-feats li {
  padding: 9px 0;
  font-size: 14px; color: var(--ink2);
  display: flex; gap: 10px; align-items: flex-start;
  border-bottom: 1px solid var(--border2);
}
.featured .plan-feats li { color: rgba(245,244,240,0.7); border-color: rgba(255,255,255,0.08); }
.plan-feats li:last-child { border-bottom: none; }
.feat-check { color: var(--green); font-size: 13px; margin-top: 2px; flex-shrink: 0; }
.feat-cross { color: var(--ink3); font-size: 13px; margin-top: 2px; flex-shrink: 0; }
.featured .feat-check { color: #4ade80; }

.plan-btn {
  width: 100%; padding: 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; font-family: inherit;
  cursor: pointer; border: 1px solid var(--border);
  background: var(--bg); color: var(--ink);
  transition: all 0.15s;
}
.plan-btn:hover { background: var(--border2); }
.plan-btn.accent {
  background: var(--accent); color: white; border-color: var(--accent);
}
.plan-btn.accent:hover { background: var(--accent-dark); }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.testi-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  transition: transform 0.2s;
}
.testi-card:hover { transform: translateY(-2px); }
.testi-stars { color: #f59e0b; font-size: 13px; margin-bottom: 16px; }
.testi-text { font-size: 15px; color: var(--ink); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; font-family: 'Syne', sans-serif;
}
.testi-name { font-weight: 600; font-size: 14px; }
.testi-role { font-size: 12px; color: var(--ink3); font-family: 'JetBrains Mono', monospace; }

/* ── CTA ── */
.cta-section {
  background: var(--ink); color: var(--bg);
  padding: 96px 48px; text-align: center;
}
.cta-section h2 { color: var(--bg); }
.cta-section .section-sub { color: rgba(245,244,240,0.6); margin: 0 auto 40px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; }
.btn-white { background: var(--bg); color: var(--ink); }
.btn-white:hover { background: var(--bg2); }
.btn-outline-white { background: transparent; color: var(--bg); border: 1px solid rgba(245,244,240,0.2); }
.btn-outline-white:hover { background: rgba(245,244,240,0.05); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg2);
}
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 13px; color: var(--ink3); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 12px; color: var(--ink3); font-family: 'JetBrains Mono', monospace; }

/* ── REVEAL ANIM ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links li:not(:last-child) { display: none; }
  .hero { grid-template-columns: 1fr; padding: 48px 20px; gap: 40px; }
  .hero-visual { display: none; }
  .section { padding: 64px 20px; }
  .features-grid, .steps, .pricing-grid, .testi-grid { grid-template-columns: 1fr; }
  .logos-band { gap: 24px; padding: 16px 20px; overflow-x: auto; }
  footer { flex-direction: column; gap: 16px; padding: 24px 20px; text-align: center; }
}