/* ═══════════════════════════════════════ ROOT & RESET ═══════════════════════════════════════ */
:root {
    --lime: #c8f731;
    --lime-dim: #a8d120;
    --dark: #080c0a;
    --dark2: #0f140f;
    --dark3: #161d14;
    --panel: #111711;
    --border: rgba(200, 247, 49, 0.12);
    --border2: rgba(200, 247, 49, 0.22);
    --text: #e8ede6;
    --muted: #6b7a65;
    --muted2: #eeefee;
    --white: #f0f4ee;
    --ff-head: 'Syne', sans-serif;
    --ff-body: 'DM Sans', sans-serif;
    --accent: #c8522a;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--ff-body);
    background: rgba(0, 0, 0, 0.9);
    color: var(--text);
    overflow-x: hidden;
    /* cursor: none; */
}

/* Custom cursor */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--lime);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(200, 247, 49, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.12s ease-out, width 0.3s, height 0.3s;
}

body:hover .cursor {
    opacity: 1;
}

::selection {
    background: var(--accent);
    color: var(--lime-dim);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* ═══════════════════════════════════════ SCROLLBAR ═══════════════════════════════════════ */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--dark2);
}

::-webkit-scrollbar-thumb {
    background: var(--lime-dim);
    border-radius: 2px;
}

/* ═══════════════════════════════════════ NOISE OVERLAY ═══════════════════════════════════════ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9990;
    opacity: 0.4;
}

/* ═══════════════════════════════════════ NAV ═══════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 5vw, 64px);
    height: 68px;
    background: rgba(8, 12, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: top 0.35s ease;
}

.nav-logo {
    font-family: var(--ff-head);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--white);
}

.nav-logo span {
    color: var(--lime);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links-wrap {
    display: flex;
}

.nav-links a {
    font-family: var(--ff-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 100px;
    color: var(--muted2);
    transition: all 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--lime);
    background: rgba(200, 247, 49, 0.07);
}

.nav-resume {
    font-family: var(--ff-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 9px 22px;
    border-radius: 100px;
    background: var(--lime);
    color: var(--dark);
    transition: all 0.25s;
}

.nav-resume:hover {
    background: var(--lime-dim);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border2);
    color: var(--lime);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    align-items: center;
    justify-content: center;
}

/* Mobile nav */
@media(max-width:768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links-wrap {
        position: fixed;
        inset: 0;
        top: 8vh;
        background: rgba(8, 12, 10, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
        height: 90vh;
        padding: 2px 0px 30px 0px;
    }

    .nav-links-wrap.open {
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        height: 100vh;
        background: rgba(8, 12, 10, 2);
    }

    .nav-links a {
        font-size: 20px;
        padding: 12px 24px;
        margin-top: 100px;
        background: rgba(8, 12, 10, 1);
    }

    .nav-resume {
        margin-top: 16px;
        font-size: 14px;
        padding: 12px 32px;
    }
}

/* ═══════════════════════════════════════ SECTIONS SHARED ═══════════════════════════════════════ */
section {
    padding: clamp(80px, 10vw, 130px) clamp(20px, 5vw, 64px);
}

.section-label {
    font-family: var(--ff-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-label::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-family: var(--ff-head);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: var(--white);
    margin-bottom: 20px;
}

.section-title span {
    color: var(--lime);
}

/* ═══════════════════════════════════════ HERO ═══════════════════════════════════════ */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 110px;
    position: relative;
    overflow: hidden;
}

/* Big background text */
#hero::before {
    content: 'IQ~CODE';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--ff-head);
    font-size: clamp(120px, 20vw, 280px);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(200, 247, 49, 0.05);
    letter-spacing: -8px;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* Grid lines */
#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(200, 247, 49, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(200, 247, 49, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

@media(max-width:900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-social {
        justify-content: center !important;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-img-col {
        order: -1;
    }
}

.hero-eyebrow {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-head);
}

@media(max-width:900px) {
    .hero-eyebrow {
        justify-content: center;
    }
}

.hero-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
}

@media(max-width:900px) {
    .hero-eyebrow::before {
        display: none;
    }
}

.hero-name {
    font-family: var(--ff-head);
    font-size: clamp(40px, 7vw, 68px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -3px;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-name .accent {
    color: var(--lime);
}

.hero-role {
    font-family: var(--ff-head);
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 600;
    color: var(--muted2);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-role .typed-lime {
    color: var(--lime);
}

.hero-desc {
    font-size: 16px;
    line-height: 1.75;
    color: var(--muted2);
    max-width: 500px;
    margin-bottom: 36px;
    font-weight: 300;
}

@media(max-width:900px) {
    .hero-desc {
        margin: 0 auto 36px;
    }
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 44px;
}

.btn-primary-lime {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--lime);
    color: var(--dark);
    font-family: var(--ff-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 100px;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
}

.btn-primary-lime:hover {
    background: var(--lime-dim);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 247, 49, 0.2);
    color: var(--dark);
}

.btn-outline-lime {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border: 1px solid var(--accent);
    color: var(--text);
    font-family: var(--ff-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 100px;
    transition: all 0.25s;
    background: none;
    cursor: pointer;
}

.btn-outline-lime:hover {
    border-color: var(--lime);
    color: var(--lime);
    background: rgba(200, 247, 49, 0.05);
}

.hero-social {
    display: flex;
    gap: 14px;
}

.hero-social a {
    width: 42px;
    height: 42px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted2);
    font-size: 15px;
    transition: all 0.25s;
}

.hero-social a:hover {
    border-color: var(--lime);
    color: var(--lime);
    background: rgba(200, 247, 49, 0.06);
    transform: translateY(-3px);
}

/* Hero image side */
.hero-img-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-frame {
    position: relative;
    width: clamp(280px, 40vw, 420px);
    height: clamp(280px, 40vw, 420px);
}

/* Rotating ring */
.hero-img-frame::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border-top: 1px dashed var(--lime);
    border-right: 1px dashed var(--accent);
    border-bottom: 1px dashed var(--lime);
    border-left: 1px dashed var(--accent);
    animation: spin 20s linear infinite;
}

.hero-img-frame::after {
    content: '';
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    border-top: 1px dashed var(--accent);
    border-right: 1px dashed var(--lime);
    border-bottom: 1px dashed var(--accent);
    border-left: 1px dashed var(--lime);
    animation: spin 35s linear infinite reverse;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hero-img-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(200, 247, 49, 0.15);
    background: var(--dark3);
    position: relative;
}

.hero-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: saturate(0.85) contrast(1.05);
    transition: filter 0.4s;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-img-circle img {
    filter: saturate(1.3) contrast(1.2);
}

/* Lime glow behind image */
.hero-img-glow {
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(200, 247, 49, 0.12) 0%, transparent 70%);
    z-index: -1;
}

/* Floating skill badges */
.skill-badge {
    position: absolute;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px 14px;
    font-family: var(--ff-head);
    font-size: 11px;
    font-weight: 700;
    color: var(--lime);
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.sb-1 {
    top: 8%;
    left: -8%;
    animation: float1 4s ease-in-out infinite;
}

.sb-2 {
    top: 18%;
    right: -12%;
    animation: float2 4.5s ease-in-out infinite 0.5s;
}

.sb-3 {
    bottom: 22%;
    left: -14%;
    animation: float1 5s ease-in-out infinite 1s;
}

.sb-4 {
    bottom: 10%;
    right: -10%;
    animation: float2 3.8s ease-in-out infinite 0.3s;
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(8px)
    }
}

/* Stats row */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 44px;
}

@media(max-width:900px) {
    .hero-stats {
        justify-content: center;
    }
}

@media(max-width:400px) {
    .hero-stats {
        gap: 24px;
    }

    .hero-name {
        font-size: 20px;
    }
}

.stat-num {
    font-family: var(--ff-head);
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--muted2);
    margin-top: 4px;
    font-weight: 400;
}

/* ═══════════════════════════════════════ ABOUT ═══════════════════════════════════════ */
#about {
    background: var(--dark2);
}

.about-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: start;
}

@media(max-width:900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-img-wrap img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top;
    filter: saturate(1.2) contrast(1.1);
    border-radius: 20px;
    transition: filter 0.4s;
}

.about-img-wrap:hover img {
    filter: saturate(1) contrast(1.08);
}

/* Info card overlapping image */
.about-info-card {
    position: absolute;
    bottom: 24px;
    left: -24px;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 24px;
    min-width: 200px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-info-card h4 {
    font-family: var(--ff-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.about-info-card p {
    font-size: 12px;
    color: var(--lime);
    margin-bottom: 12px;
}

.about-info-card ul {
    list-style: none;
}

.about-info-card li {
    font-size: 12px;
    color: var(--muted2);
    padding: 3px 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.about-info-card li i {
    color: var(--lime);
    font-size: 10px;
}

@media(max-width:900px) {
    .about-info-card {
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0 0 20px 20px;
        position: relative;
    }
}

/* Timeline */
.timeline {
    position: relative;
    margin-top: 36px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(to bottom, var(--lime), transparent);
}

.tl-item {
    padding-left: 28px;
    position: relative;
    margin-bottom: 32px;
}

.tl-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 3px rgba(200, 247, 49, 0.15);
}

.tl-date {
    font-family: var(--ff-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 6px;
}

.tl-title {
    font-family: var(--ff-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
}

.tl-company {
    font-size: 13px;
    color: var(--muted2);
    margin-bottom: 8px;
    font-style: italic;
}

.tl-desc {
    font-size: 14px;
    color: var(--muted2);
    line-height: 1.65;
    font-weight: 300;
}

/* ═══════════════════════════════════════ SKILLS ═══════════════════════════════════════ */
#skills {
    background: var(--dark);
}

.skills-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media(max-width:900px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

.skill-bar-item {
    margin-bottom: 20px;
}

.skill-bar-head {
    display: flex;
    justify-content: space-between;
    font-family: var(--ff-head);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.skill-bar-head span:last-child {
    color: var(--lime);
}

.skill-track {
    height: 4px;
    background: rgba(200, 247, 49, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--lime-dim), var(--lime));
    border-radius: 4px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.skills-chart-wrap {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
}

.skills-chart-wrap h3 {
    font-family: var(--ff-head);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
}

.skills-tags-wrap {
    margin-top: 60px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.skills-tags-wrap h3 {
    font-family: var(--ff-head);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted2);
    margin-bottom: 20px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted2);
    transition: all 0.25s;
    background: var(--panel);
}

.tag:hover {
    border-color: var(--lime);
    color: var(--lime);
    background: rgba(200, 247, 49, 0.05);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════ PROJECTS ═══════════════════════════════════════ */
#projects {
    background: var(--dark2);
}

.proj-header {
    max-width: 1280px;
    margin: 0 auto 48px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.proj-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.proj-filter-btn {
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: none;
    color: var(--muted2);
    font-family: var(--ff-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s;
}

.proj-filter-btn:hover,
.proj-filter-btn.active {
    border-color: var(--lime);
    color: var(--lime);
    background: rgba(200, 247, 49, 0.07);
}

.projects-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.proj-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.proj-card:hover {
    transform: translateY(-6px);
    border-color: var(--border2);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(200, 247, 49, 0.08);
}

.proj-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--dark3);
}

.proj-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s;
    filter: saturate(1) !important;
}

.proj-card:hover .proj-img img {
    transform: scale(1.05);
    /* filter: saturate(1); */
}

.proj-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 10, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.proj-card:hover .proj-overlay {
    opacity: 1;
}

.proj-link-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.2s;
}

.proj-link-btn:hover {
    transform: scale(1.1);
    color: var(--dark);
}

.proj-body {
    padding: 22px;
}

.proj-title {
    font-family: var(--ff-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.proj-tech {
    font-size: 12px;
    color: var(--muted2);
    margin-bottom: 14px;
}

.proj-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.proj-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-family: var(--ff-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid var(--border);
    color: var(--lime);
    background: rgba(200, 247, 49, 0.05);
}

.proj-view-all {
    max-width: 1280px;
    margin: 48px auto 0;
    text-align: center;
}

/* ═══════════════════════════════════════ TEAM ═══════════════════════════════════════ */
#team {
    background: var(--dark);
}

.team-grid {
    max-width: 1280px;
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
}

.team-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--border2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.team-img {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--dark3);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: saturate(1);
    transition: filter 0.4s, transform 0.4s;
}

.team-card:hover .team-img img {
    filter: saturate(1);
    transform: scale(1.04);
}

.team-body {
    padding: 20px;
    text-align: center;
}

.team-name {
    font-family: var(--ff-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.team-role {
    font-size: 12px;
    color: var(--lime);
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.team-skills {
    font-size: 12px;
    color: var(--muted2);
    margin-bottom: 16px;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--muted2);
    transition: all 0.25s;
}

.team-socials a:hover {
    border-color: var(--lime);
    color: var(--lime);
}

.team-cta {
    max-width: 1280px;
    margin: 60px auto 0;
    background: linear-gradient(135deg, var(--panel) 0%, rgba(200, 247, 49, 0.04) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
}

.team-cta h4 {
    font-family: var(--ff-head);
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.team-cta p {
    font-size: 15px;
    color: var(--muted2);
    margin-bottom: 28px;
}

/* ═══════════════════════════════════════ CONTACT ═══════════════════════════════════════ */
#contact {
    background: var(--dark2);
}

.contact-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 64px;
}

@media(max-width:900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--panel);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lime);
    font-size: 16px;
}

.contact-detail-text h5 {
    font-family: var(--ff-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-detail-text p {
    font-size: 14px;
    color: var(--muted2);
}

.contact-socials {
    display: flex;
    gap: 10px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.contact-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--muted2);
    transition: all 0.25s;
    background: var(--panel);
}

.contact-socials a:hover {
    border-color: var(--lime);
    color: var(--lime);
    background: rgba(200, 247, 49, 0.06);
    transform: translateY(-3px);
}

/* Form */
.contact-form h3 {
    font-family: var(--ff-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media(max-width:600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-field {
    margin-bottom: 16px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text);
    font-family: var(--ff-body);
    font-size: 14px;
    transition: all 0.25s;
    outline: none;
    resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--muted2);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(200, 247, 49, 0.4);
    background: rgba(200, 247, 49, 0.03);
    box-shadow: 0 0 0 3px rgba(200, 247, 49, 0.06);
}

.form-field textarea {
    height: 130px;
}

/* ═══════════════════════════════════════ FOOTER ═══════════════════════════════════════ */
footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 64px clamp(20px, 5vw, 64px) 32px;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

@media(max-width:900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    font-family: var(--ff-head);
    font-size: 22px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.5px;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo span {
    color: var(--lime);
}

.footer-tagline {
    font-size: 13px;
    color: var(--muted2);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--muted2);
    transition: all 0.25s;
}

.footer-socials a:hover {
    border-color: var(--lime);
    color: var(--lime);
}

.footer-col h4 {
    font-family: var(--ff-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted2);
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14px;
    color: var(--muted2);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--lime);
}

.footer-col li i {
    color: var(--lime);
    font-size: 10px;
    margin-right: 6px;
}

.newsletter-input {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.newsletter-input input {
    flex: 1;
    padding: 10px 16px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text);
    font-size: 13px;
    outline: none;
    transition: border-color 0.25s;
}

.newsletter-input input:focus {
    border-color: rgba(200, 247, 49, 0.4);
}

.newsletter-input input::placeholder {
    color: var(--muted2);
}

.newsletter-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--lime);
    color: var(--dark);
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.newsletter-input button:hover {
    background: var(--lime-dim);
    transform: scale(1.05);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--muted2);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--muted2);
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--lime);
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(200, 247, 49, 0.3);
    transition: all 0.3s;
    opacity: 0;
    pointer-events: none;
    z-index: 500;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--lime-dim);
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════ ANIMATIONS ═══════════════════════════════════════ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-d1 {
    transition-delay: 0.1s;
}

.fade-up-d2 {
    transition-delay: 0.2s;
}

.fade-up-d3 {
    transition-delay: 0.3s;
}

.fade-up-d4 {
    transition-delay: 0.4s;
}

/* ═══════════════════════════════════════ HERO LOAD ANIMATIONS ═══════════════════════════════════════ */
.hero-eyebrow {
    animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both 0.2s;
}

.hero-name {
    animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both 0.35s;
}

.hero-role {
    animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both 0.5s;
}

.hero-desc {
    animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both 0.65s;
}

.hero-btns {
    animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both 0.78s;
}

.hero-social {
    animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both 0.9s;
}

.hero-stats {
    animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both 1.0s;
}

.hero-img-col {
    animation: heroImgIn 1s cubic-bezier(0.22, 1, 0.36, 1) both 0.4s;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroImgIn {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Legal Pages Styling */
.legal-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.legal-card h2 {
    border-left: 3px solid var(--lime);
    padding-left: 16px;
}

.legal-card ul li::marker {
    color: var(--lime);
}

.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    border-bottom: 1px solid var(--border);
}