@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&display=swap");

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #e2e8f0;
  --brand: #111827;
  --brand-2: #2563eb;
  /* Brand guide (Section 9) */
  --brand-blue: #2563eb;
  --brand-teal: #14b8a6;
  --brand-navy: #0f172a;
  --accent: #f59e0b;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 12px 35px rgba(15, 23, 42, 0.08);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--soft);
}

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

/* Header/footer lockup: squircle mark + UnKagaj + tagline (brand typography: Poppins 600/500) */
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.logo-lockup__mark {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--soft);
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  padding: 7px;
  box-sizing: border-box;
}

.logo-lockup__mark img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  display: block;
}

.logo-lockup__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  line-height: 1.15;
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
}

.logo-lockup__name {
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
}

.logo-lockup__tagline {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo-lockup__tagline-navy {
  color: var(--brand-navy);
}

.logo-lockup__tagline-blue {
  color: var(--brand-blue);
}

.footer-grid .logo-lockup__mark {
  width: 48px;
  height: 48px;
  padding: 8px;
}

.footer-grid .logo-lockup__name {
  font-size: 1.2rem;
}

.footer-grid .logo-lockup__tagline {
  font-size: 0.78rem;
}

.logo-img {
  height: 44px;
  width: auto;
  max-width: min(240px, 52vw);
  object-fit: contain;
  display: block;
}

.footer-grid .logo-img {
  height: 48px;
  max-width: 260px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, #111827, #334155);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.logo-title {
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.18rem;
}

.logo-subtitle {
  margin-top: -5px;
  color: var(--muted);
  font-size: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #334155;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a:hover, .nav-links a.active { color: var(--brand-2); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.22);
}

.btn-primary:hover { transform: translateY(-2px); background: #020617; }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--soft);
}

.btn-secondary:hover { transform: translateY(-2px); border-color: #cbd5e1; }

.btn-blue {
  background: var(--brand-2);
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 16px 0 20px;
  border-top: 1px solid var(--soft);
}

.mobile-menu a,
.mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 0;
  border: 0;
  background: transparent;
  font-weight: 750;
  color: #334155;
  cursor: pointer;
}

main { min-height: 70vh; }

.page { display: none; }
.page.active { display: block; }

.hero {
  background:
    radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.13), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(245, 158, 11, 0.16), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 82%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 48px;
  align-items: center;
  padding: 24px 0 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--soft);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: #334155;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  margin: 0;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 660px;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.93rem;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--soft);
  border-radius: 32px;
  padding: 18px;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.dashboard-top {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 26px;
  color: #fff;
  padding: 24px;
}

.dashboard-title-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 24px;
}

.dashboard-title-row small { color: #cbd5e1; }
.dashboard-title-row h3 { margin: 2px 0 0; font-size: 1.7rem; letter-spacing: -0.04em; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 14px;
}

.stat small { color: #cbd5e1; }
.stat strong { display: block; font-size: 1.5rem; margin-top: 4px; }

.invoice-list { display: grid; gap: 10px; margin-top: 14px; }

.invoice-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--soft);
  border-radius: 20px;
  background: #fff;
}

.invoice-row small { color: var(--muted); }
.pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 800;
}
.pill.pending { background: #fff7ed; color: #c2410c; }
.pill.paid { background: #ecfdf5; color: #047857; }

section { padding: 76px 0; }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 0;
}

.section-head p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  background: #fff;
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #eff6ff;
  color: var(--brand-2);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.card h3 { margin: 0 0 8px; letter-spacing: -0.035em; font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; }

.contrast {
  background: #0f172a;
  color: #fff;
}

.contrast .section-head p,
.contrast .card p { color: #cbd5e1; }
.contrast .card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); box-shadow: none; }
.contrast .icon { background: rgba(255,255,255,0.10); color: #fbbf24; }

.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--soft);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.15rem;
}

.step h3 { margin: 0 0 6px; letter-spacing: -0.035em; }
.step p { color: var(--muted); margin: 0; }

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pricing-card.recommended {
  border: 2px solid var(--brand-2);
  transform: translateY(-8px);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #dbeafe;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 900;
}

.price {
  display: flex;
  align-items: end;
  gap: 6px;
  margin: 18px 0 6px;
}

    .price strong { font-size: 2.35rem; letter-spacing: -0.06em; }
    .price .price-asterisk {
      font-size: 0.45em;
      font-weight: 800;
      margin-left: 2px;
      vertical-align: super;
      line-height: 0;
      position: relative;
      top: -0.35em;
    }
    .price span { color: var(--muted); margin-bottom: 8px; }

.limits {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.feature-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; }
.feature-list li { display: flex; gap: 9px; align-items: flex-start; color: #334155; }
.check { color: var(--success); font-weight: 900; }

.pricing-card .btn { margin-top: auto; width: 100%; }

.faq-item {
  background: #fff;
  border: 1px solid var(--soft);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 12px;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 20px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  font-weight: 900;
  color: var(--ink);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-item.open .faq-answer { display: block; }

.form-wrap {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--soft);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-wrap h1 { margin: 0 0 8px; letter-spacing: -0.05em; font-size: 2.2rem; }
.form-wrap p { margin: 0 0 22px; color: var(--muted); }

.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 800; margin-bottom: 7px; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--soft);
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--soft);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.legal-content h1 { margin-top: 0; letter-spacing: -0.05em; font-size: 2.5rem; }
.legal-content h2 { margin-top: 30px; letter-spacing: -0.035em; }
.legal-content p, .legal-content li { color: #475569; }
.legal-content ul { padding-left: 20px; }

.cta-band {
  background: linear-gradient(135deg, #111827, #1d4ed8);
  color: #fff;
  border-radius: 34px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-band h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -0.055em; line-height: 1.05; }
.cta-band p { margin: 12px 0 0; color: #dbeafe; }
.cta-band .btn { background: #fff; color: #0f172a; }

footer {
  background: #fff;
  border-top: 1px solid var(--soft);
  padding: 36px 0;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

footer h4 { color: var(--ink); margin: 0 0 12px; }
footer a { display: block; margin: 8px 0; color: var(--muted); }
footer a:hover { color: var(--brand-2); }

.small-note { font-size: 0.86rem; color: var(--muted); }
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.hidden { display: none !important; }

@media (max-width: 980px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: block; }
  .mobile-menu.open { display: block; }
  .hero-grid, .grid-2, .footer-grid, .cta-band { grid-template-columns: 1fr; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-card { transform: none; }
  .cta-band { text-align: center; }
}

    @media (max-width: 640px) {
      .container { width: min(100% - 24px, var(--max)); }
      .nav-inner { height: 68px; }
      .logo-mark { width: 40px; height: 40px; border-radius: 6px; }
      .logo-subtitle { display: none; }
      .navbar .logo-lockup__tagline { display: none; }
      .navbar .logo-lockup__mark {
        width: 40px;
        height: 40px;
        border-radius: 6px;
        padding: 6px;
      }
      .navbar .logo-lockup__name { font-size: 1.05rem; }
  .hero-grid { padding: 16px 0 46px; gap: 30px; }
  .hero h1 { font-size: 2.75rem; }
  .hero .lead { font-size: 1.03rem; }
  section { padding: 54px 0; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .pricing-card.recommended { transform: none; }
  .cta-band { padding: 28px; border-radius: 24px; }
  .legal-content, .form-wrap { padding: 22px; border-radius: 22px; }
  .hero-actions .btn { width: 100%; }
}
  
