/* =========================================================
   NEXORA — MAIN STYLES
========================================================= */

:root {
    --bg: #07070a;
    --bg-soft: #0d0d12;
    --card: #111118;
    --card-hover: #15151e;

    --text: #f5f5f7;
    --text-soft: #a5a5b0;
    --text-muted: #686874;

    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --accent-dark: #6d28d9;

    --border: rgba(255, 255, 255, 0.08);

    --radius: 20px;
    --max-width: 1200px;
}


/* =========================================================
   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;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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


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

main {
    overflow: hidden;
}

.section {
    width: min(100% - 40px, var(--max-width));
    margin: auto;
    padding: 120px 0;
}

.section-header {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-label {
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -2px;
}

.section-header h2 span {
    display: block;
    color: var(--text-soft);
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    width: min(100% - 40px, var(--max-width));
    height: 80px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--text-soft);
    font-size: 14px;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

.nav-cta {
    padding: 11px 18px;
    border: 1px solid var(--border);
    border-radius: 100px;

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

    transition: 0.3s ease;
}

.nav-cta:hover {
    background: white;
    color: black;
}


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

.hero {
    width: min(100% - 40px, var(--max-width));
    min-height: calc(100vh - 80px);

    margin: auto;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;
    gap: 60px;

    position: relative;
}

.hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    background: var(--accent);
    opacity: 0.08;

    filter: blur(140px);

    top: 10%;
    left: 10%;

    pointer-events: none;
}

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

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

    padding: 8px 14px;

    border: 1px solid var(--border);
    border-radius: 100px;

    color: var(--text-soft);

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;

    margin-bottom: 30px;
}

.hero-badge span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--accent-light);

    box-shadow: 0 0 15px var(--accent);
}

.hero h1 {
    max-width: 850px;

    font-size: clamp(3.2rem, 7vw, 6.5rem);

    line-height: 0.98;

    letter-spacing: -5px;

    font-weight: 800;
}

.hero h1 span {
    display: block;

    background: linear-gradient(
        90deg,
        var(--accent-light),
        #ffffff
    );

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

    color: transparent;
}

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

    margin-top: 30px;

    color: var(--text-soft);

    font-size: 17px;
}

.hero-actions {
    display: flex;
    gap: 15px;

    margin-top: 40px;
}

.btn {
    padding: 14px 22px;

    border-radius: 100px;

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

    transition: 0.3s ease;
}

.btn-primary {
    background: white;
    color: black;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--accent-light);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: white;
}

.btn-secondary:hover {
    background: var(--card);
    transform: translateY(-3px);
}


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

.hero-visual {
    position: relative;

    width: min(450px, 100%);
    aspect-ratio: 1;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-orbit {
    position: absolute;

    border: 1px solid rgba(167, 139, 250, 0.25);

    border-radius: 50%;

    animation: rotate 15s linear infinite;
}

.orbit-one {
    width: 90%;
    height: 55%;
    transform: rotate(25deg);
}

.orbit-two {
    width: 65%;
    height: 90%;
    transform: rotate(-25deg);

    animation-duration: 20s;
    animation-direction: reverse;
}

.visual-core {
    width: 170px;
    height: 170px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 30%,
            var(--accent-light),
            var(--accent-dark) 45%,
            #170b2e
        );

    box-shadow:
        0 0 80px rgba(139, 92, 246, 0.4);

    position: relative;
    z-index: 2;
}

.visual-core span {
    font-size: 80px;
    font-weight: 800;
    letter-spacing: -8px;

    color: white;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   SERVICES
========================================================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.service-card {
    min-height: 360px;

    padding: 35px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    display: flex;
    flex-direction: column;

    transition: 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);

    background: var(--card-hover);

    border-color:
        rgba(167, 139, 250, 0.3);
}

.service-number {
    color: var(--text-muted);

    font-size: 12px;
}

.service-icon {
    margin-top: 50px;

    font-size: 32px;

    color: var(--accent-light);
}

.service-card h3 {
    margin-top: 20px;

    font-size: 22px;
}

.service-card p {
    margin-top: 12px;

    color: var(--text-soft);

    font-size: 14px;
}

.service-card a {
    margin-top: auto;

    color: var(--accent-light);

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


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

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;
}

.project {
    cursor: pointer;
}

.project:nth-child(3) {
    grid-column: 1 / -1;
}

.project-image {
    height: 430px;

    border-radius: var(--radius);

    border: 1px solid var(--border);

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    position: relative;

    transition: 0.5s ease;
}

.project:hover .project-image {
    transform: scale(0.98);
}

.project-image span {
    font-size: clamp(2rem, 5vw, 5rem);

    font-weight: 800;

    letter-spacing: -3px;

    opacity: 0.9;
}

.project-one .project-image {
    background:
        radial-gradient(
            circle at 70% 30%,
            #3b2a19,
            #090807 60%
        );
}

.project-two .project-image {
    background:
        radial-gradient(
            circle at 30% 30%,
            #253c32,
            #070b09 60%
        );
}

.project-three .project-image {
    background:
        radial-gradient(
            circle at 70% 20%,
            #31244b,
            #08070b 60%
        );
}

.project-info {
    display: flex;
    justify-content: space-between;

    padding: 18px 5px;
}

.project-info h3 {
    font-size: 17px;
}

.project-info p {
    color: var(--text-muted);

    font-size: 13px;
}

.project-info > span {
    color: var(--text-muted);

    font-size: 12px;
}


/* =========================================================
   PROCESS
========================================================= */

.process {
    border-top: 1px solid var(--border);
}

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.process-step {
    padding: 25px 0;

    border-top: 1px solid var(--border);
}

.process-step > span {
    color: var(--accent-light);

    font-size: 12px;
}

.process-step h3 {
    margin-top: 35px;

    font-size: 20px;
}

.process-step p {
    margin-top: 10px;

    color: var(--text-soft);

    font-size: 14px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    width: min(100% - 40px, var(--max-width));

    margin: 40px auto 120px;

    padding: 100px 40px;

    border-radius: 30px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(139, 92, 246, 0.2),
            transparent 60%
        ),
        var(--card);

    border: 1px solid var(--border);

    text-align: center;
}

.contact-inner {
    max-width: 750px;

    margin: auto;
}

.contact h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);

    line-height: 1;

    letter-spacing: -3px;
}

.contact h2 span {
    display: block;

    color: var(--accent-light);
}

.contact p:not(.section-label) {
    max-width: 550px;

    margin: 25px auto;

    color: var(--text-soft);
}

.contact-button {
    display: inline-block;

    margin-top: 20px;

    padding: 15px 25px;

    background: white;

    color: black;

    border-radius: 100px;

    font-weight: 600;

    transition: 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-4px);

    background: var(--accent-light);
}


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

footer {
    width: min(100% - 40px, var(--max-width));

    margin: auto;

    padding: 30px 0;

    border-top: 1px solid var(--border);

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: var(--text-muted);

    font-size: 12px;
}

.footer-logo {
    color: white;

    font-weight: 800;

    font-size: 18px;
}

.footer-links {
    display: flex;

    gap: 20px;
}

.footer-links a {
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: white;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

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

        padding: 80px 0;

        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 600px) {

    .section {
        width: min(100% - 30px, var(--max-width));

        padding: 80px 0;
    }

    .navbar {
        width: min(100% - 30px, var(--max-width));
    }

    .nav-cta {
        padding: 9px 13px;

        font-size: 11px;
    }

    .hero {
        width: min(100% - 30px, var(--max-width));

        min-height: auto;

        padding: 80px 0 60px;
    }

    .hero h1 {
        font-size: 3rem;

        letter-spacing: -3px;
    }

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

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .btn {
        text-align: center;
    }

    .hero-visual {
        width: 300px;
    }

    .visual-core {
        width: 120px;
        height: 120px;
    }

    .visual-core span {
        font-size: 55px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project:nth-child(3) {
        grid-column: auto;
    }

    .project-image {
        height: 280px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .contact {
        width: min(100% - 30px, var(--max-width));

        padding: 70px 20px;

        margin-bottom: 80px;
    }

    .contact h2 {
        font-size: 2.8rem;

        letter-spacing: -2px;
    }

    footer {
        width: min(100% - 30px, var(--max-width));

        flex-direction: column;

        gap: 20px;

        text-align: center;
    }

}
/* =========================================================
   PROJECT LINKS
========================================================= */

.project-link {
    display: inline-block;

    margin-top: 14px;

    color: var(--accent-light);

    font-size: 13px;

    font-weight: 600;

    transition: 0.3s ease;
}

.project-link:hover {
    color: white;

    transform: translateX(5px);
}