:root {
    --ink: #0B1F4D;
    --muted: #5f6f8a;
    --muted-light: #9ca3af;
    --accent: #1E4FD8;
    --accent-light: #3a68e6;
    --btn: #1a3f9c;
    --btn-hover: #14337f;
    --gold: #b8873a;
    --border: #e1e7f0;
    --bg: #f7f8fb;
    --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 20;
    background: rgba(247, 248, 251, .85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); }
.brand i { color: var(--accent); font-size: 22px; }
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 6px 16px rgba(26,63,156,.22); }
.btn-primary:hover { background: var(--btn-hover); transform: translateY(-1px); box-shadow: 0 10px 20px rgba(26,63,156,.28); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: #fbfbfc; border-color: #c9cdd4; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 96px; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--ink); background: #eceff5; padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: 42px; line-height: 1.18; font-weight: 800; margin: 0 0 20px; letter-spacing: -.01em; }
.hero h1 span { color: var(--accent); }
.hero p.lead { font-size: 17px; color: var(--muted); line-height: 1.7; margin: 0 0 32px; max-width: 480px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-note { font-size: 13.5px; color: var(--muted-light); display: flex; align-items: center; gap: 7px; }

.hero-visual { position: relative; }
.hero-photo {
    width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover;
    border-radius: 20px; box-shadow: 0 20px 45px rgba(17,24,39,.14);
    border: 1px solid var(--border);
}
.float-card {
    position: absolute; background: #fff; border-radius: 14px; border: 1px solid var(--border);
    box-shadow: 0 14px 30px rgba(17,24,39,.12); padding: 16px 18px; display: flex; align-items: center; gap: 13px;
}
.float-card .icon {
    width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0;
}
.float-card .label { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.float-card .value { font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.3; }

.card-credits { bottom: -22px; left: -26px; }
.card-credits .icon { background: #f6ecdc; color: var(--gold); }

.card-doc { top: -20px; right: -20px; }
.card-doc .icon { background: #eceff5; color: var(--ink); }

/* ---------- Features ---------- */
.features { padding: 20px 0 90px; }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.section-head h2 { font-size: 30px; font-weight: 800; margin: 0 0 14px; letter-spacing: -.01em; }
.section-head p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 30px 26px; transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(17,24,39,.08); }
.feature-card .icon-wrap {
    width: 48px; height: 48px; border-radius: 12px; background: #eceff5; color: var(--ink);
    display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 20px;
}
.feature-card:nth-child(2) .icon-wrap { background: #f6ecdc; color: var(--gold); }
.feature-card h3 { font-size: 17.5px; font-weight: 700; margin: 0 0 10px; }
.feature-card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative; overflow: hidden;
    background: #e6eefb;
    border: 1px solid rgba(30,79,216,.14); border-radius: 20px; margin: 0 auto 90px; max-width: 1140px;
    padding: 52px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--ink); font-size: 25px; font-weight: 800; margin: 0 0 8px; }
.cta-band p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand img { height: 30px; width: auto; display: block; }
.footer .brand img { height: 24px; }
.footer .copy { color: var(--muted-light); font-size: 13px; }

@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
    .hero h1 { font-size: 33px; }
    .feature-grid { grid-template-columns: 1fr; }
    .cta-band { padding: 40px 28px; text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
    .float-card { padding: 12px 14px; gap: 10px; }
    .float-card .value { font-size: 15px; }
    .card-credits { left: -10px; bottom: -16px; }
    .card-doc { right: -10px; top: -14px; }
}
/* ---------- Pricing ---------- */
.pricing {
    padding: 96px 0 100px; margin: 0 0 90px; background: #fff;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.pricing .section-head { margin-bottom: 60px; }
.pricing .section-head h2 { color: var(--ink); }
.pricing .section-head p { color: var(--muted); }

.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan {
    position: relative; display: flex; flex-direction: column;
    background: #fff; color: var(--ink); border: 1px solid transparent; border-radius: 20px; padding: 30px 26px 26px;
    box-shadow: 0 1px 2px rgba(11,31,77,.04), 0 12px 28px rgba(11,31,77,.06); border-color: var(--border);
    transition: transform .22s ease, box-shadow .22s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(11,31,77,.1); }

.plan-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.plan-name { font-size: 18px; font-weight: 800; letter-spacing: -.01em; margin: 0; }
.plan-icon {
    width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--ink); background: #eceff5; flex-shrink: 0;
}

.plan-docs { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.plan-docs .upto { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 4px; }
.plan-docs .num { display: block; font-size: 42px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--ink); }
.plan-docs .txt { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }

.plan-price { display: flex; align-items: center; gap: 4px; margin-bottom: 28px; }
.plan-price .amount { font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--ink); }
.plan-price .cur { font-size: 21px; font-weight: 700; color: var(--muted); }
.plan-price .per { font-size: 12px; line-height: 1.35; color: var(--muted); margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--border); }

.plan-btn {
    margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
    background: #fff; color: var(--ink); border: 1px solid #cfd5de; transition: all .18s ease;
}
.plan-btn i { font-size: 12px; transition: transform .18s ease; }
.plan-btn:hover { background: var(--btn); color: #fff; border-color: var(--btn); }
.plan-btn:hover i { transform: translateX(4px); }

/* Featured: same white card, distinguished by a refined logo-colour ring and a filled button */
.plan.featured {
    transform: translateY(-10px);
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(150deg, #38BDF8 0%, #1E4FD8 100%) border-box;
    border: 2px solid transparent;
    box-shadow: 0 22px 48px rgba(30,79,216,.18), 0 0 0 6px rgba(56,189,248,.10);
}
.plan.featured:hover { transform: translateY(-16px); box-shadow: 0 28px 56px rgba(30,79,216,.24), 0 0 0 6px rgba(56,189,248,.16); }
.plan.featured .plan-icon { background: linear-gradient(135deg, #1E4FD8, #0B1F4D); color: #fff; }
.plan.featured .plan-price .amount, .plan.featured .plan-price .cur {
    background: linear-gradient(135deg, #1E4FD8 0%, #0B1F4D 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plan.featured .plan-btn { background: var(--btn); color: #fff; border-color: var(--btn); box-shadow: 0 8px 20px rgba(11,31,77,.3); }
.plan.featured .plan-btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.plan-ribbon {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: #0B1F4D; color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    padding: 6px 14px; border-radius: 999px; white-space: nowrap; border: 1px solid rgba(56,189,248,.55);
}
.plan-ribbon i { color: #38BDF8; margin-right: 4px; }
.pricing-note { text-align: center; color: var(--muted-light); font-size: 13.5px; margin: 44px 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* ---------- Contact ---------- */
.contact-sec { padding: 0 0 90px; scroll-margin-top: 90px; }
.contact-panel {
    display: grid; grid-template-columns: .85fr 1.15fr; border-radius: 28px; overflow: hidden;
    box-shadow: 0 24px 50px rgba(17,24,39,.12); border: 1px solid var(--border); background: #fff;
}
.contact-side {
    position: relative; color: #fff; padding: 52px 44px; overflow: hidden;
    background:
        linear-gradient(160deg, rgba(11,31,77,.94) 0%, rgba(16,52,140,.86) 55%, rgba(30,79,216,.5) 100%),
        url("https://images.pexels.com/photos/18193138/pexels-photo-18193138.jpeg?auto=compress&cs=tinysrgb&w=1000") center / cover no-repeat;
}
.contact-side h2 { font-size: 30px; line-height: 1.2; font-weight: 800; margin: 0 0 14px; letter-spacing: -.01em; }
.contact-side h2 span { color: #7dd3fc; }
.contact-side > p { color: #c5d6f2; font-size: 15.5px; line-height: 1.65; margin: 0 0 34px; max-width: 360px; }
.side-item {
    display: flex; align-items: center; gap: 15px; color: #fff; margin-bottom: 14px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px);
    border-radius: 14px; padding: 15px 18px; transition: background .15s, transform .15s;
}
a.side-item:hover { background: rgba(255,255,255,.14); transform: translateX(3px); }
.side-item .icon { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.side-item .label { font-size: 11.5px; color: #b7c6d8; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.side-item .value { font-size: 16px; font-weight: 700; }

.contact-form { padding: 46px 44px 40px; }
.contact-form h3 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.contact-form .intro { color: var(--muted); font-size: 14.5px; margin: 0 0 24px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field label .opt { color: var(--muted-light); font-weight: 500; }
.input-wrap { position: relative; }
.input-wrap > i { position: absolute; left: 15px; top: 15px; color: var(--muted-light); font-size: 14px; pointer-events: none; }
.field input, .field select, .field textarea {
    width: 100%; font-family: inherit; font-size: 14.5px; color: var(--ink);
    background: #fbfbfc; border: 1px solid var(--border); border-radius: 10px;
    padding: 12px 14px 12px 40px; transition: border-color .15s, box-shadow .15s, background .15s;
    appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,79,216,.14); }
.field .input-validation-error { border-color: #b42318; background: #fffafa; }
.field-error { display: block; color: #b42318; font-size: 12.5px; margin-top: 6px; }
.field-error:empty { display: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot .privacy { font-size: 12.5px; color: var(--muted-light); display: flex; align-items: center; gap: 7px; max-width: 280px; line-height: 1.5; }
.alert-success { display: flex; align-items: flex-start; gap: 12px; border-radius: 10px; padding: 14px 16px; font-size: 14px; line-height: 1.55; margin-bottom: 20px; background: #ecf7f0; border: 1px solid #bfe3cb; color: #14653a; }
.alert-success[hidden] { display: none; }
.alert-success i { margin-top: 2px; }

@media (max-width: 1000px) {
    .plan-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
    .plan.featured { transform: none; }
    .plan.featured:hover { transform: translateY(-6px); }
}
@media (max-width: 900px) {
    .contact-panel { grid-template-columns: 1fr; }
    .contact-side { padding: 40px 28px; }
    .contact-form { padding: 34px 24px 28px; }
}
@media (max-width: 600px) {
    .plan-grid { grid-template-columns: 1fr; }
    .frow { grid-template-columns: 1fr; gap: 0; }
    .container { padding: 0 16px; }
}
.pricing { scroll-margin-top: 72px; }

/* ---------- CTA band: responsive polish ---------- */
.cta-band {
    background: linear-gradient(135deg, #eaf0fd 0%, #dbe6fb 100%);
    box-shadow: 0 18px 40px rgba(26, 63, 156, .08);
}
.cta-band::before {
    content: ""; position: absolute; width: 260px; height: 260px; right: -70px; top: -90px;
    border-radius: 50%; background: radial-gradient(circle, rgba(30, 79, 216, .16), transparent 70%); pointer-events: none;
}
.cta-band > * { position: relative; }
@media (max-width: 1188px) {
    .cta-band { margin-left: 24px; margin-right: 24px; }
}
@media (max-width: 900px) {
    .cta-band { flex-direction: column; gap: 22px; padding: 40px 28px; }
}
@media (max-width: 600px) {
    .cta-band { margin: 0 16px 56px; padding: 34px 22px 30px; border-radius: 22px; gap: 20px; }
    .cta-band h2 { font-size: 22px; line-height: 1.25; text-wrap: balance; }
    .cta-band p { font-size: 14.5px; line-height: 1.6; }
    .cta-band .btn { width: 100%; max-width: 320px; justify-content: center; padding: 14px 24px; font-size: 15px; }
}

/* ---------- Contact panel: compact on mobile ---------- */
.side-item:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
    .contact-side { padding: 30px 22px 26px; }
    .contact-side h2 { font-size: 25px; margin-bottom: 10px; }
    .contact-side > p { font-size: 14.5px; line-height: 1.55; margin-bottom: 20px; max-width: none; }
    .side-item { gap: 13px; padding: 12px 14px; margin-bottom: 10px; border-radius: 13px; }
    .side-item .icon { width: 38px; height: 38px; font-size: 15px; }
    .side-item .value { font-size: 15.5px; }
    .contact-form { padding: 28px 22px 26px; }
    .contact-form h3 { font-size: 20px; }
    .contact-form .intro { margin-bottom: 18px; }
}
@media (max-width: 600px) {
    .contact-sec { padding-bottom: 56px; }
    .contact-panel { border-radius: 22px; }
}

/* Mobile: contact panel goes edge-to-edge (no side gaps) */
@media (max-width: 600px) {
    .contact-sec .container { padding: 0; }
    .contact-panel { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
    .contact-side { padding: 30px 20px 26px; }
    .contact-form { padding: 28px 20px 30px; }
}

.alert-error { background: #fdf0f0; border-color: #f1c4c4; color: #9b1c1c; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
