/* =========================================================
   1. VARIABLES
========================================================= */

:root {
    --bg-primary: #0b0b0f;
    --bg-secondary: #111118;

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;

    --accent: #7c3aed;
    --accent-hover: #8b5cf6;

    --border: #27272a;
}


/* =========================================================
   2. RESET & BASE
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(124, 58, 237, 0.12),
            transparent 40%
        ),
        var(--bg-primary);

    color: var(--text-primary);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: rgb(93, 3, 167);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
}


/* =========================================================
   3. HEADER / NAVBAR
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 1000;

    background: rgba(11, 11, 15, 0.85);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;

    padding: 20px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);

    font-size: 15px;

    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.menu-button {
    display: none;
}


/* =========================================================
   4. HERO
========================================================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 140px 24px 80px;

    text-align: center;
}

.hero-content {
    max-width: 850px;
}

.hero-subtitle {
    color: var(--accent);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 88px);

    line-height: 1;
    letter-spacing: -4px;

    margin-bottom: 30px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-description {
    max-width: 650px;
    margin: 0 auto 40px;

    color: var(--text-secondary);

    font-size: 18px;
}

.hero-buttons {
    display: flex;
    justify-content: center;

    gap: 16px;

    flex-wrap: wrap;
}


/* =========================================================
   5. BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 24px;

    border-radius: 10px;

    font-size: 15px;
    font-weight: 600;

    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);

    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-secondary);

    transform: translateY(-2px);
}


/* =========================================================
   6. GENERAL SECTIONS
========================================================= */

.section-header {
    max-width: 650px;

    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--accent);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 12px;
}


/* =========================================================
   7. SERVICES PREVIEW
========================================================= */

.services-preview {
    max-width: 1200px;

    margin: 0 auto;

    padding: 120px 24px;
}

.section-header h2 {
    font-size: clamp(36px, 5vw, 56px);

    line-height: 1.1;

    margin-bottom: 20px;
}

.section-header p:last-child {
    color: var(--text-secondary);

    font-size: 17px;
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}


/* =========================================================
   8. SERVICE CARDS
========================================================= */

.service-card {
    padding: 35px;

    background: var(--bg-secondary);

    border: 1px solid var(--border);

    border-radius: 16px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);

    border-color: var(--accent);

    background-color: #17131f;

    box-shadow:
        0 20px 40px rgba(124, 58, 237, 0.15);
}

.service-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 0;
    margin-bottom: 25px;

    border-radius: 12px;

    background: rgba(124, 58, 237, 0.12);

    color: var(--accent);

    font-size: 24px;
}

.service-card h2,
.service-card h3 {
    margin-bottom: 12px;
}

.service-card h2 {
    font-size: 24px;
}

.service-card h3 {
    font-size: 22px;
}

.service-card p {
    color: var(--text-secondary);

    font-size: 15px;
}


/* =========================================================
   9. SERVICES PAGE
========================================================= */

.services-page {
    max-width: 1200px;

    margin: 0 auto;

    padding: 40px 24px 120px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}


/* =========================================================
   10. INTERNAL PAGE HERO
========================================================= */

.page-hero {
    max-width: 850px;

    margin: 0 auto;

    padding: 180px 24px 80px;

    text-align: center;
}

.page-hero h1 {
    font-size: clamp(44px, 7vw, 72px);

    line-height: 1;

    letter-spacing: -3px;

    margin-bottom: 25px;
}

.page-hero h1 span {
    color: var(--accent);
}

.page-hero > p:last-child {
    max-width: 650px;

    margin: 0 auto;

    color: var(--text-secondary);

    font-size: 18px;
}


/* =========================================================
   11. ABOUT
========================================================= */

.about-section {
    max-width: 1200px;

    margin: 0 auto;

    padding: 60px 24px 120px;

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 80px;

    align-items: center;
}

.about-content h2 {
    font-size: clamp(34px, 5vw, 52px);

    line-height: 1.1;

    margin-bottom: 25px;
}

.about-content > p:not(.section-subtitle) {
    color: var(--text-secondary);

    margin-bottom: 18px;

    font-size: 17px;
}

.about-highlight {
    display: grid;

    gap: 16px;
}

.about-highlight div {
    padding: 24px;

    background: var(--bg-secondary);

    border: 1px solid var(--border);

    border-radius: 16px;
}

.about-highlight strong {
    display: block;

    color: var(--accent);

    font-size: 28px;

    margin-bottom: 5px;
}

.about-highlight span {
    color: var(--text-secondary);
}


/* =========================================================
   12. VALUES
========================================================= */

.values-section {
    max-width: 1200px;

    margin: 0 auto;

    padding: 0 24px 120px;
}


/* =========================================================
   13. CONTACT
========================================================= */

.contact-section {
    max-width: 1200px;

    margin: 0 auto;

    padding: 40px 24px 120px;

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 80px;
}

.contact-info h2 {
    font-size: clamp(36px, 5vw, 52px);

    line-height: 1.1;

    margin-bottom: 20px;
}

.contact-info > p:not(.section-subtitle) {
    color: var(--text-secondary);

    font-size: 17px;

    margin-bottom: 35px;
}

.contact-item {
    display: flex;

    flex-direction: column;

    gap: 5px;

    margin-bottom: 20px;
}

.contact-item strong {
    color: var(--text-primary);
}

.contact-item span {
    color: var(--text-secondary);
}


/* =========================================================
   14. CONTACT FORM
========================================================= */

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 22px;

    padding: 35px;

    background: var(--bg-secondary);

    border: 1px solid var(--border);

    border-radius: 20px;
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.form-group label {
    font-size: 14px;

    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 14px 16px;

    background: var(--bg-primary);

    color: var(--text-primary);

    border: 1px solid var(--border);

    border-radius: 10px;

    font-family: inherit;

    font-size: 15px;

    outline: none;

    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    min-height: 20px;

    font-size: 14px;
}


/* =========================================================
   15. CTA
========================================================= */

.cta {
    max-width: 1200px;

    margin: 40px auto 120px;

    padding: 80px 24px;

    text-align: center;

    background: var(--bg-secondary);

    border: 1px solid var(--border);

    border-radius: 24px;
}

.cta-content {
    max-width: 650px;

    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(32px, 5vw, 52px);

    line-height: 1.1;

    margin-bottom: 20px;
}

.cta p {
    color: var(--text-secondary);

    margin-bottom: 30px;
}


/* =========================================================
   16. FOOTER
========================================================= */

.footer {
    padding: 30px 24px;

    text-align: center;

    border-top: 1px solid var(--border);

    color: var(--text-secondary);

    font-size: 14px;
}


/* =========================================================
   17. SCROLL ANIMATIONS
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(30px)
        scale(0.98);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}

.service-card.reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.service-card.reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card.reveal:nth-child(3) {
    transition-delay: 0.3s;
}


/* =========================================================
   18. CURSOR
========================================================= */

@media (min-width: 769px) {

    body {
        cursor: none;
    }

    .cursor-animado {
        position: fixed;

        top: 0;
        left: 0;

        width: 32px;
        height: 32px;

        border: 2px solid var(--accent);

        border-radius: 50%;

        pointer-events: none;

        z-index: 99999;

        transform: translate(-50%, -50%);

        transition:
            width 0.25s ease,
            height 0.25s ease,
            background-color 0.25s ease,
            border-color 0.25s ease;
    }

    .cursor-animado.active {
        width: 55px;
        height: 55px;

        background-color:
            rgba(124, 58, 237, 0.15);

        border-color: var(--accent-hover);
    }

    .cursor-animado.click {
        width: 20px;
        height: 20px;
    }
}


/* =========================================================
   19. RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    /* ---------- HEADER ---------- */

    .navbar {
        padding: 18px 20px;
    }

    .nav-links {
        display: none;
    }

    .menu-button {
        display: block;

        background: transparent;

        border: none;

        color: white;

        font-size: 24px;

        cursor: pointer;
    }

    .nav-links.active {
        display: flex;

        flex-direction: column;

        position: absolute;

        top: 70px;
        right: 20px;

        padding: 20px;

        background: var(--bg-secondary);

        border: 1px solid var(--border);

        border-radius: 12px;

        gap: 18px;
    }


    /* ---------- HERO ---------- */

    .hero {
        padding: 130px 20px 70px;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 60px);

        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 16px;
    }


    /* ---------- SERVICES ---------- */

    .services-preview {
        padding: 80px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-page {
        grid-template-columns: 1fr;

        padding: 20px 20px 80px;
    }

    .service-card {
        padding: 28px;
    }


    /* ---------- ABOUT ---------- */

    .about-section {
        grid-template-columns: 1fr;

        gap: 40px;

        padding: 40px 20px 80px;
    }


    /* ---------- VALUES ---------- */

    .values-section {
        padding: 0 20px 80px;
    }


    /* ---------- CONTACT ---------- */

    .contact-section {
        grid-template-columns: 1fr;

        gap: 40px;

        padding: 20px 20px 80px;
    }

    .contact-form {
        padding: 25px;
    }


    /* ---------- CTA ---------- */

    .cta {
        margin: 20px 20px 80px;

        padding: 60px 20px;
    }
}