﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #0f172a;
    --accent: #6366f1;
    --accent2: #06b6d4;
    --light: #f8fafc;
    --muted: #94a3b8;
    --card-bg: #1e293b;
    --border: #334155;
    --gradient: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary);
    color: #e2e8f0;
    line-height: 1.7;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(15,23,42,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-logo-link {
    text-decoration: none;  /*Removes underline */
    color: inherit; /* Keeps your current text color */
    display: inline-block; /* Allows padding/margin if needed */
}

.nav-mark {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.15rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.02em;
    line-height: 1;
    /*text-decoration: none;  Removes underline */
}

.nav-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
    margin: 0 0.5rem;
}

.nav-name {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.15rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

    .nav-links a {
        color: var(--muted);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: color 0.2s;
    }

        .nav-links a:hover {
            color: #fff;
        }

/* ── HERO ── */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.badge {
    display: inline-block;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.4);
    color: #a5b4fc;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

    h1 span {
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.hero-sub {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 24px rgba(99,102,241,0.35);
}

    .btn-primary:hover {
        opacity: 0.88;
        transform: translateY(-1px);
    }

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: #e2e8f0;
}

    .btn-outline:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

/* ── SECTION SHARED ── */
section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.section-sub {
    color: var(--muted);
    max-width: 580px;
    margin-bottom: 3rem;
}

/* ── SERVICES ── */
#services {
    background: #0d1526;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    transition: border-color 0.25s, transform 0.25s;
}

    .service-card:hover {
        border-color: var(--accent);
        transform: translateY(-3px);
    }

.service-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #f1f5f9;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.ai-tag {
    display: inline-block;
    background: rgba(6,182,212,0.12);
    border: 1px solid rgba(6,182,212,0.3);
    color: #67e8f9;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    margin: 0.2rem 0.15rem 0 0;
}

/* ── TRAINING BANNER ── */
#training {
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(6,182,212,0.08));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.training-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.training-text {
    flex: 1;
    min-width: 260px;
}

.training-modules {
    flex: 1;
    min-width: 260px;
}

.module-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

    .module-item .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--gradient);
        flex-shrink: 0;
    }

    .module-item .status {
        margin-left: auto;
        font-size: 0.72rem;
        font-weight: 600;
        color: #4ade80;
    }

        .module-item .status.soon {
            color: var(--muted);
        }

/* ── ABOUT ── */
#about {
    background: #0d1526;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 700px) {
    .about-inner {
        grid-template-columns: 1fr;
    }
}

.about-text h2 {
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.stack-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.pill {
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.25);
    color: #a5b4fc;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.stat-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
}

    .stat-box .num {
        font-size: 2rem;
        font-weight: 800;
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .stat-box .label {
        font-size: 0.8rem;
        color: var(--muted);
        margin-top: 0.25rem;
    }

/* ── CONTACT ── */
#contact {
    background: var(--primary);
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

    .contact-card h2 {
        margin-bottom: 0.75rem;
    }

    .contact-card p {
        color: var(--muted);
        margin-bottom: 2rem;
    }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

    .contact-form input,
    .contact-form textarea {
        background: rgba(255,255,255,0.05);
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 0.85rem 1rem;
        color: #e2e8f0;
        font-family: inherit;
        font-size: 0.9rem;
        transition: border-color 0.2s;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: var(--accent);
        }

    .contact-form textarea {
        resize: vertical;
        min-height: 120px;
    }

/* ── FOOTER ── */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.82rem;
}

    footer span {
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 700;
    }
