:root {
    --bg: #07131c;
    --bg-soft: #102535;
    --panel: rgba(7, 27, 40, 0.78);
    --border: rgba(133, 174, 197, 0.32);
    --text: #ecf4fb;
    --muted: #aac0cf;
    --accent: #ffb347;
    --accent-2: #3ad7c4;
    --danger: #ff6f5e;
    --ok: #58d08e;
    --warning: #fbd262;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at 12% 18%, rgba(255, 179, 71, 0.2), transparent 42%),
        radial-gradient(circle at 84% 0%, rgba(58, 215, 196, 0.2), transparent 38%),
        linear-gradient(160deg, var(--bg) 0%, #0a2232 48%, #0d1f2a 100%);
    color: var(--text);
    font-family: "Sora", sans-serif;
}

.ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
    z-index: 0;
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7, 19, 28, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-signin {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: color 0.2s, border-color 0.2s;
}

.btn-signin:hover {
    color: var(--text);
    border-color: var(--accent-2);
}

.btn-get-started {
    background: linear-gradient(120deg, var(--accent), #f17a52);
    color: #1a130e;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.5rem 1.15rem;
    border-radius: 10px;
    transition: transform 0.2s, filter 0.2s;
}

.btn-get-started:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ── */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 1.5rem 3rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    animation: rise 0.6s ease;
}

.hero-eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero-description {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent), #f17a52);
    color: #1a130e;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.btn-secondary {
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: border-color 0.2s;
}

.btn-secondary:hover {
    border-color: var(--accent-2);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 1.6rem;
    color: var(--accent-2);
}

.stat p {
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 0.25rem;
}

/* ── Sections ── */
.section {
    padding: 5rem 1.5rem;
    position: relative;
    z-index: 1;
}

.section-alt {
    background: rgba(10, 30, 42, 0.5);
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-container h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 2.5rem;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.about-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.2s;
}

.about-card:hover {
    transform: translateY(-4px);
}

.about-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.about-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(58, 215, 196, 0.45);
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-2);
}

.feature-card p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-info p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1.25rem;
}

.contact-item strong {
    display: block;
    color: var(--accent-2);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--muted);
    margin: 0;
}

.contact-form {
    display: grid;
    gap: 0.85rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(6, 17, 24, 0.8);
    color: var(--text);
    font-family: "Sora", sans-serif;
    font-size: 0.9rem;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(58, 215, 196, 0.6);
    outline-offset: 2px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer p {
    color: var(--muted);
    font-size: 0.82rem;
}

/* ── Animations ── */
@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(7, 19, 28, 0.96);
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 0;
        gap: 1.25rem;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .hamburger {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .nav-links.open ~ .nav-actions {
        display: flex;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 1.5rem;
    }
}
