
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --background: #080713;
    --purple: #9b6cff;
    --blue: #526dff;
    --text: #ffffff;
    --muted: #aaa6bd;
}

body {
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* BACKGROUND */

.background-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 75% 40%, rgba(104, 51, 190, 0.20), transparent 42%),
        radial-gradient(ellipse at 20% 85%, rgba(41, 73, 180, 0.15), transparent 45%),
        #080713;
}

/* NAVIGATION */
.navbar {
    position: sticky;
    top: 15px;
    z-index: 1000;
    width: 90%;
    max-width: 1450px;
    margin: 25px auto 0;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    background: rgba(12, 9, 28, 0.75);
    backdrop-filter: blur(20px);
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: #a77aff;
}

.navbar nav {
    display: flex;
    gap: 35px;
}

.navbar nav a {
    font-size: 13px;
    color: #bcb8ca;
    transition: 0.3s;
}

.navbar nav a:hover {
    color: white;
}

.nav-button {
    padding: 11px 20px;
    border: 1px solid rgba(166,119,255,0.5);
    border-radius: 30px;
    font-size: 13px;
    transition: 0.3s;
}

.nav-button:hover {
    background: var(--purple);
    box-shadow: 0 0 25px rgba(155,108,255,0.4);
}

/* HERO */

.hero {
    width: 85%;
    max-width: 1350px;
    min-height: 85vh;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
}

.hero-content {
    padding: 50px 0;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b5a6d9;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9b6cff;
    box-shadow: 0 0 12px #9b6cff;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.08;
    letter-spacing: -3px;
    font-weight: 600;
}

.hero h1 span {
    display: block;
    background: linear-gradient(90deg, #b98cff, #6587ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content > p {
    max-width: 480px;
    margin-top: 25px;
    color: var(--muted);
    line-height: 1.9;
    font-size: 15px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-top: 35px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 23px;
    border-radius: 8px;
    font-size: 13px;
    transition: 0.3s;
}

.primary-button {
    background: linear-gradient(110deg, #8956e9, #566dff);
    box-shadow: 0 8px 30px rgba(107,78,230,0.25);
}

.primary-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(107,78,230,0.5);
}

.secondary-button {
    border: 1px solid rgba(255,255,255,0.15);
    color: #d4d0e1;
}

.secondary-button:hover {
    background: rgba(255,255,255,0.08);
}

.hero-stats {
    display: flex;
    gap: 45px;
    margin-top: 65px;
}

.hero-stats h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 25px;
    color: white;
}

.hero-stats p {
    margin-top: 6px;
    font-size: 11px;
    color: #858095;
}

/* 3D VISUAL PLACEHOLDER */

.hero-visual {
    position: relative;
    height: 560px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-orbit {
    position: absolute;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(163,115,255,0.16);
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(112,68,210,0.08);
}

.orbit-one {
    transform: rotateX(65deg) rotateZ(20deg);
}

.orbit-two {
    width: 340px;
    height: 340px;
    transform: rotateX(65deg) rotateZ(-35deg);
}

.sculpture-placeholder {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 0 40px rgba(146,90,255,0.5));
    animation: float 6s ease-in-out infinite;
}

.sculpture-core {
    width: 130px;
    height: 130px;
    border-radius: 35%;
    background: radial-gradient(circle at 30% 25%, #e1caff, #9360e7 35%, #25205c 75%);
    box-shadow: inset -15px -15px 35px rgba(0,0,0,0.5),
                0 0 65px rgba(139,91,255,0.65);
    transform: rotate(35deg);
}

.sculpture-ring {
    position: absolute;
    width: 245px;
    height: 95px;
    border: 5px solid transparent;
    border-top-color: #bd91ff;
    border-bottom-color: #5b79ff;
    border-radius: 50%;
    transform: rotate(-30deg);
    filter: drop-shadow(0 0 10px #986cff);
}

.ring-two {
    width: 230px;
    height: 230px;
    border: 2px solid rgba(174,132,255,0.55);
    border-left-color: transparent;
    border-right-color: #6c78ff;
    transform: rotate(60deg);
}

.ring-three {
    width: 300px;
    height: 115px;
    border-width: 2px;
    border-top-color: #6887ff;
    border-bottom-color: #bd91ff;
    transform: rotate(35deg);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.visual-caption {
    position: absolute;
    bottom: 25px;
    left: 5%;
    right: 5%;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    letter-spacing: 2px;
    color: #77718d;
}

/* OTHER SECTIONS */

.content-section {
    min-height: 65vh;
    padding: 120px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.section-label {
    margin-bottom: 20px;
    font-size: 11px;
    letter-spacing: 3px;
    color: #a77aff;
}

.content-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 55px);
}

.content-section p {
    margin-top: 20px;
    color: var(--muted);
    line-height: 1.8;
}

.content-section .primary-button {
    margin-top: 30px;
}

/* FOOTER */

footer {
    padding: 30px 10%;
    text-align: center;
    color: #77718d;
    font-size: 11px;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

/* RESPONSIVE DESIGN */

@media (max-width: 950px) {
    .navbar {
        width: 94%;
    }

    .navbar nav {
        gap: 15px;
    }

    .hero {
        width: 90%;
        grid-template-columns: 1fr 0.8fr;
    }

    .hero-visual {
        transform: scale(0.8);
    }

    .hero-stats {
        gap: 25px;
    }
}

@media (max-width: 700px) {
    .navbar {
        padding: 16px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo {
        font-size: 13px;
    }

    .navbar nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .navbar nav a {
        font-size: 11px;
    }

    .nav-button {
        font-size: 11px;
        padding: 9px 13px;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 60px;
    }

    .hero-content {
        padding-bottom: 0;
    }

    .eyebrow,
    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        margin-top: 45px;
        gap: 30px;
    }

    .hero-visual {
        height: 400px;
        transform: scale(0.85);
        margin-top: -30px;
    }

    .visual-caption {
        bottom: 0;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 39px;
    }

    .hero-stats {
        gap: 18px;
    }
}


/* THREE.JS 3D SCENE */

.hero-visual {
    position: relative;
}

#three-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

#three-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.visual-caption {
    z-index: 3;
}

/* PROJECTS SECTION */

.projects-section {
    text-align: left;
}

.section-description {
    max-width: 550px;
    color: #aaa6bd;
    line-height: 1.8;
    margin-top: 15px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 55px;
}

.project-card {
    cursor: pointer;
    transition: transform 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    background-size: cover;
background-position: center;    

    height: 280px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s ease;
}

.project-image span {
    position: absolute;
    top: 18px;
    left: 18px;
    color: white;
    font-size: 13px;
    opacity: 0.7;
}

.project-one {
    background:
        radial-gradient(circle at 50% 45%, #a45cff, transparent 35%),
        linear-gradient(135deg, #25134d, #090817);
}

.project-two {
    background:
        radial-gradient(circle at 50% 45%, #397bff, transparent 35%),
        linear-gradient(135deg, #101d48, #090817);
}

.project-three {
    background:
        radial-gradient(circle at 50% 45%, #e05bff, transparent 35%),
        linear-gradient(135deg, #45164f, #090817);
}

.project-card:hover .project-image {
    transform: scale(1.02);
    border-color: rgba(165, 100, 255, 0.6);
    box-shadow: 0 15px 45px rgba(130, 70, 255, 0.15);
}

.project-info {
    padding: 20px 3px;
}

.project-info h3 {
    color: white;
    font-size: 19px;
    margin-bottom: 7px;
}

.project-info p {
    color: #9993ad;
    font-size: 13px;
}

/* 3D PROJECT VISUALS */


/* 3D PROJECT VISUALS */

.project-image::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 35%;
    background: linear-gradient(135deg, #d6b4ff, #713cff 50%, #17102f);
    box-shadow:
        0 0 35px rgba(160, 90, 255, 0.5),
        inset -15px -15px 30px rgba(0, 0, 0, 0.4),
        inset 10px 10px 25px rgba(255, 255, 255, 0.35);
    filter: blur(0.2px);
    animation: projectFloat 6s ease-in-out infinite;
}

.project-two::before {
    border-radius: 50%;
    background: linear-gradient(135deg, #b9d8ff, #347aff 55%, #101a45);
    box-shadow: 0 0 45px rgba(60, 120, 255, 0.5);
    animation-delay: -2s;
}

.project-three::before {
    border-radius: 25%;
    background: linear-gradient(135deg, #ffc8ff, #d34cff 55%, #391047);
    box-shadow: 0 0 45px rgba(220, 70, 255, 0.5);
    animation-delay: -4s;
}


@keyframes projectFloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -58%) rotate(12deg);
    }
}

/* SERVICES SECTION */

.services-section {
    text-align: left;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 55px;
}

.service-card {
    position: relative;
    min-height: 280px;
    padding: 30px;
    border-radius: 18px;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.07),
        rgba(255, 255, 255, 0.015)
    );
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: 0.4s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(166, 105, 255, 0.5);
    background: linear-gradient(
        145deg,
        rgba(143, 85, 255, 0.13),
        rgba(255, 255, 255, 0.025)
    );
    box-shadow: 0 20px 50px rgba(110, 55, 220, 0.12);
}

.service-number {
    color: #8e83aa;
    font-size: 12px;
    letter-spacing: 2px;
}

.service-icon {
    margin-top: 35px;
    margin-bottom: 20px;
    font-size: 35px;
    color: #b78aff;
    text-shadow: 0 0 25px rgba(170, 110, 255, 0.7);
}

.service-card h3 {
    color: white;
    font-size: 21px;
    margin-bottom: 12px;
}

.service-card p {
    color: #aaa6bd;
    font-size: 14px;
    line-height: 1.8;
    max-width: 260px;
}

.service-arrow {
    position: absolute;
    right: 28px;
    bottom: 28px;
    color: #b78aff;
    font-size: 20px;
    opacity: 0;
    transform: translate(-5px, 5px);
    transition: 0.3s ease;
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* ABOUT SECTION */

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    text-align: left;
}

.about-content h2 {
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.15;
    margin: 25px 0;
}

.about-content h2 span {
    display: block;
    background: linear-gradient(90deg, #a56bff, #e2b5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content p {
    color: #aaa6bd;
    line-height: 1.9;
    font-size: 15px;
    max-width: 520px;
    margin-bottom: 18px;
}

.about-content .primary-button {
    display: inline-flex;
    margin-top: 18px;
}

.about-visual {
    height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-core {
    width: 155px;
    height: 155px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #e5caff, #9850ff 40%, #32105f 75%);
    box-shadow:
        0 0 50px rgba(155, 80, 255, 0.6),
        0 0 120px rgba(100, 55, 255, 0.3),
        inset -20px -20px 35px rgba(0, 0, 0, 0.4);
    animation: aboutPulse 5s ease-in-out infinite;
    z-index: 2;
}

.about-orbit {
    position: absolute;
    width: 330px;
    height: 130px;
    border: 1px solid rgba(184, 140, 255, 0.55);
    border-radius: 50%;
    transform: rotate(-30deg);
    box-shadow: 0 0 20px rgba(155, 80, 255, 0.12);
}

.about-orbit.orbit-small {
    width: 300px;
    height: 190px;
    transform: rotate(55deg);
    border-color: rgba(100, 130, 255, 0.4);
}

.about-caption {
    position: absolute;
    bottom: 15px;
    color: #8d84a5;
    font-size: 10px;
    letter-spacing: 3px;
}

@keyframes aboutPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 50px rgba(155, 80, 255, 0.6);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 80px rgba(155, 80, 255, 0.8);
    }
}

/* CONTACT SECTION */

.contact-section {
    position: relative;
    text-align: center;
    padding: 100px 40px;
    border-radius: 25px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(111, 61, 190, 0.16),
        rgba(38, 29, 83, 0.12)
    );
    border: 1px solid rgba(180, 130, 255, 0.15);
}

.contact-section h2 {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 25px auto;
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.15;
}

.contact-section h2 span {
    display: block;
    background: linear-gradient(90deg, #a56bff, #e2b5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-section p {
    position: relative;
    z-index: 2;
    color: #aaa6bd;
    font-size: 16px;
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto 30px;
}

.contact-section .primary-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
}

.contact-decoration {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #823cff;
    filter: blur(150px);
    opacity: 0.12;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 400px;
    }

    .projects-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-visual {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 18px 20px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .navbar nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .navbar nav a {
        font-size: 12px;
    }

    .nav-button {
        font-size: 12px;
        padding: 10px 14px;
    }

    .hero {
        padding: 55px 22px;
    }

    .hero-content h1 {
        font-size: clamp(38px, 10vw, 52px);
    }

    .hero-visual {
        min-height: 320px;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .content-section {
        padding: 65px 22px;
    }

    .projects-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 250px;
    }

    .service-card {
        min-height: 250px;
    }

    .about-content h2 {
        font-size: 40px;
    }

    .contact-section {
        padding: 70px 22px;
    }

    .contact-section h2 {
        font-size: 38px;
    }

    footer {
        text-align: center;
        padding: 25px 15px;
    }
}

html {
    scroll-behavior: smooth;
}

/* SCROLL REVEAL ANIMATION */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ACTIVE NAVIGATION LINK */

.navbar nav a.active {
    color: #b78aff;
    text-shadow: 0 0 15px rgba(183, 138, 255, 0.6);
}
/* PROJECT PREVIEW MODAL */

.project-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: rgba(5, 3, 15, 0.88);
    backdrop-filter: blur(15px);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 700px;
    padding: 20px;
    border: 1px solid rgba(183, 138, 255, 0.2);
    border-radius: 20px;
    background: #100c20;
    transform: translateY(25px) scale(0.97);
    transition: 0.4s ease;
}

.project-modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    background: rgba(10, 7, 20, 0.8);
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.modal-preview {
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: radial-gradient(circle, #472477, #100c20 70%);
    color: #c8a7ff;
    letter-spacing: 4px;
    font-size: 13px;
}

.modal-info {
    padding: 22px 5px 5px;
}

.modal-info h2 {
    color: white;
    font-size: 25px;
}

.modal-info p {
    margin-top: 8px;
    color: #aaa6bd;
}

@media (max-width: 600px) {
    .modal-preview {
        height: 280px;
    }

    .modal-content {
        padding: 12px;
    }
}

/* PROJECT VIDEO PLAYER */

.modal-preview {
    overflow: hidden;
    background: #05040b;
}

.modal-preview video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 14px;
}