@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #17c964;
    --primary-dark: #0f9d4f;
    --ink: #0b1220;
    --ink-soft: #1c2a3a;
    --bg: #f5f8f7;
    --card: #ffffff;
    --text: #16202b;
    --muted: #5b6b76;
    --border: #e6ebe9;
    --danger: #e5484d;
    --shadow: 0 4px 16px rgba(11, 18, 32, 0.06);
    --shadow-lg: 0 20px 45px rgba(11, 18, 32, 0.12);
    --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
h2 { font-size: 32px; }
h3 { font-size: 19px; }

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header ---------- */
header.site {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

header.site .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 19px;
    color: var(--ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo::before {
    content: "▲";
    color: var(--primary);
    font-size: 14px;
}

nav.site a {
    margin-left: 28px;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: color .15s ease;
}

nav.site a:hover { color: var(--primary-dark); }

/* ---------- Hero ---------- */
.hero {
    text-align: center;
    padding: 96px 20px 72px;
    background:
        radial-gradient(60% 60% at 50% 0%, rgba(23, 201, 100, 0.10) 0%, rgba(23, 201, 100, 0) 100%),
        var(--bg);
}

.eyebrow {
    display: inline-block;
    background: rgba(23, 201, 100, 0.12);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
    letter-spacing: 0.01em;
}

.hero h1 {
    font-size: 46px;
    max-width: 780px;
    margin: 0 auto 20px;
    color: var(--ink);
}

.hero p.subtitle {
    font-size: 18px;
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 36px;
}

.price-tag {
    font-size: 52px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.price-tag span {
    font-size: 16px;
    color: var(--muted);
    font-weight: 500;
    display: block;
    margin-top: 4px;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 15px 34px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(23, 201, 100, 0.28);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(23, 201, 100, 0.35);
}

.btn.secondary {
    background: #fff;
    color: var(--ink);
    border: 1.5px solid var(--border);
    box-shadow: none;
}

.btn.secondary:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: none;
    background: #fff;
}

.btn.danger { background: var(--danger); box-shadow: none; }

/* ---------- Steps / cards ---------- */
.section-title {
    text-align: center;
    margin: 0 0 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto 48px;
    font-size: 15.5px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin: 0 0 60px;
}

.step-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: transform .15s ease, box-shadow .15s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-card .num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: #fff;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 18px;
}

.step-card h3 { margin: 0 0 8px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px;
    margin: 24px 0;
    box-shadow: var(--shadow);
}

.card.trust {
    background: var(--ink);
    color: #fff;
    border: none;
}

.card.trust h2 { color: #fff; }
.card.trust p { color: #c7d2d9; }

/* ---------- Forms ---------- */
form label {
    display: block;
    margin: 16px 0 6px;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--ink-soft);
}

form input, form select, form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color .15s ease;
}

form input:focus, form select:focus, form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* ---------- Tables ---------- */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

table th, table td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

table th {
    background: #fafcfb;
    font-weight: 700;
    color: var(--ink-soft);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.03em;
}

table tr:last-child td { border-bottom: none; }

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.badge.pending { background: #fff3cd; color: #8a6d1a; }
.badge.ok { background: #d9f7e5; color: #0f9d4f; }
.badge.testing { background: #dbeafe; color: #1d4ed8; }
.badge.done { background: #ececec; color: #52525b; }

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin: 16px 0;
    font-size: 14.5px;
    font-weight: 500;
}

.alert.error { background: #fdecea; color: var(--danger); }
.alert.success { background: #d9f7e5; color: var(--primary-dark); }

.progress-bar {
    background: var(--border);
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.progress-bar .fill {
    background: var(--primary);
    height: 100%;
    border-radius: 999px;
}

footer.site {
    text-align: center;
    padding: 40px 0;
    color: var(--muted);
    font-size: 13px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

@media (max-width: 640px) {
    .hero h1 { font-size: 32px; }
    .hero { padding: 60px 16px 48px; }
    h2 { font-size: 26px; }
}
