/* =========================
   PERFORMANCE BASE OPTIMISATION
========================= */

html {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    will-change: auto;
}
/* =========================
   RESET
========================= */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

* {
    box-sizing: border-box;
}

body {
    background: #050505;
    color: rgba(255,255,255,0.9);
    font-family: Inter, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* =========================
   ROOT
========================= */

:root {
    --gold: #c6a66b;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================
   NAV (FIXED SIMPLE VERSION)
========================= */

.nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    background: rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 999;
}

.logo {
    font-weight: 600;
    letter-spacing: 6px;
}

.nav-center {
    display: flex;
    gap: 40px;
}

.nav-center a {
    text-decoration: none;
    color: rgba(255,255,255,0.6);
}

.nav-center a:hover {
    color: var(--gold);
}

.portal {
    background: var(--gold);
    color: black;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
}


/* =========================
   CINEMATIC HERO (UPGRADED)
========================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 8% 100px;
    overflow: hidden;
}

/* luxury ambient glow */
.hero-bg {
    position: absolute;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(198,166,107,0.12), transparent 60%);
    top: -250px;
    right: -250px;
    filter: blur(120px);
    opacity: 0.8;
    animation: heroGlow 6s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0.9; }
}

/* layout */
.hero-inner {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.hero-content {
    max-width: 900px;
}

/* =========================
   KICKER (SMALL BRAND LINE)
========================= */

.hero-kicker {
    font-size: 12px;
    letter-spacing: 4px;
    color: #c6a66b;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.9s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   TITLE (MAIN IMPACT)
========================= */

.hero-title {
    font-size: clamp(3.8rem, 6vw, 8.5rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
    color: rgba(255,255,255,0.95);
}

/* subtle stagger feel */
.hero-title {
    animation: heroTitleIn 1.2s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes heroTitleIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   SUB TEXT
========================= */

.hero-sub {
    margin-top: 25px;
    max-width: 600px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* =========================
   META STRIP (NEW LUXURY ELEMENT)
========================= */

.hero-meta {
    display: flex;
    gap: 25px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-meta div {
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    padding: 6px 0;
    position: relative;
}

/* subtle underline animation */
.hero-meta div::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 1px;
    background: #c6a66b;
    transition: width 0.4s ease;
}

.hero-meta div:hover::after {
    width: 100%;
}

/* =========================
   BUTTONS (REFINED)
========================= */

.hero-buttons {
    margin-top: 45px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-primary {
    background: #c6a66b;
    color: black;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-primary:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.hero-secondary {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-secondary:hover {
    border-color: #c6a66b;
    color: #c6a66b;
    transform: translateY(-3px);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .hero {
        padding: 160px 8% 100px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-meta {
        gap: 15px;
    }

}
/* =========================
   BUTTONS
========================= */

.buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.gold {
    background: var(--gold);
    color: black;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
}

.glass {
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
}

/* =========================
   SECTIONS
========================= */

section {
    padding: 120px 8%;
}

/* =========================
   GRID
========================= */

.grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    padding: 40px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
}

/* =========================
   CASE STUDY
========================= */

.case-study {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.case-left .label {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 2px;
}

.case-left h3 {
    font-size: 3rem;
    margin: 20px 0;
}

.case-left p {
    color: rgba(255,255,255,0.6);
}

.case-right {
    height: 500px;
    background: linear-gradient(145deg, #111, #222);
    border-radius: 16px;
}

/* =========================
   REVEAL
========================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}
/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .grid {
        grid-template-columns: 1fr;
    }

    .case-study {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav-center {
        display: none;
    }

    .hero {
        padding-top: 140px;
    }
}

/* =========================
   CINEMATIC CTA (UPGRADED)
========================= */

.cta {
    text-align: center;
    padding: 180px 8%;
    position: relative;
    overflow: hidden;
}

/* luxury glow field */
.cta::before {
    content: "";
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(198,166,107,0.10), transparent 60%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(100px);
}

/* inner layout */
.cta-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* kicker */
.cta-kicker {
    font-size: 12px;
    letter-spacing: 4px;
    color: #c6a66b;
    margin-bottom: 20px;
}

/* title */
.cta-title {
    font-size: clamp(3rem, 6vw, 7rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

/* sub text */
.cta-sub {
    margin-top: 25px;
    color: rgba(255,255,255,0.6);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* proof strip */
.cta-proof {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-proof div {
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.45);
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    transition: all 0.3s ease;
}

.cta-proof div:hover {
    border-color: rgba(198,166,107,0.4);
    color: #c6a66b;
}

/* buttons */
.cta-buttons {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* primary */
.cta-primary {
    background: #c6a66b;
    color: black;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cta-primary:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* secondary */
.cta-secondary {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    border-color: #c6a66b;
    color: #c6a66b;
    transform: translateY(-3px);
}
/* =========================
   SERVICES SECTION HEADER
========================= */

.section-head {
    width: min(1100px, 90%);
    margin: 0 auto 60px;
}

.section-head h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    letter-spacing: -0.03em;
}

.section-head p {
    margin-top: 15px;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    line-height: 1.7;
}

/* =========================
   SERVICES GRID (LUXURY VERSION)
========================= */

.services-grid {
    width: min(1100px, 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* =========================
   SERVICE CARD (HIGH-END STYLE)
========================= */

.service-card {
    padding: 40px;
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* subtle luxury glow */
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(198,166,107,0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(198,166,107,0.4);
}

.service-card:hover::after {
    opacity: 1;
}

/* number tag */
.tag {
    font-size: 12px;
    letter-spacing: 2px;
    color: #c6a66b;
}

/* title */
.service-card h3 {
    margin-top: 20px;
    font-size: 1.5rem;
}

/* description */
.service-card p {
    margin-top: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================
   TRUST STRIP (CREDIBILITY SECTION)
========================= */

.trust {
    padding: 80px 8%;
}

.trust-grid {
    width: min(1100px, 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.trust-grid h3 {
    font-size: 1.2rem;
}

.trust-grid p {
    margin-top: 10px;
    color: rgba(255,255,255,0.6);
}

/* =========================
   SECTION SPACING IMPROVEMENT
========================= */

section {
    padding: 140px 0;
}

/* =========================
   FLOW IMPROVEMENT (GLOBAL TYPOGRAPHY)
========================= */

h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    letter-spacing: -0.03em;
}

/* =========================
   MOBILE FLOW FIX
========================= */

@media (max-width: 900px) {

    .trust-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================
   PORTFOLIO GRID (HIGH-END STYLE)
========================= */

.portfolio-grid {
    width: min(1200px, 90%);
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* =========================
   PORTFOLIO CARD
========================= */

.portfolio-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

/* hover = luxury lift */
.portfolio-item:hover {
    transform: translateY(-8px);
    border-color: rgba(198,166,107,0.4);
}

/* =========================
   IMAGE AREA (PLACEHOLDER)
========================= */

.portfolio-image {
    height: 220px;
    background: linear-gradient(145deg, #111, #222);
    position: relative;
}

/* gold glow overlay */
.portfolio-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(198,166,107,0.15), transparent 60%);
}

/* =========================
   CONTENT
========================= */

.portfolio-content {
    padding: 30px;
}

.portfolio-content .label {
    font-size: 12px;
    letter-spacing: 2px;
    color: #c6a66b;
}

.portfolio-content h3 {
    margin-top: 15px;
    font-size: 1.5rem;
}

.portfolio-content p {
    margin-top: 10px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================
   TRUST CARD GRID (PREMIUM LAYOUT)
========================= */

.trust-cards {
    width: min(1100px, 90%);
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* =========================
   TRUST CARD (LUXURY GLASS STYLE)
========================= */

.trust-card {
    padding: 40px;
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* soft gold glow */
.trust-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(198,166,107,0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* hover lift (luxury feel) */
.trust-card:hover {
    transform: translateY(-6px);
    border-color: rgba(198,166,107,0.4);
}

.trust-card:hover::after {
    opacity: 1;
}

/* icon */
.trust-icon {
    font-size: 18px;
    color: #c6a66b;
    margin-bottom: 20px;
}

/* title */
.trust-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* description */
.trust-card p {
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .trust-cards {
        grid-template-columns: 1fr;
    }

}
/* =========================
   HERO BACKGROUND LUXURY GLOW
========================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 8% 100px;
}

/* atmospheric glow */
.hero-bg {
    position: absolute;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(198,166,107,0.12), transparent 60%);
    top: -250px;
    right: -250px;
    filter: blur(120px);
    opacity: 0.8;
}

/* =========================
   HERO CONTENT LAYOUT
========================= */

.hero-inner {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.hero-content {
    max-width: 900px;
}

/* label (luxury branding tag) */
.hero-label {
    font-size: 12px;
    letter-spacing: 3px;
    color: #c6a66b;
}

/* main headline */
.hero h1 {
    font-size: clamp(3.8rem, 6vw, 8.5rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
    margin-top: 20px;
}

/* sub text */
.hero p {
    margin-top: 25px;
    max-width: 600px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* =========================
   HERO BUTTON SYSTEM
========================= */

.hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* primary CTA */
.hero-primary {
    background: #c6a66b;
    color: black;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-primary:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* secondary CTA */
.hero-secondary {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-secondary:hover {
    border-color: #c6a66b;
    color: #c6a66b;
    transform: translateY(-3px);
}

/* =========================
   MOBILE HERO
========================= */

@media (max-width: 900px) {

    .hero {
        padding: 160px 8% 100px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

}
/* =========================
   LUXURY CURSOR SYSTEM
========================= */

.lux-cursor,
.lux-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

/* outer ring */
.lux-cursor {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(198,166,107,0.6);
    border-radius: 50%;
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

/* inner dot */
.lux-cursor-dot {
    width: 6px;
    height: 6px;
    background: #c6a66b;
    border-radius: 50%;
}

/* hover state (optional luxury expansion) */
.lux-cursor.hover {
    width: 60px;
    height: 60px;
    border-color: rgba(198,166,107,1);
}

/* hide default cursor */
body {
    cursor: none;
}

/* mobile fix (important) */
@media (max-width: 900px) {
    .lux-cursor,
    .lux-cursor-dot {
        display: none;
    }

    body {
        cursor: auto;
    }
}
/* =========================
   CINEMATIC LUXURY LOADER (UPGRADED)
========================= */

.lux-loader {
    position: fixed;
    inset: 0;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 1s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* soft cinematic glow field */
.lux-loader::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(198,166,107,0.12), transparent 60%);
    filter: blur(90px);
    animation: loaderGlow 4s ease-in-out infinite;
}

@keyframes loaderGlow {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.lux-loader-inner {
    text-align: center;
    z-index: 2;
}

/* =========================
   LOGO (MAIN FOCUS)
========================= */

.lux-loader-logo {
    font-size: 18px;
    letter-spacing: 8px;
    color: #c6a66b;
    opacity: 0;
    transform: translateY(10px);
    animation: logoReveal 1.2s ease forwards;
}

@keyframes logoReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   PROGRESS BAR
========================= */

.lux-loader-bar-wrap {
    width: 240px;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 25px auto 0;
    overflow: hidden;
    position: relative;
}

.lux-loader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #c6a66b, rgba(198,166,107,0.2));
    transition: width 0.3s ease;
}

/* =========================
   TEXT
========================= */

.lux-loader-text {
    margin-top: 18px;
    font-size: 11px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.45);
}

/* =========================
   EXIT ANIMATION (IMPORTANT)
========================= */

.lux-loader.hide {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
}

/* lock scroll */
body.loading {
    overflow: hidden;
}
/* =========================
   PREMIUM CINEMATIC LOGO
========================= */

.lux-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 6px;
}

/* main wordmark */
.logo-main {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 7px;
    color: rgba(255,255,255,0.92);
    position: relative;
    transition: color 0.4s ease;
}

/* subtle gold accent dot */
.logo-dot {
    width: 6px;
    height: 6px;
    background: #c6a66b;
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(198,166,107,0.6);
    animation: logoPulse 3s ease-in-out infinite;
}

/* cinematic hover (very subtle luxury feel) */
.lux-logo:hover .logo-main {
    color: #ffffff;
}

/* soft pulse animation */
@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}/* cinematic load-in */
.logo-main {
    opacity: 0;
    transform: translateY(-6px);
    animation: logoReveal 1.2s ease forwards;
}

@keyframes logoReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================
   LUXURY WORDMARK LOGO (UPGRADED)
========================= */

.lux-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

/* main wordmark */
.logo-word {
    font-size: 14px;
    letter-spacing: 8px;
    font-weight: 500;
    color: rgba(255,255,255,0.92);
    text-transform: uppercase;
    position: relative;
    transition: all 0.4s ease;
}

/* luxury accent dot (signature mark) */
.logo-accent {
    width: 26px;
    height: 2px;
    background: linear-gradient(90deg, #c6a66b, rgba(198,166,107,0.2));
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(198,166,107,0.5);
    transform: translateY(2px);
    transition: all 0.3s ease;
}

.lux-logo:hover .logo-accent {
    width: 34px;
    box-shadow: 0 0 24px rgba(198,166,107,0.7);
}

/* hover refinement (very subtle luxury shift) */
.lux-logo:hover .logo-word {
    letter-spacing: 9px;
    color: #ffffff;
}

/* soft cinematic entrance */
.logo-word {
    opacity: 0;
    transform: translateY(-6px);
    animation: logoIn 1.1s ease forwards;
}

@keyframes logoIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* optional micro glow breathing (very subtle) */
.logo-accent {
    animation: pulse 3.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.25);
        opacity: 1;
    }
}
/* =========================
   LUXURY FOOTER (UPGRADED)
========================= */

.lux-footer {
    padding: 120px 8% 60px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #050505;
    position: relative;
}

/* subtle glow */
.lux-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(circle, rgba(198,166,107,0.08), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

/* GRID */
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* BRAND */
.footer-brand .footer-logo {
    font-size: 14px;
    letter-spacing: 6px;
    color: #c6a66b;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    font-size: 14px;
    max-width: 300px;
}

/* COLUMNS */
.footer-col h4 {
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col a,
.footer-col span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #c6a66b;
}

/* BOTTOM BAR */
.footer-bottom {
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
}

/* MOBILE */
@media (max-width: 900px) {

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
/**Client dashboard**/
.dashboard {
    padding: 140px 8%;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.dashboard .card {
    padding: 30px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
}

.status {
    margin-top: 10px;
    color: #c6a66b;
    font-size: 12px;
    letter-spacing: 2px;
}

/* login page */
.auth {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-box {
    width: 400px;
    padding: 40px;
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
}
/* =========================================================
   SAFE PERFORMANCE + LOADER FIX PATCH
   (NON-DESTRUCTIVE)
========================================================= */

/* -----------------------------------------
   SECTION CONSISTENCY FIX
----------------------------------------- */

section {
    padding: 140px 8%;
}

/* -----------------------------------------
   LOADER FAILSAFE
----------------------------------------- */

.lux-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* prevents permanent overlay lock */
body:not(.loading) .lux-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* -----------------------------------------
   PERFORMANCE OPTIMISATION
----------------------------------------- */

/* smoother GPU compositing */
.hero-bg,
.cta::before,
.lux-loader::before,
.reveal,
.service-card,
.portfolio-item,
.trust-card {
    will-change: transform, opacity;
}

/* reduce Safari repaint stress */
.hero-bg,
.cta::before,
.lux-loader::before {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* -----------------------------------------
   CURSOR SAFETY FIX
----------------------------------------- */

/* desktop only custom cursor */
@media (hover: hover) and (pointer: fine) {

    body {
        cursor: none;
    }

}

/* touch devices restore normal cursor */
@media (hover: none), (pointer: coarse) {

    body {
        cursor: auto;
    }

    .lux-cursor,
    .lux-cursor-dot {
        display: none !important;
    }

}

/* -----------------------------------------
   BACKDROP FILTER SAFETY
----------------------------------------- */

/* prevent Safari rendering overload */
.nav,
.trust-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* -----------------------------------------
   REDUCE GPU OVERDRAW
----------------------------------------- */

/* visually identical but far cheaper */
.hero-bg {
    filter: blur(80px);
}

.cta::before {
    filter: blur(70px);
}

.lux-loader::before {
    filter: blur(70px);
}

/* -----------------------------------------
   IMAGE + ANIMATION STABILITY
----------------------------------------- */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* smoother animations */
.hero-title,
.hero-kicker,
.logo-main,
.logo-word,
.reveal {
    transform: translateZ(0);
}

/* -----------------------------------------
   MOBILE SAFETY
----------------------------------------- */

@media (max-width: 900px) {

    html,
    body {
        overflow-x: hidden;
    }

    .hero-bg,
    .cta::before,
    .lux-loader::before {
        opacity: 0.5;
    }

}

/* -----------------------------------------
   PREVENT FIXED ELEMENT FLICKER
----------------------------------------- */

.nav,
.lux-loader,
.lux-cursor {
    transform: translateZ(0);
}

/* -----------------------------------------
   FORM STABILITY
----------------------------------------- */

input,
textarea,
button,
select {
    font: inherit;
}

/* -----------------------------------------
   SAFER BOX MODEL
----------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}
/* =========================
   SAAS DASHBOARD SYSTEM
========================= */

.dashboard {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;

    max-width: 1320px;
    margin: 0 auto;

    padding: 80px 18px;
}

/* SIDEBAR */
.sidebar {
    position: sticky;
    top: 80px;

    padding: 22px;
    border-radius: 16px;

    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(20px);
}

.brand {
    font-size: 13px;
    letter-spacing: 6px;
    color: #c6a66b;
    margin-bottom: 20px;
}

/* NAV */
.nav a {
    display: block;
    padding: 10px 12px;
    margin-bottom: 6px;

    border-radius: 10px;
    text-decoration: none;

    color: rgba(255,255,255,0.6);
    font-size: 13px;

    transition: all 0.2s ease;
}

.nav a:hover {
    background: rgba(198,166,107,0.08);
    color: #c6a66b;
    transform: translateX(4px);
}

/* MAIN */
.main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* HEADER */
.header h1 {
    margin: 0;
    font-size: 18px;
}

.header span {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* KPI GRID */
.kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.kpi {
    padding: 18px;
    border-radius: 14px;

    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);

    transition: 0.3s ease;
}

.kpi:hover {
    border-color: rgba(198,166,107,0.3);
    transform: translateY(-3px);
}

/* CONTENT */
.content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
}

/* CARD */
.card {
    padding: 16px;
    border-radius: 14px;

    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
}

/* PROJECT */
.project {
    margin-top: 10px;
    padding: 14px;

    border-radius: 12px;

    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.06);

    transition: 0.25s ease;
}

.project:hover {
    border-color: rgba(198,166,107,0.25);
    transform: translateX(4px);
}

/* DOT */
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

/* SMALL TEXT */
.small {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .dashboard {
        grid-template-columns: 1fr;
    }

    .kpis {
        grid-template-columns: 1fr 1fr;
    }

    .content {
        grid-template-columns: 1fr;
    }
}
/* =========================
   DASHBOARD SYSTEM FIX (ISOLATED)
========================= */

.dash-wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    background: #05070c;
    color: #e5e7eb;
    font-family: Inter, sans-serif;
}

/* sidebar */
.dash-sidebar {
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: 0;
}

.dash-brand {
    font-size: 14px;
    letter-spacing: 6px;
    margin-bottom: 20px;
    color: #c6a66b;
}

.dash-sidebar a {
    display: block;
    padding: 10px;
    color: #9ca3af;
    text-decoration: none;
    border-radius: 10px;
}

.dash-sidebar a:hover {
    background: rgba(255,255,255,0.05);
    color: white;
}

/* main */
.dash-main {
    padding: 40px;
}

/* header */
.dash-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.dash-header h1 {
    font-size: 20px;
}

/* KPIs */
.dash-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.kpi {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
}

/* grid */
.dash-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.dash-card {
    background: rgba(255,255,255,0.02);
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
}

/* project */
.dash-project {
    padding: 12px;
    margin-top: 10px;
    border-radius: 10px;
    background: rgba(0,0,0,0.2);
}

.status {
    font-size: 12px;
    margin-top: 5px;
}

.muted {
    color: #9ca3af;
}

/* mobile */
@media (max-width: 900px) {
    .dash-wrap {
        grid-template-columns: 1fr;
    }

    .dash-kpis {
        grid-template-columns: 1fr 1fr;
    }

    .dash-grid {
        grid-template-columns: 1fr;
    }
}
.lux-cursor,
.lux-cursor-dot {
    position: fixed;
    pointer-events: none;
    z-index: 999999;
    top: 0;
    left: 0;
}
/* =========================
   SAAS PREMIUM SIDEBAR (FINAL FIXED VERSION)
========================= */

.dash-sidebar {
    position: sticky;
    top: 20px;

    height: calc(100vh - 40px);
    padding: 22px;

    display: flex;
    flex-direction: column;
    gap: 18px;

    border-radius: 18px;

    background: rgba(17, 24, 39, 0.55);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(18px);

    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* BRAND */
.dash-brand {
    font-size: 12px;
    letter-spacing: 6px;
    font-weight: 600;

    color: #fff;
    text-decoration: none;

    padding: 8px 10px;
    border-radius: 10px;

    transition: 0.2s ease;
}

.dash-brand:hover {
    color: #c6a66b;
    transform: translateY(-1px);
}

/* NAV */
.dash-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

/* LINKS */
.dash-link {
    padding: 10px 12px;
    border-radius: 10px;

    text-decoration: none;
    font-size: 13px;

    color: rgba(255,255,255,0.55);

    transition: 0.2s ease;
    position: relative;
}

/* HOVER */
.dash-link:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
    transform: translateX(3px);
}

/* ACTIVE STATE */
.dash-link.active {
    background: rgba(198,166,107,0.10);
    color: #c6a66b;
}

/* ACTIVE BAR */
.dash-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 30%;
    bottom: 30%;
    width: 2px;
    background: #c6a66b;
    border-radius: 10px;
}

/* BOTTOM SECTION */
.dash-sidebar-bottom {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* LOGOUT */
.dash-logout {
    display: block;
    padding: 10px 12px;

    font-size: 13px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;

    border-radius: 10px;

    transition: 0.2s ease;
}

.dash-logout:hover {
    background: rgba(255,0,0,0.08);
    color: #ff6b6b;
    transform: translateX(3px);
}