/* =========================================
   VARIABLES
========================================= */

:root {

    --bg: #050b16;
    --bg-light: #091222;
    --card: #0c1627;

    --primary: #2563eb;
    --primary-light: #38bdf8;

    --text: #f8fafc;
    --text-secondary: #94a3b8;

    --border: rgba(148, 163, 184, 0.12);

    --radius: 16px;

}


/* =========================================
   RESET
========================================= */

* {
    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;

}

a {
    text-decoration: none;
    color: inherit;
}

.container {

    width: min(1180px, 90%);

    margin: auto;

}


/* =========================================
   HEADER
========================================= */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    background: rgba(99, 124, 184, 0.75);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border);

}

.nav {

    height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* LOGO */

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 20px;

    font-weight: 800;

}

.logo > span:last-child > span {

    color: var(--primary-light);

}

.logo-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 10px;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    color: white;

    font-size: 15px;

}


/* MENU */

.menu {

    display: flex;

    gap: 35px;

}

.menu a {

    color: var(--text-secondary);

    font-size: 14px;

    transition: .3s;

}

.menu a:hover {

    color: white;

}


/* =========================================
   BUTTONS
========================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 11px 20px;

    border-radius: 9px;

    font-weight: 600;

    font-size: 14px;

    transition: .3s;

}

.btn-primary {

    background: linear-gradient(
        135deg,
        var(--primary),
        #1d4ed8
    );

    color: white;

    box-shadow:
        0 8px 30px rgba(37, 99, 235, .25);

}

.btn-primary:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 35px rgba(37, 99, 235, .4);

}

.btn-outline {

    border: 1px solid rgba(148, 163, 184, .25);

    color: white;

}

.btn-outline:hover {

    background: rgba(255,255,255,.05);

}

.btn-large {

    padding: 15px 25px;

    font-size: 15px;

}


/* =========================================
   HERO
========================================= */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    padding-top: 76px;

}

.hero-background {

    position: absolute;

    width: 700px;
    height: 700px;

    background: radial-gradient(
        circle,
        rgba(37, 99, 235, .20),
        transparent 70%
    );

    top: 0;
    right: -200px;

    pointer-events: none;

}

.hero-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;

}


/* HERO TEXT */

.badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 7px 13px;

    border-radius: 30px;

    border: 1px solid rgba(56,189,248,.2);

    background: rgba(56,189,248,.06);

    color: var(--primary-light);

    font-size: 12px;

    margin-bottom: 25px;

}

.status {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow: 0 0 10px #22c55e;

}

.hero h1 {

    font-size: clamp(48px, 6vw, 75px);

    line-height: 1.05;

    letter-spacing: -3px;

    max-width: 700px;

}

.hero h1 span {

    background: linear-gradient(
        90deg,
        #38bdf8,
        #2563eb
    );

    -webkit-background-clip: text;

    color: transparent;

}

.hero p {

    color: var(--text-secondary);

    font-size: 18px;

    max-width: 600px;

    margin: 25px 0 35px;

}

.hero-buttons {

    display: flex;

    gap: 14px;

}

.hero-info {

    display: flex;

    gap: 45px;

    margin-top: 55px;

}

.hero-info div {

    display: flex;

    flex-direction: column;

}

.hero-info strong {

    font-size: 22px;

}

.hero-info span {

    color: var(--text-secondary);

    font-size: 11px;

}


/* =========================================
   CODE WINDOW
========================================= */

.hero-visual {

    position: relative;

}

.code-window {

    position: relative;

    background: #08101e;

    border: 1px solid rgba(148,163,184,.15);

    border-radius: 15px;

    overflow: hidden;

    box-shadow:
        0 30px 100px rgba(0,0,0,.5);

    transform: perspective(1000px)
               rotateY(-5deg)
               rotateX(2deg);

}

.window-header {

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-bottom: 1px solid var(--border);

    color: #64748b;

    font-size: 11px;

}

.window-buttons {

    position: absolute;

    left: 15px;

    display: flex;

    gap: 6px;

}

.window-buttons i {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #334155;

}

.code {

    padding: 35px;

    font-family: Consolas, monospace;

    font-size: 14px;

    line-height: 2;

    color: #cbd5e1;

}

.indent {
    padding-left: 25px;
}

.indent2 {
    padding-left: 50px;
}

.purple {
    color: #c084fc;
}

.blue {
    color: #60a5fa;
}

.yellow {
    color: #facc15;
}

.green {
    color: #4ade80;
}


/* =========================================
   FLOATING CARDS
========================================= */

.floating-card {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 17px;

    background: rgba(12,22,39,.9);

    backdrop-filter: blur(10px);

    border: 1px solid var(--border);

    border-radius: 12px;

    box-shadow: 0 20px 50px rgba(0,0,0,.4);

}

.floating-card strong {

    display: block;

    font-size: 12px;

}

.floating-card small {

    color: var(--text-secondary);

    font-size: 10px;

}

.floating-icon {

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(37,99,235,.15);

}

.card-1 {

    left: -35px;
    bottom: 60px;

}

.card-2 {

    right: -30px;
    top: 70px;

}


/* =========================================
   SECTIONS
========================================= */

.section {

    padding: 120px 0;

}

.section-header {

    max-width: 700px;

    margin-bottom: 60px;

}

.section-label {

    color: var(--primary-light);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

}

.section h2 {

    font-size: clamp(35px, 5vw, 52px);

    line-height: 1.1;

    letter-spacing: -2px;

    margin-top: 12px;

}

.section h2 span {

    color: var(--text-secondary);

}

.section-header p {

    color: var(--text-secondary);

    margin-top: 20px;

}


/* =========================================
   SERVICES
========================================= */

.services {

    background: var(--bg-light);

}

.services-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}

.service-card {

    padding: 30px;

    background: rgba(255,255,255,.025);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition: .3s;

}

.service-card:hover {

    transform: translateY(-6px);

    border-color: rgba(56,189,248,.3);

    background: rgba(255,255,255,.04);

}

.service-icon {

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(37,99,235,.12);

    color: var(--primary-light);

    font-size: 18px;

    margin-bottom: 22px;

}

.service-card h3 {

    font-size: 18px;

    margin-bottom: 10px;

}

.service-card p {

    color: var(--text-secondary);

    font-size: 13px;

    margin-bottom: 20px;

}

.service-card a {

    color: var(--primary-light);

    font-size: 12px;

    font-weight: 600;

}


/* =========================================
   PROJECTS
========================================= */

.projects-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}

.project-card {

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

}

.project-image {

    height: 230px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            rgba(37,99,235,.25),
            transparent 70%
        );

}


/* DASHBOARD */

.dashboard {

    width: 220px;
    height: 140px;

    border-radius: 8px;

    background: #111c2d;

    border: 1px solid #26364d;

    padding: 12px;

}

.dashboard-top {

    width: 70px;
    height: 8px;

    background: #334155;

    margin-bottom: 15px;

}

.dashboard-content {

    display: flex;

    gap: 8px;

}

.dashboard-content div {

    width: 30px;
    height: 80px;

    background: #1d4ed8;

    opacity: .6;

}


/* PHONE */

.phone {

    width: 100px;
    height: 185px;

    background: #111827;

    border: 5px solid #334155;

    border-radius: 18px;

    padding: 10px;

}

.phone-screen {

    height: 100%;

    background: #08101e;

    padding: 8px;

}

.screen-header {

    height: 10px;

    background: #2563eb;

    margin-bottom: 10px;

}

.screen-card {

    height: 25px;

    background: #1e293b;

    margin-bottom: 8px;

}


/* API */

.api-box {

    width: 180px;

    padding: 25px;

    background: #0f172a;

    border: 1px solid #334155;

    border-radius: 12px;

}

.api-box span {

    color: #38bdf8;

    font-weight: bold;

}

.api-box div {

    height: 8px;

    background: #1e40af;

    margin-top: 12px;

}

.project-info {

    padding: 25px;

}

.project-info span {

    font-size: 9px;

    letter-spacing: 1px;

    color: var(--primary-light);

}

.project-info h3 {

    margin: 7px 0;

    font-size: 19px;

}

.project-info p {

    color: var(--text-secondary);

    font-size: 13px;

}


/* =========================================
   ABOUT
========================================= */

.about {

    background: var(--bg-light);

}

.about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;

}

.about-text {

    font-size: 20px;

    color: #e2e8f0;

    margin-bottom: 20px;

}

.about-grid p {

    color: var(--text-secondary);

}

.text-link {

    display: inline-block;

    margin-top: 25px;

    color: var(--primary-light);

    font-weight: 600;

    font-size: 13px;

}


/* =========================================
   CTA
========================================= */

.cta {

    padding: 130px 0;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(37,99,235,.22),
            transparent 65%
        );

}

.cta-content {

    max-width: 750px;

}

.cta h2 {

    font-size: clamp(42px, 6vw, 65px);

    line-height: 1.05;

    letter-spacing: -3px;

    margin: 15px 0;

}

.cta h2 span {

    color: var(--primary-light);

}

.cta p {

    color: var(--text-secondary);

    max-width: 550px;

    margin: 0 auto 30px;

}


/* =========================================
   FOOTER
========================================= */

.footer {

    border-top: 1px solid var(--border);

    padding: 30px 0;

}

.footer-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.footer p {

    color: var(--text-secondary);

    font-size: 11px;

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .menu {
        display: none;
    }

    .hero-content {

        grid-template-columns: 1fr;

        padding: 80px 0;

    }

    .hero-visual {

        max-width: 650px;

        margin: auto;

    }

    .services-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .projects-grid {

        grid-template-columns: 1fr;

    }

    .about-grid {

        grid-template-columns: 1fr;

        gap: 40px;

    }

}


@media (max-width: 600px) {

    .hero h1 {

        font-size: 45px;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .hero-info {

        gap: 20px;

        flex-wrap: wrap;

    }

    .services-grid {

        grid-template-columns: 1fr;

    }

    .card-1 {

        left: -10px;

    }

    .card-2 {

        right: -10px;

    }

    .footer-content {

        flex-direction: column;

        gap: 15px;

    }

}