﻿/* =========================================================
   INVITATION4U
   FUTURISTIC AI LANDING PAGE
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


:root {
    --bg: #07050d;
    --bg-two: #0d0817;
    --purple: #a970ff;
    --purple-light: #c99aff;
    --lavender: #e1c9ff;
    --pink: #ff82d8;
    --text: #ffffff;
    --muted: rgba(255,255,255,.62);
}


/* =========================================================
   BODY
========================================================= */

body {
    min-height: 100vh;
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: radial-gradient( circle at 15% 20%, rgba(150,80,255,.16), transparent 30% ), radial-gradient( circle at 85% 70%, rgba(255,80,200,.10), transparent 28% ), linear-gradient( 135deg, #07050d, #10081a 50%, #07050d );
    overflow-x: hidden;
}


/* =========================================================
   AI GRID
========================================================= */

.ai-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    background-image: linear-gradient( rgba(170,110,255,.12) 1px, transparent 1px ), linear-gradient( 90deg, rgba(170,110,255,.12) 1px, transparent 1px );
    background-size: 60px 60px;
    mask-image: linear-gradient( to bottom, black, transparent );
}


/* =========================================================
   NEON ORBS
========================================================= */

.neon-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}


.orb-one {
    width: 280px;
    height: 280px;
    left: -100px;
    top: 20%;
    background: rgba(145,80,255,.18);
}


.orb-two {
    width: 240px;
    height: 240px;
    right: -80px;
    top: 10%;
    background: rgba(255,90,210,.13);
}


.orb-three {
    width: 200px;
    height: 200px;
    right: 20%;
    bottom: -100px;
    background: rgba(130,90,255,.15);
}


/* =========================================================
   NAVIGATION
========================================================= */

.site-nav {
    width: min( 1180px, calc(100% - 40px) );
    margin: auto;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.5px;
}


    .brand span span {
        color: var(--purple-light);
    }


.brand-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient( 135deg, #8d54e8, #d08cff );
    box-shadow: 0 0 20px rgba(170,100,255,.35);
}


.nav-status {
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255,255,255,.48);
    display: flex;
    align-items: center;
    gap: 8px;
}


.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8cffc1;
    box-shadow: 0 0 10px #8cffc1;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    width: min( 1180px, calc(100% - 40px) );
    min-height: calc(100vh - 90px);
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 80px;
    padding-bottom: 60px;
}


.hero-content {
    position: relative;
    z-index: 2;
}


.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border-radius: 50px;
    border: 1px solid rgba(190,150,255,.28);
    background: rgba(160,100,255,.08);
    color: var(--lavender);
    font-size: 9px;
    letter-spacing: 2px;
}


.ai-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b98cff;
    box-shadow: 0 0 12px #b98cff;
}


.hero h1 {
    margin-top: 24px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp( 44px, 6vw, 76px );
    line-height: .98;
    letter-spacing: -4px;
}


    .hero h1 span {
        display: block;
        background: linear-gradient( 90deg, #ffffff, #c69aff, #ff9cdb );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }


    .hero h1 strong {
        display: block;
        color: rgba(255,255,255,.24);
        font-weight: 700;
    }


.hero-description {
    max-width: 530px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   ENQUIRY CARD
========================================================= */

.enquiry-card {
    position: relative;
    max-width: 530px;
    margin-top: 32px;
    padding: 25px;
    border-radius: 24px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(210,175,255,.18);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 70px rgba(0,0,0,.4), inset 0 1px rgba(255,255,255,.08);
    overflow: hidden;
}


.card-glow {
    position: absolute;
    width: 160px;
    height: 160px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
    background: rgba(175,100,255,.18);
    filter: blur(40px);
}


.card-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}


.card-icon {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient( 135deg, #8650e7, #c48cff );
    box-shadow: 0 0 20px rgba(170,100,255,.30);
}


.card-header span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


.card-header small {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.45);
    font-size: 10px;
}


/* =========================================================
   PHONE INPUT
========================================================= */

.phone-box {
    display: flex;
    align-items: center;
    height: 58px;
    padding: 0 15px;
    border-radius: 15px;
    border: 1px solid rgba(190,150,255,.22);
    background: rgba(0,0,0,.25);
    transition: border .25s ease, box-shadow .25s ease;
}


    .phone-box:focus-within {
        border-color: rgba(190,150,255,.75);
        box-shadow: 0 0 25px rgba(155,90,255,.14);
    }


.country-code {
    padding-right: 12px;
    color: rgba(255,255,255,.5);
    font-size: 13px;
    border-right: 1px solid rgba(255,255,255,.12);
}


.phone-box input {
    flex: 1;
    width: 100%;
    height: 100%;
    padding: 0 13px;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: transparent;
    font-size: 14px;
}


    .phone-box input::placeholder {
        color: rgba(255,255,255,.35);
    }


.phone-icon {
    color: rgba(201,154,255,.7);
}


/* =========================================================
   ERROR
========================================================= */

.field-error {
    min-height: 18px;
    margin-top: 6px;
    color: #ff9bcf;
    font-size: 11px;
}


/* =========================================================
   RECAPTCHA
========================================================= */

.recaptcha-wrap {
    margin: 8px 0 18px;
    overflow: hidden;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.create-btn {
    width: 100%;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 15px;
    cursor: pointer;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    background: linear-gradient( 100deg, #8a50ed, #b86fff, #ef83cf );
    box-shadow: 0 10px 35px rgba(145,80,240,.30);
    transition: transform .25s ease, box-shadow .25s ease;
}


    .create-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 45px rgba(170,90,255,.42);
    }


    .create-btn:disabled {
        opacity: .65;
        cursor: not-allowed;
    }


.privacy-note {
    margin-top: 13px;
    text-align: center;
    color: rgba(255,255,255,.35);
    font-size: 9px;
}


    .privacy-note i {
        margin-right: 5px;
        color: #b998ff;
    }


/* =========================================================
   HONEYPOT
========================================================= */

.honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}


/* =========================================================
   FEATURES
========================================================= */

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 22px;
}


    .features div {
        color: rgba(255,255,255,.42);
        font-size: 10px;
    }


    .features i {
        margin-right: 5px;
        color: #b98cff;
    }


/* =========================================================
   FUTURISTIC VISUAL
========================================================= */

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}


.holo-card {
    position: relative;
    width: 330px;
    height: 470px;
    padding: 22px;
    border-radius: 28px;
    border: 1px solid rgba(205,170,255,.28);
    background: linear-gradient( 145deg, rgba(150,90,255,.13), rgba(255,255,255,.025) );
    backdrop-filter: blur(18px);
    box-shadow: 0 0 60px rgba(150,80,255,.15), inset 0 0 50px rgba(180,120,255,.04);
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
}


.holo-top {
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,.4);
    font-size: 8px;
    letter-spacing: 2px;
}


    .holo-top i {
        color: #8cffc1;
        text-shadow: 0 0 10px #8cffc1;
    }


.holo-center {
    position: relative;
    width: 170px;
    height: 170px;
    margin: 70px auto 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.holo-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(195,150,255,.55);
    box-shadow: 0 0 30px rgba(170,100,255,.25);
    animation: holoSpin 10s linear infinite;
}


@keyframes holoSpin {

    to {
        transform: rotate(360deg);
    }
}


.holo-center > i {
    font-size: 45px;
    color: #d2aeff;
    text-shadow: 0 0 20px rgba(200,150,255,.9);
}


.holo-text {
    text-align: center;
}


    .holo-text span {
        display: block;
        color: rgba(255,255,255,.35);
        font-size: 9px;
        letter-spacing: 4px;
    }


    .holo-text strong {
        display: block;
        margin-top: 6px;
        font-family: "Space Grotesk", sans-serif;
        font-size: 27px;
        letter-spacing: -1px;
    }


.holo-lines {
    position: absolute;
    bottom: 22px;
    left: 22px;
    right: 22px;
}


    .holo-lines span {
        display: block;
        height: 1px;
        margin-top: 8px;
        background: linear-gradient( 90deg, transparent, rgba(190,150,255,.5), transparent );
    }


/* =========================================================
   SUCCESS MODAL
========================================================= */

.success-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(4,2,10,.78);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}


    .success-modal.show {
        opacity: 1;
        visibility: visible;
    }


.success-box {
    position: relative;
    width: min( 430px, 100% );
    padding: 38px 30px;
    text-align: center;
    border-radius: 25px;
    border: 1px solid rgba(200,160,255,.28);
    background: linear-gradient( 145deg, #160d25, #0b0712 );
    box-shadow: 0 0 70px rgba(150,80,255,.25);
    transform: translateY(20px) scale(.96);
    transition: transform .35s ease;
}


.success-modal.show
.success-box {
    transform: translateY(0) scale(1);
}


.modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    color: rgba(255,255,255,.55);
    background: rgba(255,255,255,.06);
    cursor: pointer;
}


.success-icon {
    width: 65px;
    height: 65px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient( 135deg, #9255ee, #d68cff );
    box-shadow: 0 0 35px rgba(170,90,255,.45);
    font-size: 22px;
}


.success-label {
    display: block;
    margin-top: 22px;
    color: #b995ff;
    font-size: 9px;
    letter-spacing: 2px;
}


.success-box h2 {
    margin-top: 10px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 25px;
}


.success-box p {
    margin: 12px auto 24px;
    max-width: 330px;
    color: rgba(255,255,255,.55);
    line-height: 1.6;
    font-size: 13px;
}


.success-btn {
    padding: 11px 28px;
    border: 1px solid rgba(200,160,255,.3);
    border-radius: 50px;
    color: #ffffff;
    background: rgba(160,100,255,.15);
    cursor: pointer;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-top: 30px;
    }


    .hero-content {
        text-align: center;
    }


    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }


    .enquiry-card {
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }


    .features {
        justify-content: center;
    }


    .hero-visual {
        display: none;
    }
}


@media (max-width: 600px) {

    .site-nav {
        width: calc(100% - 28px);
        padding: 18px 0;
    }


    .nav-status {
        display: none;
    }


    .hero {
        width: calc(100% - 28px);
        min-height: auto;
        padding: 40px 0 60px;
    }


        .hero h1 {
            font-size: 45px;
            letter-spacing: -2.5px;
        }


    .hero-description {
        font-size: 14px;
    }


    .enquiry-card {
        padding: 19px;
        border-radius: 20px;
    }


    .recaptcha-wrap {
        transform-origin: left center;
        transform: scale(.86);
        width: 304px;
    }


    .features {
        gap: 12px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
