/* ========================================
   CREATIVE DARK THEME - LANDING PAGE
   ======================================== */

/* CSS Variables */
:root {
    /* Warm editorial palette */
    --bg-dark: #101320;
    --bg-darker: #080b14;
    --bg-card: #181c2b;

    --accent-pink: #ff5d73;
    --accent-cyan: #4fd1c5;
    --accent-purple: #7f5af0;
    --accent-lime: #d9f99d;
    --accent-gold: #ffb454;
    --accent-sand: #ffd9a0;

    /* Text */
    --text-primary: #f7f4ea;
    --text-secondary: #d5d8e4;
    --text-muted: #8d95ab;

    /* Gradients */
    --grad-pink-purple: linear-gradient(135deg, #ff5d73, #7f5af0);
    --grad-cyan-blue: linear-gradient(135deg, #4fd1c5, #5ca8ff);
    --grad-vibrant: linear-gradient(130deg, #ffb454, #ff5d73 45%, #7f5af0 100%);

    /* Effects */
    --glow-pink: 0 0 30px rgba(255, 93, 115, 0.3);
    --glow-cyan: 0 0 30px rgba(79, 209, 197, 0.3);

    /* Layout scale */
    --container-max: 1400px;
    --container-gutter: clamp(16px, 4vw, 40px);
    --section-pad: clamp(72px, 9vw, 120px);
    --nav-height: 84px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    overflow-x: clip;
}

body {
    font-family: 'Sora', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    overflow-x: clip;
}

body.nav-open {
    overflow: hidden;
}

section[id] {
    scroll-margin-top: calc(var(--nav-height) + 18px);
}

.navbar,
.hero,
.about,
.projects,
.skills,
.education,
.socials,
.contact,
.footer {
    overflow-x: clip;
}

img,
iframe {
    max-width: 100%;
}

.hero-grid > *,
.about-grid > *,
.report-showcase > *,
.project-content,
.repo-card,
.repo-head,
.repo-footer,
.method,
.contact-link {
    min-width: 0;
}

.repo-name a,
.repo-description,
.project-description,
.method a,
.contact-link {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ========================================
   BACKGROUND CANVAS
   ======================================== */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
    padding: 20px 0;
    transition: all 0.3s ease;
    min-height: var(--nav-height);
}

.navbar:hover {
    background: rgba(10, 14, 39, 0.9);
    border-bottom-color: rgba(0, 217, 255, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-gutter);
}

.nav-brand {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
}

.brand-prefix {
    color: var(--text-muted);
}

.brand-main {
    color: var(--accent-cyan);
    text-shadow: var(--glow-cyan);
    font-weight: 800;
}

.brand-suffix {
    color: var(--accent-pink);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(79, 209, 197, 0.45);
    background: rgba(8, 11, 20, 0.8);
    color: var(--text-primary);
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.navbar.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.navbar.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
    text-transform: lowercase;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-pink-purple);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-cyan);
    text-shadow: var(--glow-cyan);
}

.nav-link:hover::before {
    width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 93, 115, 0.14), transparent),
                radial-gradient(circle at 80% 80%, rgba(79, 209, 197, 0.12), transparent);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(247, 244, 234, 0.06) 1px, transparent 0);
    background-size: 22px 22px;
    opacity: 0.35;
    z-index: -1;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: clamp(40px, 7vw, 60px) var(--container-gutter);
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(28px, 5vw, 80px);
    align-items: center;
    margin-bottom: clamp(28px, 5vw, 60px);
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--accent-sand);
    border: 1px solid rgba(255, 217, 160, 0.4);
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 217, 160, 0.08);
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(34px, 6vw, 66px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #f7f4ea 0%, #d5d8e4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-line-1 {
    display: block;
    color: var(--text-primary);
}

.hero-line-2 {
    display: block;
    background: var(--grad-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 0, 110, 0.3));
}

.hero-accent {
    display: block;
    color: var(--accent-cyan);
    text-shadow: var(--glow-cyan);
}

.hero-description {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 50px;
    max-width: 620px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.stat-card {
    background: rgba(24, 28, 43, 0.75);
    border: 1px solid rgba(79, 209, 197, 0.28);
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-card:hover {
    border-color: rgba(255, 93, 115, 0.55);
    background: rgba(24, 28, 43, 0.95);
    transform: translateY(-5px);
    box-shadow: var(--glow-pink);
}

.stat-number {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-lime);
    text-shadow: 0 0 15px rgba(123, 255, 0, 0.3);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: center;
    min-height: 440px;
}

.profile-card,
.now-card {
    background: linear-gradient(145deg, rgba(24, 28, 43, 0.9), rgba(16, 19, 32, 0.88));
    border: 1px solid rgba(79, 209, 197, 0.26);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.profile-card {
    box-shadow: 0 20px 50px rgba(8, 11, 20, 0.45);
    animation: float 7s ease-in-out infinite;
}

.photo-wrap {
    padding: 12px;
    background: linear-gradient(135deg, rgba(255, 180, 84, 0.2), rgba(127, 90, 240, 0.2));
    border-radius: 16px;
    margin-bottom: 16px;
}

.profile-photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.profile-name {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 2px;
}

.profile-role {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 14px;
}

.profile-note {
    font-family: 'Caveat', cursive;
    font-size: 29px;
    color: var(--accent-sand);
    line-height: 1.2;
}

.now-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.now-list {
    list-style: none;
}

.now-list li {
    position: relative;
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 18px;
    font-size: 14px;
}

.now-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

.reveal-stagger {
    opacity: 0;
    transform: translateY(24px);
    animation: staggerIn 0.9s ease-out forwards;
}

.reveal-stagger:nth-child(1) {
    animation-delay: 0.16s;
}

.reveal-stagger:nth-child(2) {
    animation-delay: 0.32s;
}

@keyframes staggerIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    font-family: 'Sora', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: inherit;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary {
    background: var(--grad-pink-purple);
    color: white;
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(255, 0, 110, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
    box-shadow: inset 0 0 30px rgba(0, 217, 255, 0.1);
}

.btn-outline:hover {
    background: rgba(0, 217, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 15px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: var(--section-pad) var(--container-gutter);
    background: linear-gradient(180deg, var(--bg-dark), rgba(168, 85, 247, 0.05));
    position: relative;
    z-index: 2;
}

.about-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.section-header {
    margin-bottom: clamp(34px, 6vw, 80px);
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 900;
    text-transform: lowercase;
    color: var(--text-primary);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.header-line {
    width: 60px;
    height: 3px;
    background: var(--grad-pink-purple);
    margin-top: 20px;
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(28px, 6vw, 80px);
    margin-bottom: 60px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-intro {
    font-size: 18px;
    font-weight: 600;
}

.about-body {
    color: var(--text-secondary);
}

.about-philosophy {
    font-style: italic;
    color: var(--text-muted);
    border-left: 3px solid var(--accent-cyan);
    padding-left: 20px;
}

.accent-cyan {
    color: var(--accent-cyan);
    text-shadow: var(--glow-cyan);
    font-weight: 700;
}

.about-facts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fact-box {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.2);
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.fact-box:hover {
    border-color: var(--accent-cyan);
    background: rgba(15, 20, 25, 0.8);
    box-shadow: var(--glow-cyan);
    transform: translateX(10px);
}

.fact-emoji {
    font-size: 28px;
    min-width: 35px;
}

.fact-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.fact-value {
    display: block;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 16px;
}

.contact-quick {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-pink);
    text-shadow: var(--glow-pink);
    transform: translateX(5px);
}

.icon {
    font-size: 16px;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects {
    padding: var(--section-pad) var(--container-gutter);
    background: linear-gradient(180deg, rgba(0, 217, 255, 0.05), var(--bg-dark));
    position: relative;
    z-index: 2;
}

.projects-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.projects-live-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.featured-project + .projects-live-head {
    margin-top: 34px;
}

.projects-live-note {
    color: var(--text-muted);
    letter-spacing: 0.7px;
    font-size: 13px;
    text-transform: lowercase;
}

.projects-profile-link {
    padding: 12px 20px;
}

.github-projects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.projects-status {
    grid-column: 1 / -1;
    background: rgba(15, 20, 25, 0.58);
    border: 1px solid rgba(79, 209, 197, 0.24);
    border-radius: 14px;
    padding: 22px;
    color: var(--text-secondary);
    text-align: center;
    font-size: 14px;
}

.projects-status.loading {
    position: relative;
    overflow: hidden;
}

.projects-status.loading::before {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    animation: shimmer 1.35s ease-in-out infinite;
}

.repo-card {
    background: linear-gradient(145deg, rgba(24, 28, 43, 0.94), rgba(16, 19, 32, 0.92));
    border: 1px solid rgba(79, 209, 197, 0.24);
    border-radius: 18px;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 318px;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.repo-card::before {
    content: '';
    position: absolute;
    right: -70px;
    top: -70px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 93, 115, 0.16), transparent 68%);
    pointer-events: none;
}

.repo-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 93, 115, 0.58);
    box-shadow: 0 18px 38px rgba(8, 11, 20, 0.36);
}

.repo-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.repo-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 93, 115, 0.14);
    border: 1px solid rgba(255, 93, 115, 0.5);
    color: var(--accent-pink);
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 12px;
}

.repo-name {
    margin: 0;
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.2;
}

.repo-name a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.repo-name a:hover {
    color: var(--accent-cyan);
}

.repo-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.75;
    min-height: 74px;
}

.repo-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.repo-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(79, 209, 197, 0.28);
    background: rgba(79, 209, 197, 0.08);
    color: var(--accent-cyan);
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-family: 'IBM Plex Mono', monospace;
}

.repo-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.repo-updated {
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.6px;
}

.repo-link {
    padding: 10px 16px;
    font-size: 12px;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.featured-project {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.8), rgba(168, 85, 247, 0.1));
    border: 2px solid rgba(0, 217, 255, 0.3);
    padding: clamp(22px, 5vw, 60px);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.featured-project::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.15), transparent);
    border-radius: 50%;
    z-index: -1;
}

.project-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--grad-pink-purple);
    color: white;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    box-shadow: var(--glow-pink);
}

.project-content {
    position: relative;
    z-index: 1;
}

.project-meta {
    margin-bottom: 15px;
}

.project-year {
    display: block;
    font-size: 12px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.project-name {
    font-family: 'Sora', sans-serif;
    font-size: clamp(24px, 4.5vw, 42px);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.project-category {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.project-description {
    font-size: clamp(14px, 1.6vw, 17px);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 750px;
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    padding: 40px;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.metric {
    text-align: center;
}

.metric-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-lime);
    text-shadow: 0 0 15px rgba(123, 255, 0, 0.3);
    margin-bottom: 10px;
}

.metric-title {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-highlights {
    margin-bottom: 40px;
}

.project-highlights h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.highlight-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.highlight-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hi-icon {
    font-size: 18px;
    min-width: 20px;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.report-showcase {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 22px;
    margin: 30px 0 36px;
    padding: 22px;
    border: 1px solid rgba(79, 209, 197, 0.28);
    border-radius: 16px;
    background: linear-gradient(140deg, rgba(16, 19, 32, 0.85), rgba(24, 28, 43, 0.8));
    align-items: stretch;
}

.report-kicker {
    display: inline-block;
    padding: 6px 10px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(255, 180, 84, 0.14);
    border: 1px solid rgba(255, 180, 84, 0.4);
    color: var(--accent-gold);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.report-copy h4 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.report-copy p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.project-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.report-preview-wrap {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-height: 520px;
    background: rgba(8, 11, 20, 0.7);
}

.report-preview {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.tech {
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(168, 85, 247, 0.1));
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.tech:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills {
    padding: var(--section-pad) var(--container-gutter);
    position: relative;
    z-index: 2;
}

.skills-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.skill-group {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.2);
    padding: 35px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.skill-group:hover {
    border-color: var(--accent-pink);
    background: rgba(15, 20, 25, 0.8);
    transform: translateY(-10px);
    box-shadow: var(--glow-pink);
}

.skill-group-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 25px;
}

.skill-emoji {
    font-size: 28px;
}

.skill-group h3 {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: capitalize;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-pill {
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(0, 217, 255, 0.1));
    color: var(--text-secondary);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.skill-pill:hover {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-cyan));
    color: var(--bg-dark);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
    transform: translateY(-3px);
}

/* ========================================
   EDUCATION SECTION
   ======================================== */
.education {
    padding: var(--section-pad) var(--container-gutter);
    background: linear-gradient(180deg, var(--bg-dark), rgba(255, 0, 110, 0.05));
    position: relative;
    z-index: 2;
}

.education-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.education-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.edu-card {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.7), rgba(0, 217, 255, 0.05));
    border: 2px solid rgba(255, 0, 110, 0.3);
    padding: 40px;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(0, 217, 255, 0.1), transparent);
    z-index: -1;
}

.edu-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.9), rgba(0, 217, 255, 0.1));
}

.edu-icon {
    font-size: 42px;
    margin-bottom: 20px;
    display: block;
}

.edu-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.edu-org {
    color: var(--accent-lime);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
}

.edu-details,
.edu-period,
.edu-focus {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.6;
}

.edu-coursework {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
}

/* ========================================
   SOCIALS SECTION
   ======================================== */
.socials {
    padding: clamp(64px, 8vw, 96px) var(--container-gutter);
    background: linear-gradient(180deg, rgba(0, 217, 255, 0.05), transparent);
    text-align: center;
    position: relative;
    z-index: 2;
}

.socials-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.socials-container h2 {
    font-family: 'Sora', sans-serif;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 50px;
    text-transform: lowercase;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: rgba(15, 20, 25, 0.6);
    border: 2px solid rgba(0, 217, 255, 0.3);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-btn:hover {
    transform: translateY(-5px);
}

.social-btn.github:hover {
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.social-btn.linkedin:hover {
    border-color: #0a66c2;
    color: #0a66c2;
    box-shadow: 0 0 30px rgba(10, 102, 194, 0.3);
}

.social-btn.email:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
    box-shadow: var(--glow-pink);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: var(--section-pad) var(--container-gutter);
    background: linear-gradient(180deg, var(--bg-dark), rgba(168, 85, 247, 0.05));
    position: relative;
    z-index: 2;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-box {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.8), rgba(0, 217, 255, 0.05));
    border: 2px solid rgba(0, 217, 255, 0.3);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.contact-box h2 {
    font-family: 'Sora', sans-serif;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    background: var(--grad-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: lowercase;
}

.contact-box > p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.method {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.method-icon {
    font-size: 24px;
}

.method a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.method a:hover {
    color: var(--accent-pink);
    text-shadow: var(--glow-pink);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 40px;
    background: var(--bg-darker);
    text-align: center;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-content p {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: lowercase;
    letter-spacing: 1px;
}

.heart {
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.footer-year {
    margin-top: 10px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .nav-content {
        padding: 0 var(--container-gutter);
    }

    .nav-menu {
        gap: 25px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-visual {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: auto;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .report-showcase {
        grid-template-columns: 1fr;
    }

    .education-cards {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 40px;
    }

    .contact-box h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 74px;
    }

    .navbar {
        padding: 10px 0;
    }

    .nav-content {
        position: relative;
        flex-direction: row;
        gap: 12px;
        padding: 0 var(--container-gutter);
        min-height: 52px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 10px);
        right: var(--container-gutter);
        left: var(--container-gutter);
        flex-direction: column;
        gap: 14px;
        background: rgba(10, 14, 39, 0.96);
        border: 1px solid rgba(79, 209, 197, 0.25);
        border-radius: 14px;
        padding: 0 14px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.28s ease, opacity 0.24s ease, padding 0.24s ease;
    }

    .navbar.is-open .nav-menu {
        max-height: 260px;
        opacity: 1;
        pointer-events: auto;
        padding: 14px;
    }

    .nav-link {
        display: inline-block;
        width: 100%;
        padding: 4px 0;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 10px);
    }

    .hero-container {
        padding: clamp(24px, 6vw, 40px) var(--container-gutter);
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 40px);
    }

    .hero-kicker {
        font-size: 11px;
    }

    .hero-description {
        font-size: 16px;
    }

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

    .hero-visual {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .about,
    .projects,
    .skills,
    .education,
    .contact,
    .socials {
        padding: clamp(64px, 10vw, 80px) var(--container-gutter);
    }

    .about-grid {
        gap: 30px;
    }

    .projects-live-head {
        align-items: stretch;
    }

    .projects-live-note {
        font-size: 12px;
    }

    .projects-profile-link {
        width: 100%;
        justify-content: center;
    }

    .github-projects {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .repo-card {
        min-height: 0;
        padding: 20px;
    }

    .project-metrics {
        padding: 25px;
        gap: 15px;
    }

    .report-showcase {
        padding: 16px;
        gap: 16px;
    }

    .report-copy h4 {
        font-size: 20px;
    }

    .report-preview-wrap {
        aspect-ratio: 16 / 10;
        max-height: none;
    }

    .metric-value {
        font-size: 24px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-box {
        padding: 30px 20px;
    }

    .contact-box h2 {
        font-size: 28px;
    }

    .contact-methods {
        gap: 20px;
    }

    .social-buttons {
        gap: 15px;
    }

    .social-btn {
        padding: 12px 20px;
        font-size: 12px;
    }

    .footer {
        padding: 28px var(--container-gutter);
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: clamp(28px, 10vw, 34px);
        line-height: 1.18;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-number {
        font-size: 24px;
    }

    .section-title {
        font-size: clamp(22px, 7vw, 28px);
    }

    .repo-name {
        font-size: 20px;
    }

    .repo-description {
        min-height: 0;
    }

    .report-actions .btn,
    .project-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .report-preview-wrap {
        aspect-ratio: 5 / 4;
    }

    .highlight-list li {
        font-size: 13px;
    }

    .contact-box {
        padding: 20px;
    }

    .contact-box h2 {
        font-size: 22px;
    }

    .contact-box > p {
        font-size: 14px;
    }

    .method a,
    .contact-link {
        word-break: break-word;
    }
}
