:root {
    --bg-dark: #05060a;
    --bg-darker: #010103;
    --accent: #2ee59d;
    --accent-soft: rgba(46, 229, 157, 0.3);
    --primary: #6c63ff;
    --gradient-hero:
        radial-gradient(circle at 20% 20%, #6c63ff, transparent),
        radial-gradient(circle at 80% 0%, #2ee59d, transparent),
        radial-gradient(circle at 50% 80%, #ff7eb3, transparent);
    --font-heading:
        "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    box-sizing: border-box;
}

/* Use JS-driven smooth scrolling for finer easing control */
html {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: #f8fafc;
    min-height: 100vh;
}

/* ==========================================
   TOP NAVBAR
   ========================================== */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.top-navbar.scrolled {
    background: rgba(0, 0, 0, 0.85);
}

.top-navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
}

.nav-link:hover,
.nav-link.active {
    color: rgba(255, 255, 255, 0.95);
}

.nav-link-button {
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.nav-link-button::before,
.nav-link-button::after {
    display: none;
}

.nav-link-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }
}

.brand-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ==========================================
   ASCII TORUS HERO SECTION
   ========================================== */
.ascii-hero {
    position: relative;
    width: 100%;
    height: min(100vh, 900px);
    background: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .ascii-hero {
        height: 80vh;
    }
}

.ascii-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Courier New", Courier, monospace;
    font-size: clamp(6px, 1.6vw, 10px);
    line-height: clamp(6px, 1.6vw, 10px);
    color: #e8e8e8;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.25);
    white-space: pre;
    overflow: hidden;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    animation: fadeInOverlay 1s ease 0.5s forwards;
}

@keyframes fadeInOverlay {
    to {
        opacity: 1;
    }
}

.hero-title-ascii {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 20px rgba(46, 229, 157, 0.5);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle-ascii {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-interact-hint {
    margin-top: 0.75rem;
    font-size: clamp(0.7rem, 1.5vw, 0.95rem);
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ==========================================
   HERO SECTION - NODE CANVAS
   ========================================== */
.hero {
    position: relative;
    background: #020304;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 5rem 0;
}

#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.035' stroke-width='0.5'%3E%3Cpath d='M0 80h160M0 40h160M0 0h160M0 120h160M0 160h160'/%3E%3Cpath d='M80 0v160M40 0v160M0 0v160M120 0v160M160 0v160'/%3E%3C/g%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
    opacity: 0.4;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.hero-line {
    width: 140px;
    height: 1px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
}

.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(2, 3, 4, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
}

.meta-text {
    color: rgba(255, 255, 255, 0.7);
}

.meta-divider {
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.45);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    letter-spacing: -0.03em;
    color: #fff;
    margin: 1rem 0;
}

.hero-subline {
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 2rem;
}

.hero-roles {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
}

.status-dot,
.role-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(46, 229, 157, 0.8);
}

.role-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.role-dynamic {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.role-dynamic.is-transitioning {
    opacity: 0;
    transform: translateY(8px);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.hero-info-grid div {
    padding: 1rem 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.info-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.4rem;
}

.info-value {
    font-size: 1.2rem;
    font-weight: 600;
}

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

.hero-focus-card {
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    text-align: left;
}

.hero-focus-card h3 {
    margin-bottom: 0.5rem;
}

.hero-focus-card p,
.hero-focus-card li {
    color: rgba(255, 255, 255, 0.65);
}

.hero-focus-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.card-label {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.card-pill {
    display: inline-flex;
    margin-top: 1rem;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

.hero-focus-card.minimal {
    background: rgba(255, 255, 255, 0.01);
    border-style: dashed;
}

.hero-scroll-indicator {
    margin-top: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.8;
    transition: opacity var(--transition-smooth);
}

.hero-scroll-indicator .indicator-line {
    width: 70px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

.hero-scroll-indicator.is-hidden {
    opacity: 0;
}

@keyframes scrollPulse {
    0%,
    100% {
        transform: translateX(0);
        opacity: 0.4;
    }
    50% {
        transform: translateX(10px);
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .hero-meta,
    .hero-roles {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.btn-minimal {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-minimal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-minimal span,
.btn-minimal svg {
    position: relative;
    z-index: 1;
}

.btn-primary-minimal {
    background: rgba(46, 229, 157, 0.1);
    color: var(--accent);
    border: 1px solid rgba(46, 229, 157, 0.3);
    will-change: transform, box-shadow;
}

.btn-primary-minimal:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(46, 229, 157, 0.3);
}

.btn-primary-minimal:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(46, 229, 157, 0.25);
}

.btn-secondary-minimal {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    will-change: transform, box-shadow;
}

.btn-secondary-minimal:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-secondary-minimal:active {
    transform: translateY(0);
}

.btn-glow {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.3);
    transition: all var(--transition-smooth);
    --btn-glow-x: 50%;
    --btn-glow-y: 50%;
}

.btn-glow::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.2) 30%,
        transparent 70%
    );
    left: var(--btn-glow-x);
    top: var(--btn-glow-y);
    transform: translate(-50%, -50%);
    transition: opacity 0.2s;
    opacity: 0;
    pointer-events: none;
}

.btn-glow:hover::before {
    opacity: 1;
}

.btn-glow::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: -1;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(108, 99, 255, 0.5);
}

.btn-glow:hover::after {
    opacity: 0.2;
}

.btn-glow:active {
    transform: translateY(0);
}

.btn-magnetic {
    transition: all var(--transition-smooth);
    position: relative;
}

.btn-magnetic::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: -1;
}

.btn-magnetic:hover::after {
    opacity: 0.3;
}

.btn-magnetic:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.section-padding {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.about-centered {
    background: var(--bg-darker);
}

.about-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.about-switcher {
    max-width: 820px;
    margin: 0 auto;
}

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

.bio-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
}

.bio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.bio-stats div {
    border-radius: 24px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.stat-title {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 600;
}

.journey-panels {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.journey-panel {
    padding: 2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        opacity var(--transition-smooth),
        transform var(--transition-smooth);
    opacity: 0;
    transform: translateY(20px);
    display: none;
}

.journey-panel:not(.is-visible) {
    pointer-events: none;
}

.panel-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.5rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item h5 {
    margin-bottom: 0.35rem;
}

.muted {
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.pill {
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
}

.journey-panel.is-visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.stack-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.stack-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.stack-marquee {
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.stack-marquee::before,
.stack-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 70px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.stack-marquee::before {
    left: 0;
    background: linear-gradient(
        90deg,
        rgba(5, 6, 10, 0.9) 0%,
        rgba(5, 6, 10, 0) 100%
    );
}

.stack-marquee::after {
    right: 0;
    background: linear-gradient(
        270deg,
        rgba(5, 6, 10, 0.9) 0%,
        rgba(5, 6, 10, 0) 100%
    );
}

.stack-marquee.narrow .stack-track {
    padding: 0.35rem 0;
}

.stack-track {
    display: inline-flex;
    gap: 0.85rem;
    animation: stackSlide 18s linear infinite;
    padding: 0.5rem 0;
}

@keyframes stackSlide {
    from {
        transform: translate3d(0, var(--stack-offset, 0px), 0);
    }
    to {
        transform: translate3d(-50%, var(--stack-offset, 0px), 0);
    }
}

.stack-track.inverse {
    animation-direction: reverse;
    animation-duration: 20s;
}

.stack-pill {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    white-space: nowrap;
}

.stack-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));
}

.stack-icon-text {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02rem;
}

.projects {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.project-card {
    border-radius: 12px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-cover {
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.project-cover-purple {
    background: linear-gradient(
        135deg,
        rgba(100, 93, 255, 0.35),
        rgba(255, 255, 255, 0.05)
    );
}

.project-cover-green {
    background: linear-gradient(
        135deg,
        rgba(46, 229, 157, 0.35),
        rgba(255, 255, 255, 0.05)
    );
}

.project-cover-blue {
    background: linear-gradient(
        135deg,
        rgba(88, 213, 255, 0.35),
        rgba(255, 255, 255, 0.05)
    );
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1rem;
}

.project-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.project-card p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.project-tags span {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 992px) {
    .project-card {
        padding: 1.25rem;
    }

    .project-card h3 {
        font-size: 1.1rem;
    }

    .project-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .project-card {
        padding: 1rem;
    }

    .project-card h3 {
        font-size: 1rem;
    }

    .project-card p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .project-tags span {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

.modal-content {
    background: #0a0a0a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    overflow: visible;
}

.modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: 85vh;
}

.h5p-iframe-wrapper {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    overflow: visible;
    border-radius: 8px;
}

.h5p-iframe-wrapper iframe {
    display: block;
    width: 100%;
    height: 405px;
    border: none;
    pointer-events: auto;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-xl {
    max-width: 1200px;
}

.modal-dialog-centered {
    align-items: center;
}

@media (max-width: 1200px) {
    .modal-xl {
        max-width: 95vw;
    }
}

@media (max-width: 768px) {
    .modal-xl {
        max-width: 98vw;
        margin: 1rem auto;
    }

    .modal-header {
        padding: 0.75rem 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-title {
        font-size: 1rem;
    }
}

.badge {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px;
}

.contact {
    background: var(--bg-darker);
}

.contact-card {
    border-radius: 32px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(2, 3, 4, 0.8);
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    flex: 1 1 100%;
}

.contact-grid .label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.4rem;
}

.contact-grid a {
    color: #fff;
    text-decoration: none;
}

.contact-social {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.view-switcher {
    display: flex;
    justify-content: center;
}

.view-switcher .btn {
    padding: 1rem;
    font-weight: 600;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition:
        opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.scroll-reveal.delay-1 {
    transition-delay: 0.1s;
}

.scroll-reveal.delay-2 {
    transition-delay: 0.2s;
}

.scroll-reveal.delay-3 {
    transition-delay: 0.3s;
}

.scroll-reveal.delay-4 {
    transition-delay: 0.4s;
}

.scroll-reveal.fade-in {
    transform: none;
}

.scroll-reveal.slide-left {
    transform: translateX(-50px);
}

.scroll-reveal.slide-right {
    transform: translateX(50px);
}

.scroll-reveal.rotate-in {
    transform: rotate(-5deg) scale(0.9);
}

.scroll-reveal.is-visible.rotate-in {
    transform: rotate(0) scale(1);
}

/* ==========================================
   NEON BUTTON
   ========================================== */
.neon-button {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        sans-serif;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.neon-button:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.neon-button:active {
    transform: scale(0.98);
}
