:root {
    --bg: #07040d;
    --bg-2: #120920;
    --text: #faf7ff;
    --muted: #c8b9dd;
    --blue: #38bdf8;
    --blue-2: #2563eb;
    --blue-3: #bfdbfe;
    --cyan: #22d3ee;
    --green: #22c55e;
    --orange: #f97316;
    --glass: rgba(255, 255, 255, 0.075);
    --glass-strong: rgba(255, 255, 255, 0.13);
    --border: rgba(147, 197, 253, 0.24);
    --shadow: 0 24px 72px rgba(37, 99, 235, 0.22);
    --content-width: 1240px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 10%, rgba(56, 189, 248, 0.34), transparent 32%),
        radial-gradient(circle at 82% 24%, rgba(37, 99, 235, 0.28), transparent 30%),
        radial-gradient(circle at 50% 86%, rgba(147, 197, 253, 0.16), transparent 36%),
        linear-gradient(135deg, var(--bg), var(--bg-2) 55%, #050309);
    color: var(--muted);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
    max-width: 100%;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), transparent 86%);
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
    pointer-events: none;
    z-index: -1;
}

a {
    color: inherit;
}

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

button {
    font: inherit;
}

h1,
h2,
.nav-logo,
.contact-trigger-btn,
.f-title {
    font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.toast-notification {
    position: fixed;
    top: -100px;
    right: 28px;
    z-index: 99999;
    padding: 14px 22px;
    border: 1px solid rgba(147, 197, 253, 0.28);
    border-radius: 999px;
    background: rgba(9, 5, 16, 0.86);
    color: var(--text);
    box-shadow: 0 18px 54px rgba(37, 99, 235, 0.28);
    backdrop-filter: blur(18px);
    font-weight: 900;
    transition: top 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show-toast {
    top: 28px;
}

.top-nav-bar {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 1000;
    width: min(92%, 1180px);
    height: 70px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(9, 5, 16, 0.72);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, height 0.25s ease;
    animation: navDrop 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes navDrop {
    from { opacity: 0; transform: translate(-50%, -26px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.top-nav-bar.is-scrolled {
    height: 62px;
    background: rgba(9, 5, 16, 0.88);
    border-color: rgba(147, 197, 253, 0.32);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.44), 0 0 42px rgba(56, 189, 248, 0.16);
}

.nav-inner {
    width: calc(100% - 28px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(147, 197, 253, 0.42);
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.46);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-logo:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 0 34px rgba(56, 189, 248, 0.68);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.nav-links a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 750;
    transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(37, 99, 235, 0.18);
    box-shadow: 0 0 26px rgba(56, 189, 248, 0.24);
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    align-items: center;
    margin-left: 12px;
}

.grid-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.grid-lines {
    display: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.14;
}

.orb-1 {
    width: 560px;
    height: 560px;
    top: -9%;
    left: -8%;
    background: var(--blue);
    animation: ambientFloat 12s infinite alternate ease-in-out;
}

.orb-2 {
    width: 620px;
    height: 620px;
    right: -8%;
    bottom: 4%;
    background: var(--blue-2);
    animation: ambientFloat 15s infinite alternate-reverse ease-in-out;
}

.spark-field {
    display: none;
}

.spark {
    display: none;
}

@keyframes ambientFloat {
    from { transform: translateY(0) scale(1); }
    to { transform: translateY(32px) scale(1.08); }
}

@keyframes sparkRise {
    0% { transform: translateY(22px) scale(0.8); opacity: 0; }
    30% { opacity: 0.9; }
    100% { transform: translateY(-90px) scale(1.35); opacity: 0; }
}

.hero-section {
    width: 100%;
    display: grid;
    place-items: center;
    padding: 132px 20px 66px;
}

.hero-split-container.single-layout {
    width: min(1120px, calc(100% - 24px));
    margin-inline: auto;
    min-width: 0;
}

.main-identity-card.unified-card {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(34px, 5vw, 58px) clamp(26px, 4vw, 54px) clamp(38px, 5vw, 62px);
    border: 1px solid var(--border);
    border-radius: 52px 32px 52px 32px;
    background:
        radial-gradient(circle at 15% 0%, rgba(56, 189, 248, 0.22), transparent 42%),
        radial-gradient(circle at 90% 25%, rgba(37, 99, 235, 0.18), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34), 0 0 78px rgba(37, 99, 235, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
    animation: heroLift 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.04s both;
}

.main-identity-card.unified-card > * {
    align-self: center;
}

@keyframes heroLift {
    from { opacity: 0; transform: translateY(34px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes softFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(0); }
}

.main-identity-card.unified-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -90px;
    top: -96px;
    border-radius: 48% 52% 44% 56%;
    background: rgba(56, 189, 248, 0.18);
    filter: blur(4px);
}

.main-identity-card.unified-card:hover {
    border-color: rgba(147, 197, 253, 0.5);
    box-shadow: 0 34px 104px rgba(0, 0, 0, 0.38), 0 0 80px rgba(37, 99, 235, 0.24);
}

.avatar-holder {
    position: relative;
    z-index: 1;
    display: block;
    width: max-content;
    margin: 18px auto 20px;
    left: 0;
    transform: translateX(0);
}

.avatar-holder::before {
    content: "";
    position: absolute;
    inset: -14px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.58), transparent 68%);
    filter: blur(12px);
    animation: avatarGlow 2.8s infinite ease-in-out;
}

@keyframes avatarGlow {
    0%, 100% { opacity: 0.48; transform: scale(0.96); }
    50% { opacity: 0.9; transform: scale(1.05); }
}

.main-avatar {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(7, 4, 13, 0.56);
    border: 2px solid rgba(147, 197, 253, 0.62);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.46), 0 18px 44px rgba(0, 0, 0, 0.36);
}

.hero-eyebrow,
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 28px;
    padding: 6px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.065);
    color: var(--blue-3);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    animation: bluePulse 3.4s ease-in-out infinite;
}

.hero-eyebrow {
    display: flex;
    width: max-content;
    margin: 0 auto;
}

@keyframes bluePulse {
    0%, 100% { box-shadow: 0 0 0 rgba(56, 189, 248, 0); }
    50% { box-shadow: 0 0 26px rgba(56, 189, 248, 0.18); }
}

.hero-eyebrow::before,
.badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 18px var(--blue);
}

.main-identity-card h1 {
    position: relative;
    z-index: 1;
    width: min-content;
    max-width: 100%;
    margin: 10px auto 10px;
    color: transparent;
    background: linear-gradient(90deg, #fff, var(--blue-3) 45%, var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    font-size: clamp(3.1rem, 8vw, 6.8rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0;
    text-shadow: 0 0 54px rgba(56, 189, 248, 0.18);
    overflow-wrap: break-word;
    text-align: center;
}

.subtitle {
    position: relative;
    z-index: 1;
    color: var(--text);
    font-size: clamp(1rem, 2vw, 1.28rem);
    font-weight: 900;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.bio {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    color: var(--muted);
    font-size: clamp(1rem, 1.6vw, 1.16rem);
    line-height: 1.75;
    font-weight: 620;
}

.hero-stats {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 32px auto 0;
    max-width: 700px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    justify-content: center;
}

.stat-pill {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 24px 16px 24px 16px;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(16px);
    animation: statRise 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.stat-pill:nth-child(2) { animation-delay: 0.08s; }
.stat-pill:nth-child(3) { animation-delay: 0.16s; }

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

.stat-pill strong {
    display: block;
    color: var(--text);
    font-size: clamp(1.18rem, 2vw, 1.48rem);
    font-weight: 950;
}

.stat-pill span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 750;
}

.js-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), transform 0.88s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-reveal.pre-reveal {
    opacity: 0;
    transform: translateY(42px);
}

.js-reveal.pre-reveal.active {
    opacity: 1;
    transform: translateY(0);
}


.scroll-pop {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition:
        opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--pop-delay, 0ms);
}

.scroll-pop.pre-reveal {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
}

.scroll-pop.pop-left.pre-reveal {
    transform: translateX(-18px) translateY(12px) scale(0.985);
}

.scroll-pop.pop-right.pre-reveal {
    transform: translateX(18px) translateY(12px) scale(0.985);
}

.scroll-pop.pop-zoom.pre-reveal {
    transform: scale(0.92);
}

.split-img .media-shell.scroll-pop.pre-reveal,
.split-text.scroll-pop.pre-reveal,
.hero-eyebrow.scroll-pop.pre-reveal,
.main-avatar.scroll-pop.pre-reveal,
.project-cta-wrap.scroll-pop.pre-reveal,
.img-grid-dual .media-shell.scroll-pop.pre-reveal,
.img-block-single .media-shell.scroll-pop.pre-reveal,
.highlight-card.scroll-pop.pre-reveal,
.contact-copy.scroll-pop.pre-reveal,
.contact-method.scroll-pop.pre-reveal {
    transform: none;
}

.scroll-pop.active {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
 
}

.media-shell.scroll-pop.active::before {
    animation: none;
}

@keyframes revealOvalPulse {
    0% { opacity: 0; transform: rotate(-14deg) scale(0.72); }
    45% { opacity: 1; transform: rotate(-12deg) scale(1.08); }
    100% { opacity: 0; transform: rotate(-12deg) scale(1.02); }
}

.section {
    width: 100%;
    padding: 78px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 100px;
}

#networks .section,
#software .section,
.highlights-section,
.contact-section {
    border-top: 1px solid rgba(147, 197, 253, 0.09);
}

#networks .section:nth-of-type(even),
#software .section:nth-of-type(even),
.contact-section {
    background: rgba(255, 255, 255, 0.018);
}

.container {
    width: min(var(--content-width), calc(100% - 36px));
    margin-inline: auto;
    min-width: 0;
}

.center-header {
    text-align: center;
    width: min(860px, 100%);
    margin: 0 auto 28px;
}

.center-header h2,
.split-text h2,
.text-center-block h2,
.contact-copy h2 {
    color: var(--text);
    font-size: clamp(2.1rem, 4vw, 4.2rem);
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: 0;
}

.center-header h2 {
    margin-top: 14px;
}

.center-header p {
    max-width: 760px;
    margin: 16px auto 0;
    color: var(--muted);
    line-height: 1.75;
    font-weight: 650;
}

.carousel-outer {
    position: relative;
    width: min(1380px, 100%);
    margin-inline: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    contain: layout paint;
}

.carousel-track {
    width: max-content;
    display: flex;
    flex: 0 0 auto;
    gap: 22px;
    overflow: visible;
    padding: 24px 0 34px;
    will-change: transform;
    animation: videoMarquee 42s linear infinite;
}

.carousel-outer:hover .carousel-track {
    animation-play-state: paused;
}

@keyframes videoMarquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-25%, 0, 0); }
}

.video-card {
    position: relative;
    flex: 0 0 clamp(290px, 27vw, 420px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: #07040d;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.5), rgba(56, 189, 248, 0.1), rgba(255, 255, 255, 0.12));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-card::after {
    content: "▶";
    position: absolute;
    left: 14px;
    bottom: 12px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(12, 6, 20, 0.7);
    color: #fff;
    font-size: 0.82rem;
}

.video-card .img-container,
.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #07040d;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(56, 189, 248, 0.22), 0 16px 38px rgba(0, 0, 0, 0.3);
}

.video-card:hover::before {
    opacity: 1;
}

.video-card:hover::after {
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
}

.nav-btn {
    display: none;
    position: absolute;
    z-index: 20;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(147, 197, 253, 0.24);
    border-radius: 999px;
    background: rgba(9, 5, 16, 0.62);
    color: var(--text);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34), 0 0 34px rgba(56, 189, 248, 0.22);
    backdrop-filter: blur(18px);
    cursor: pointer;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.carousel-outer:hover .nav-btn {
    opacity: 0;
}

.nav-btn:hover {
    transform: scale(1.08);
    border-color: rgba(147, 197, 253, 0.55);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.88), rgba(126, 34, 206, 0.82));
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.split-container {
    width: min(var(--content-width), calc(100% - 36px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(42px, 6vw, 82px);
    justify-items: stretch;
    position: relative;
    isolation: isolate;
}

.split-container::before {
    content: "";
    position: absolute;
    inset: 10% 8%;
    z-index: -1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1), transparent 68%);
    filter: blur(34px);
    opacity: 0.72;
}

.alt-row .split-container .split-img {
    order: 2;
}

.alt-row .split-container .split-text {
    order: 1;
}

.split-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.media-shell {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    isolation: isolate;
    filter: drop-shadow(0 30px 56px rgba(0, 0, 0, 0.28));
}

.split-img .media-shell {
    display: flex;
}

.media-shell::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 46px 28px 52px 30px;
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.24), rgba(37, 99, 235, 0.05) 48%, rgba(249, 115, 22, 0.14));
    opacity: 0.62;
    transform: scale(0.98);
    transition: opacity 0.28s ease, transform 0.28s ease;
    z-index: -1;
    pointer-events: none;
}

.media-shell:hover::before {
    opacity: 1;
    transform: scale(1.01);
}

.split-img img,
.img-grid-dual img,
.img-block-single img {
    width: 100%;
    height: auto;
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 42px 24px 42px 24px;
    object-fit: contain;
    background: #10071c;
    box-shadow: 0 22px 70px rgba(56, 189, 248, 0.13), 0 20px 54px rgba(0, 0, 0, 0.34);
    transition: box-shadow 0.28s ease, border-color 0.28s ease, filter 0.28s ease;
}

.split-img img {
    max-width: 560px;
    object-fit: contain;
}

.img-grid-dual img,
.img-block-single img {
    display: block;
}

.media-shell:hover img {
    border-color: rgba(147, 197, 253, 0.28);
    box-shadow: 0 22px 64px rgba(56, 189, 248, 0.16), 0 18px 48px rgba(0, 0, 0, 0.32);
    filter: brightness(1.02);
}

.split-text {
    position: relative;
    width: 100%;
    max-width: 560px;
    min-width: 0;
    padding: 6px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.split-text::before,
.highlight-card::before,
.contact-copy::before,
.contact-card::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -86px;
    top: -86px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.2);
    filter: blur(18px);
    pointer-events: none;
}

.split-text::before {
    display: none;
}

.split-text h2 {
    position: relative;
    margin: 12px 0 12px;
    font-size: clamp(2rem, 3.6vw, 3.8rem);
}

.split-text p {
    position: relative;
    max-width: 620px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.68;
    font-weight: 620;
}

.inline-link-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.text-link {
    color: var(--blue-3);
    text-decoration: none;
    font-weight: 800;
}

.text-link:hover {
    text-decoration: underline;
}

.text-center-block .full-container {
    width: min(var(--content-width), calc(100% - 36px));
    margin-inline: auto;
    text-align: center;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.mid-p {
    max-width: 820px;
    margin: 16px auto 34px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
    font-weight: 620;
}

.img-grid-dual {
    width: 100%;
    max-width: 980px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.img-grid-dual > .media-shell,
.img-block-single > .media-shell {
    filter: drop-shadow(0 26px 58px rgba(0, 0, 0, 0.28));
}

.project-cta-wrap {
    margin-bottom: 30px;
}

.badge-purple,
.badge-cyan,
.badge-blue,
.badge-orange,
.badge-green {
    background: rgba(255, 255, 255, 0.06);
    color: var(--blue-3);
    border-color: var(--border);
}

.accent-green .badge::before,
.badge-green::before {
    background: var(--green);
    box-shadow: 0 0 18px var(--green);
}

.accent-cyan .badge::before,
.badge-cyan::before {
    background: var(--cyan);
    box-shadow: 0 0 18px var(--cyan);
}

.accent-orange .badge::before,
.badge-orange::before {
    background: var(--orange);
    box-shadow: 0 0 18px var(--orange);
}

.link-button,
.cta-button {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.link-button {
    padding: 0 14px;
}

.cta-button {
    padding: 0 15px;
    border: 1px solid var(--border);
    font-family: inherit;
}

.link-button:hover,
.cta-button:hover {
    transform: translateY(-3px);
    border-color: rgba(147, 197, 253, 0.55);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.32), rgba(37, 99, 235, 0.2));
    box-shadow: 0 20px 48px rgba(56, 189, 248, 0.28);
}

.highlights-grid {
    width: min(1140px, 100%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.highlight-card {
    position: relative;
    min-height: 256px;
    min-width: 0;
    overflow: hidden;
    padding: 34px;
    display: grid;
    align-content: end;
    justify-items: start;
    height: 100%;
    border: 1px solid var(--border);
    border-radius: 42px 24px 42px 24px;
    background:
        radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.18), transparent 42%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
    box-shadow: 0 24px 76px rgba(0, 0, 0, 0.24);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.highlight-card:hover {
    transform: translateY(-9px);
    border-color: rgba(147, 197, 253, 0.46);
    box-shadow: 0 28px 90px rgba(56, 189, 248, 0.2);
}

.highlight-number {
    position: absolute;
    top: 20px;
    right: 22px;
    color: rgba(147, 197, 253, 0.22);
    font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 3.6rem;
    font-weight: 900;
}

.highlight-card h3 {
    position: relative;
    z-index: 1;
    color: var(--text);
    font-size: 1.35rem;
    margin-bottom: 12px;
    text-align: left;
}

.highlight-card p {
    position: relative;
    z-index: 1;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 620;
    text-align: left;
}

.contact-container {
    width: min(1160px, calc(100% - 36px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    justify-items: stretch;
}

.contact-copy,
.contact-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 288px;
    border: 1px solid var(--border);
    border-radius: 46px 26px 46px 26px;
    background:
        radial-gradient(circle at 14% 0%, rgba(56, 189, 248, 0.2), transparent 40%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
    box-shadow: 0 24px 78px rgba(0, 0, 0, 0.24);
    padding: 34px 36px;
}

.contact-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.contact-copy h2 {
    position: relative;
    margin: 16px 0 14px;
    text-align: left;
}

.contact-copy p {
    position: relative;
    max-width: 470px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
    font-weight: 620;
    text-align: left;
}

.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    min-width: 0;
}

.contact-method {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    min-height: 94px;
    padding: 18px 20px;
    border: 1px solid rgba(147, 197, 253, 0.18);
    border-radius: 24px 16px 24px 16px;
    background: rgba(255, 255, 255, 0.055);
}

.contact-label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-value {
    color: var(--text);
    font-size: clamp(0.98rem, 2.2vw, 1.08rem);
    font-weight: 900;
    text-decoration: none;
    word-break: break-word;
}

.contact-value:hover {
    color: var(--blue-3);
}

.contact-trigger-btn {
    position: relative;
    align-self: flex-start;
    justify-self: start;
    width: fit-content;
    max-width: 100%;
    min-height: 52px;
    overflow: hidden;
    padding: 0 24px;
    border: 1px solid rgba(147, 197, 253, 0.36);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: var(--text);
    box-shadow: 0 16px 42px rgba(56, 189, 248, 0.34);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-trigger-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 58px rgba(56, 189, 248, 0.44);
}

.contact-trigger-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    animation: buttonShine 3.5s infinite;
}

@keyframes buttonShine {
    0%, 55% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    background: rgba(7, 3, 18, 0.84);
    backdrop-filter: blur(18px);
    transition: opacity 0.18s ease;
}

.lightbox.visible {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: min(88vw, 1120px);
    max-height: 82vh;
    border: 1px solid rgba(147, 197, 253, 0.28);
    border-radius: 30px;
    box-shadow: 0 30px 110px rgba(0, 0, 0, 0.58), 0 0 70px rgba(56, 189, 248, 0.24);
    transform: scale(0.985);
    transition: transform 0.16s ease;
}

.lightbox.visible .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 50%;
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    cursor: pointer;
    font-size: 2.4rem;
    line-height: 1;
}

.clickable-img {
    cursor: pointer;
}

.logo-shell {
    max-width: 560px;
    padding: 28px 24px;
    border: 1.5px solid transparent;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(8, 25, 52, 0.94), rgba(5, 17, 39, 0.96)) padding-box,
        linear-gradient(135deg, rgba(255, 214, 75, 0.98), rgba(255, 185, 37, 0.9) 34%, rgba(208, 83, 255, 0.9) 68%, rgba(150, 61, 255, 0.96)) border-box;
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34), 0 0 32px rgba(255, 194, 59, 0.12), 0 0 38px rgba(181, 87, 255, 0.12);
}

.transparent-logo {
    max-width: 460px;
    margin-inline: auto;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.24));
}

.logo-shell::before {
    inset: -12px;
    border-radius: 38px;
    background:
        radial-gradient(circle at 24% 20%, rgba(255, 210, 68, 0.18), transparent 42%),
        radial-gradient(circle at 78% 76%, rgba(201, 70, 255, 0.18), transparent 44%);
    filter: blur(12px);
    transform: scale(0.98);
}

.logo-shell:hover::before {
    opacity: 1;
    transform: scale(1.02);
}

.logo-shell:hover .transparent-logo {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.28));
}

.footer {
    padding: 56px 20px;
    border-top: 1px solid rgba(147, 197, 253, 0.1);
    background: rgba(5, 3, 9, 0.5);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.footer p {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    border: 1px solid rgba(147, 197, 253, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}

.footer .f-title {
    color: var(--text);
    font-weight: 900;
}

@media (max-width: 1000px) {
    .split-container,
    .contact-container {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .hero-split-container.single-layout {
        width: min(100%, 860px);
    }

    .alt-row .split-container .split-img,
    .alt-row .split-container .split-text {
        order: initial;
    }

    .split-text,
    .split-img,
    .center-header,
    .text-center-block .full-container {
        text-align: center;
        justify-self: center;
    }

    .split-img,
    .split-text,
    .contact-copy,
    .contact-card {
        width: 100%;
        max-width: 720px;
    }

    .contact-copy,
    .contact-card {
        min-height: auto;
    }

    .contact-copy {
        align-items: center;
    }

    .contact-copy h2,
    .contact-copy p {
        text-align: center;
    }

    .inline-link-row {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    html {
        scroll-padding-top: 146px;
    }

    .top-nav-bar {
        top: 10px;
        width: min(94%, 680px);
        height: auto;
        border-radius: 28px;
    }

    .top-nav-bar.is-scrolled {
        height: auto;
    }

    .nav-inner {
        flex-wrap: wrap;
        gap: 10px;
        padding: 8px 0;
        justify-content: center;
    }

    .nav-links {
        order: 3;
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
        padding: 2px 0 4px;
        scrollbar-width: none;
        mask-image: linear-gradient(90deg, black 0%, black 88%, transparent);
        justify-content: flex-start;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 0 12px;
        font-size: 0.82rem;
        background: rgba(255, 255, 255, 0.045);
    }

    .nav-actions {
        margin-left: auto;
    }

    .highlights-grid,
    .img-grid-dual {
        grid-template-columns: 1fr;
    }

    .scroll-pop.pop-left.pre-reveal,
    .scroll-pop.pop-right.pre-reveal,
    .scroll-pop.pop-zoom.pre-reveal {
        transform: translateY(18px) scale(0.985);
    }
}

@media (max-width: 560px) {
   .hero-section {
        padding: 126px 14px 48px;
        justify-items: center;
    }

    .hero-split-container.single-layout {
        width: 100%;
    }

    .logo-shell {
        padding: 20px 16px;
        border-radius: 28px;
    }

    .transparent-logo {
        max-width: 100%;
    }

    .main-avatar {
        width: 118px;
        height: 118px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .video-card {
        flex-basis: min(280px, 80vw);
    }

   .main-identity-card.unified-card,
    .split-text,
    .contact-copy,
    .contact-card,
    .highlight-card {
        border-radius: 26px;
    }

    .main-identity-card.unified-card,
    .split-text,
    .contact-copy,
    .contact-card {
        width: 100%;
        max-width: 100%;
    }

    .bio {
        text-align: center;
    }

    .toast-notification {
        left: 14px;
        right: 14px;
        text-align: center;
    }

    .contact-trigger-btn {
        width: 100%;
        justify-self: stretch;
        align-self: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

.img-grid-dual > .media-shell,
.img-block-single > .media-shell {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
}

.img-grid-dual > .media-shell img,
.img-block-single > .media-shell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.img-block-single {
    width: min(940px, 100%);
    display: flex;
    justify-content: center;
}

@media (max-width: 1000px) {
    .contact-trigger-btn {
        justify-self: center;
    }
}


#showcase.section {
    padding-top: 68px;
    padding-bottom: 66px;
}

#showcase .center-header {
    margin-bottom: 22px;
}

#showcase .container {
    width: min(1380px, calc(100% - 28px));
}

@media (max-width: 900px) {
    .carousel-track { gap: 14px; animation-duration: 34s; }
    .video-card { flex-basis: min(300px, 74vw); }
}


/* Desktop performance-only tuning: visual layout is unchanged. */
@media (min-width: 901px) {
    .section,
    #networks,
    #software,
    .highlights-section,
    .contact-section,
    .footer {
        content-visibility: auto;
        contain-intrinsic-size: 1px 860px;
    }

    .orb-1,
    .orb-2,
    .avatar-holder::before {
        animation-duration: 24s !important;
    }

    .scroll-pop,
    .media-shell,
    .split-container,
    .full-container,
    .contact-container,
    .highlight-card,
    .video-card {
        will-change: auto !important;
    }
}
