
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #070912;
    color: #f4f5ff;
    font-family: 'Inter', Arial, sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.background-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: .15;
    pointer-events: none;
    z-index: -1;
}

.glow-one {
    background: #1769ff;
    top: 100px;
    left: -200px;
}

.glow-two {
    background: #9b35ff;
    right: -200px;
    top: 700px;
}

.header {
    width: 100%;
    padding: 24px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 9, 18, .88);
    border-bottom: 1px solid rgba(255,255,255,.07);
    backdrop-filter: blur(15px);
}

.logo {
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: #43a5ff;
}

.logo i {
    color: #a855f7;
    font-style: normal;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: #a5a9bd;
    font-size: 13px;
    transition: .3s;
}

.nav a:hover {
    color: #50b5ff;
}

.nav-button,
.primary-button {
    background: linear-gradient(100deg, #1678ff, #8b45ff);
    color: white;
    border-radius: 8px;
    padding: 13px 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: .3s;
}

.primary-button:hover,
.nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(65, 105, 255, .35);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

.section {
    padding: 110px 9%;
}

.hero {
    min-height: 680px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 40px;
}

.eyebrow,
.section-tag {
    color: #5ab5ff;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 800;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(70,160,255,.25);
    background: rgba(40,100,255,.08);
    padding: 11px 15px;
    border-radius: 30px;
    margin-bottom: 28px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #39f5ad;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 12px #39f5ad;
}

.hero h1 {
    font-size: clamp(45px, 6.5vw, 82px);
    line-height: 1.05;
    letter-spacing: -5px;
    font-weight: 900;
}

.hero h1 span,
.section-heading h2 span,
.about-content h2 span,
.contact-box h2 span {
    background: linear-gradient(90deg, #43b7ff, #a45bff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content > p {
    max-width: 500px;
    line-height: 1.9;
    color: #969bb1;
    margin: 25px 0;
    font-size: 14px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.secondary-button {
    padding: 13px 20px;
    border: 1px solid #34394d;
    border-radius: 8px;
    color: #c8cce0;
    font-size: 13px;
}

.hero-stats {
    display: flex;
    gap: 55px;
    margin-top: 55px;
}

.hero-stats h3 {
    font-size: 27px;
}

.hero-stats p {
    color: #777e98;
    font-size: 12px;
    margin-top: 7px;
}

.hero-visual {
    height: 420px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(74,158,255,.35);
    border-radius: 50%;
    transform: rotate(-30deg);
}

.orbit-one {
    width: 330px;
    height: 330px;
}

.orbit-two {
    width: 420px;
    height: 210px;
    transform: rotate(40deg);
    border-color: rgba(174,84,255,.4);
}

.core {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(140deg, #146bff, #a13cff);
    box-shadow: 0 0 80px rgba(61,111,255,.5);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 5s ease-in-out infinite;
}

.core-inner {
    width: 155px;
    height: 155px;
    background: #10152b;
    border: 1px solid #79b9ff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 95px;
    font-weight: 900;
    color: #63baff;
}

.floating-card {
    position: absolute;
    background: rgba(20,25,48,.9);
    border: 1px solid rgba(111,159,255,.3);
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 10px;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px #0005;
}

.card-top {
    top: 55px;
    right: 0;
}

.card-top span {
    color: #a66aff;
    font-size: 17px;
}

.card-bottom {
    bottom: 60px;
    left: 0;
}

.visual-label {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 10px;
    color: #777e98;
    letter-spacing: 2px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

.brands {
    padding: 45px 8%;
    border-top: 1px solid #ffffff12;
    border-bottom: 1px solid #ffffff12;
    text-align: center;
    background: #ffffff05;
}

.brands > p {
    color: #656c83;
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 28px;
}

.brand-list {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    color: #9ca4bd;
    font-weight: 800;
    font-size: 15px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 45px;
}

.section-heading h2 {
    font-size: 43px;
    margin-top: 15px;
    letter-spacing: -2px;
}

.section-heading > p {
    color: #8b91a7;
    line-height: 1.8;
    font-size: 13px;
    max-width: 320px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    position: relative;
    background: linear-gradient(145deg, #151a2b, #0e1120);
    border: 1px solid #ffffff12;
    border-radius: 15px;
    padding: 30px 23px;
    min-height: 260px;
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #438fff88;
    box-shadow: 0 15px 40px #1268ff18;
}

.service-icon {
    font-size: 30px;
    color: #56b8ff;
    margin-bottom: 25px;
}

.card-number {
    position: absolute;
    right: 22px;
    top: 30px;
    color: #525970;
    font-size: 12px;
}

.service-card h3 {
    font-size: 16px;
    margin-bottom: 13px;
}

.service-card p {
    color: #9298ad;
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.service-card a {
    font-size: 11px;
    color: #62b9ff;
    font-weight: 700;
}

.projects {
    background: #ffffff04;
}

.project-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 25px;
}

.project-card {
    background: #111525;
    border: 1px solid #ffffff12;
    border-radius: 16px;
    overflow: hidden;
}

.project-art {
    height: 290px;
    position: relative;
    overflow: hidden;
}

.art-one {
    background:
        radial-gradient(circle at 70% 30%, #2459a8, transparent 40%),
        linear-gradient(130deg, #111e3b, #201039);
    padding: 35px;
}

.art-window {
    border: 1px solid #ffffff44;
    width: 70%;
    height: 100%;
    padding: 20px;
    background: #ffffff08;
    backdrop-filter: blur(10px);
}

.art-window span,
.art-two > span {
    font-size: 10px;
    color: #86c9ff;
    letter-spacing: 2px;
}

.art-window strong {
    display: block;
    font-size: 43px;
    line-height: 1;
    margin-top: 25px;
}

.art-two {
    background: radial-gradient(circle at center, #58319a, #13172d 70%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.planet {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(130deg, #9b6bff, #347eff);
    box-shadow: 0 0 60px #8053ff99;
}

.art-two > span {
    position: absolute;
    bottom: 25px;
    left: 25px;
}

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px;
}

.project-info h3 {
    font-size: 16px;
}

.project-info p {
    font-size: 11px;
    color: #858da7;
    margin-top: 8px;
}

.project-arrow {
    font-size: 24px;
    color: #61baff;
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    height: 390px;
    background:
        radial-gradient(circle at center, #254fa0, transparent 55%),
        linear-gradient(135deg, #121a35, #18102e);
    border: 1px solid #ffffff15;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-symbol {
    font-size: 220px;
    font-weight: 900;
    color: #72baff;
    text-shadow: 0 0 70px #367bff;
}

.about-caption {
    position: absolute;
    bottom: 25px;
    left: 25px;
    display: flex;
    gap: 15px;
    font-size: 10px;
    letter-spacing: 2px;
    color: #b8c8e8;
}

.about-content h2,
.contact-box h2 {
    font-size: 42px;
    line-height: 1.2;
    margin: 22px 0;
    letter-spacing: -2px;
}

.about-content > p,
.contact-box > p {
    color: #959bb0;
    line-height: 2;
    font-size: 13px;
    margin-bottom: 28px;
}

.contact {
    padding-top: 50px;
    padding-bottom: 110px;
}

.contact-box {
    max-width: 750px;
    margin: auto;
    text-align: center;
    padding: 60px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top, #1c3972, transparent 65%),
        #111525;
    border: 1px solid #ffffff18;
}

.contact-box h2 {
    font-size: 38px;
}

.contact form {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 16px;
    background: #080d1b;
    border: 1px solid #ffffff1c;
    border-radius: 8px;
    outline: none;
    color: white;
    font-family: inherit;
    font-size: 13px;
}

.contact input:focus,
.contact textarea:focus {
    border-color: #438fff;
}

.contact textarea {
    resize: vertical;
}

.contact form button {
    font-family: inherit;
}

.footer {
    padding: 35px 8%;
    border-top: 1px solid #ffffff14;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer p,
.footer > a:last-child {
    font-size: 11px;
    color: #858da7;
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1000px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        letter-spacing: -3px;
    }
}

@media (max-width: 700px) {
    .header {
        padding: 18px 6%;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 25px;
        background: #101426;
        flex-direction: column;
        gap: 22px;
        border-bottom: 1px solid #ffffff20;
    }

    .nav.open {
        display: flex;
    }

    .nav-button {
        display: none;
    }

    .section {
        padding: 75px 6%;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 80px;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        height: 350px;
    }

    .orbit-one {
        width: 260px;
        height: 260px;
    }

    .orbit-two {
        width: 320px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .service-grid,
    .project-grid,
    .about {
        grid-template-columns: 1fr;
    }

    .about {
        gap: 35px;
    }

    .about-visual {
        height: 300px;
    }

    .about-symbol {
        font-size: 170px;
    }

    .contact-box {
        padding: 35px 20px;
    }

    .contact-box h2,
    .about-content h2 {
        font-size: 32px;
    }

    .brand-list {
        font-size: 12px;
    }

    .footer {
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Login and Signup Form */

.auth-section {
    max-width: 420px;
    margin: 80px auto;
    padding: 35px;
    text-align: center;
    background: #111827;
    border: 1px solid #00f0ff;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.15);
}

.auth-section h2 {
    color: #00f0ff;
    margin-bottom: 10px;
}

.auth-section p {
    color: #aaa;
}

#authForm input {
    width: 100%;
    padding: 13px;
    margin: 10px 0;
    border: 1px solid #333;
    border-radius: 8px;
    background: #080d18;
    color: white;
    box-sizing: border-box;
}

#authForm button,
#toggleAuth {
    padding: 12px 20px;
    margin-top: 12px;
    border: none;
    border-radius: 8px;
    background: #00eaff;
    color: #080d18;
    font-weight: bold;
    cursor: pointer;
}

#authForm button {
    width: 100%;
}

#toggleAuth {
    background: transparent;
    color: #00eaff;
}

#authMessage {
    margin-top: 15px;
}
