:root {
    --bg: #0b1324;
    --bg-2: #111c35;
    --text: #0b1020;
    --muted: #5c647a;
    --brand: #2f7ef7;
    --brand-2: #5db3ff;
    --card: #ffffff;
    --border: #e6ebf5;
}
* {
    box-sizing: border-box;
}
img {
    max-width: 100%;
}
body {
    margin: 0;
    font-family: "Space Grotesk", "Noto Sans SC", system-ui, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f7f9fc 0%, #eef3fb 100%);
    line-height: 1.6;
}
.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}
.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: rgba(247, 249, 252, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.04em;
}
.brand span {
    color: #1d243a;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 500;
}
.nav-links a {
    text-decoration: none;
    color: #1d243a;
}
.nav-links a:hover {
    color: var(--brand);
}
.nav-cta {
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff !important;
}
.stats {
    background: #fff;
    padding: 72px 0;
    border-bottom: 1px solid var(--border);
}
.stats h2 {
    text-align: center;
    margin: 0 0 32px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 24px;
    text-align: center;
}
.stat {
    background: #f8faff;
    border-radius: 16px;
    padding: 22px 16px;
}
.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--brand);
}
.stat-label {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
}
.services {
    padding: 96px 0;
}
.services h2 {
    text-align: center;
    margin: 0 0 48px;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
}
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 150ms ease, box-shadow 150ms ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}
.card h3 {
    margin: 8px 0 10px;
}
.card p {
    color: var(--muted);
}
.icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f2ff;
    color: var(--brand);
}
.icon-wrap.icon-green {
    background: #e5f7ec;
    color: #31a766;
}
.icon-wrap.icon-purple {
    background: #efe9ff;
    color: #7b4fe5;
}
.icon {
    width: 26px;
    height: 26px;
    fill: currentColor;
}
.contact {
    padding: 88px 0;
    background: #0b1324;
    color: #fff;
}
.contact-box {
    background: linear-gradient(135deg, #0f1c36, #111c35);
    border-radius: 26px;
    padding: 46px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2);
}
.contact-box h2 {
    margin: 0 0 8px;
}
.contact-box p {
    color: #c7ccdc;
    margin: 0 0 28px;
}
.contact-form {
    display: grid;
    gap: 14px;
}
.contact-form label {
    font-weight: 600;
    font-size: 0.95rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.6);
    color: #fff;
    font-family: inherit;
}
.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(93, 179, 255, 0.6);
    border-color: transparent;
}
.contact-form .btn {
    justify-self: start;
}
.contact-form .btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}
.turnstile-shell {
    display: grid;
    gap: 10px;
    justify-items: start;
    padding: 14px 16px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
}
.turnstile-label {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}
.turnstile-widget {
    min-height: 65px;
}
.turnstile-note {
    margin: 0;
    color: #a7b0c7;
    font-size: 0.85rem;
}
.form-note {
    color: #a7b0c7;
    font-size: 0.9rem;
    margin: 0;
}
.form-note.is-success {
    color: #8de1b7;
}
.form-note.is-error {
    color: #ffb3b3;
}
.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.footer {
    background: #ffffff;
    border-top: 1px solid var(--border);
    padding: 28px 0 36px;
    color: #6a7288;
    font-size: 0.9rem;
}
.footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
}
.footer-links {
    display: flex;
    gap: 18px;
}
.footer a {
    color: inherit;
    text-decoration: none;
}
.footer a:hover {
    color: var(--brand);
}
@media (max-width: 720px) {
    .nav-links {
        display: none;
    }
    .contact-box {
        padding: 32px 22px;
    }
}


.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.95);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 60;
}
.toast.show {
    opacity: 1;
    transform: translateY(0);
}
.toast.success {
    background: rgba(22, 101, 52, 0.95);
}
.toast.error {
    background: rgba(153, 27, 27, 0.95);
}


.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        transform: none;
        opacity: 1;
    }
}


.contact-form.submitted {
    animation: pulse 900ms ease;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 rgba(93, 179, 255, 0); }
    50% { box-shadow: 0 0 0 8px rgba(93, 179, 255, 0.2); }
    100% { box-shadow: 0 0 0 rgba(93, 179, 255, 0); }
}
