:root {
    --navy-900: #0b1d3a;
    --navy-800: #122a52;
    --navy-700: #1c3a6e;
    --navy-50:  #eef3fb;
    --ink:      #0f172a;
    --muted:    #5a6b85;
    --line:     #e3e8f1;
    --bg:       #ffffff;
    --bg-soft:  #f6f8fc;
    --accent:   #1ea97c;
    --accent-700: #178a65;
    --gold:     #d4a24c;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
    --shadow-md: 0 6px 16px rgba(15, 23, 42, .08), 0 2px 6px rgba(15, 23, 42, .05);
    --shadow-lg: 0 24px 48px rgba(15, 23, 42, .14);
    --radius:   14px;
    --radius-sm: 10px;
    --radius-lg: 22px;
    --maxw:     1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy-700); }

h1, h2, h3, h4 {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    margin: 0 0 .5em;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); line-height: 1.08; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 650; }
h4 { font-size: .95rem; font-weight: 650; }

p { margin: 0 0 1em; color: var(--muted); }

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm  { padding: 9px 16px; font-size: .88rem; }
.btn-lg  { padding: 15px 28px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
    background: var(--navy-800);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-md); }

.btn-outline {
    background: #fff;
    color: var(--navy-800);
    border-color: var(--line);
}
.btn-outline:hover { border-color: var(--navy-800); color: var(--navy-900); }

.btn-ghost {
    background: transparent;
    color: var(--navy-800);
}
.btn-ghost:hover { background: var(--navy-50); color: var(--navy-900); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(160%) blur(10px);
    background: rgba(255, 255, 255, .82);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy-900);
    font-weight: 600;
}
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    color: #ffd98a;
}
.logo-text { font-size: 1.05rem; letter-spacing: .2px; }
.logo-text strong { font-weight: 800; }

.primary-nav {
    display: flex;
    gap: 28px;
    font-size: .95rem;
}
.primary-nav a {
    color: var(--ink);
    opacity: .82;
}
.primary-nav a:hover { opacity: 1; color: var(--navy-800); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 72px 0 96px;
    background:
        radial-gradient(1000px 500px at 90% -10%, rgba(30, 169, 124, .08), transparent 60%),
        radial-gradient(900px 600px at -10% 0%, rgba(28, 58, 110, .10), transparent 55%),
        linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--navy-50);
    color: var(--navy-800);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.hero-copy h1 .accent {
    background: linear-gradient(90deg, var(--accent) 0%, var(--navy-700) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lead {
    font-size: 1.1rem;
    max-width: 540px;
    color: #3b4a63;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0 26px;
}
.hero-trust {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--muted);
    font-size: .9rem;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span { color: var(--accent); font-weight: 700; }

/* Floating cards visual */
.hero-visual {
    position: relative;
    height: 460px;
}
.card-floating {
    position: absolute;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-lg);
    min-width: 230px;
}
.card-floating .card-label {
    display: block;
    color: var(--muted);
    font-size: .82rem;
    margin-bottom: 6px;
}
.card-floating .card-value {
    display: block;
    color: var(--ink);
    font-size: 1.4rem;
    font-weight: 750;
    letter-spacing: -.01em;
}
.card-bar {
    margin-top: 12px;
    height: 8px;
    border-radius: 999px;
    background: var(--navy-50);
    overflow: hidden;
}
.card-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent-700));
}
.spark { color: var(--accent); margin-top: 8px; height: 36px; width: 100%; }

.card-1 { top: 30px;  left: 0;    transform: rotate(-2deg); }
.card-2 { top: 150px; right: 0;   transform: rotate(2deg);  z-index: 2; }
.card-3 { bottom: 20px; left: 60px; transform: rotate(-1deg); }

/* ---------- Section heads ---------- */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
.section-head .eyebrow { margin-bottom: 12px; }
.section-sub { font-size: 1.05rem; }

/* ---------- Services ---------- */
.services { padding: 96px 0; background: var(--bg); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.service:hover {
    border-color: var(--navy-700);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--navy-50);
    color: var(--navy-800);
    margin-bottom: 16px;
}
.service h3 { margin-bottom: 8px; }
.service p { margin: 0; }

/* ---------- How it works ---------- */
.how {
    padding: 96px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step;
}
.steps li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    position: relative;
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--navy-800);
    color: #fff;
    font-weight: 700;
    margin-bottom: 14px;
}
.steps h3 { margin-bottom: 6px; }
.steps p  { margin: 0; }

/* ---------- Pricing ---------- */
.pricing { padding: 96px 0; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.plan {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.plan:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.plan header h3 { margin-bottom: 4px; }
.plan-tag {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
}
.price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 18px 0 18px;
    padding: 18px 0;
    border-top: 1px dashed var(--line);
    border-bottom: 1px dashed var(--line);
}
.price .amount {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.02em;
}
.price .period { color: var(--muted); font-size: .95rem; }
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    gap: 10px;
}
.plan-features li {
    color: #2c3a55;
    font-size: .95rem;
    padding-left: 26px;
    position: relative;
}
.plan-features li::before {
    content: "";
    position: absolute;
    left: 0; top: 6px;
    width: 16px; height: 16px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: inset 0 0 0 4px #fff, 0 0 0 1.5px var(--accent);
}
.plan .btn { margin-top: auto; }

.plan-featured {
    border-color: var(--navy-800);
    box-shadow: 0 18px 40px rgba(11, 29, 58, .12);
    transform: translateY(-6px);
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}
.plan-featured:hover { transform: translateY(-9px); }
.plan-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 6px 12px;
    background: var(--gold);
    color: #3b2a08;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}

/* ---------- CTA ---------- */
.cta {
    padding: 72px 0;
    background:
        radial-gradient(800px 300px at 90% 50%, rgba(30, 169, 124, .15), transparent 60%),
        linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #fff;
}
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p  { color: rgba(255, 255, 255, .82); margin: 0; }
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta .btn-primary {
    background: #fff;
    color: var(--navy-900);
}
.cta .btn-primary:hover {
    background: var(--navy-50);
    color: var(--navy-900);
}

/* ---------- Footer ---------- */
.site-footer {
    padding: 64px 0 28px;
    background: #0a1730;
    color: #c8d3e6;
}
.site-footer h4 {
    color: #fff;
    margin-bottom: 14px;
    font-size: .9rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: .95rem;
}
.site-footer a { color: #c8d3e6; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; }
.site-footer .logo-mark { background: rgba(255, 255, 255, .08); color: #ffd98a; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-tag { margin-top: 10px; color: #8aa0c1; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    font-size: .82rem;
    color: #8aa0c1;
}
.footer-bottom .disclaimer { max-width: 720px; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero { padding: 56px 0 72px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-visual { height: 360px; max-width: 460px; margin: 0 auto; }
    .services-grid, .steps, .pricing-grid { grid-template-columns: 1fr; }
    .plan-featured { transform: none; }
    .plan-featured:hover { transform: translateY(-3px); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .primary-nav { display: none; }
}

@media (max-width: 540px) {
    .nav { height: 64px; }
    .hero { padding: 48px 0 64px; }
    .hero-cta .btn { flex: 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}
