:root {
  --bg-dark: #0F172A;
  --bg-light: #F8FAFC;
  --accent-orange: #FF6B00;
  --accent-green: #10B981;
  --word-blue: #3B82F6;
  --word-green: #34D399;
  --text-dark: #0F172A;
  --text-muted: #64748B;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark); background: #ffffff; line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }

.wordmark { font-size: 22px; font-weight: 800; color: var(--word-blue); }
.wordmark span { color: var(--word-green); }
.wordmark.small { font-size: 18px; }

.btn-l {
  display: inline-block; padding: 11px 22px; border-radius: 8px; font-size: 14px; font-weight: 700;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
}
.btn-l-primary { background: var(--accent-orange); color: #fff; box-shadow: 0 0 0 rgba(255,107,0,0); transition: box-shadow .2s, background .2s; }
.btn-l-primary:hover { background: #e05f00; box-shadow: 0 0 26px rgba(255,107,0,.45); }
.btn-l-outline-dark { border-color: #2c3a56; color: #e2e8f0; }
.btn-l-outline-dark:hover { border-color: var(--accent-orange); color: var(--accent-orange); }
.btn-l-lg { padding: 15px 30px; font-size: 16px; }
.btn-l-sm { padding: 8px 16px; font-size: 13px; }

/* Header */
.l-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; padding: 22px 0; }
.l-header-inner { display: flex; align-items: center; justify-content: space-between; }
.l-nav-links { display: flex; align-items: center; gap: 30px; }
.l-nav-links a { font-size: 14px; font-weight: 500; color: #b8c2d6; }
.l-nav-links a:hover { color: #fff; }
.l-header-actions { display: flex; align-items: center; gap: 12px; }

/* Sticky bar */
.sticky-bar {
  position: fixed; top: -90px; left: 0; right: 0; background: var(--bg-dark); z-index: 60;
  padding: 12px 0; box-shadow: 0 4px 24px rgba(0,0,0,.35); transition: top .3s ease;
}
.sticky-bar.visible { top: 0; }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; }

/* Hero */
.l-hero-section {
  background: var(--bg-dark); padding: 150px 24px 100px; position: relative; overflow: hidden;
}
.l-hero-section::before, .l-hero-section::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .3; pointer-events: none;
}
.l-hero-section::before { width: 420px; height: 420px; background: var(--accent-orange); top: -140px; left: -120px; }
.l-hero-section::after { width: 380px; height: 380px; background: var(--accent-green); top: 40px; right: -140px; }
.l-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }

.hero-badge {
  display: inline-block; background: rgba(255,107,0,.12); border: 1px solid rgba(255,107,0,.35);
  color: #ffb37a; font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 20px; margin-bottom: 22px;
}
.l-hero-copy h1 { font-size: 44px; font-weight: 800; color: #fff; line-height: 1.15; margin: 0 0 20px; }
.l-hero-copy .sub { font-size: 17px; color: #b8c2d6; margin: 0 0 28px; max-width: 520px; }
.l-hero-copy .ctas { margin-bottom: 14px; }
.l-hero-copy .note { font-size: 13px; color: #7d8aa3; }

/* Phone mockup */
.l-hero-visual { position: relative; display: flex; justify-content: center; }
.phone-frame {
  width: 280px; background: #111; border-radius: 40px; padding: 14px; position: relative;
  box-shadow: 0 50px 90px rgba(0,0,0,.5);
}
.phone-notch {
  width: 120px; height: 22px; background: #111; border-radius: 0 0 16px 16px; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%); z-index: 2;
}
.phone-screen { background: #fff; border-radius: 28px; overflow: hidden; padding-top: 26px; }
.phone-topbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; font-size: 12px; font-weight: 700; color: var(--text-dark); }
.phone-topbar .pill { background: #ECFDF5; color: var(--accent-green); padding: 3px 9px; border-radius: 10px; font-size: 10px; font-weight: 700; }
.phone-invoice-card { margin: 0 14px 22px; border: 1px solid #eee; border-radius: 12px; padding: 14px; }
.pi-row { display: flex; justify-content: space-between; font-size: 12px; padding: 6px 0; color: #334155; }
.pi-head { align-items: center; gap: 10px; border-bottom: 1px solid #eee; margin-bottom: 6px; padding-bottom: 10px; }
.pi-logo { width: 32px; height: 32px; border-radius: 8px; background: var(--accent-orange); color: #fff; font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pi-company { font-size: 13px; font-weight: 700; }
.pi-sub { font-size: 10px; color: #94a3b8; }
.pi-total { font-weight: 800; border-top: 1px solid #eee; margin-top: 4px; padding-top: 8px; }
.pi-pay-btn { margin-top: 10px; background: var(--accent-green); color: #fff; text-align: center; padding: 9px; border-radius: 8px; font-size: 12px; font-weight: 800; }

.floating-notif {
  position: absolute; bottom: 34px; right: -6px; background: #fff; border-radius: 14px;
  box-shadow: 0 20px 44px rgba(0,0,0,.4); padding: 12px 16px; display: flex; gap: 10px; align-items: center;
  width: 250px; opacity: 0; animation: floatIn .6s ease .9s forwards;
}
@keyframes floatIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fn-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--accent-orange); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; }
.fn-title { font-size: 12px; font-weight: 800; color: var(--text-dark); }
.fn-body { font-size: 11px; color: #475569; margin-top: 2px; line-height: 1.35; }

/* Trust trades bar */
.trust-trades { background: var(--bg-light); padding: 34px 24px; text-align: center; border-bottom: 1px solid #e2e8f0; }
.tt-title { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 16px; font-weight: 700; }
.tt-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.tt-badges span { background: #fff; border: 1px solid #e2e8f0; padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; color: #334155; }

/* Sections */
.l-section { padding: 90px 24px; }
.l-section.alt { background: var(--bg-light); }
.l-section h2 { font-size: 32px; font-weight: 800; text-align: center; margin: 0 0 12px; }
.section-sub { text-align: center; color: var(--text-muted); font-size: 16px; margin: 0 0 50px; }

/* Invoice showcase */
.invoice-demo-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.invoice-demo-card {
  position: relative; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px;
  box-shadow: 0 24px 60px rgba(15,23,42,.09);
}
.idc-header { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid #eee; padding-bottom: 18px; margin-bottom: 18px; }
.idc-logo { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-orange); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.idc-company { font-size: 17px; font-weight: 800; }
.idc-sub { font-size: 12px; color: #94a3b8; }
.idc-badge-paid {
  margin-left: auto; background: var(--accent-green); color: #fff; font-weight: 800; font-size: 12px;
  padding: 6px 14px; border-radius: 20px; box-shadow: 0 0 18px rgba(16,185,129,.6); letter-spacing: .05em;
}
.idc-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.idc-table td { padding: 8px 0; font-size: 14px; color: #334155; }
.idc-table td:last-child { text-align: right; font-weight: 700; }
.idc-totals { max-width: 240px; margin-left: auto; font-size: 13px; }
.idc-totals > div { display: flex; justify-content: space-between; padding: 4px 0; color: #64748b; }
.idc-totals .total { font-weight: 800; font-size: 16px; color: var(--text-dark); border-top: 1px solid #eee; margin-top: 6px; padding-top: 8px; }
.idc-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid #eee; }
.idc-pay-btn { background: var(--accent-orange); color: #fff; font-weight: 800; padding: 10px 22px; border-radius: 8px; font-size: 14px; }
.idc-signature { text-align: right; }
.sig-line { width: 140px; height: 1px; background: var(--text-dark); margin-bottom: 6px; margin-left: auto; }
.sig-label { font-size: 11px; color: #94a3b8; }

.idc-dot {
  position: absolute; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-orange); color: #fff;
  font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.3); border: 3px solid #fff;
}
.idc-dot.dot-1 { top: -12px; left: -12px; }
.idc-dot.dot-2 { top: 46%; left: -14px; }
.idc-dot.dot-3 { bottom: 44px; left: -14px; }
.idc-dot.dot-4 { bottom: -12px; right: 60px; }

.invoice-legend { display: flex; flex-direction: column; gap: 24px; }
.legend-item { display: flex; gap: 14px; align-items: flex-start; }
.legend-num {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-orange); color: #fff;
  font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.legend-item p { margin: 0; font-size: 15px; font-weight: 600; color: #1e293b; padding-top: 4px; }

/* 3 steps */
.steps-grid-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1020px; margin: 0 auto; }
.step-card-v2 { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 32px 26px; text-align: center; position: relative; }
.step-icon { font-size: 32px; margin-bottom: 14px; }
.step-num { position: absolute; top: 16px; right: 20px; font-size: 13px; font-weight: 800; color: var(--accent-orange); }
.step-card-v2 h3 { font-size: 18px; font-weight: 800; margin: 0 0 10px; }
.step-card-v2 p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1080px; margin: 0 auto; }
.testimonial-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 30px; }
.testimonial-card.real .stars { color: var(--accent-orange); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card.real blockquote { font-size: 15px; line-height: 1.55; margin: 0 0 16px; color: #1e293b; }
.testimonial-card.real .author { font-weight: 800; font-size: 14px; }
.testimonial-card.real .role { font-size: 12px; color: var(--text-muted); }
.testimonial-card.soon {
  border: 2px dashed #cbd5e1; text-align: center; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: var(--text-muted);
}
.soon-icon { font-size: 26px; color: #cbd5e1; margin-bottom: 10px; }
.soon-title { font-weight: 800; color: #475569; margin-bottom: 8px; }
.testimonial-card.soon p { font-size: 13px; margin: 0 0 14px; }
.testimonial-card.soon .link { color: var(--accent-orange); font-weight: 700; font-size: 13px; }

/* Trust badges */
.trust-bar { text-align: center; padding: 0 24px 60px; }
.trust-bar .label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; font-weight: 700; }
.badges { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.badge-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-dark); font-weight: 600; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; }

.feature-chip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1020px; margin: 34px auto 0; }
.feature-chip { display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px 18px; }
.feature-chip .fc-icon {
  width: 34px; height: 34px; border-radius: 9px; background: #ECFDF5; color: var(--accent-green); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.feature-chip .fc-icon svg { width: 17px; height: 17px; }
.feature-chip h4 { font-size: 14px; font-weight: 700; margin: 0 0 3px; }
.feature-chip p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; }

.help-contact { text-align: center; margin-top: 28px; font-size: 14px; color: var(--text-muted); }
.help-contact a { color: var(--word-blue); font-weight: 700; text-decoration: underline; }

/* FAQ */
.faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 18px 22px; margin-bottom: 12px; }
.faq-item summary {
  font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; display: flex;
  justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--accent-orange); font-weight: 400; transition: transform .2s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* Final CTA */
.final-cta { background: var(--bg-dark); text-align: center; padding: 80px 24px; position: relative; overflow: hidden; }
.final-cta h2 { color: #fff; font-size: 32px; font-weight: 800; margin: 0 0 12px; }
.final-cta p { color: #b8c2d6; font-size: 16px; margin: 0 0 28px; }

/* Footer */
.l-footer { background: var(--bg-dark); border-top: 1px solid #1c2740; padding: 28px 24px; text-align: center; font-size: 13px; color: #7d8aa3; }

/* Scroll-in animation */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: .15s; }
.fade-up.delay-2 { transition-delay: .3s; }

@media (max-width: 900px) {
  .l-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .l-hero-copy .sub { margin-left: auto; margin-right: auto; }
  .l-hero-visual { margin-top: 50px; }
  .invoice-demo-grid { grid-template-columns: 1fr; }
  .invoice-legend { margin-top: 50px; }
  .idc-dot { display: none; }
  .steps-grid-v2, .testi-grid, .feature-chip-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .l-header .l-nav-links { display: none; }
  .l-hero-section { padding: 130px 24px 80px; }
  .l-hero-copy h1 { font-size: 30px; }
  .l-section h2 { font-size: 26px; }
  .floating-notif { width: 210px; right: 0; bottom: 16px; padding: 10px 12px; }
  .invoice-demo-card { padding: 22px; }
  .idc-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .idc-signature { text-align: left; }
  .sig-line { margin-left: 0; }
}

@media (max-width: 480px) {
  .l-header-actions .btn-l-outline-dark { display: none; }
  .l-hero-copy h1 { font-size: 26px; }
  .hero-badge { font-size: 12px; }
  .phone-frame { width: 230px; }
}

