/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
    --ink: #020205;
    --ink1: #08080f;
    --ink2: #0e0e1a;
    --ink3: #151526;
    --ink4: #1d1d33;
    --s1: #ffffff;
    --s2: #94a3b8;
    --s3: #64748b;
    --s4: #475569;
    --brand: #6366f1;
    --brlt: #818cf8;
    --brdk: #4f46e5;
    --acc: #00f0ff;
    --warn: #f59e0b;
    --rose: #f43f5e;
    --glow: rgba(99, 102, 241, 0.15);
    --glsm: rgba(255, 255, 255, 0.03);
    --bd: rgba(255, 255, 255, 0.06);
    --bdb: rgba(99, 102, 241, 0.3);
    --fd: 'Outfit', sans-serif;
    --fb: 'Inter', sans-serif;
    --fm: 'JetBrains Mono', monospace;
    --nav: 80px;
    --r: 16px;
    --rl: 24px;
    --rxl: 32px;
    --pill: 9999px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--fb);
    background: var(--ink);
    color: var(--s1);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
}

::selection {
    background: var(--brand);
    color: #fff;
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: var(--ink);
}

::-webkit-scrollbar-thumb {
    background: var(--brand);
    border-radius: 2px;
}

/* Layout */
.wrap {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.sec {
    padding: 110px 0;
}

.sec-sm {
    padding: 80px 0;
}

/* Typography */
.lbl {
    font-family: var(--fm);
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .9rem;
}

.lbl::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--brand);
    opacity: .6;
}

h1 {
    font-family: var(--fd);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

h2 {
    font-family: var(--fd);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.18;
}

h3 {
    font-family: var(--fd);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

h4 {
    font-family: var(--fd);
    font-size: .93rem;
    font-weight: 600;
}

.tg {
    background: linear-gradient(125deg, #fff 0%, var(--brlt) 55%, var(--acc) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll Progress */
#sp {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--brand), var(--acc));
    z-index: 10000;
    box-shadow: 0 0 10px rgba(79, 110, 247, .5);
}

/* =============================================
   NAVIGATION
   ============================================= */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav);
    z-index: 9000;
    transition: all .5s var(--ease);
}

#nav.solid {
    background: rgba(4, 4, 10, .9);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--bd);
    box-shadow: 0 4px 40px rgba(0, 0, 0, .4);
}

.nw {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav);
}

/* Logo */
.nlogo {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-shrink: 0;
}

.nico {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--brand), var(--brlt));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fd);
    font-size: .95rem;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(79, 110, 247, .3);
    transition: all .3s var(--spring);
    letter-spacing: -.04em;
}

.nlogo:hover .nico {
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 8px 30px rgba(79, 110, 247, .5);
}

.ntxt {
    font-family: var(--fd);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--s1);
    line-height: 1;
}

.ntxt span {
    display: block;
    font-family: var(--fm);
    font-size: .56rem;
    font-weight: 400;
    letter-spacing: .16em;
    color: var(--brand);
    text-transform: uppercase;
    margin-top: 2px;
}

/* Desktop Nav Links */
.nlinks {
    display: flex;
    align-items: center;
    gap: .15rem;
}

.nlinks a {
    display: flex;
    align-items: center;
    gap: .42rem;
    padding: .48rem .8rem;
    border-radius: var(--r);
    font-size: .82rem;
    font-weight: 500;
    color: var(--s3);
    transition: all .22s var(--ease);
    white-space: nowrap;
}

.nlinks a i {
    font-size: .72rem;
    opacity: .7;
}

.nlinks a:hover {
    color: var(--s1);
    background: rgba(255, 255, 255, .05);
}

.nlinks a.act {
    color: var(--brlt);
    background: rgba(79, 110, 247, .1);
}

.nlinks a.act i {
    opacity: 1;
}

/* Nav Right */
.nright {
    display: flex;
    align-items: center;
    gap: .7rem;
    flex-shrink: 0;
}

.npill {
    display: flex;
    align-items: center;
    gap: .48rem;
    padding: .35rem .85rem;
    background: rgba(0, 212, 170, .08);
    border: 1px solid rgba(0, 212, 170, .2);
    border-radius: var(--pill);
    font-family: var(--fm);
    font-size: .62rem;
    color: var(--acc);
    font-weight: 500;
    letter-spacing: .06em;
    white-space: nowrap;
}

.ping {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--acc);
    animation: ping 1.8s infinite;
    flex-shrink: 0;
}

@keyframes ping {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 212, 170, .7);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(0, 212, 170, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 170, 0);
    }
}

.nhire {
    display: inline-flex;
    align-items: center;
    gap: .48rem;
    padding: .58rem 1.3rem;
    background: var(--brand);
    color: #fff;
    border-radius: var(--r);
    font-family: var(--fd);
    font-size: .82rem;
    font-weight: 700;
    transition: all .28s var(--ease);
    border: none;
    white-space: nowrap;
}

.nhire:hover {
    background: var(--brlt);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(79, 110, 247, .4);
}

.nhire i {
    font-size: .78rem;
}

/* Hamburger */
.hbg {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--r);
    background: var(--ink3);
    border: 1px solid var(--bd);
    overflow: hidden;
    transition: all .28s var(--ease);
    position: relative;
    z-index: 9200;
}

.hbg:hover {
    background: var(--ink4);
    border-color: var(--bdb);
}

.hbl {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--s1);
    border-radius: 2px;
    transition: all .38s var(--ease);
    transform-origin: center;
    position: absolute;
}

.hbl:nth-child(1) {
    transform: translateY(-5.5px);
}

.hbl:nth-child(3) {
    transform: translateY(5.5px);
}

.hbg.open .hbl:nth-child(1) {
    transform: rotate(45deg);
}

.hbg.open .hbl:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hbg.open .hbl:nth-child(3) {
    transform: rotate(-45deg);
}

/* =============================================
   MOBILE MENU — PREMIUM SLIDE PANEL
   ============================================= */
.mbd {
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 10, .72);
    backdrop-filter: blur(8px);
    z-index: 9090;
    opacity: 0;
    pointer-events: none;
    transition: opacity .38s;
}

.mbd.open {
    opacity: 1;
    pointer-events: all;
}

#mm {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 360px);
    height: 100%;
    background: var(--ink1);
    border-left: 1px solid var(--bd);
    z-index: 9100;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .48s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#mm.open {
    transform: translateX(0);
}

.mmh {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem 1.5rem;
    border-bottom: 1px solid var(--bd);
    flex-shrink: 0;
}

.mmcl {
    width: 38px;
    height: 38px;
    border-radius: var(--r);
    background: var(--ink2);
    border: 1px solid var(--bd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--s2);
    font-size: .95rem;
    transition: all .2s;
}

.mmcl:hover {
    background: var(--ink3);
    color: var(--rose);
    border-color: rgba(251, 75, 107, .3);
}

.mmnav {
    flex: 1;
    padding: 1rem .9rem;
}

.mmli {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .85rem 1rem;
    border-radius: var(--r);
    color: var(--s3);
    font-family: var(--fd);
    font-size: .93rem;
    font-weight: 600;
    transition: all .22s var(--ease);
    margin-bottom: .2rem;
}

.mmli:hover,
.mmli.act {
    background: rgba(79, 110, 247, .09);
    color: var(--s1);
}

.mmli.act {
    color: var(--brlt);
}

.mmico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ink3);
    border: 1px solid var(--bd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: var(--brand);
    flex-shrink: 0;
    transition: all .22s;
}

.mmli:hover .mmico,
.mmli.act .mmico {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    box-shadow: 0 4px 16px rgba(79, 110, 247, .35);
}

.mmarr {
    margin-left: auto;
    font-size: .68rem;
    color: var(--s4);
    transition: transform .2s, color .2s;
}

.mmli:hover .mmarr {
    transform: translateX(3px);
    color: var(--brand);
}

.mmft {
    padding: 1.4rem 1.5rem;
    border-top: 1px solid var(--bd);
    flex-shrink: 0;
}

.mmst {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .65rem 1rem;
    background: rgba(0, 212, 170, .06);
    border: 1px solid rgba(0, 212, 170, .15);
    border-radius: var(--r);
    margin-bottom: .9rem;
}

.mmstd {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--acc);
    animation: ping 1.8s infinite;
    flex-shrink: 0;
}

.mmst p {
    font-family: var(--fm);
    font-size: .68rem;
    color: var(--acc);
    letter-spacing: .05em;
}

.mmcta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    width: 100%;
    padding: .82rem;
    background: var(--brand);
    color: #fff;
    border-radius: var(--r);
    font-family: var(--fd);
    font-size: .9rem;
    font-weight: 700;
    transition: all .28s var(--ease);
}

.mmcta:hover {
    background: var(--brlt);
    box-shadow: 0 10px 28px rgba(79, 110, 247, .4);
}

.mmsoc {
    display: flex;
    justify-content: center;
    gap: .55rem;
    margin-top: .9rem;
}

.mmsb {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--ink2);
    border: 1px solid var(--bd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--s3);
    font-size: .88rem;
    transition: all .22s;
}

.mmsb:hover {
    background: var(--ink3);
    color: var(--s1);
    border-color: var(--bdb);
    transform: translateY(-2px);
}

/* =============================================
   HERO
   ============================================= */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav);
    padding-left: 5%;
    padding-right: 5%;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(79, 110, 247, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 110, 247, .04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hgl {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hg1 {
    width: 600px;
    height: 600px;
    background: rgba(79, 110, 247, .1);
    top: -200px;
    right: -100px;
}

.hg2 {
    width: 400px;
    height: 400px;
    background: rgba(0, 212, 170, .07);
    bottom: -100px;
    left: -100px;
}

.hgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hbadge {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .42rem .95rem;
    background: rgba(0, 212, 170, .08);
    border: 1px solid rgba(0, 212, 170, .2);
    border-radius: var(--pill);
    font-family: var(--fm);
    font-size: .65rem;
    color: var(--acc);
    font-weight: 500;
    letter-spacing: .06em;
    margin-bottom: 1.5rem;
    animation: fsl .7s .1s both;
}

.htitle {
    animation: fsl .7s .2s both;
    margin-bottom: 1.3rem;
}

.hsub {
    font-size: 1rem;
    color: var(--s3);
    line-height: 1.82;
    max-width: 480px;
    margin-bottom: 2.4rem;
    animation: fsl .7s .35s both;
}

.hsub strong {
    color: var(--s2);
    font-weight: 500;
}

.hbtns {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
    animation: fsl .7s .48s both;
}

.bprim {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .82rem 1.75rem;
    background: var(--brand);
    color: #fff;
    border-radius: var(--r);
    font-family: var(--fd);
    font-size: .9rem;
    font-weight: 700;
    transition: all .28s var(--ease);
    border: none;
}

.bprim:hover {
    background: var(--brlt);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(79, 110, 247, .38);
}

.bout {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .82rem 1.55rem;
    background: transparent;
    color: var(--s2);
    border-radius: var(--r);
    font-family: var(--fd);
    font-size: .9rem;
    font-weight: 600;
    border: 1px solid var(--bd);
    transition: all .28s var(--ease);
}

.bout:hover {
    border-color: rgba(255, 255, 255, .2);
    color: var(--s1);
    background: rgba(255, 255, 255, .03);
}

.bico {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ink3);
    border: 1px solid var(--bd);
    border-radius: var(--r);
    color: var(--s2);
    font-size: .93rem;
    transition: all .28s var(--ease);
}

.bico:hover {
    background: var(--ink4);
    color: var(--brlt);
    border-color: var(--bdb);
    transform: translateY(-2px);
}

.hstats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2.4rem;
    margin-top: 2.4rem;
    border-top: 1px solid var(--bd);
    animation: fsl .7s .6s both;
}

.hsn {
    font-family: var(--fd);
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: -.04em;
    color: var(--s1);
    line-height: 1;
}

.hsn sup {
    font-size: 1rem;
    color: var(--brand);
    font-weight: 700;
}

.hsl {
    font-size: .68rem;
    font-weight: 500;
    color: var(--s4);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-top: .32rem;
}

.hright {
    display: flex;
    justify-content: flex-end;
    animation: fsl .7s .25s both;
}

.pwrap {
    position: relative;
    width: 340px;
}

.pframe {
    position: relative;
    border-radius: var(--rxl);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--ink2);
    border: 1px solid var(--bd);
}

.pph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(160deg, #0d0d28, #151530, #0a0a1e);
}

.pini {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brlt));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fd);
    font-size: 2.1rem;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 0 40px rgba(79, 110, 247, .4);
}

.pph p {
    font-family: var(--fm);
    font-size: .62rem;
    color: var(--s4);
    letter-spacing: .1em;
}

.pov {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(4, 4, 10, .95) 100%);
}

.pbar {
    position: absolute;
    bottom: 1.1rem;
    left: 1.1rem;
    right: 1.1rem;
    background: rgba(14, 14, 28, .88);
    backdrop-filter: blur(16px);
    border: 1px solid var(--bd);
    border-radius: var(--r);
    padding: .85rem 1rem;
    display: flex;
    align-items: center;
    gap: .7rem;
}

.pbico {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .88rem;
    color: #fff;
    flex-shrink: 0;
}

.pb1 {
    font-family: var(--fd);
    font-size: .85rem;
    font-weight: 700;
    color: var(--s1);
    margin-bottom: 1px;
}

.pb2 {
    font-family: var(--fm);
    font-size: .6rem;
    color: var(--acc);
    letter-spacing: .06em;
}

.fc {
    position: absolute;
    background: rgba(14, 14, 28, .92);
    backdrop-filter: blur(14px);
    border: 1px solid var(--bd);
    border-radius: var(--r);
    padding: .65rem .88rem;
    display: flex;
    align-items: center;
    gap: .58rem;
    white-space: nowrap;
    z-index: 2;
}

.fct {
    top: -14px;
    left: -22px;
    animation: fltA 5s ease-in-out infinite;
}

.fcr {
    top: 30%;
    right: -18px;
    animation: fltB 6s ease-in-out infinite;
}

@keyframes fltA {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fltB {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.fcl1 {
    font-size: .62rem;
    color: var(--s4);
    font-family: var(--fm);
    letter-spacing: .08em;
}

.fcl2 {
    font-family: var(--fd);
    font-size: .76rem;
    font-weight: 700;
    color: var(--s1);
}

@keyframes fsl {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ticker */
.tkw {
    overflow: hidden;
    padding: 1.4rem 0;
    border-top: 1px solid var(--bd);
    border-bottom: 1px solid var(--bd);
    background: var(--ink1);
}

.tkr {
    display: flex;
    animation: slide 36s linear infinite;
    width: max-content;
}

.tkr:hover {
    animation-play-state: paused;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.ti {
    display: flex;
    align-items: center;
    gap: .62rem;
    padding: 0 1.8rem;
    font-family: var(--fm);
    font-size: .7rem;
    color: var(--s4);
    white-space: nowrap;
    transition: color .2s;
}

.ti:hover {
    color: var(--s2);
}

.ti i {
    color: var(--brand);
    font-size: .82rem;
}

.tdot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--s4);
    opacity: .25;
    flex-shrink: 0;
}

/* About */
#about {
    background: var(--ink1);
}

.abg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.abt p {
    font-size: .98rem;
    color: var(--s3);
    line-height: 1.85;
    margin-bottom: 1.15rem;
}

.abt strong {
    color: var(--s2);
    font-weight: 500;
}

.atags {
    display: flex;
    flex-wrap: wrap;
    gap: .48rem;
    margin-top: 1.8rem;
}

.atag {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    padding: .32rem .78rem;
    background: var(--ink2);
    border: 1px solid var(--bd);
    border-radius: var(--pill);
    font-size: .76rem;
    font-weight: 500;
    color: var(--s3);
    transition: all .22s;
}

.atag i {
    font-size: .68rem;
}

.abig {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--bd);
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    overflow: hidden;
}

.ic {
    background: var(--ink2);
    padding: 1.35rem 1.45rem;
}

.icl {
    font-family: var(--fm);
    font-size: .6rem;
    letter-spacing: .14em;
    color: var(--s4);
    text-transform: uppercase;
    margin-bottom: .38rem;
}

.icl i {
    margin-right: .25rem;
    font-size: .58rem;
}

.icv {
    font-family: var(--fd);
    font-size: .93rem;
    font-weight: 700;
    color: var(--s1);
}

.icv.hi {
    color: var(--brlt);
}

.icv.ok {
    color: var(--acc);
}

.icv i {
    margin-right: .28rem;
    font-size: .75rem;
}

/* Services */
.svhd {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.svg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.svc {
    background: var(--ink1);
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    padding: 2.2rem 1.75rem;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.svc::before {
    display: none;
}

.svn {
    font-family: var(--fm);
    font-size: .6rem;
    color: var(--s4);
    letter-spacing: .15em;
    margin-bottom: 1.35rem;
}

.svi {
    width: 46px;
    height: 46px;
    border-radius: var(--r);
    background: var(--glsm);
    border: 1px solid var(--bdb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 1.1rem;
    margin-bottom: 1.35rem;
    transition: all .28s var(--spring);
}



.svc h3 {
    margin-bottom: .65rem;
}

.svc p {
    font-size: .86rem;
    color: var(--s3);
    line-height: 1.72;
}

.svm {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    margin-top: 1.35rem;
    font-size: .76rem;
    font-weight: 600;
    color: var(--brand);
    opacity: 1;
    transform: none;
}

/* Skills */
#skills {
    background: var(--ink1);
}

.skgrid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
}

.skcat {
    margin-bottom: 2.1rem;
}

.skch {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .95rem;
}

.skci {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--glsm);
    border: 1px solid var(--bdb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: .76rem;
    flex-shrink: 0;
}

.skcn {
    font-family: var(--fd);
    font-size: .83rem;
    font-weight: 700;
    color: var(--s2);
}

.spills {
    display: flex;
    flex-wrap: wrap;
    gap: .42rem;
}

.sp {
    display: inline-flex;
    align-items: center;
    gap: .32rem;
    padding: .26rem .68rem;
    background: var(--ink2);
    border: 1px solid var(--bd);
    border-radius: var(--pill);
    font-family: var(--fm);
    font-size: .7rem;
    color: var(--s3);
    transition: all .2s;
}

.sp i {
    font-size: .65rem;
}



.sbi {
    margin-bottom: 1.65rem;
}

.sbh {
    display: flex;
    justify-content: space-between;
    margin-bottom: .52rem;
}

.sbn {
    font-size: .83rem;
    font-weight: 600;
    color: var(--s2);
}

.sbn i {
    margin-right: .38rem;
    font-size: .76rem;
    color: var(--brand);
}

.sbp {
    font-family: var(--fm);
    font-size: .7rem;
    color: var(--brand);
}

.sbtr {
    height: 3px;
    background: var(--ink3);
    border-radius: 2px;
    overflow: hidden;
}

.sbfill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand), var(--brlt));
    border-radius: 2px;
    width: 0;
    transition: width 1.3s var(--ease);
    box-shadow: 0 0 10px rgba(79, 110, 247, .4);
}

.sbfill.go {
    width: var(--w);
}

/* Projects */
.fbar {
    display: flex;
    gap: .42rem;
    flex-wrap: wrap;
}

.fb {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    padding: .4rem .95rem;
    border-radius: var(--pill);
    font-size: .76rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid var(--bd);
    color: var(--s3);
    transition: all .2s;
    font-family: var(--fd);
}

.fb i {
    font-size: .7rem;
}

.fb.on,
.fb:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.pgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.pjc {
    background: var(--ink1);
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    overflow: hidden;
    transition: all .38s var(--ease);
    display: flex;
    flex-direction: column;
}



.pth {
    height: 160px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pt1 {
    background: linear-gradient(145deg, #0c1033, #1a2560);
}

.pt2 {
    background: linear-gradient(145deg, #0c1a2a, #0d3050);
}

.pt3 {
    background: linear-gradient(145deg, #0f0c33, #231a5e);
}

.pt4 {
    background: linear-gradient(145deg, #0c2a1a, #0d4a2d);
}

.pt5 {
    background: linear-gradient(145deg, #2a0c10, #4a1018);
}

.pt6 {
    background: linear-gradient(145deg, #1a1a0c, #3a3a14);
}

.pthi {
    font-size: 2.2rem;
    opacity: .22;
    transition: all .38s var(--ease);
    position: relative;
    z-index: 1;
}

.pacts {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 10, .72);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    opacity: 1;
    z-index: 2;
}

.pab {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .85rem;
    transition: all .2s;
    backdrop-filter: blur(8px);
}

.pab:hover {
    background: var(--brand);
    border-color: var(--brand);
    transform: scale(1.08);
}

.pjb {
    padding: 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pmt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .48rem;
}

.pcat {
    font-family: var(--fm);
    font-size: .6rem;
    letter-spacing: .12em;
    color: var(--brand);
    text-transform: uppercase;
}

.pyr {
    font-family: var(--fm);
    font-size: .6rem;
    color: var(--s4);
}

.pjb h3 {
    font-size: .95rem;
    margin-bottom: .48rem;
}

.pjb p {
    font-size: .82rem;
    color: var(--s3);
    line-height: 1.65;
    flex: 1;
}

.pstk {
    display: flex;
    flex-wrap: wrap;
    gap: .32rem;
    margin-top: .9rem;
}

.stk {
    padding: .14rem .52rem;
    background: var(--ink2);
    border: 1px solid var(--bd);
    border-radius: var(--pill);
    font-family: var(--fm);
    font-size: .6rem;
    color: var(--s4);
}

/* Timeline */
#timeline {
    background: var(--ink1);
}

.tlc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.tlch {
    display: flex;
    align-items: center;
    gap: .78rem;
    margin-bottom: 2.6rem;
}

.tlci {
    width: 42px;
    height: 42px;
    border-radius: var(--r);
    background: var(--glsm);
    border: 1px solid var(--bdb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 1rem;
}

.tlch h2 {
    font-size: 1.5rem;
}

.tli {
    position: relative;
    padding-left: 1.75rem;
    padding-bottom: 2.2rem;
}

.tli::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 0;
    width: 1px;
    background: var(--bd);
}

.tli:last-child::before {
    display: none;
}

.tld {
    position: absolute;
    left: -4px;
    top: 5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--brand);
    border: 2px solid var(--ink1);
    box-shadow: 0 0 0 3px rgba(79, 110, 247, .2);
    z-index: 1;
}

.tlp {
    font-family: var(--fm);
    font-size: .62rem;
    color: var(--brand);
    letter-spacing: .12em;
    margin-bottom: .42rem;
    display: block;
}

.tlp i {
    margin-right: .28rem;
}

.tli h3 {
    font-size: .98rem;
    margin-bottom: .18rem;
}

.tlo {
    font-size: .78rem;
    color: var(--s4);
    margin-bottom: .55rem;
}

.tlo i {
    margin-right: .3rem;
    font-size: .72rem;
    color: var(--brand);
}

.tldesc {
    font-size: .83rem;
    color: var(--s3);
    line-height: 1.7;
}

.tlcps {
    display: flex;
    flex-wrap: wrap;
    gap: .32rem;
    margin-top: .75rem;
}

.tlcp {
    padding: .16rem .58rem;
    background: var(--glsm);
    border: 1px solid var(--bdb);
    border-radius: var(--pill);
    font-size: .64rem;
    color: var(--brlt);
    font-weight: 600;
    font-family: var(--fd);
}

/* =============================================
   CERTIFICATES SECTION (UPDATED FOR 4 COLUMNS)
   ============================================= */

.certg {
    display: grid;
    /* Updated: 4 columns on desktop for a professional dense grid */
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.certc {
    background: var(--ink1);
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    /* Slightly reduced padding for 4-column fit */
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: all 0.32s var(--ease);
    position: relative;
    overflow: hidden;
    height: 100%;
}



.certst {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brlt));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}



.crtlw {
    width: 42px;
    height: 42px;
    border-radius: var(--r);
    background: var(--ink2);
    border: 1px solid var(--bd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ciss {
    font-family: var(--fm);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    color: var(--s4);
    text-transform: uppercase;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
}

.ciss i {
    margin-right: 0.25rem;
    font-size: 0.52rem;
}

.cnm {
    font-family: var(--fd);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--s1);
    line-height: 1.3;
    margin-bottom: 0.15rem;
}

.cdt {
    font-family: var(--fm);
    font-size: 0.6rem;
    color: var(--brand);
}

.cdt i {
    margin-right: 0.25rem;
    font-size: 0.52rem;
}

.cbottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.5rem;
}

.cvfy {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--brand);
    font-family: var(--fd);
    transition: all 0.18s;
}

.cvfy:hover {
    gap: 0.45rem;
    color: var(--brlt);
}

.cvbd {
    padding: 0.18rem 0.55rem;
    background: rgba(0, 212, 170, 0.09);
    border: 1px solid rgba(0, 212, 170, 0.15);
    border-radius: var(--pill);
    font-family: var(--fm);
    font-size: 0.54rem;
    color: var(--acc);
    font-weight: 600;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

/* Add Certificate Button */
.certadd {
    border: 1px dashed rgba(79, 110, 247, 0.25);
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 200px;
    text-align: center;
    cursor: pointer;
    transition: all 0.28s var(--ease);
}

.certadd:hover {
    border-color: var(--brand);
    background: var(--glsm);
    border-style: solid;
}

.caddi {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.2px dashed rgba(79, 110, 247, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 0.85rem;
    transition: all 0.35s var(--spring);
}

.certadd:hover .caddi {
    border-style: solid;
    background: var(--brand);
    color: #fff;
    transform: rotate(90deg);
}

.certadd h4 {
    color: var(--s2);
    font-size: 0.8rem;
}

.certadd p {
    font-size: 0.7rem;
    color: var(--s4);
    line-height: 1.4;
    max-width: 140px;
}

/* =============================================
   RESPONSIVE OVERRIDES
   ============================================= */

@media (max-width: 1200px) {
    .certg {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .certg {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Testimonials */
.testg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.testc {
    background: var(--ink2);
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    padding: 1.9rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    transition: all .28s var(--ease);
}



.tstars {
    display: flex;
    gap: .18rem;
}

.tstars i {
    color: #f59e0b;
    font-size: .73rem;
}

.tq {
    font-size: .87rem;
    color: var(--s3);
    line-height: 1.78;
    font-style: italic;
    flex: 1;
}

.tq::before {
    content: "\201C";
    color: var(--brand);
    font-size: 1.2rem;
    font-style: normal;
    display: block;
    margin-bottom: .28rem;
    line-height: 1;
}

.tau {
    display: flex;
    align-items: center;
    gap: .72rem;
}

.tav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brlt));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fd);
    font-size: .78rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.tn2 {
    font-size: .83rem;
    font-weight: 700;
    margin-bottom: 1px;
}

.tr2 {
    font-size: .72rem;
    color: var(--s4);
}

.tr2 i {
    margin-right: .28rem;
    font-size: .62rem;
}

/* Contact */
.ctw {
    display: grid;
    grid-template-columns: 1fr 1.65fr;
    gap: 5rem;
    align-items: start;
}

.cti {
    font-size: .95rem;
    color: var(--s3);
    line-height: 1.82;
    margin-bottom: 2.1rem;
}

.ci {
    display: flex;
    align-items: center;
    gap: .95rem;
    padding: .9rem 1.05rem;
    background: var(--ink1);
    border: 1px solid var(--bd);
    border-radius: var(--r);
    margin-bottom: .65rem;
    transition: all .22s;
}

.ci:hover {
    border-color: var(--bdb);
    background: var(--ink2);
}

.ciico {
    width: 38px;
    height: 38px;
    border-radius: var(--r);
    background: var(--glsm);
    border: 1px solid var(--bdb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: .86rem;
    flex-shrink: 0;
}

.cill {
    font-family: var(--fm);
    font-size: .58rem;
    letter-spacing: .12em;
    color: var(--s4);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.civl {
    font-size: .86rem;
    font-weight: 500;
    color: var(--s1);
}

.socrow {
    display: flex;
    gap: .55rem;
    margin-top: 1.7rem;
}

.socb {
    width: 42px;
    height: 42px;
    border-radius: var(--r);
    background: var(--ink1);
    border: 1px solid var(--bd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--s3);
    font-size: .92rem;
    transition: all .22s var(--ease);
}

.socb:hover {
    color: var(--s1);
    border-color: var(--bdb);
    background: var(--glsm);
    transform: translateY(-3px);
}

.cf {
    background: var(--ink1);
    border: 1px solid var(--bd);
    border-radius: var(--rxl);
    padding: 2.3rem;
}

.frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem;
}

.fg {
    margin-bottom: 1.05rem;
}

.fg label {
    display: block;
    font-family: var(--fm);
    font-size: .58rem;
    letter-spacing: .14em;
    color: var(--s4);
    text-transform: uppercase;
    margin-bottom: .48rem;
}

.fg label i {
    margin-right: .28rem;
    font-size: .55rem;
}

.fctl {
    width: 100%;
    background: var(--ink2);
    border: 1px solid var(--bd);
    border-radius: var(--r);
    padding: .8rem .95rem;
    color: var(--s1);
    font-family: var(--fb);
    font-size: .86rem;
    outline: none;
    transition: all .22s var(--ease);
    resize: none;
    -webkit-appearance: none;
}

.fctl::placeholder {
    color: var(--s4);
}

.fctl:focus {
    border-color: var(--brand);
    background: var(--ink3);
    box-shadow: 0 0 0 3px rgba(79, 110, 247, .1);
}

select.fctl {
    cursor: pointer;
}

.fsub {
    width: 100%;
    padding: .92rem;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: var(--r);
    font-family: var(--fd);
    font-size: .93rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .52rem;
    transition: all .28s var(--ease);
    margin-top: .38rem;
}

.fsub i {
    font-size: .82rem;
}

.fsub:hover {
    background: var(--brlt);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(79, 110, 247, .38);
}

#fmsg {
    text-align: center;
    font-family: var(--fm);
    font-size: .72rem;
    color: var(--acc);
    margin-top: .75rem;
    display: none;
    letter-spacing: .05em;
}

/* Footer */
footer {
    background: var(--ink1);
    border-top: 1px solid var(--bd);
    padding: 4rem 0 2rem;
}

.ftg {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--bd);
    margin-bottom: 2rem;
}

.ftlogo {
    display: flex;
    align-items: center;
    gap: .62rem;
    margin-bottom: 1rem;
}

.ftbrand p {
    font-size: .82rem;
    color: var(--s4);
    line-height: 1.7;
    max-width: 255px;
}

.ftcol h5 {
    font-family: var(--fm);
    font-size: .6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--s4);
    margin-bottom: 1rem;
}

.ftcol ul li {
    margin-bottom: .52rem;
}

.ftcol ul li a,
.ftcol ul li .footer-static {
    font-size: .82rem;
    color: var(--s3);
    transition: color .18s;
    display: inline-flex;
    align-items: center;
    gap: .38rem;
}

.ftcol ul li a i,
.ftcol ul li .footer-static i {
    font-size: .68rem;
    opacity: .6;
}

.ftcol ul li a:hover {
    color: var(--brlt);
}

.ftbot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.ftbot p {
    font-size: .76rem;
    color: var(--s4);
}

.ftbot span {
    color: var(--brand);
}

/* FABs */
.fabwa {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 8000;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.38rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
    transition: all .28s var(--spring);
}

.fabwa:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 16px 40px rgba(37, 211, 102, .45);
}

#btt {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 8000;
    width: 44px;
    height: 44px;
    border-radius: var(--r);
    background: var(--ink2);
    border: 1px solid var(--bd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--s3);
    font-size: .82rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: all .28s var(--ease);
}

#btt.on {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

#btt:hover {
    border-color: var(--bdb);
    color: var(--brand);
    background: var(--glsm);
}

/* Divider */
.dvd {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bd), transparent);
}

/* Reveal animations removed for ScrollReveal.js */

/* Responsive */
@media(max-width:1100px) {
    .nlinks a span.nl {
        display: none;
    }
    .svg,
    .pgrid,
    .certg,
    .testg {
        grid-template-columns: repeat(2, 1fr);
    }
    .ftg {
        grid-template-columns: 1fr 1fr;
    }
    .hgrid {
        gap: 3rem;
    }
}

@media(max-width:900px) {
    .nlinks,
    .nright .npill {
        display: none;
    }
    .hbg {
        display: flex;
    }
    .hgrid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hleft {
        order: 2;
    }
    .hright {
        order: 1;
        justify-content: center;
    }
    .pwrap {
        width: 280px;
    }
    .hsub {
        margin: 0 auto 2.4rem;
    }
    .hbtns {
        justify-content: center;
    }
    .hstats {
        justify-content: center;
        gap: 2rem;
    }
    .abg,
    .skgrid,
    .tlc,
    .ctw {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    h1 {
        font-size: clamp(2.5rem, 9vw, 3.5rem);
    }
}

@media(max-width:640px) {
    .sec {
        padding: 80px 0;
    }
    .svg,
    .pgrid,
    .certg,
    .testg {
        grid-template-columns: 1fr;
    }
    .ftg {
        grid-template-columns: 1fr;
    }
    .frow {
        grid-template-columns: 1fr;
    }
    .svhd {
        flex-direction: column;
        align-items: flex-start;
    }
    .hstats {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }
    .abig {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   ELITE FEATURES
   ============================================= */

/* Particles.js Container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

/* =============================================
   PRICING SECTION
   ============================================= */
.price-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 0 auto 2rem;
}

.price-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.78rem 1.15rem;
    border: 1px solid var(--bd);
    border-radius: var(--pill);
    background: var(--ink2);
    color: var(--s3);
    font: 600 0.88rem var(--fd);
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.price-tab:hover,
.price-tab:focus-visible {
    color: var(--s1);
    border-color: var(--bdb);
    outline: none;
}

.price-tab.active {
    color: #fff;
    border-color: var(--brand);
    background: linear-gradient(135deg, var(--brand), var(--brlt));
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.22);
}

.prc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.prc {
    background: var(--ink2);
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    padding: 2.5rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s var(--spring);
}

.prc:hover {
    background: var(--ink3);
    border-color: var(--bdb);
}

.prc-pop {
    background: linear-gradient(180deg, var(--ink3) 0%, var(--ink2) 100%);
    border-color: var(--brand);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
}

.prc-bdg {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--brand), var(--brlt));
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: var(--pill);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--fm);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.prc-hd {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--bd);
    padding-bottom: 1.5rem;
}

.prc-hd h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--s1);
}

.prc-p {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--fd);
    color: var(--brlt);
    margin-bottom: 0.8rem;
    line-height: 1;
}

.prc-p small {
    font-size: 0.9rem;
    color: var(--s3);
    font-weight: 500;
}

.prc-hd p {
    font-size: 0.9rem;
    color: var(--s3);
    line-height: 1.6;
}

.prc-ft {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.prc-ft li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--s2);
}

.prc-ft li i {
    color: var(--acc);
    font-size: 0.85rem;
}

.prc-b {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    border-radius: var(--r);
    background: transparent;
    color: var(--s1);
    font-weight: 600;
    font-family: var(--fd);
    border: 1px solid var(--bd);
    transition: all 0.3s var(--ease);
}

.prc-b:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--s2);
}

.prc-b-pm {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.prc-b-pm:hover {
    background: var(--brlt);
    border-color: var(--brlt);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* 3D Perspective Base */
.sec, .wrap, .hgrid, .pgrid, .svg, .skgrid, .certg, .testg {
    perspective: 1500px;
}

/* 3D Pop Effects for VanillaTilt */
.pjc, .svc, .skcat, .certc, .testc, .pframe, h1, .nico, .bprim, .abt, .abig {
    transform-style: preserve-3d;
}

.pjc *, .svc *, .skcat *, .certc *, .testc *, .pframe *, .nico *, .bprim *, .abt *, .abig * {
    transform-style: preserve-3d;
}

.pjc:hover .pjb, .pjc:hover .pth {
    transform: translateZ(50px);
}

.svc:hover .svi {
    transform: translateZ(60px) scale(1.1) rotate(-6deg);
}

.svc:hover h3, .svc:hover p {
    transform: translateZ(40px);
}

.skcat:hover .skch {
    transform: translateZ(30px);
}

.bprim:hover span, .bprim:hover i {
    transform: translateZ(20px);
}

.nico:hover {
    transform: translateZ(30px);
}

/* A11y Focus Styles */
*:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* =============================================
   MODAL (READ MORE) SYSTEM
   ============================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background: var(--ink1);
    border: 1px solid var(--bd);
    border-radius: var(--rl);
    margin: 5% auto;
    padding: 2.5rem;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(50px) scale(0.95);
    transition: all 0.4s var(--spring);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal.show .modal-content {
    transform: translateY(0) scale(1);
}

.close-modal {
    color: var(--s3);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    background: var(--ink2);
    border: 1px solid var(--bd);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--brlt);
    background: var(--ink3);
}

.m-img {
    width: 100%;
    height: 200px;
    border-radius: var(--r);
    margin-bottom: 1.5rem;
    background-size: cover !important;
    background-position: center !important;
    border: 1px solid var(--bd);
}

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--s1);
}

.m-cat {
    font-size: 0.9rem;
    color: var(--brand);
    font-weight: 600;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#mDesc {
    color: var(--s2);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.m-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}

.m-facts div {
    padding: 0.9rem 1rem;
    border: 1px solid var(--bd);
    border-radius: var(--r);
    background: var(--ink3);
}

.m-facts span,
.m-facts strong {
    display: block;
}

.m-facts span {
    color: var(--s3);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}

.m-facts strong {
    color: var(--s1);
    font-size: 0.88rem;
}

.m-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--brand);
    color: #fff;
    border-radius: var(--r);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--fd);
    transition: all 0.3s ease;
}

.m-btn:hover {
    background: var(--brlt);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* =============================================
   TEXT-TO-SPEECH (VOICE ASSISTANT)
   ============================================= */
#ttsToggle {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 48px;
    height: 48px;
    background: var(--ink2);
    color: var(--s1);
    border: 1px solid var(--bd);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s var(--spring);
}

#ttsToggle.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
    animation: pulseTTS 2s infinite;
}

@keyframes pulseTTS {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.tts-highlight {
    background: rgba(99, 102, 241, 0.2);
    outline: 2px solid var(--brand);
    border-radius: 4px;
    transition: all 0.2s ease;
}

/* =============================================
   MOBILE FIXES — Overflow, FABs, Animations
   ============================================= */

/* Prevent every section from creating horizontal scroll */
section, .sec, .wrap, footer, .tkw {
    max-width: 100vw;
    overflow-x: clip;
}

/* ---- Hero floating cards: clip instead of overflow on small screens ---- */
@media (max-width: 900px) {
    /* Hide floating status/rating cards that overflow screen */
    .fc.fct, .fc.fcr {
        display: none;
    }

    /* Constrain hero profile card to screen width */
    .pwrap {
        width: min(280px, 88vw);
        margin: 0 auto;
    }

    /* Hero section: avoid any element poking outside */
    #hero {
        overflow: hidden;
    }

    /* WhatsApp FAB — keep inside safe area */
    .fabwa {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    /* Back-to-top — keep inside safe area */
    #btt {
        bottom: 1.25rem;
        left: 1.25rem;
    }

    /* TTS toggle */
    #ttsToggle {
        bottom: 4.5rem;
        right: 1.25rem;
    }

    /* Ensure scroll-reveal elements animate on mobile */
    .rv {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Certificate grid — single column on mobile */
    .certg {
        grid-template-columns: 1fr;
    }

    /* Ensure cert cards don't overflow */
    .certc {
        overflow: hidden;
        word-break: break-word;
    }

    /* About info grid — single column */
    .abig {
        grid-template-columns: 1fr;
    }

    /* Pricing grid fix */
    .prc-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .m-facts {
        grid-template-columns: 1fr;
    }

    /* Ensure floating cards stay hidden */
    .fc.fct, .fc.fcr {
        display: none;
    }

    /* Profile card */
    .pwrap {
        width: min(260px, 85vw);
    }

    /* Compact FABs on very small screens */
    .fabwa {
        bottom: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    #btt {
        bottom: 1rem;
        left: 1rem;
        width: 40px;
        height: 40px;
    }

    #ttsToggle {
        bottom: 4rem;
        right: 1rem;
        width: 42px;
        height: 42px;
    }

    /* Ensure reveal animations still show content on mobile */
    .rv {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Modal fix for mobile */
    .modal-content {
        margin: 0;
        width: 95vw;
        max-height: 95vh;
        padding: 1.5rem;
    }

    /* Ticker scrolls smoothly on mobile */
    .tkw {
        overflow: hidden;
    }

    /* Services heading stacks */
    .svhd {
        text-align: left;
    }

    /* Footer grid single column */
    .ftg {
        grid-template-columns: 1fr;
    }

    /* Paragraphs don't overflow */
    p, h3, h2, h1 {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* =============================================
   MOBILE DEEP FIX — White backgrounds, overflow pills,
   3D artifacts, spacing, border-radius polish
   ============================================= */
@media (max-width: 900px) {

    /* ── Kill ALL 3D perspective & preserve-3d on mobile ─────────────
       These cause white ghost backgrounds + content paint artifacts  */
    .sec, .wrap, .hgrid, .pgrid, .svg, .skgrid, .certg, .testg,
    .pjc, .svc, .skcat, .certc, .testc, .pframe,
    h1, .nico, .bprim, .abt, .abig,
    .pjc *, .svc *, .skcat *, .certc *, .testc *,
    .pframe *, .nico *, .bprim *, .abt *, .abig * {
        perspective: none !important;
        transform-style: flat !important;
    }

    /* Disable translateZ hover effects that cause overflow */
    .pjc:hover .pjb, .pjc:hover .pth,
    .svc:hover h3, .svc:hover p,
    .skcat:hover .skch,
    .bprim:hover span, .bprim:hover i,
    .nico:hover {
        transform: none !important;
    }

    /* ── Fix skill pills overflowing right edge ───────────────────── */
    .spills {
        display: flex;
        flex-wrap: wrap;
        gap: 0.38rem;
        overflow: hidden;
        width: 100%;
    }

    .sp {
        max-width: 100%;
        flex-shrink: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* ── Skills category cards — prevent left cut-off ─────────────── */
    .skcat {
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
    }

    /* ── About text area — remove any ghost background ───────────── */
    .abt, .abt p, .abt strong {
        background: transparent !important;
        -webkit-transform: none !important;
        transform: none !important;
        box-shadow: none !important;
    }

    /* ── Remove large empty gaps from ScrollReveal hidden elements ── */
    [style*="opacity: 0"],
    [style*="opacity:0"] {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    /* ── Project thumbnail images — no side overflow ─────────────── */
    .pth {
        overflow: hidden;
        width: 100%;
        border-radius: var(--rl) var(--rl) 0 0;
    }

    .pth img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* ── Card border-radius consistency ──────────────────────────── */
    .pjc, .svc, .certc, .testc {
        border-radius: 16px;
    }

    /* ── Section spacing — reduce to avoid empty-looking gaps ────── */
    .sec {
        padding: 60px 0;
    }

    /* ── Services grid — single column with proper spacing ───────── */
    .svg {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    /* ── Services "Start a Project" button alignment ─────────────── */
    .svhd {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    /* ── Wrap — tight horizontal padding ─────────────────────────── */
    .wrap {
        width: 94%;
    }

    /* ── Ensure full-width containers don't clip ─────────────────── */
    .abg, .skgrid, .tlc, .ctw {
        gap: 2rem;
    }

    /* ── Tags wrap properly ─────────────────────────────────────── */
    .atags {
        gap: 0.4rem;
    }

    .atag {
        font-size: 0.72rem;
        padding: 0.28rem 0.65rem;
    }

    /* ── Footer fix ─────────────────────────────────────────────── */
    .ftbot {
        flex-direction: column;
        text-align: center;
    }
}\r\n\r\n/* ── Hide VanillaTilt glare divs (cause dark box behind hero text) ── */\r\n.js-tilt-glare {\r\n    display: none !important;\r\n    opacity: 0 !important;\r\n    pointer-events: none !important;\r\n}\r\n\r\n/* ── Remove any background artifact on h1 from 3D transforms ── */\r\n.htitle {\r\n    background: transparent !important;\r\n    -webkit-transform: none;\r\n    isolation: auto;\r\n}\r\n\r\n/* Ensure hero left column has no background */\r\n.hleft, .hleft * {\r\n    background-color: transparent;\r\n}\r\n\r\n/* But keep the gradient text working */\r\n.htitle .tg {\r\n    background: linear-gradient(125deg, #fff 0%, var(--brlt) 55%, var(--acc) 100%) !important;\r\n    -webkit-background-clip: text !important;\r\n    -webkit-text-fill-color: transparent !important;\r\n    background-clip: text !important;\r\n}

/* -- Hide VanillaTilt glare divs (dark box behind hero text) -- */
.js-tilt-glare {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.prc[hidden] {
    display: none !important;
}

/* Pricing cards can begin hidden, so ScrollReveal may never initialize them.
   Active cards must always override any stale inline animation state. */
.prc[data-price-category]:not([hidden]) {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.pricing-note,
.reference-note {
    max-width: 760px;
    margin: 2rem auto 0;
    color: var(--s3);
    font-size: 0.84rem;
    line-height: 1.7;
    text-align: center;
}

/* -- Remove dark background artifact on hero text -- */
.htitle {
    background: transparent !important;
}

.hleft {
    background-color: transparent !important;
}

.htitle .tg {
    background: linear-gradient(125deg, #fff 0%, #818cf8 55%, #00f0ff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}
