*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #050507;
    color: #eeeef5;
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background: rgba(212, 175, 55, .3);
    color: #eeeef5;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #050507;
}

::-webkit-scrollbar-thumb {
    background: #1a1a30;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}

/* ═══ PRELOADER ═══ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #050507;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity .8s cubic-bezier(.4, 0, .2, 1), visibility .8s
}

#preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

.pl-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 32px
}

.pl-orbit {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    animation: plSpin 1.2s linear infinite
}

.pl-orbit-1 {
    border-top-color: #d4af37;
    animation-duration: 1s
}

.pl-orbit-2 {
    inset: 8px;
    border-right-color: #7c3aed;
    animation-duration: 1.5s;
    animation-direction: reverse
}

.pl-orbit-3 {
    inset: 16px;
    border-bottom-color: #00e5ff;
    animation-duration: 2s
}

.pl-center {
    position: absolute;
    inset: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: plPulse 2s ease-in-out infinite
}

.pl-bar-wrap {
    width: 160px;
    height: 2px;
    background: #1a1a30;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px
}

.pl-bar {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #7c3aed, #00e5ff, #d4af37);
    background-size: 300% 100%;
    border-radius: 10px;
    width: 0%;
    animation: plShine 2s linear infinite
}

.pl-pct {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: #484860;
    margin-top: 12px;
    letter-spacing: 4px
}

@keyframes plSpin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes plPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1
    }

    50% {
        transform: scale(.92);
        opacity: .8
    }
}

@keyframes plShine {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

/* ═══ CURSOR ═══ */
.c-dot {
    width: 6px;
    height: 6px;
    background: #d4af37;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transition: transform .15s;
    mix-blend-mode: difference
}

.c-ring {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(212, 175, 55, .25);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99997;
    transition: all .2s ease-out;
    mix-blend-mode: difference
}

.c-ring.h {
    width: 64px;
    height: 64px;
    border-color: rgba(212, 175, 55, .5);
    background: rgba(212, 175, 55, .04)
}

.c-dot.h {
    transform: scale(0)
}

@media(max-width:1024px) {

    .c-dot,
    .c-ring {
        display: none !important
    }

    body {
        cursor: auto
    }
}

/* ═══ GRAIN ═══ */
.grain::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.02'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9990;
    opacity: .4
}

/* ═══ GRID BG ═══ */
.grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(212, 175, 55, .015) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 175, 55, .015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent)
}

/* ═══ AURORA GRADIENT ═══ */
.aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .08;
    animation: auroraFloat 12s ease-in-out infinite
}

.aurora-1 {
    width: 600px;
    height: 600px;
    background: #d4af37;
    top: -15%;
    right: -10%;
    animation-delay: 0s
}

.aurora-2 {
    width: 500px;
    height: 500px;
    background: #7c3aed;
    bottom: -10%;
    left: -5%;
    animation-delay: 4s
}

.aurora-3 {
    width: 400px;
    height: 400px;
    background: #00e5ff;
    top: 30%;
    left: 40%;
    animation-delay: 8s;
    opacity: .04
}

@keyframes auroraFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    33% {
        transform: translate(30px, -40px) scale(1.1)
    }

    66% {
        transform: translate(-20px, 30px) scale(.9)
    }
}

/* ═══ HERO ═══ */
.hero-name {
    font-size: clamp(3rem, 12vw, 10rem);
    line-height: .82;
    letter-spacing: -.06em
}

.hero-fill {
    -webkit-text-fill-color: #eeeef5;
    transition: all .6s cubic-bezier(.4, 0, .2, 1)
}

.hero-outline {
    -webkit-text-stroke: 1.5px rgba(212, 175, 55, .3);
    -webkit-text-fill-color: transparent;
    transition: all .6s cubic-bezier(.4, 0, .2, 1)
}

.hero-outline:hover {
    -webkit-text-fill-color: #d4af37;
    -webkit-text-stroke: 1.5px #d4af37;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, .2))
}

.hero-badge {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(15, 15, 24, .7);
    border: 1px solid rgba(255, 255, 255, .06)
}

.hero-img-mask {
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
    transition: clip-path .8s cubic-bezier(.4, 0, .2, 1)
}

.hero-img-mask:hover {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)
}

/* ═══ GLOW LINE ═══ */
.glow-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    opacity: .3
}

/* ═══ SECTION ═══ */
.sec {
    padding: 100px 0
}

@media(min-width:768px) {
    .sec {
        padding: 140px 0
    }
}

@media(min-width:1024px) {
    .sec {
        padding: 160px 0
    }
}

/* ═══ LABEL ═══ */
.sec-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border-radius: 999px;
    background: rgba(212, 175, 55, .06);
    border: 1px solid rgba(212, 175, 55, .1);
    margin-bottom: 20px
}

.sec-label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d4af37;
    box-shadow: 0 0 8px rgba(212, 175, 55, .5)
}

/* ═══ GLASS ═══ */
.glass {
    background: rgba(15, 15, 24, .55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, .04);
    border-radius: 24px;
    transition: all .5s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden
}

.glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .02), transparent 60%);
    pointer-events: none
}

.glass:hover {
    border-color: rgba(212, 175, 55, .12);
    box-shadow: 0 0 50px rgba(212, 175, 55, .03), 0 25px 50px -12px rgba(0, 0, 0, .5);
    transform: translateY(-4px)
}

/* ═══ NEON BORDER CARD ═══ */
.neon-card {
    position: relative;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(212, 175, 55, .15), rgba(124, 58, 237, .1), transparent 60%);
    transition: all .5s ease
}

.neon-card:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, .3), rgba(124, 58, 237, .2), transparent 60%)
}

.neon-card-inner {
    background: #0f0f18;
    border-radius: 23px;
    height: 100%
}

/* ═══ PROJECT ═══ */
.proj {
    border-radius: 24px;
    overflow: hidden;
    position: relative
}

.proj-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(5, 5, 7, .98) 90%);
    opacity: 0;
    transition: opacity .6s
}

.proj:hover .proj-overlay {
    opacity: 1
}

.proj-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    transform: translateY(24px);
    opacity: 0;
    transition: all .6s cubic-bezier(.4, 0, .2, 1)
}

.proj:hover .proj-info {
    transform: translateY(0);
    opacity: 1
}

.proj img {
    transition: transform 1s cubic-bezier(.4, 0, .2, 1)
}

.proj:hover img {
    transform: scale(1.1)
}

.proj-num {
    position: absolute;
    top: 20px;
    left: 24px;
    font-family: 'Space Mono', monospace;
    font-size: 64px;
    font-weight: 700;
    color: rgba(212, 175, 55, .04);
    line-height: 1;
    pointer-events: none;
    transition: color .5s
}

.proj:hover .proj-num {
    color: rgba(212, 175, 55, .1)
}

/* ═══ SKILL ═══ */
.sk-track {
    height: 3px;
    background: #1a1a30;
    border-radius: 3px;
    overflow: hidden;
    position: relative
}

.sk-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #d4af37, #e6c84a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.4s cubic-bezier(.4, 0, .2, 1)
}

.sk-fill.on {
    transform: scaleX(1)
}

.sk-glow {
    position: absolute;
    right: 0;
    top: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4af37;
    box-shadow: 0 0 12px rgba(212, 175, 55, .5);
    opacity: 0;
    transition: opacity .5s .8s
}

.sk-fill.on+.sk-glow {
    opacity: 1
}

/* ═══ TIMELINE ═══ */
.tl-line {
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, #d4af37, #1a1a30)
}

.tl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4af37;
    position: absolute;
    left: 19px;
    top: 8px;
    z-index: 2;
    box-shadow: 0 0 12px rgba(212, 175, 55, .3)
}

.tl-dot::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, .15);
    animation: tlP 3s ease-in-out infinite
}

@keyframes tlP {

    0%,
    100% {
        transform: scale(1);
        opacity: .5
    }

    50% {
        transform: scale(2);
        opacity: 0
    }
}

/* ═══ BUTTONS ═══ */
.btn-p {
    background: linear-gradient(135deg, #d4af37, #b8941c);
    color: #050507;
    font-weight: 700;
    transition: all .4s;
    position: relative;
    overflow: hidden
}

.btn-p::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e6c84a, #d4af37);
    opacity: 0;
    transition: opacity .4s
}

.btn-p:hover::before {
    opacity: 1
}

.btn-p:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -8px rgba(212, 175, 55, .4)
}

.btn-p>* {
    position: relative;
    z-index: 1
}

.btn-s {
    border: 1px solid rgba(255, 255, 255, .08);
    color: #eeeef5;
    transition: all .4s
}

.btn-s:hover {
    border-color: #d4af37;
    color: #d4af37;
    background: rgba(212, 175, 55, .04);
    box-shadow: 0 0 20px rgba(212, 175, 55, .06)
}

.btn-ghost {
    color: #7a7a98;
    transition: all .3s
}

.btn-ghost:hover {
    color: #d4af37
}

/* ═══ MAGNETIC BUTTON ═══ */
.mag-btn {
    transition: transform .3s cubic-bezier(.4, 0, .2, 1)
}

/* ═══ NAV ═══ */
.nav-on {
    background: rgba(5, 5, 7, .92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, .03)
}

.nl {
    position: relative;
    color: rgba(255, 255, 255, .3);
    transition: color .3s;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase
}

.nl:hover,
.nl.a {
    color: #eeeef5
}

.nl::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #d4af37, #7c3aed);
    border-radius: 1px;
    transition: width .3s
}

.nl:hover::after,
.nl.a::after {
    width: 100%
}

/* ═══ MOBILE MENU ═══ */
.mm {
    opacity: 0;
    visibility: hidden;
    transition: all .5s cubic-bezier(.4, 0, .2, 1)
}

.mm.open {
    opacity: 1;
    visibility: visible
}

.mm a {
    transform: translateY(24px);
    opacity: 0;
    transition: all .5s cubic-bezier(.4, 0, .2, 1)
}

.mm.open a {
    transform: translateY(0);
    opacity: 1
}

.mm.open a:nth-child(1) {
    transition-delay: .05s
}

.mm.open a:nth-child(2) {
    transition-delay: .1s
}

.mm.open a:nth-child(3) {
    transition-delay: .15s
}

.mm.open a:nth-child(4) {
    transition-delay: .2s
}

.mm.open a:nth-child(5) {
    transition-delay: .25s
}

.mm.open a:nth-child(6) {
    transition-delay: .3s
}

.mm.open a:nth-child(7) {
    transition-delay: .35s
}

.mm.open a:nth-child(8) {
    transition-delay: .4s
}

.mm.open a:nth-child(9) {
    transition-delay: .45s
}

/* ═══ FORM ═══ */
.ff {
    background: rgba(10, 10, 15, .8);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 14px;
    color: #eeeef5;
    transition: all .3s;
    outline: none
}

.ff:focus {
    border-color: rgba(212, 175, 55, .3);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, .06), 0 0 20px rgba(212, 175, 55, .04)
}

.ff::placeholder {
    color: rgba(255, 255, 255, .15)
}

/* ═══ MARQUEE ═══ */
.mq {
    display: flex;
    animation: mqm 30s linear infinite
}

@keyframes mqm {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* ═══ ANIM ═══ */
@keyframes flt {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-14px)
    }
}

.fl-s {
    animation: flt 6s ease-in-out infinite
}

.fl-m {
    animation: flt 4s ease-in-out infinite
}

@keyframes spn {
    to {
        transform: rotate(360deg)
    }
}

.sp-s {
    animation: spn 25s linear infinite
}

.iw {
    overflow: hidden
}

.iw img {
    transition: transform .8s cubic-bezier(.4, 0, .2, 1)
}

.iw:hover img {
    transform: scale(1.06)
}

@keyframes gradShift {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

.grad-shift {
    background-size: 200% 200%;
    animation: gradShift 6s ease infinite
}

/* ═══ TEXT EFFECTS ═══ */
.grad-text {
    background: linear-gradient(135deg, #d4af37, #e6c84a, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.grad-cool {
    background: linear-gradient(135deg, #7c3aed, #3498ff, #2ed573);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hl {
    position: relative
}

.hl::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #d4af37;
    transition: width .4s
}

.hl:hover::after {
    width: 100%
}

.qm {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    line-height: 1;
    color: rgba(212, 175, 55, .06);
    position: absolute;
    top: 8px;
    left: 16px;
    pointer-events: none
}

/* ═══ MISC ═══ */
.status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2ed573;
    box-shadow: 0 0 10px rgba(46, 213, 115, .5);
    animation: tlP 2s ease-in-out infinite
}

.num {
    font-variant-numeric: tabular-nums
}

.line {
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, transparent);
    border-radius: 2px
}

.rot-badge {
    animation: spn 18s linear infinite
}

.rot-badge text {
    font-size: 9px;
    fill: rgba(212, 175, 55, .35);
    font-family: 'Space Mono', monospace;
    letter-spacing: 5px;
    text-transform: uppercase
}

#btt {
    transition: all .4s
}

#btt.vis {
    opacity: 1 !important;
    visibility: visible !important
}

.page {
    opacity: 0;
    transition: opacity .7s ease .3s
}

.page.rev {
    opacity: 1
}

/* ═══ PROCESS ═══ */
.step-card {
    counter-increment: stepCounter
}

.step-num-bg {
    font-family: 'Syne', sans-serif;
    font-size: 120px;
    font-weight: 800;
    color: rgba(212, 175, 55, .03);
    position: absolute;
    top: -20px;
    right: -5px;
    line-height: 1;
    pointer-events: none
}

/* ═══ PRICING ═══ */
.pricing-glow {
    position: relative
}

.pricing-glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    background: linear-gradient(135deg, #d4af37, #7c3aed, transparent 60%);
    z-index: -1
}

/* ═══ FAQ ═══ */
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s cubic-bezier(.4, 0, .2, 1), padding .3s
}

.faq-body.open {
    max-height: 300px;
    padding-top: 12px
}

.faq-arrow {
    transition: transform .4s cubic-bezier(.4, 0, .2, 1)
}

.faq-arrow.open {
    transform: rotate(180deg)
}

/* ═══ BLOG ═══ */
.blog-card .blog-img {
    transition: transform .8s cubic-bezier(.4, 0, .2, 1)
}

.blog-card:hover .blog-img {
    transform: scale(1.08)
}

.blog-card .blog-tag {
    transition: all .3s
}

.blog-card:hover .blog-tag {
    background: rgba(212, 175, 55, .15);
    color: #d4af37;
    border-color: rgba(212, 175, 55, .2)
}

/* ═══ SMOOTH PARALLAX ═══ */
.parallax-wrap {
    will-change: transform
}

/* ═══ ORBIT ═══ */
.orbit-ring {
    border: 1px solid rgba(212, 175, 55, .04);
    border-radius: 50%;
    position: absolute;
    animation: spn 30s linear infinite
}

.orbit-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d4af37;
    position: absolute;
    box-shadow: 0 0 10px rgba(212, 175, 55, .3)
}