:root {
    --bg: #050816;
    --bg-alt: #0b1020;
    --card-bg: #101629;
    --accent: #4f46e5;
    --accent-soft: rgba(79, 70, 229, 0.18);
    --accent-strong: #22d3ee;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --border: #1f2937;
    --danger: #f97373;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.65);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-pill: 999px;
    --transition: 200ms ease;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: radial-gradient(circle at top, #111827 0, #020617 55%);
    color: var(--text);
}

/* Layout */

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section.alt {
    background: radial-gradient(circle at top left, #020617 0, #020617 40%, #030712 100%);
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.center {
    text-align: center;
}

.section-intro {
    max-width: 620px;
    margin: 8px auto 40px;
    color: var(--muted);
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(3, 7, 18, 0.96), rgba(3, 7, 18, 0.75), transparent);
    border-bottom: 1px solid rgba(31, 41, 55, 0.7);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo {
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.logo span {
    color: var(--accent-strong);
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.9rem;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    transition: color var(--transition), background var(--transition), transform var(--transition);
}

.nav a:hover {
    color: var(--text);
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-1px);
}

/* Hero */

.hero {
    padding: 72px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 3.2vw, 3rem);
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero-text p {
    color: var(--muted);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 24px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero-badges span {
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(55, 65, 81, 0.9);
    color: var(--muted);
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    width: 100%;
    max-width: 360px;
    background: radial-gradient(circle at top left, #111827 0, #020617 55%);
    border-radius: 24px;
    padding: 20px 20px 22px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.35), transparent 65%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-card h2 {
    margin: 6px 0 10px;
    font-size: 1.2rem;
}

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.hero-card li {
    font-size: 0.9rem;
    color: var(--muted);
    padding-left: 18px;
    margin-bottom: 6px;
}

.hero-card li::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: var(--accent-strong);
    position: absolute;
    margin-left: -10px;
    margin-top: 8px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(55, 65, 81, 0.9);
    color: var(--muted);
}

/* Buttons */

.btn {
    border-radius: var(--radius-pill);
    border: none;
    padding: 9px 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.6);
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.8);
    opacity: 0.96;
}

.btn-ghost {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: none;
}

.btn-outline {
    border-radius: var(--radius-pill);
    padding: 7px 14px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: transparent;
    color: var(--muted);
    box-shadow: none;
}

.btn-outline:hover {
    color: var(--text);
    background: rgba(15, 23, 42, 0.9);
}

.btn-full {
    width: 100%;
}

/* Cards & lists */

.card {
    background: radial-gradient(circle at top left, #020617 0, #020617 20%, #030712 100%);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    border: 1px solid rgba(31, 41, 55, 0.9);
}

.shadow {
    box-shadow: var(--shadow);
}

.feature-list,
.checklist {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.feature-list li,
.checklist li {
    font-size: 0.92rem;
    color: var(--muted);
    padding-left: 20px;
    position: relative;
    margin-bottom: 6px;
}

.feature-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-strong);
    position: absolute;
    left: 0;
    top: 7px;
}

.checklist li::before {
    content: "✓";
    font-size: 0.8rem;
    color: var(--accent-strong);
    position: absolute;
    left: 0;
    top: 0;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tags span {
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.9);
    color: var(--muted);
}

/* Image block */

.image-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.image-placeholder {
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #1f2937, #020617);
    border: 1px solid rgba(31, 41, 55, 0.9);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.image-caption {
    font-size: 0.8rem;
    color: var(--muted);
}

/* Pills */

.pill-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pill {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31, 41, 55, 0.9);
    background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.12), rgba(15, 23, 42, 0.95));
    padding: 16px 18px;
}

.pill h3 {
    margin-top: 0;
    font-size: 0.98rem;
}

.pill p {
    margin-bottom: 0;
    font-size: 0.86rem;
    color: var(--muted);
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: flex-start;
}

.contact-form {
    border-radius: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

label {
    font-size: 0.8rem;
    color: var(--muted);
}

input,
textarea,
select {
    border-radius: 10px;
    border: 1px solid rgba(31, 41, 55, 0.9);
    background: rgba(15, 23, 42, 0.9);
    padding: 8px 10px;
    color: var(--text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-strong);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.6);
    background: #020617;
}

textarea {
    resize: vertical;
}

.form-status {
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--accent-strong);
}

/* Footer */

.footer {
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    padding: 18px 0 22px;
    background: #020617;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--muted);
}

/* Modal */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 30;
}

.modal-backdrop.open {
    display: flex;
}

.modal {
    width: min(380px, 90vw);
    background: #020617;
    border-radius: 18px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    padding: 18px 20px 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 1.2rem;
    cursor: pointer;
}

/* Burger */

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.burger span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--muted);
}

/* Responsive */

@media (max-width: 960px) {
    .hero-grid,
    .section-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .pill-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .nav {
        position: fixed;
        inset: 56px 16px auto;
        flex-direction: column;
        gap: 10px;
        padding: 12px 14px;
        background: rgba(3, 7, 18, 0.98);
        border-radius: 16px;
        border: 1px solid rgba(31, 41, 55, 0.9);
        transform: translateY(-150%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition), opacity var(--transition);
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .burger {
        display: flex;
    }

    .nav-container {
        padding-inline: 4px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
