:root {
    --bg: #110720;
    --bg-2: #0d0618;
    --surface: rgba(20, 12, 34, 0.78);
    --surface-2: rgba(255, 255, 255, 0.05);
    --card: rgba(17, 10, 32, 0.92);
    --text: #f4f0ff;
    --muted: #b5abd0;
    --border: rgba(255, 255, 255, 0.08);
    --accent: #8b5cf6;
    --accent-2: #a855f7;
    --accent-3: #22d3ee;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] {
    --bg: #f5f7fb;
    --bg-2: #ffffff;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-2: rgba(15, 23, 42, 0.04);
    --card: rgba(255, 255, 255, 0.94);
    --text: #111827;
    --muted: #667085;
    --border: rgba(15, 23, 42, 0.08);
    --accent: #7c3aed;
    --accent-2: #9333ea;
    --accent-3: #0891b2;
    --shadow: 0 22px 60px rgba(15, 23, 42, 0.10);
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 12% 10%, rgba(139, 92, 246, 0.18), transparent 24%),
        radial-gradient(circle at 88% 18%, rgba(168, 85, 247, 0.10), transparent 16%),
        linear-gradient(180deg, var(--bg), var(--bg-2));
    color: var(--text);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    transition: background-color .25s ease, color .25s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.site-main {
    min-height: calc(100vh - 160px);
    padding: 0 0 3rem;
}

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(17, 7, 32, 0.76);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

html[data-theme="light"] .site-navbar {
    background: rgba(255, 255, 255, 0.82);
}

.site-brand {
    color: var(--text) !important;
    font-weight: 800;
    letter-spacing: .2px;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    box-shadow: 0 0 18px rgba(139, 92, 246, .45);
}

.site-navbar .nav-link {
    color: var(--muted);
    font-weight: 600;
    padding: .8rem 1rem !important;
    border-radius: 999px;
    transition: .2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.btn-surface {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid var(--border);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-surface:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text);
    border-color: var(--border);
}

html[data-theme="light"] .btn-surface {
    background: #ffffff;
}

html[data-theme="light"] .btn-surface:hover {
    background: #f8fafc;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    color: #fff;
    border: none;
    box-shadow: var(--shadow);
}

.btn-accent:hover {
    color: #fff;
    opacity: .96;
}

.dropdown-menu {
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.dropdown-item {
    color: var(--text);
}

.dropdown-item:hover,
.dropdown-item.active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.site-footer {
    padding: 0 0 2rem;
}

.footer-box {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-title {
    color: var(--text);
    font-weight: 800;
}

.footer-text,
.footer-copy {
    color: var(--muted);
}

.banner-clean {
    position: relative;
    padding: 2.8rem 0 2rem;
    overflow: hidden;
}

.banner-clean__bg,
.banner-clean__overlay {
    position: absolute;
    inset: 0;
}

.banner-clean__bg {
    background:
        linear-gradient(120deg, rgba(17, 7, 32, 0.86), rgba(17, 7, 32, 0.64)),
        radial-gradient(circle at top left, rgba(139, 92, 246, 0.18), transparent 24%),
        radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.10), transparent 18%);
    background-size: cover;
    background-position: center;
    z-index: -2;
}

html[data-theme="light"] .banner-clean__bg {
    background:
        linear-gradient(120deg, rgba(255,255,255,0.88), rgba(255,255,255,0.74)),
        radial-gradient(circle at top left, rgba(139, 92, 246, 0.10), transparent 24%),
        radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.08), transparent 18%);
    background-size: cover;
    background-position: center;
}

.banner-clean__overlay {
    background: linear-gradient(90deg, rgba(17, 7, 32, 0.16), rgba(17, 7, 32, 0.04));
    z-index: -1;
}

html[data-theme="light"] .banner-clean__overlay {
    background: linear-gradient(90deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
}

.banner-clean__container {
    position: relative;
    z-index: 2;
}

.banner-clean__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 2rem;
    align-items: center;
    min-height: calc(100vh - 170px);
}

.banner-clean__left {
    max-width: 620px;
}

.banner-clean__hello {
    color: #c4b5fd;
    font-size: 1rem;
    margin-bottom: .45rem;
    font-weight: 600;
}

.banner-clean__name {
    font-size: clamp(2.6rem, 4.2vw, 4.8rem);
    line-height: 1.05;
    font-weight: 900;
    margin: 0 0 .4rem;
    color: var(--text);
    letter-spacing: -.03em;
}

.banner-clean__role {
    font-size: 1.2rem;
    color: var(--accent-3);
    font-weight: 700;
    margin-bottom: .9rem;
}

.banner-clean__title {
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 1rem;
    color: var(--text);
}

.banner-clean__text {
    max-width: 560px;
    font-size: 1.04rem;
    line-height: 1.9;
    color: var(--muted);
    margin: 0 0 1.35rem;
}

.banner-clean__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-bottom: 1rem;
}

.banner-clean__socials {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: 1.4rem;
}

.banner-clean__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .66rem .95rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: .94rem;
    transition: .2s ease;
}

.banner-clean__social:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text);
}

.banner-clean__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem;
}

.info-card,
.box-card,
.tech-strip,
.profile-panel,
.device-card,
.cta-box {
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.info-card {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
    padding: 1rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

html[data-theme="light"] .info-card {
    background: rgba(255, 255, 255, 0.82);
}

.info-card__label {
    color: var(--muted);
    font-size: .86rem;
    margin-bottom: .42rem;
    font-weight: 700;
}

.info-card__value {
    color: var(--text);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.65;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.info-card__value a {
    color: var(--text);
}

.banner-clean__right {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.profile-panel {
    border-radius: 26px;
    background: rgba(16, 10, 30, 0.82);
    padding: 1.2rem;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

html[data-theme="light"] .profile-panel {
    background: rgba(255, 255, 255, 0.9);
}

.profile-panel__top {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.profile-panel__avatar {
    flex-shrink: 0;
}

.profile-panel__avatar img,
.profile-panel__avatar span {
    width: 92px;
    height: 92px;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.profile-panel__avatar img {
    object-fit: cover;
    background: #111827;
}

.profile-panel__avatar span {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
}

.profile-panel__meta h3 {
    margin: 0 0 .3rem;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text);
}

.profile-panel__job {
    color: var(--accent-3);
    font-weight: 700;
    margin-bottom: .3rem;
}

.profile-panel__location {
    color: var(--muted);
    font-size: .92rem;
}

.profile-panel__summary {
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    padding: 1rem;
    margin-bottom: .95rem;
}

html[data-theme="light"] .profile-panel__summary {
    background: rgba(15, 23, 42, 0.03);
}

.profile-panel__summary-title {
    color: var(--muted);
    font-size: .88rem;
    font-weight: 700;
    margin-bottom: .45rem;
}

.profile-panel__summary p {
    margin: 0;
    color: var(--text);
    line-height: 1.8;
    font-size: .95rem;
}

.profile-panel__contact {
    display: flex;
    flex-direction: column;
    gap: .42rem;
}

.profile-panel__contact a {
    color: var(--text);
    font-weight: 600;
    word-break: break-word;
}

.device-card {
    border-radius: 26px;
    overflow: hidden;
    background: rgba(16, 10, 30, 0.88);
}

html[data-theme="light"] .device-card {
    background: rgba(255, 255, 255, 0.94);
}

.device-card__bar {
    display: flex;
    gap: .45rem;
    padding: .9rem 1rem;
    border-bottom: 1px solid var(--border);
}

.device-card__bar span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.device-card__bar span:nth-child(1) { background: #fb7185; }
.device-card__bar span:nth-child(2) { background: #f59e0b; }
.device-card__bar span:nth-child(3) { background: #22c55e; }

.device-card__screen {
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(circle at top left, rgba(139, 92, 246, 0.18), transparent 24%),
        linear-gradient(180deg, #120b20, #1b1030);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

html[data-theme="light"] .device-card__screen {
    background: linear-gradient(180deg, #f8fafc, #e2e8f0);
}

.device-card__screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.device-card__placeholder {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    text-align: center;
    color: var(--text);
}

.section-block {
    padding: 5rem 0;
}

.section-dark {
    background:
        radial-gradient(circle at 20% 15%, rgba(139, 92, 246, 0.08), transparent 18%),
        radial-gradient(circle at 85% 12%, rgba(34, 211, 238, 0.08), transparent 18%),
        rgba(10, 6, 24, 0.92);
}

.section-head {
    margin-bottom: 2rem;
}

.section-head h2 {
    margin: 0 0 .8rem;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 900;
    color: var(--text);
    letter-spacing: -.02em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    max-width: 720px;
    line-height: 1.85;
    font-size: 1rem;
}

.section-head--center {
    text-align: center;
}

.section-head--center p {
    margin-inline: auto;
}

.tech-strip {
    border-radius: 24px;
    background: var(--surface);
    padding: 1.4rem;
    text-align: center;
}

.tech-strip p {
    margin: 0 0 1rem;
    color: var(--muted);
    line-height: 1.8;
}

.tech-strip__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
}

.tech-strip__items span {
    padding: .65rem .9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: .92rem;
}

.box-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 1.3rem;
}

.services-grid,
.experience-grid,
.skills-grid,
.dual-grid {
    display: grid;
    gap: 1.4rem;
}

.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    transition: transform .2s ease, border-color .2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.35);
}

.service-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(168, 85, 247, 0.18));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
    color: var(--text);
    font-size: 1.4rem;
    font-weight: 800;
}

.service-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    margin: 0 0 .65rem;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 800;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.projects-clean {
    display: grid;
    gap: 3rem;
}

.feature-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.feature-project--reverse .feature-project__media {
    order: 2;
}

.feature-project--reverse .feature-project__content {
    order: 1;
}

.feature-project__frame {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(168, 85, 247, 0.08));
    box-shadow: var(--shadow);
}

.feature-project__frame img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.feature-project__placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 800;
}

.feature-project__eyebrow {
    color: #c4b5fd;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.feature-project h3 {
    margin: 0 0 1rem;
    color: var(--text);
    font-size: clamp(1.6rem, 2.3vw, 2.3rem);
    font-weight: 900;
}

.feature-project__desc {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
}

.feature-project__desc p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.feature-project__tech {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 1rem;
}

.feature-project__tech span {
    padding: .45rem .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: .9rem;
}

.feature-project__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-project__links a {
    color: #c4b5fd;
    font-weight: 700;
}

.section-center-action {
    margin-top: 2rem;
    text-align: center;
}

.experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.experience-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1rem;
    align-items: start;
}

.experience-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(168, 85, 247, 0.18));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
}

.experience-card__body h3 {
    margin: 0 0 .45rem;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 900;
}

.experience-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    color: var(--muted);
    font-size: .94rem;
    margin-bottom: .65rem;
}

.experience-card__body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.skills-grid {
    grid-template-columns: 1fr;
}

.skill-card__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: .8rem;
}

.skill-card__head h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.12rem;
    font-weight: 800;
}

.skill-card__head span {
    color: #c4b5fd;
    font-weight: 800;
}

.skill-card__bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: .7rem;
}

.skill-card__fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
}

.skill-card__category {
    color: var(--muted);
    font-size: .92rem;
}

.dual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.subsection-title {
    margin: 0 0 1rem;
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 900;
}

.learning-card {
    margin-bottom: 1rem;
}

.learning-card h4 {
    margin: 0 0 .45rem;
    color: var(--text);
    font-size: 1.08rem;
    font-weight: 800;
}

.learning-card__meta {
    color: #c4b5fd;
    font-size: .92rem;
    margin-bottom: .55rem;
}

.learning-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.cta-box {
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(139, 92, 246, 0.14), transparent 24%),
        radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.10), transparent 18%),
        var(--surface);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.cta-box h2 {
    margin: 0 0 .65rem;
    color: var(--text);
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 900;
}

.cta-box p {
    margin: 0;
    color: var(--muted);
    max-width: 700px;
    line-height: 1.85;
}

@media (max-width: 1399.98px) {
    .banner-clean__grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

@media (max-width: 1199.98px) {
    .services-grid,
    .experience-grid,
    .dual-grid {
        grid-template-columns: 1fr;
    }

    .banner-clean__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-project,
    .feature-project--reverse {
        grid-template-columns: 1fr;
    }

    .feature-project--reverse .feature-project__media,
    .feature-project--reverse .feature-project__content {
        order: initial;
    }
}

@media (max-width: 991.98px) {
    .site-nav-actions {
        margin-top: 1rem;
    }

    .banner-clean__name {
        font-size: 2.7rem;
    }

    .banner-clean__title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .banner-clean {
        padding-top: 1.6rem;
    }

    .banner-clean__actions .btn,
    .banner-clean__actions a {
        width: 100%;
    }

    .banner-clean__stats,
    .services-grid,
    .experience-grid,
    .dual-grid {
        grid-template-columns: 1fr;
    }

    .profile-panel__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .experience-card {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 1.4rem;
    }
}