/* ==========================================================================
   Credebtable Marketing Website
   Design system / global stylesheet
   Brand: blue #0f6ebc  |  green #6ba300
   Built in the visual idiom of the Finsta fintech template.
   ========================================================================== */

:root {
  --blue: #0f6ebc;
  --blue-dark: #0a5599;
  --blue-700: #0b4d87;
  --green: #6ba300;
  --green-dark: #588700;
  --navy: #0b1f33;
  --navy-soft: #163150;
  --ink: #1c2b3a;
  --muted: #5b6b7b;
  --line: #e4ecf4;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --bg-tint: #eef5fb;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 16px rgba(11, 31, 51, .06);
  --shadow: 0 18px 50px rgba(11, 31, 51, .10);
  --shadow-blue: 0 18px 44px rgba(15, 110, 188, .28);
  --container: 1200px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: .28s cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.18; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

section { padding: 96px 0; }

/* ---------- Helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); background: var(--bg-tint);
  padding: 8px 16px; border-radius: 100px; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.text-muted { color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 700; font-size: .98rem;
  padding: 14px 28px; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 16px 36px rgba(107,163,0,.28); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.32); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.arrow::after { content: "→"; font-size: 1.05em; transition: transform var(--transition); }
.arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: .96rem; color: var(--navy-soft); transition: color var(--transition); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: ""; position: absolute; bottom: -26px; left: 0; right: 0; height: 3px;
  background: var(--blue); border-radius: 3px 3px 0 0;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; background: var(--bg-soft); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -180px; right: -160px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(15,110,188,.14), transparent 62%); z-index: 0;
}
.hero::after {
  content: ""; position: absolute; bottom: -200px; left: -160px; width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(107,163,0,.12), transparent 60%); z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .hl { color: var(--blue); }
.hero p.lead { margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust div { font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 9px; font-weight: 600; }
.hero-trust .ck { color: var(--green); font-weight: 800; }

/* hero visual card stack */
.hero-visual { position: relative; }
.glass-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 28px;
}
.score-ring {
  display: flex; align-items: center; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 20px;
}
.ring {
  width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--green) 0 76%, var(--bg-tint) 76% 100%);
  display: grid; place-items: center; position: relative;
}
.ring::before { content: ""; position: absolute; inset: 11px; background: #fff; border-radius: 50%; }
.ring b { position: relative; z-index: 1; font-size: 1.5rem; color: var(--navy); font-weight: 800; }
.score-meta h4 { font-size: 1.05rem; margin-bottom: 2px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700;
  padding: 5px 12px; border-radius: 100px;
}
.badge-green { background: rgba(107,163,0,.13); color: var(--green-dark); }
.badge-amber { background: #fff4e0; color: #b9770b; }
.badge-blue { background: var(--bg-tint); color: var(--blue); }
.report-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; font-size: .94rem; }
.report-row + .report-row { border-top: 1px dashed var(--line); }
.report-row span:first-child { color: var(--muted); }
.report-row b { color: var(--navy); }
.float-chip {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm); padding: 12px 16px; display: flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: .9rem; color: var(--navy);
}
.float-chip .ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.float-chip.one { top: -22px; left: -26px; }
.float-chip.two { bottom: -24px; right: -18px; }

/* ---------- Logos strip ---------- */
.logos { padding: 40px 0; border-bottom: 1px solid var(--line); }
.logos p { text-align: center; color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; }
.logos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.logo-pill { display: flex; align-items: center; gap: 9px; color: var(--navy-soft); font-weight: 700; opacity: .72; font-size: 1.02rem; }

/* ---------- Stats ---------- */
.stats-band { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .num { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: #fff; letter-spacing: -.03em; }
.stat .num .green { color: #8fc320; }
.stat p { color: rgba(255,255,255,.66); font-size: .95rem; margin-top: 4px; }

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: var(--transition); position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  margin-bottom: 22px; color: #fff; font-size: 1.5rem;
}
.ico-blue { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.ico-green { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.ico-navy { background: linear-gradient(135deg, var(--navy-soft), var(--navy)); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--blue); font-size: .92rem; }
.card .more::after { content: "→"; transition: transform var(--transition); }
.card:hover .more::after { transform: translateX(4px); }
.card.feature-num::before {
  content: attr(data-num); position: absolute; top: 18px; right: 22px;
  font-size: 3.4rem; font-weight: 800; color: var(--bg-tint); line-height: 1; z-index: 0;
}
.card.feature-num > * { position: relative; z-index: 1; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  background: linear-gradient(160deg, var(--bg-tint), #fff); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm);
}
.check-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; color: var(--ink); }
.check-list .tick {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(107,163,0,.14);
  color: var(--green-dark); display: grid; place-items: center; font-weight: 800; font-size: .8rem; margin-top: 2px;
}
.check-list li b { color: var(--navy); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 12px; }
.step .n {
  width: 54px; height: 54px; border-radius: 16px; background: var(--bg-tint); color: var(--blue);
  font-weight: 800; font-size: 1.25rem; display: grid; place-items: center; margin-bottom: 20px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: 70px; right: -13px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px;
  display: flex; flex-direction: column; transition: var(--transition);
}
.price:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.price.popular { background: var(--navy); border-color: var(--navy); color: #fff; transform: scale(1.03); }
.price.popular h3, .price.popular .amount { color: #fff; }
.price.popular .price-desc, .price.popular .price-feat li { color: rgba(255,255,255,.8); }
.price .tag { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.price.popular .tag { color: #8fc320; }
.price .pop-badge { align-self: flex-start; background: var(--green); color: #fff; font-size: .72rem; font-weight: 800; padding: 5px 12px; border-radius: 100px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.price h3 { margin: 6px 0 4px; }
.price-desc { color: var(--muted); font-size: .92rem; min-height: 42px; }
.amount { font-size: 2.8rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; margin: 14px 0 4px; }
.amount small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price.popular .amount small { color: rgba(255,255,255,.7); }
.price-feat { margin: 22px 0 28px; }
.price-feat li { display: flex; gap: 11px; align-items: flex-start; padding: 7px 0; font-size: .95rem; color: var(--ink); }
.price-feat .tick { color: var(--green); font-weight: 800; flex-shrink: 0; }
.price.popular .price-feat .tick { color: #8fc320; }
.price .btn { margin-top: auto; }

/* ---------- Testimonial ---------- */
.quote-card {
  background: linear-gradient(150deg, var(--bg-tint), #fff); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 44px; text-align: center; max-width: 820px; margin: 0 auto;
}
.quote-card .mark { font-size: 3rem; color: var(--blue); line-height: 1; font-weight: 800; }
.quote-card blockquote { font-size: 1.3rem; color: var(--navy); font-weight: 600; line-height: 1.5; margin: 10px 0 26px; }
.quote-card .who { font-weight: 800; color: var(--navy); }
.quote-card .role { color: var(--muted); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 24px; font-family: var(--font); font-weight: 700; font-size: 1.05rem; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .sign { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-tint); color: var(--blue); display: grid; place-items: center; font-size: 1.3rem; transition: var(--transition); }
.faq-item.open .faq-q .sign { background: var(--blue); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue) 0%, var(--blue-700) 55%, var(--navy) 100%); border-radius: var(--radius-lg); padding: 60px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; top: -80px; right: -60px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(143,195,32,.3), transparent 65%); }
.cta-band h2 { color: #fff; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 560px; margin: 16px auto 30px; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: -120px; right: -80px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(15,110,188,.45), transparent 62%); }
.page-hero::after { content: ""; position: absolute; bottom: -160px; left: -90px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(107,163,0,.28), transparent 62%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 620px; margin-top: 16px; font-size: 1.1rem; }
.crumb { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.crumb a:hover { color: #fff; }
.crumb span { color: #8fc320; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft); transition: var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(15,110,188,.1); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* account type toggle */
.acct-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.acct-opt { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 18px; cursor: pointer; transition: var(--transition); text-align: center; }
.acct-opt .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); color: var(--blue); display: grid; place-items: center; margin: 0 auto 10px; font-size: 1.2rem; }
.acct-opt b { display: block; color: var(--navy); }
.acct-opt small { color: var(--muted); font-size: .82rem; }
.acct-opt.active { border-color: var(--blue); background: var(--bg-tint); }
.acct-opt.active .ico { background: var(--blue); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.66); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { height: 34px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .94rem; max-width: 300px; margin-bottom: 20px; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: var(--transition); }
.social a:hover { background: var(--blue); }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; font-size: .94rem; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 24px; font-size: .88rem; }
.footer-bottom a:hover { color: #fff; }
.disclaimer { background: rgba(255,255,255,.04); border-radius: var(--radius-sm); padding: 18px 22px; margin-top: 30px; font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.6; }

/* ---------- Reveal animation ---------- */
/* Hidden state applies ONLY when JS is active (html.js), so no-JS users
   still see all content. JS adds the .in class as elements scroll in. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-3, .grid-4, .price-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price.popular { transform: none; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 680px) {
  section { padding: 64px 0; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 20px 24px; gap: 8px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 10px 0; width: 100%; }
  .nav-links.open a.active::after { display: none; }
  .grid-3, .grid-4, .price-grid, .stats-grid, .steps, .field-row, .acct-toggle, .footer-grid { grid-template-columns: 1fr; }
  .cta-band, .quote-card, .form-card { padding: 32px 24px; }
  .float-chip { display: none; }
  body { font-size: 16px; }
}
