:root {
    --bg: #050a14;
    --bg-2: #071120;
    --surface: #0b1628;
    --surface-2: #0f1d33;
    --border: rgb(148 163 184 / .16);
    --border-strong: rgb(96 165 250 / .35);
    --text: #f8fafc;
    --muted: #a7b4cc;
    --soft: #d7e2f5;
    --blue: #3b82f6;
    --blue-2: #2563eb;
    --cyan: #22d3ee;
    --green: #34d399;
    --purple: #8b5cf6;
    --orange: #fb923c;
    --radius: 22px;
    --container: 1500px;
    --shadow: 0 30px 100px rgb(0 0 0 / .35);
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 0%, rgb(37 99 235 / .2), transparent 34rem),
        radial-gradient(circle at 92% 45%, rgb(34 211 238 / .12), transparent 28rem),
        linear-gradient(180deg, var(--bg), #030712);
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
}

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

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

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--border);
    background: rgb(5 10 20 / .76);
    backdrop-filter: blur(20px);
}

.nav {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    gap: 32px;
}

.brand { display: flex; align-items: center; gap: 14px; }

.brand-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 16px 45px rgb(37 99 235 / .35);
    font-weight: 800;
    letter-spacing: -.04em;
}

.brand-copy strong { display: block; font-size: 18px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.brand-copy span { display: block; color: #94a3b8; font-size: 14px; font-weight: 400; line-height: 1.4; }

.menu { display: flex; align-items: center; gap: 34px; color: var(--soft); font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: -.01em; }
.menu a { display: inline-flex; position: relative; align-items: center; gap: 8px; transition: color .2s ease; }
.menu a:hover { color: #fff; }
.menu a i { color: #7da7e8; font-size: 14px; opacity: .8; transition: color .2s ease, opacity .2s ease; }
.menu a:is(:hover, .active) i { color: var(--cyan); opacity: 1; }

.menu a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .2s ease, transform .2s ease;
}

.menu a:is(:hover, .active)::after { opacity: 1; transform: scaleX(1); }
.menu a.active { color: #fff; }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    background: rgb(11 22 40 / .72);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: currentColor;
    transition: transform .25s ease, opacity .2s ease;
}

.header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    box-shadow: 0 16px 36px rgb(37 99 235 / .32);
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    letter-spacing: -.01em;
    transition: transform .25s ease, border-color .25s ease, filter .25s ease;
}

.btn:hover { filter: brightness(1.08); transform: translateY(-2px); }

.btn.secondary {
    border-color: var(--border);
    color: var(--soft);
    background: rgb(15 29 51 / .7);
    box-shadow: none;
}

section { padding: 78px 0; border-bottom: 1px solid var(--border); }

.hero { padding: 72px 0 32px; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 72px;
}

.hero-copy,
.hero-workspace {
    min-width: 0;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #88f3b9;
    font-size: 14px;
    font-weight: 700;
}

.status::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 8px rgb(52 211 153 / .1);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
    max-width: 620px;
    margin-bottom: 22px;
    color: var(--text);
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.06em;
}

.gradient-text {
    color: transparent;
    background: linear-gradient(100deg, var(--blue), var(--cyan));
    background-size: 180% 100%;
    background-clip: text;
    -webkit-background-clip: text;
}

.hero.is-entering .hero-copy > * {
    opacity: 0;
    transform: translateY(18px);
}

.hero.is-visible .hero-copy > * {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}

.hero.is-visible .hero-copy > :nth-child(2) { transition-delay: 80ms; }
.hero.is-visible .hero-copy > :nth-child(3) { transition-delay: 150ms; }
.hero.is-visible .hero-copy > :nth-child(4) { transition-delay: 220ms; }
.hero.is-visible .hero-copy > :nth-child(5) { transition-delay: 290ms; }
.hero.is-visible .hero-copy > :nth-child(6) { transition-delay: 360ms; }

.hero.is-entering .code-card {
    opacity: 0;
    transform: translateX(28px) scale(.985);
}

.hero.is-visible .code-card {
    opacity: 1;
    transform: translateX(0) scale(1);
    transition: opacity .85s ease .12s, transform .85s cubic-bezier(.2,.8,.2,1) .12s;
    animation: code-float 7s ease-in-out 1.2s infinite;
}

.hero.is-entering .tech { opacity: 0; transform: translateY(12px); }
.hero.is-visible .tech { opacity: 1; transform: translateY(0); transition: opacity .45s ease, transform .45s ease; }
.hero.is-visible .tech:nth-child(1) { transition-delay: 420ms; }
.hero.is-visible .tech:nth-child(2) { transition-delay: 470ms; }
.hero.is-visible .tech:nth-child(3) { transition-delay: 520ms; }
.hero.is-visible .tech:nth-child(4) { transition-delay: 570ms; }
.hero.is-visible .tech:nth-child(5) { transition-delay: 620ms; }
.hero.is-visible .tech:nth-child(6) { transition-delay: 670ms; }
.hero.is-visible .tech:nth-child(7) { transition-delay: 720ms; }

.hero.is-visible .gradient-text { animation: gradient-shift 7s ease-in-out 1s infinite alternate; }
.hero.is-visible .status::before { animation: status-pulse 2.8s ease-out 1s infinite; }

@keyframes code-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -5px; }
}

@keyframes gradient-shift {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

@keyframes status-pulse {
    0%, 60%, 100% { box-shadow: 0 0 0 8px rgb(52 211 153 / .1); }
    30% { box-shadow: 0 0 0 13px rgb(52 211 153 / 0); }
}

.reveal-enabled .scroll-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity .7s ease var(--reveal-delay, 0ms),
        transform .7s cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms);
}

.reveal-enabled .scroll-reveal.reveal-from-right {
    transform: translateX(24px);
}

.reveal-enabled .scroll-reveal.is-revealed {
    opacity: 1;
    transform: translate(0);
}

.reveal-enabled .timeline::before {
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .9s cubic-bezier(.2,.8,.2,1);
}

.reveal-enabled .timeline.timeline-revealed::before {
    transform: scaleY(1);
}

.hero-lead { max-width: 560px; margin-bottom: 14px; color: var(--soft); font-size: 21px; font-weight: 500; line-height: 1.6; }
.hero-text { max-width: 560px; margin-bottom: 30px; color: var(--muted); font-size: 17px; font-weight: 400; line-height: 1.8; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 28px 0 0;
    padding: 0;
    color: var(--soft);
    font-weight: 500;
    list-style: none;
}

.hero-meta li { display: inline-flex; align-items: center; gap: 10px; }
.dot-icon { color: var(--blue); font-weight: 800; }
.location-flag { display: inline-block; font-size: 1.35em; line-height: 1; vertical-align: -.12em; filter: saturate(.9); }

.code-card {
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background: rgb(6 14 27 / .76);
    box-shadow: var(--shadow);
}

.code-top, .code-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    background: rgb(15 29 51 / .58);
    font-family: var(--font-mono);
    font-size: 13px;
}

.code-dots { display: flex; gap: 8px; }
.code-dots i { width: 11px; height: 11px; border-radius: 50%; background: #fb7185; }
.code-dots i:nth-child(2) { background: #fbbf24; }
.code-dots i:nth-child(3) { background: #34d399; }

pre {
    overflow-x: auto;
    margin: 0;
    padding: 30px 34px;
    color: #e5eeff;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
}

.c-muted { color: #71809b; }
.c-blue { color: #67e8f9; }
.c-purple { color: #c084fc; }
.c-green { color: #bef264; }

.code-bottom { border-top: 1px solid var(--border); border-bottom: 0; font-family: inherit; font-size: 15px; }
.success { color: #7af5b1; font-weight: 700; }

.tech-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 28px;
    gap: 7px;
}

.tech {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 10px;
    gap: 7px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--soft);
    background: rgb(11 22 40 / .72);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.tech b { color: var(--cyan); font-size: 18px; }
.orange { color: var(--orange) !important; }
.red { color: #f87171 !important; }
.pink { color: #f472b6 !important; }
.green { color: var(--green) !important; }

.section-grid {
    display: grid;
    grid-template-columns: 200px minmax(320px, 430px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(32px, 4vw, 64px);
}
.eyebrow { margin-bottom: 12px; color: #60a5fa; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

h2 {
    margin-bottom: 18px;
    color: var(--text);
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.04em;
}

.muted { color: var(--muted); }
.lead { color: var(--soft); font-size: 21px; font-weight: 500; line-height: 1.6; }

.about-heading { padding-top: 2px; }
.about-heading h2 { max-width: 12ch; margin-bottom: 0; }
.about-content { max-width: 760px; }

.about-portrait {
    position: relative;
    width: 200px;
    aspect-ratio: 4 / 5;
    margin: 0;
    padding: 2px;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: linear-gradient(145deg, rgb(96 165 250 / .8), rgb(34 211 238 / .24) 55%, rgb(148 163 184 / .12));
    box-shadow: 0 24px 60px rgb(0 0 0 / .34), 0 0 0 6px rgb(5 10 20 / .45);
}

.about-portrait::after {
    content: "";
    position: absolute;
    inset: 2px;
    border: 1px solid rgb(255 255 255 / .06);
    border-radius: inherit;
    background: linear-gradient(180deg, transparent 62%, rgb(5 10 20 / .34));
    pointer-events: none;
}

.about-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
    border-radius: inherit;
    filter: contrast(1.04);
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
}

.about-portrait:hover img { transform: scale(1.025); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }

.fact {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgb(11 22 40 / .55);
}

.fact strong { display: block; font-size: clamp(36px, 3.5vw, 50px); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.fact strong [data-counter] {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    font-variant-numeric: tabular-nums;
}
.fact span { color: var(--muted); font-size: 14px; }

.projects-layout { display: grid; grid-template-columns: .55fr 1.45fr; align-items: start; gap: 44px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(180deg, rgb(11 22 40 / .92), rgb(7 17 32 / .92));
    box-shadow: 0 18px 60px rgb(0 0 0 / .18);
    transition: transform .3s ease, border-color .3s ease;
}

.card:hover, .service:hover { border-color: var(--border-strong); transform: translateY(-4px); }

.visual {
    display: flex;
    align-items: end;
    min-height: 150px;
    padding: 22px;
    background: radial-gradient(circle at 80% 20%, rgb(255 255 255 / .18), transparent 10rem), linear-gradient(135deg, #0f2d65, #2563eb);
}

.visual.two { background: radial-gradient(circle at 80% 20%, rgb(255 255 255 / .18), transparent 10rem), linear-gradient(135deg, #2e1065, #6d28d9); }
.visual.three { background: radial-gradient(circle at 80% 20%, rgb(255 255 255 / .18), transparent 10rem), linear-gradient(135deg, #064e3b, #0891b2); }
.visual strong { font-size: 25px; line-height: 1.02; letter-spacing: -.04em; }
.card-body { padding: 22px; }
.type { margin-bottom: 10px !important; color: var(--muted); font-size: 13px !important; font-weight: 700; }
.card h3 { margin-bottom: 8px; color: var(--text); font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.card p { margin-bottom: 18px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.link { color: #60a5fa; font-size: 14px; font-weight: 700; }

.services { display: grid; grid-template-columns: 1.05fr repeat(4, 1fr); align-items: stretch; gap: 18px; }

.service {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgb(11 22 40 / .72);
    transition: transform .3s ease, border-color .3s ease;
}

.service-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 28px;
    color: var(--blue);
}

.service-icon svg { width: 100%; height: 100%; overflow: visible; }
.service-icon.stroke svg { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin-bottom: 10px; color: var(--text); font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.service p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }

.experience-section { background: rgb(3 9 19 / .42); }

.career-contact-grid {
    display: grid;
    grid-template-columns: .7fr .9fr 1.5fr;
    align-items: stretch;
    gap: 32px;
}

.experience-copy { padding-top: 12px; }
.experience-copy h2 { font-size: clamp(28px, 2.4vw, 36px); line-height: 1.12; }
.experience-copy .muted { font-size: 15px; line-height: 1.7; }
.timeline { position: relative; padding-left: 34px; }

.timeline::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 7px;
    width: 1px;
    background: var(--border-strong);
}

.timeline-item { position: relative; padding-bottom: 26px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
    content: "";
    position: absolute;
    top: 5px;
    left: -33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 7px rgb(59 130 246 / .12);
}

.timeline-item small { color: var(--muted); font-size: 12px; }
.timeline-item h3 { margin: 4px 0 5px; color: var(--text); font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.timeline-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.stack-panel {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(145deg, rgb(11 22 40 / .88), rgb(7 17 32 / .72));
    box-shadow: 0 18px 60px rgb(0 0 0 / .16);
}

.stack-panel h3 {
    max-width: 16ch;
    margin: 0 0 24px;
    color: var(--text);
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.stack-list { display: grid; gap: 2px; }

.stack-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.stack-item div { min-width: 0; }
.stack-item strong { display: block; color: var(--soft); font-size: 14px; line-height: 1.35; }
.stack-item span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.stack-item em {
    padding: 5px 8px;
    border: 1px solid rgb(96 165 250 / .2);
    border-radius: 999px;
    color: #8ab9ff;
    background: rgb(59 130 246 / .08);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.contact-section {
    padding-block: 78px;
    background: #050a14;
}

.contact-panel {
    position: relative;
    min-width: 0;
    min-height: 100%;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgb(96 165 250 / .22);
    border-radius: 22px;
    background:
        radial-gradient(circle at 95% 90%, rgb(34 211 238 / .25), transparent 34%),
        linear-gradient(135deg, rgb(37 99 235 / .28), rgb(15 23 42 / .96) 42%, #050a14);
    box-shadow: 0 28px 90px rgb(0 0 0 / .45), inset 0 1px 0 rgb(255 255 255 / .04);
}

.contact-section .contact-panel {
    min-height: 410px;
    padding: clamp(36px, 5vw, 64px);
}

.contact-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    align-items: start;
    gap: clamp(32px, 5vw, 72px);
}

.contact-eyebrow {
    margin: 0 0 12px;
    color: #60a5fa;
    font-size: 13px;
    font-weight: 700;
}

.contact-panel h2 {
    margin: 0 0 16px;
    color: var(--text);
    font-size: clamp(26px, 2.2vw, 32px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.045em;
}

.contact-section .contact-panel h2 { font-size: clamp(34px, 4vw, 48px); }

.contact-intro > p:not(.contact-eyebrow) {
    max-width: 410px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.contact-section .contact-intro > p:not(.contact-eyebrow) { max-width: 560px; font-size: 17px; }

.contact-column-label {
    margin: 0 0 18px;
    color: #7caeff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.contact-support,
.contact-details {
    padding: 22px;
    border: 1px solid rgb(148 163 184 / .13);
    border-radius: 16px;
    background: rgb(5 10 20 / .42);
    backdrop-filter: blur(8px);
}

.contact-support ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.contact-support li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--border); }
.contact-support li span { color: #5f88c9; font-family: var(--font-mono); font-size: 10px; }
.contact-support li strong { color: var(--soft); font-size: 13px; line-height: 1.4; }

.contact-details { display: grid; gap: 13px; margin: 0; font-style: normal; }
.contact-details a,
.contact-details > div { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--soft); }
.contact-details a > span,
.contact-details > div > span:first-child { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 7px; color: #76a9ff; background: rgb(59 130 246 / .09); font-size: 11px; font-weight: 700; }
.contact-details strong { overflow-wrap: anywhere; font-size: 12px; line-height: 1.45; }
.contact-details small { margin-top: 5px; color: #71809b; font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; }

.contact-details a > span,
.contact-details > div > span:first-child {
    color: #76a9ff;
    background: rgb(59 130 246 / .09);
}

.contact-whatsapp > span {
    color: #25D366 !important;
    background: rgba(37, 211, 102, .12) !important;
}

.contact-linkedin > span {
    color: #0A66C2 !important;
    background: rgba(10, 102, 194, .12) !important;
}

.contact-mail > span {
    color: #60A5FA !important;
    background: rgba(59, 130, 246, .12) !important;
}

.contact-location > span {
    color: #F59E0B !important;
    background: rgba(245, 158, 11, .12) !important;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 22px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 14px;
    white-space: nowrap;
    font-weight: 700;
    line-height: 1;
    transition: transform .25s ease, filter .25s ease;
}

.contact-button:hover { transform: translateY(-2px); filter: brightness(1.08); }

.contact-button--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    box-shadow: 0 18px 40px rgb(37 99 235 / .35);
}

.contact-button--secondary {
    color: var(--soft);
    border-color: rgb(148 163 184 / .35);
    background: rgb(5 10 20 / .45);
}

.contact-meta {
    display: flex;
    flex-wrap: wrap;
    flex-wrap: nowrap;
    gap: 18px;
    margin-top: 22px;
    color: var(--soft);
    font-size: 12px;
    white-space: nowrap;
    font-weight: 500;
}

.network-area {
    position: absolute;
    top: 50%;
    right: -20px;
    width: 310px;
    height: 270px;
    opacity: .42;
    transform: translateY(-50%);
}

.contact-section .network-area {
    right: 40px;
    width: 430px;
    height: 340px;
    opacity: .14;
}

.network-visual {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 18px 38px rgb(34 211 238 / .12));
}

.network-orbits {
    fill: none;
    stroke: rgb(96 165 250 / .22);
    stroke-width: 1;
    stroke-dasharray: 3 8;
}

.network-links {
    fill: none;
    stroke: url(#networkLine);
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.network-nodes {
    fill: #60a5fa;
    stroke: #071120;
    stroke-width: 2;
}

.network-node--active { fill: #67e8f9; }
.network-glow { fill: url(#nodeGlow); }

.network-area::before {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(34 211 238 / .2), rgb(59 130 246 / .07) 38%, transparent 70%);
    filter: blur(24px);
}

.network-coordinates {
    position: absolute;
    right: 30px;
    bottom: 12px;
    color: rgb(167 180 204 / .7);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .08em;
}

.footer { padding: 22px 0; color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 32px; }

@media (max-width: 1100px) {
    .section-grid { grid-template-columns: 170px 1fr; }
    .about-content { grid-column: 1 / -1; max-width: none; }
    .career-contact-grid { grid-template-columns: .8fr 1.2fr; }
    .career-contact-grid .stack-panel { grid-column: 1 / -1; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .contact-intro { grid-column: 1 / -1; }
    .network-area,
    .contact-section .network-area { right: 12px; width: 320px; height: 280px; opacity: .32; }
}

@media (max-width: 980px) {
    .nav > .btn { margin-left: auto; }
    .menu-toggle { display: block; }
    .menu {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 2px;
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: rgb(5 10 20 / .96);
        box-shadow: 0 24px 70px rgb(0 0 0 / .42);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    }
    .header.menu-open .menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
    .menu a { padding: 12px 14px; border-radius: 8px; }
    .menu a:hover, .menu a.active { background: rgb(59 130 246 / .1); }
    .menu a::after { display: none; }
    .hero-grid, .section-grid, .projects-layout { grid-template-columns: 1fr; gap: 36px; }
    .about-content { grid-column: auto; }
    .cards, .services { grid-template-columns: 1fr 1fr; }
    .services > div:first-child { grid-column: 1 / -1; }
    .network-area,
    .contact-section .network-area { right: -80px; width: 280px; height: 260px; opacity: .2; }
}

@media (min-width: 641px) and (max-width: 980px) {
    #hakkimda { padding-block: 64px; }
    #hakkimda .section-grid {
        grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
        align-items: center;
        gap: 32px 42px;
    }
    .about-portrait-column { grid-column: 1; }
    .about-portrait { width: min(200px, 100%); }
    .about-heading { grid-column: 2; }
    .about-heading h2 { max-width: 14ch; font-size: clamp(32px, 5vw, 42px); }
    .about-content { grid-column: 1 / -1; max-width: none; }
    .about-content .lead { max-width: 760px; }
    .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .nav { min-height: 76px; }
    .brand-copy > span { display: none; }
    .hide-mobile { display: none; }
    .hero { padding-top: 46px; }
    h1 { font-size: 44px; }
    .cards, .services { grid-template-columns: 1fr; }
    #hakkimda { padding-block: 56px; }
    #hakkimda .section-grid { gap: 24px; }
    .about-heading { order: 1; }
    .about-heading h2 { max-width: 15ch; font-size: clamp(32px, 10vw, 38px); line-height: 1.06; }
    .about-portrait-column { display: flex; order: 2; justify-content: center; padding-block: 4px; }
    .about-portrait { width: 148px; border-radius: 20px; }
    .about-content { order: 3; }
    .about-content .lead { margin-bottom: 16px; font-size: 18px; line-height: 1.55; }
    .about-content .muted { font-size: 16px; line-height: 1.7; }
    .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
    .fact { min-width: 0; padding: 12px 10px; border-radius: 13px; }
    .fact strong { font-size: clamp(28px, 9vw, 34px); }
    .fact > span { display: block; margin-top: 7px; font-size: 10px; line-height: 1.35; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
    .contact-panel { min-height: auto; }
    .career-contact-grid { grid-template-columns: 1fr; }
    .career-contact-grid .stack-panel { grid-column: auto; }
    .contact-grid { grid-template-columns: 1fr; gap: 18px; }
    .contact-intro { grid-column: auto; }
    .network-area { display: none; }
    .contact-actions { flex-direction: column; }
    .contact-button { width: 100%; }
    .contact-meta { flex-direction: column; gap: 10px; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
    .hero.is-entering .hero-copy > *,
    .hero.is-entering .code-card,
    .hero.is-entering .tech { opacity: 1; transform: none; }
    .hero.is-visible .code-card,
    .hero.is-visible .gradient-text,
    .hero.is-visible .status::before { animation: none; }
    .reveal-enabled .scroll-reveal { opacity: 1; transform: none; }
    .reveal-enabled .timeline::before { transform: scaleY(1); }
}
