
/* =========================================
   VEMSALES — HOME
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');


/* =========================================
   RESET
   ========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #080b14;
    color: #f4f4f5;

    font-family: "Inter", sans-serif;

    overflow-x: hidden;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================
   GLOBAL
   ========================================= */

.section-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #737b91;

    font-family: "JetBrains Mono", monospace;
    font-size: 11px;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-label span {
    color: #8b5cf6;
}


/* =========================================
   HERO
   ========================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 140px 24px 100px;

    overflow: hidden;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-grid {
    position: absolute;
    inset: 0;

    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: 70px 70px;

    mask-image: linear-gradient(
        to bottom,
        black 0%,
        rgba(0,0,0,.8) 45%,
        transparent 100%
    );

    pointer-events: none;
}

.hero-glow {
    position: absolute;

    width: 650px;
    height: 650px;

    top: 5%;
    left: 50%;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle,
            rgba(124, 58, 237, 0.13) 0%,
            rgba(124, 58, 237, 0.05) 35%,
            transparent 70%
        );

    filter: blur(10px);

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(900px, 100%);
    margin: 0 auto;

    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 7px 12px;

    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;

    background: rgba(124, 58, 237, 0.06);

    color: #9da4b8;

    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #8b5cf6;

    box-shadow:
        0 0 0 4px rgba(139, 92, 246, 0.08);
}

.hero h1 {
    max-width: 850px;

    margin: 28px auto 0;

    color: #f5f5f7;

    font-size: clamp(46px, 7vw, 82px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 600;
}

.hero h1 span {
    display: block;

    background: linear-gradient(
        110deg,
        #a78bfa,
        #7c3aed
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-description {
    max-width: 610px;

    margin: 28px auto 0;

    color: #858da1;

    font-size: 16px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    margin-top: 36px;
}


/* =========================================
   BUTTONS
   ========================================= */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 46px;
    padding: 0 20px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-primary {
    border: 1px solid #8b5cf6;

    background: #7c3aed;

    color: #fff;

    box-shadow:
        0 10px 35px rgba(124, 58, 237, 0.16);
}

.btn-primary:hover {
    background: #8b5cf6;

    transform: translateY(-2px);

    box-shadow:
        0 14px 40px rgba(124, 58, 237, 0.25);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.1);

    background: rgba(255, 255, 255, 0.025);

    color: #c9ccd5;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);

    border-color: rgba(255, 255, 255, 0.18);

    transform: translateY(-2px);
}


/* =========================================
   CODE ELEMENT
   ========================================= */

.hero-code {
    width: 280px;

    margin: 75px auto 0;
    padding: 16px 20px;

    text-align: left;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;

    background: rgba(10, 13, 23, 0.7);

    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.2);

    font-family: "JetBrains Mono", monospace;
    font-size: 11px;

    backdrop-filter: blur(12px);
}

.code-line {
    display: block;

    line-height: 1.9;
}

.code-number {
    display: inline-block;

    width: 25px;

    color: #41485b;
}

.code-symbol {
    color: #6b7280;
}

.code-tag {
    color: #a78bfa;
}

.code-text {
    color: #8b93a7;
}

.code-indent {
    padding-left: 15px;
}


/* =========================================
   HERO SCROLL
   ========================================= */

.hero-scroll {
    position: absolute;

    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 9px;

    color: #535b6e;

    font-family: "JetBrains Mono", monospace;
    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-scroll span {
    display: block;

    width: 18px;
    height: 1px;

    background: #535b6e;
}


/* =========================================
   INTRO
   ========================================= */

.intro {
    padding: 150px 0;
}

.intro-content {
    max-width: 850px;

    margin-left: auto;
    margin-top: 55px;
}

.intro h2 {
    color: #eeeef0;

    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 500;
}

.intro h2 span {
    color: #777f93;
}

.intro p {
    max-width: 650px;

    margin-top: 30px;

    color: #80889c;

    font-size: 15px;
    line-height: 1.85;
}

.intro p + p {
    margin-top: 15px;
}


/* =========================================
   BENEFITS
   ========================================= */

.benefits {
    padding: 120px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
}

.section-header h2 {
    max-width: 700px;

    color: #eeeeef;

    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 500;
}

.section-header h2 span {
    color: #777f93;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 70px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.benefit-card {
    position: relative;

    min-height: 300px;

    padding: 32px;

    border-right: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    background: rgba(255, 255, 255, 0.008);

    transition:
        background 0.3s ease;
}

.benefit-card:hover {
    background: rgba(124, 58, 237, 0.035);
}

.benefit-number {
    position: absolute;

    top: 30px;
    right: 30px;

    color: #3e4556;

    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    margin-bottom: 70px;

    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 6px;

    background: rgba(124, 58, 237, 0.06);

    color: #a78bfa;

    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
}

.benefit-card h3 {
    color: #e4e4e7;

    font-size: 17px;
    font-weight: 500;

    letter-spacing: -0.02em;
}

.benefit-card p {
    max-width: 290px;

    margin-top: 12px;

    color: #737b8e;

    font-size: 13px;
    line-height: 1.75;
}


/* =========================================
   PROJECTS
   ========================================= */

.projects-preview {
    padding: 150px 0;
}

.projects-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.projects-top h2 {
    margin-top: 22px;

    color: #eeeeef;

    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-weight: 500;
}

.projects-top h2 span {
    color: #777f93;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #a78bfa;

    font-family: "JetBrains Mono", monospace;
    font-size: 11px;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.text-link:hover {
    color: #c4b5fd;
    gap: 13px;
}

.project-feature {
    position: relative;

    margin-top: 65px;

    height: 500px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #101522 0%,
            #0b0f1b 50%,
            #111124 100%
        );
}

.project-image {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 65% 35%,
            rgba(124, 58, 237, 0.18),
            transparent 28%
        ),
        linear-gradient(
            120deg,
            transparent 0%,
            rgba(255,255,255,0.025) 50%,
            transparent 100%
        );
}

.project-image::before {
    content: "";

    position: absolute;

    width: 70%;
    height: 70%;

    left: 15%;
    top: 15%;

    border: 1px solid rgba(139, 92, 246, 0.13);

    transform:
        perspective(600px)
        rotateX(55deg)
        rotateZ(-15deg);

    box-shadow:
        0 0 80px rgba(124, 58, 237, 0.08);
}

.project-overlay {
    position: absolute;

    left: 40px;
    bottom: 38px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-category {
    color: #8b93a7;

    font-family: "JetBrains Mono", monospace;
    font-size: 10px;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.project-overlay h3 {
    margin-top: 8px;

    color: #f4f4f5;

    font-size: 30px;
    font-weight: 500;

    letter-spacing: -0.035em;
}

.project-link {
    margin-top: 14px;

    color: #a78bfa;

    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
}


/* =========================================
   FINAL CTA
   ========================================= */

.final-cta {
    position: relative;

    padding: 160px 0;

    overflow: hidden;

    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image: radial-gradient(
        circle at center,
        black,
        transparent 75%
    );
}

.cta-content {
    position: relative;

    max-width: 800px;
    margin: 0 auto;

    text-align: center;
}

.cta-content .section-label {
    justify-content: center;
}

.cta-content h2 {
    margin-top: 25px;

    color: #eeeeef;

    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.055em;
    font-weight: 500;
}

.cta-content h2 span {
    display: block;

    color: #777f93;
}

.cta-content p {
    max-width: 560px;

    margin: 25px auto 0;

    color: #7f879a;

    font-size: 14px;
    line-height: 1.8;
}

.cta-content .btn-primary {
    margin-top: 34px;
}


/* =========================================
   FOOTER
   ========================================= */

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);

    padding: 28px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    color: #4f5668;

    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 800px) {

    .section-container {
        width: min(100% - 32px, 1180px);
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 90px;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 62px);
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;

        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
    }

    .hero-code {
        margin-top: 55px;
    }

    .hero-scroll {
        display: none;
    }

    .intro,
    .projects-preview {
        padding: 100px 0;
    }

    .benefits {
        padding: 100px 0;
    }

    .intro-content {
        margin-top: 40px;
    }

    .section-header,
    .projects-top {
        display: block;
    }

    .section-header h2 {
        margin-top: 22px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;

        margin-top: 50px;
    }

    .benefit-card {
        min-height: 260px;
    }

    .benefit-icon {
        margin-bottom: 55px;
    }

    .projects-top .text-link {
        margin-top: 25px;
    }

    .project-feature {
        height: 400px;
    }

    .project-overlay {
        left: 25px;
        bottom: 25px;
    }

    .project-overlay h3 {
        font-size: 25px;
    }

    .final-cta {
        padding: 110px 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 480px) {

    .hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-badge {
        font-size: 9px;
    }

    .hero h1 {
        font-size: 41px;
    }

    .hero-code {
        width: 100%;
        max-width: 280px;
    }

    .benefit-card {
        padding: 25px;
    }

    .project-feature {
        height: 350px;
    }
}
