/* =========================================
   BITRECA — Global Styles
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #07090d;
    --bg-soft: #0d1118;
    --card: #10151e;
    --text: #f5f7fa;
    --muted: #929aaa;
    --primary: #5b8cff;
    --primary-light: #7da5ff;
    --border: rgba(255, 255, 255, 0.08);
    --max-width: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   Background Glow
   ========================================= */

body::before {
    content: "";
    position: fixed;
    width: 700px;
    height: 700px;
    top: -300px;
    right: -250px;
    background: radial-gradient(
        circle,
        rgba(91, 140, 255, 0.14),
        transparent 65%
    );
    pointer-events: none;
    z-index: -1;
}

/* =========================================
   Header
   ========================================= */

header {
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
    padding: 28px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo::after {
    content: ".";
    color: var(--primary);
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.25s ease;
}

nav a:hover {
    color: var(--text);
}

/* =========================================
   Main
   ========================================= */

main {
    width: 100%;
}

/* =========================================
   Hero
   ========================================= */

.hero {
    max-width: 900px;
    margin: auto;
    padding: 150px 30px 170px;
    text-align: center;
}

.eyebrow {
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(52px, 8vw, 92px);
    line-height: 0.98;
    letter-spacing: -5px;
    font-weight: 800;
}

.hero h1 span {
    background: linear-gradient(
        90deg,
        #ffffff,
        var(--primary-light)
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero > p:not(.eyebrow) {
    max-width: 650px;
    margin: 30px auto 40px;

    color: var(--muted);
    font-size: 18px;
}

/* =========================================
   Button
   ========================================= */

.button {
    display: inline-block;

    padding: 14px 25px;

    background: var(--primary);
    color: white;

    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    border-radius: 8px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);

    background: var(--primary-light);

    box-shadow:
        0 12px 35px rgba(91, 140, 255, 0.25);
}

/* =========================================
   Sections
   ========================================= */

section {
    max-width: var(--max-width);
    margin: auto;
    padding: 110px 30px;
}

section h2 {
    font-size: 42px;
    letter-spacing: -2px;
    margin-bottom: 50px;
}

/* =========================================
   Services
   ========================================= */

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.services > div {
    padding: 35px;

    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.045),
        rgba(255,255,255,0.015)
    );

    border: 1px solid var(--border);
    border-radius: 16px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.services > div:hover {
    transform: translateY(-7px);
    border-color: rgba(91, 140, 255, 0.35);
}

.services h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.services p {
    color: var(--muted);
    font-size: 14px;
}

/* =========================================
   About
   ========================================= */

#about {
    text-align: center;
    max-width: 850px;
}

#about p {
    color: var(--muted);
    font-size: 20px;
}

/* =========================================
   Contact
   ========================================= */

#contact {
    text-align: center;

    margin-top: 80px;
    margin-bottom: 100px;

    padding: 100px 30px;

    border: 1px solid var(--border);
    border-radius: 24px;

    background:
        radial-gradient(
            circle at center,
            rgba(91, 140, 255, 0.10),
            transparent 60%
        ),
        var(--bg-soft);
}

#contact h2 {
    margin-bottom: 10px;
}

#contact p {
    color: var(--muted);
    margin-bottom: 30px;
}

/* =========================================
   Footer
   ========================================= */

footer {
    max-width: var(--max-width);
    margin: auto;

    padding: 30px;

    border-top: 1px solid var(--border);

    color: #687080;
    font-size: 13px;
    text-align: center;
}

/* =========================================
   Mobile
   ========================================= */

@media (max-width: 700px) {

    header {
        padding: 22px 20px;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 12px;
    }

    .hero {
        padding: 110px 20px 120px;
    }

    .hero h1 {
        font-size: 54px;
        letter-spacing: -3px;
    }

    .hero > p:not(.eyebrow) {
        font-size: 16px;
    }

    section {
        padding: 80px 20px;
    }

    section h2 {
        font-size: 34px;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .services > div {
        padding: 28px;
    }

    #contact {
        margin: 40px 20px 70px;
        padding: 70px 20px;
    }
}