:root {
    --bg-dark: #000000;
    --accent-orange: #ff4d00;
    --accent-purple: #7d00ff;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Syne', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

/* --- FORM FIXES --- */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* --- NOISE --- */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Removed SVG noise filter for performance */
    opacity: 0.03;
    background-image: url("https://www.transparenttextures.com/patterns/pinstriped-dark.png"); /* Subtle alternative */
    pointer-events: none;
    z-index: 9999;
}

/* --- MESH --- */
.mesh-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    /* Removed heavy filter */
    transform: translateZ(0);
    will-change: transform;
}

.mesh-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: orb-move 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    top: -20%;
    left: -20%;
}

.orb-2 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-orange) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes orb-move {
    from {
        transform: translate(0, 0) rotate(0deg);
    }

    to {
        transform: translate(10%, 10%) rotate(20deg);
    }
}

/* --- CURSOR --- */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    top: 0;
    left: 0;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    top: 0;
    left: 0;
}

/* --- NAV --- */
.nav-wrap {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

nav {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 15px 40px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
    transition: 0.3s;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.nav-link:hover {
    opacity: 1;
    color: var(--accent-orange);
}

.nav-logo-box {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.footer-bottom .lux-link {
    color: #fff !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-bottom .lux-link:hover {
    color: var(--accent-orange) !important;
    text-shadow: 0 0 10px rgba(255, 77, 0, 0.5);
}



/* --- REVEAL --- */
.reveal {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, visibility 0.8s ease;
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-header {
    padding-top: 180px !important;
    padding-bottom: 40px; /* Much tighter gap */
    position: relative;
    z-index: 5;
    overflow: hidden;
}


.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(255, 77, 0, 0.08) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px); /* Extra softening to prevent sharp edges */
}



main:not(.home-page) {
    margin-top: 0;
}



/* --- TYPOGRAPHY --- */
h1,
h2,
h3 {
    font-family: var(--font-display);
    text-transform: uppercase;
    line-height: 0.9;
}

.display-text {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 7rem); /* More balanced header scale */
    line-height: 0.9;
    text-transform: uppercase;
    font-weight: 900;
    margin: 0;
    letter-spacing: -0.02em;
}





.title-outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    color: transparent;
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

h2:hover .title-outline,
h1:hover .title-outline {
    -webkit-text-stroke: 1px var(--accent-orange);
}


.sub-header {
    font-size: 0.75rem;
    letter-spacing: 0.5em;
    color: var(--accent-orange);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.tech-tag {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--accent-orange);
    text-transform: uppercase;
    font-weight: 800;
}

.tech-line {
    height: 1px;
    background: var(--accent-orange);
    opacity: 0.3;
}


/* --- BUTTONS --- */
button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    outline: none;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    padding: 18px 50px;
    background: var(--accent-orange);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(255, 77, 0, 0.2);
}

.btn-main:hover {
    background: #fff;
    color: var(--bg-dark);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 77, 0, 0.4);
}

.btn-main-small {
    padding: 12px 30px;
    background: var(--accent-orange);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-main-small:hover {
    background: #fff;
    color: var(--bg-dark);
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

section {
    padding: 100px 0;
}

main > section:first-of-type {
    padding-top: 40px;
}


/* --- FOOTER --- */
footer {
    padding: 100px 0 50px;
    background: #000;
    position: relative;
    z-index: 10;
}

.footer-top {
    border-bottom: 1px solid var(--glass-border);
    padding: 150px 0 100px;
    margin-bottom: 60px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; /* Allow text/glow to bleed out */
    width: 100%;
}

.footer-big-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6.5vw, 12rem); /* Reduced from 8vw to ensure it fits */
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.05em; /* Tightened letter spacing */
    color: rgba(255, 255, 255, 0.05);
    transition: all 0.5s ease;
    cursor: default;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    z-index: 5;
    white-space: nowrap;
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.05) 0%, 
        rgba(255,255,255,0.15) 50%, 
        rgba(255,255,255,0.05) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 5s infinite linear;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}


.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 350px;
    line-height: 1.8;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 30px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    transition: 0.3s;
    opacity: 0.6;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 10px;
    color: var(--accent-orange);
}

.footer-bottom {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.footer-socials {
    display: flex;
    gap: 30px;
}

.footer-socials a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    transition: 0.3s;
}

.footer-socials a:hover {
    color: var(--accent-orange);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-info {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-info {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.lux-link {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lux-link:hover {
    color: var(--accent-orange);
    text-shadow: 0 0 10px rgba(255, 77, 0, 0.5);
}
