:root {
    --bg: #0B0F14;
    --bg-card: rgba(18, 24, 32, 0.5);
    --text: #E8ECF1;
    --text-muted: #8A95A5;
    --accent: #FFFF29;
    --accent-glow: rgba(255, 255, 41, 0.15);
    --border: rgba(255,255,255,0.06);
    --grid-line: rgba(255,255,255,0.015);
    --accent-contrast: #0B0F14;
}


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

body {
    font-family: 'IBM Plex Serif', serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1' stroke-dasharray='3 3'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1' stroke-dasharray='3 3'/%3E%3C/svg%3E"); */
    background-size: 56px 100px;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 900px;
    background: linear-gradient(to bottom, #071436 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* NAV */
nav {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: 'IBM Plex Serif', serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
}

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

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

nav a:hover { color: var(--text); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 640px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 20px 24px;
        gap: 16px;
        z-index: 10;
    }

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

    nav {
        position: relative;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* HERO */
.hero {
    padding: 120px 0 100px;
    text-align: center;
}


.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--bg-card);
}

.hero h1 {
    font-family: 'IBM Plex Serif', serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--accent-contrast);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 30px var(--accent-glow);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px var(--accent-glow);
}

.hero-cta svg {
    width: 18px;
    height: 18px;
}

/* SERVICES */
.services {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 600;
}

.services h2 {
    font-family: 'IBM Plex Serif', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px 28px;
    transition: border-color 0.3s, transform 0.2s;
}

.service-card:hover {
    border-color: var(--accent-glow);
    transform: translateY(-3px);
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ABOUT */
.about {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 720px) {
    .about { grid-template-columns: 1fr; gap: 32px; }
}

.about h2 {
    font-family: 'IBM Plex Serif', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.about p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
}

.stat-num {
    font-family: 'IBM Plex Serif', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* CONTACT */
.contact {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.contact h2 {
    font-family: 'IBM Plex Serif', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.contact a {
    color: var(--accent);
    text-decoration: none;
}

.contact a:hover { text-decoration: underline; }

/* FOOTER */
footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--text);
}

@media (max-width: 640px) {
    footer {
        flex-direction: column;
        text-align: center;
    }
}

/* PRIVACY */
.privacy-hero {
    padding: 100px 0 60px;
    text-align: center;
}

.privacy-hero h1 {
    font-family: 'IBM Plex Serif', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.privacy-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.privacy-content {
    padding: 0 0 80px;
    max-width: 720px;
    margin: 0 auto;
}

.privacy-section {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

.privacy-section h2 {
    font-family: 'IBM Plex Serif', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.privacy-section p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 12px;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-section ul {
    list-style: none;
    padding: 0;
}

.privacy-section ul li {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.privacy-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.privacy-section a {
    color: var(--accent);
    text-decoration: none;
}

.privacy-section a:hover {
    text-decoration: underline;
}

/* 404 */
.not-found {
    padding: 160px 0 120px;
    text-align: center;
}

.not-found-code {
    font-family: 'IBM Plex Serif', serif;
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.25;
}

.not-found h1 {
    font-family: 'IBM Plex Serif', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.not-found p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 40px;
}

/* ANIMATIONS */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge, .hero h1, .hero p, .hero-cta {
    animation: fadeUp 0.7s ease-out both;
}
.hero h1 { animation-delay: 0.1s; }
.hero p { animation-delay: 0.2s; }
.hero-cta { animation-delay: 0.3s; }
