*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --bg: #090d1a;
    --bg2: #0f1629;
    --surface: #141c35;
    --surface2: #1a2440;
    --indigo: #6366f1;
    --indigo-light: #818cf8;
    --coral: #f97316;
    --white: #f0f4ff;
    --muted: #8892a4;
    --border: rgba(99, 102, 241, 0.15);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important
    }
}

#cursor {
    width: 10px;
    height: 10px;
    background: var(--indigo);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
    transform: translate(-50%, -50%)
}

#cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(99, 102, 241, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.4s cubic-bezier(.23, 1, .32, 1), width 0.3s, height 0.3s;
    transform: translate(-50%, -50%)
}

#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    transition: opacity 0.6s
}

#preloader.hide {
    opacity: 0;
    pointer-events: none
}

.pre-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    overflow: hidden
}

.pre-name span {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px);
    animation: lup 0.6s cubic-bezier(.23, 1, .32, 1) forwards
}

@keyframes lup {
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.pre-bar {
    width: 200px;
    height: 2px;
    background: var(--surface2);
    border-radius: 2px;
    overflow: hidden
}

.pre-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--indigo), var(--coral));
    width: 0;
    animation: fb 1.8s cubic-bezier(.23, 1, .32, 1) forwards
}

@keyframes fb {
    to {
        width: 100%
    }
}

.pre-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.15em;
    text-transform: uppercase
}

.grid-bg {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0
}

.orb1 {
    width: 600px;
    height: 600px;
    background: rgba(99, 102, 241, 0.08);
    top: -200px;
    left: -200px
}

.orb2 {
    width: 500px;
    height: 500px;
    background: rgba(249, 115, 22, 0.06);
    bottom: -150px;
    right: -150px
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(9, 13, 26, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border)
}

.nav-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.02em
}

.nav-logo span {
    color: var(--indigo)
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s
}

.nav-links a:hover {
    color: var(--white)
}

.nav-cta {
    background: var(--indigo);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s !important
}

.nav-cta:hover {
    background: var(--indigo-light) !important;
    transform: translateY(-1px)
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px
}

@media(max-width:768px) {
    .hamburger {
        display: flex
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg2);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(.23, 1, .32, 1);
        border-bottom: 1px solid var(--border)
    }

    .nav-links.open {
        transform: translateY(0)
    }
}

section {
    position: relative;
    z-index: 1;
    padding: 100px 5%
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--indigo-light);
    margin-bottom: 12px
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem
}

.section-sub {
    color: var(--muted);
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.7
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.23, 1, .32, 1), transform 0.7s cubic-bezier(.23, 1, .32, 1)
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

.skel {
    background: linear-gradient(90deg, var(--surface) 25%, var(--surface2) 50%, var(--surface) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px
}

@keyframes shimmer {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

.skel-line {
    height: 14px;
    margin-bottom: 8px
}

.skel-line.sm {
    height: 10px;
    width: 60%
}

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    padding: 6px 16px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--indigo-light);
    margin-bottom: 28px
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #22d17a;
    border-radius: 50%;
    animation: pulse 2s infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3)
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 24px
}

.hero-title .line {
    display: block;
    overflow: hidden
}

.hero-title .line-inner {
    display: block;
    opacity: 0;
    transform: translateY(100%);
    animation: lineUp 0.8s cubic-bezier(.23, 1, .32, 1) forwards
}

.hero-title .line:nth-child(2) .line-inner {
    animation-delay: 0.1s
}

.hero-title .line:nth-child(3) .line-inner {
    animation-delay: 0.2s
}

@keyframes lineUp {
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.accent {
    color: var(--indigo)
}

.accent2 {
    color: var(--coral)
}

.hero-desc {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 460px;
    line-height: 1.7;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeIn 0.8s 0.4s forwards
}

@keyframes fadeIn {
    to {
        opacity: 1
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    opacity: 0;
    animation: fadeIn 0.8s 0.55s forwards
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: none
}

.btn-primary {
    background: var(--indigo);
    color: #fff
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.35)
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--white)
}

.btn-outline:hover {
    border-color: var(--indigo);
    transform: translateY(-2px)
}

.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 52px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 0.8s 0.7s forwards
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.04em
}

.stat-num span {
    color: var(--indigo)
}

.stat-label {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em
}

.hero-right {
    opacity: 0;
    animation: fadeIn 1s 0.5s forwards
}

.hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    max-height: 540px
}

.hv-card {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden
}

.hv-code {
    top: 0;
    left: 0;
    right: 60px;
    bottom: 80px;
    padding: 20px;
    background: var(--bg2);
    border-color: rgba(99, 102, 241, 0.2)
}

.code-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%
}

.dot-r {
    background: #ff5f57
}

.dot-y {
    background: #febc2e
}

.dot-g {
    background: #28c840
}

.code-line {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 10px
}

.ln {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: rgba(136, 146, 164, 0.4);
    min-width: 16px;
    line-height: 1.6
}

.code-text {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    line-height: 1.6
}

.ct-tag {
    color: #f97316
}

.ct-attr {
    color: #818cf8
}

.ct-str {
    color: #22d17a
}

.ct-plain {
    color: #8892a4
}

.ct-key {
    color: #f97316
}

.ct-val {
    color: var(--white)
}

.cursor-blink {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: var(--indigo);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px
}

@keyframes blink {
    50% {
        opacity: 0
    }
}

.hv-profile {
    bottom: 0;
    right: 0;
    width: 200px;
    padding: 20px;
    background: var(--surface);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 2
}

.profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--indigo), var(--coral));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px
}

.profile-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 2px
}

.profile-role {
    color: var(--muted);
    font-size: 0.72rem;
    margin-bottom: 14px
}

.profile-skills {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.sb-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px
}

.sb-name {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--muted);
    white-space: nowrap
}

.sb-track {
    flex: 1;
    height: 4px;
    background: var(--surface2);
    border-radius: 2px;
    overflow: hidden
}

.sb-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--indigo), var(--indigo-light));
    width: 0;
    transition: width 1.5s cubic-bezier(.23, 1, .32, 1)
}

.sb-pct {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--indigo-light)
}

.hv-badge {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    white-space: nowrap;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    z-index: 3
}

.hv-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0
}

.badge-years {
    top: -20px;
    right: 30px;
    color: var(--coral);
    border-color: rgba(249, 115, 22, 0.25);
    animation: floatY 3s ease-in-out infinite
}

.badge-years .hv-badge-dot {
    background: var(--coral)
}

.badge-projects {
    left: -20px;
    bottom: 100px;
    color: var(--indigo-light);
    border-color: rgba(99, 102, 241, 0.3);
    animation: floatY 3.5s ease-in-out infinite 0.5s
}

.badge-projects .hv-badge-dot {
    background: var(--indigo)
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

@media(max-width:1024px) {
    .hero-inner {
        grid-template-columns: 1fr
    }

    .hero-right {
        display: none
    }
}

#about {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%)
}

.about-wrap {
    max-width: 1200px;
    margin: 0 auto
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 48px
}

@media(max-width:900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }
}

.about-text p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px
}

.skill-chip {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-family: var(--font-mono);
    color: var(--indigo-light);
    transition: background 0.2s, border-color 0.2s
}

.skill-chip:hover {
    background: var(--surface2);
    border-color: var(--indigo)
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 22px;
    transition: border-color 0.3s, transform 0.3s
}

.info-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px)
}

.info-card-label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px
}

.info-card-val {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white)
}

#experience {
    max-width: 1200px;
    margin: 0 auto
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--indigo), transparent)
}

.timeline-item {
    padding-left: 60px;
    position: relative;
    margin-bottom: 52px
}

.timeline-dot {
    position: absolute;
    left: 12px;
    top: 4px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--indigo);
    z-index: 1
}

.timeline-dot.active {
    background: var(--indigo);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.6)
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--indigo-light);
    text-transform: uppercase;
    margin-bottom: 8px
}

.timeline-role {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px
}

.timeline-company {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 12px
}

.timeline-desc {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7
}

#projects {
    background: var(--bg2)
}

.projects-header {
    max-width: 1200px;
    margin: 0 auto 60px
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto
}

@media(max-width:600px) {
    .projects-grid {
        grid-template-columns: 1fr
    }
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(.23, 1, .32, 1), border-color 0.3s, box-shadow 0.4s
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4)
}

.preview-wrap {
    position: relative;
    height: 220px;
    background: var(--bg);
    overflow: hidden
}

.preview-wrap iframe {
    width: 200%;
    height: 200%;
    transform: scale(0.5);
    transform-origin: top left;
    border: none;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s 0.2s
}

.preview-wrap.loaded iframe {
    opacity: 1
}

.preview-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    background: var(--bg2);
    transition: opacity 0.4s
}

.preview-wrap.loaded .preview-placeholder {
    opacity: 0;
    pointer-events: none
}

.preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, var(--surface) 100%);
    z-index: 2
}

.preview-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    background: rgba(9, 13, 26, 0.8);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px 12px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--indigo-light);
    backdrop-filter: blur(8px)
}

.project-body {
    padding: 22px 24px 26px
}

.project-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px
}

.project-desc {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px
}

.tag {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--indigo-light);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 3px 10px;
    border-radius: 100px
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--indigo-light);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-body);
    transition: color 0.2s, gap 0.2s
}

.project-link:hover {
    color: var(--white);
    gap: 10px
}

#education {
    overflow: hidden
}

.edu-wrap {
    max-width: 1200px;
    margin: 0 auto
}

.edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px
}

@media(max-width:640px) {
    .edu-grid {
        grid-template-columns: 1fr
    }
}

.edu-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.3s, transform 0.3s
}

.edu-item:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-3px)
}

.edu-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px
}

.edu-degree {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700
}

.edu-school {
    color: var(--indigo-light);
    font-size: 0.85rem;
    font-weight: 500
}

.edu-year {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.72rem
}

.certs-section {
    margin-top: 56px
}

.certs-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

@media(max-width:900px) {
    .certs-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:500px) {
    .certs-grid {
        grid-template-columns: 1fr
    }
}

.cert-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.3s, transform 0.3s
}

.cert-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-3px)
}

.cert-icon {
    width: 44px;
    height: 44px;
    background: rgba(99, 102, 241, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center
}

.cert-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3
}

.cert-from {
    color: var(--muted);
    font-size: 0.8rem
}

#contact {
    background: var(--bg2);
    text-align: center
}

.contact-inner {
    max-width: 900px;
    margin: 0 auto
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 44px
}

@media(max-width:900px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:480px) {
    .contact-grid {
        grid-template-columns: 1fr
    }
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 500;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    text-align: center;
    line-height: 1.4
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35)
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.12);
    display: flex;
    align-items: center;
    justify-content: center
}

.contact-card-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted)
}

.contact-card-val {
    font-size: 0.82rem;
    font-weight: 500;
    word-break: break-all
}

footer {
    text-align: center;
    padding: 32px;
    color: var(--muted);
    font-size: 0.8rem;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1
}

footer a {
    color: var(--indigo-light);
    text-decoration: none
}

::-webkit-scrollbar {
    width: 6px
}

::-webkit-scrollbar-track {
    background: var(--bg)
}

::-webkit-scrollbar-thumb {
    background: var(--surface2);
    border-radius: 3px
}

::-webkit-scrollbar-thumb:hover {
    background: var(--indigo)
}