/* ═══════════════════════════════════════════════════════
   SHREYANGSHU DAS — PORTFOLIO & AI RESUME BUILDER
   Premium Dark Theme with Neon Accent Design System
   ═══════════════════════════════════════════════════════ */

/* ── CSS Variables ──────────────────────────────────── */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --bg-glass: rgba(22, 22, 31, 0.7);

    --text-primary: #e8e8f0;
    --text-secondary: #9090a8;
    --text-muted: #5c5c72;

    --accent-1: #6c5ce7;
    --accent-2: #00cec9;
    --accent-gradient: linear-gradient(135deg, #6c5ce7 0%, #00cec9 100%);
    --accent-glow: 0 0 30px rgba(108, 92, 231, 0.3);

    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #e17055;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --nav-height: 72px;
    --container-max: 1200px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }

/* ── Cursor Glow ────────────────────────────────────── */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* ── Container ──────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ── Section Defaults ───────────────────────────────── */
.section {
    position: relative;
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.section-number {
    color: var(--accent-2);
    font-family: var(--font-mono);
    font-size: 0.9em;
    font-weight: 500;
    margin-right: 12px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 40px;
}

/* ── Animation Classes ──────────────────────────────── */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.8);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-smooth);
}

nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: var(--transition-fast);
}

.logo-bracket {
    color: var(--accent-2);
    transition: var(--transition-fast);
}

.nav-logo:hover .logo-bracket {
    color: var(--accent-1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
    align-items: center;
    text-align: center;
    padding-top: calc(var(--nav-height) + 40px);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(108, 92, 231, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 206, 201, 0.06) 0%, transparent 50%),
        var(--bg-primary);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-particles .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-2);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 8s infinite;
}

@keyframes floatParticle {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

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

.hero-greeting {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-2);
    font-family: var(--font-mono);
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-name {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-roles {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 40px;
}

.role-prefix {
    margin-right: 8px;
}

.typewriter {
    color: var(--accent-2);
    font-weight: 600;
}

.cursor-blink {
    color: var(--accent-1);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(255,255,255,0.15);
}

.btn-ghost:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-2);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--accent-2);
    border-radius: 4px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(16px); }
}

/* ═══════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════ */
.about {
    background:
        radial-gradient(ellipse at 80% 80%, rgba(0, 206, 201, 0.04) 0%, transparent 50%),
        var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.highlight-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(108, 92, 231, 0.2);
    transform: translateX(4px);
}

.highlight-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.highlight-card strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.highlight-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Code Window */
.code-window {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.code-window::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: var(--radius-lg);
    background: var(--accent-gradient);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.code-window:hover::before {
    opacity: 0.15;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.code-title {
    margin-left: 12px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.code-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.9;
    overflow-x: auto;
    color: var(--text-secondary);
}

.code-keyword { color: #c792ea; }
.code-class { color: #ffcb6b; }
.code-func { color: #82aaff; }
.code-str { color: #c3e88d; }
.code-prop { color: #f07178; }

/* ═══════════════════════════════════════════════════════
   SKILLS
   ═══════════════════════════════════════════════════════ */
.skills {
    background:
        radial-gradient(ellipse at 20% 30%, rgba(108, 92, 231, 0.05) 0%, transparent 50%),
        var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: var(--accent-glow);
}

.skill-card:hover::before {
    opacity: 0.03;
}

.skill-card > * {
    position: relative;
    z-index: 1;
}

.skill-icon {
    color: var(--accent-2);
    margin-bottom: 20px;
}

.skill-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(108, 92, 231, 0.1);
    color: var(--accent-2);
    border-radius: 20px;
    border: 1px solid rgba(108, 92, 231, 0.15);
}

.skill-bar-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.skill-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-row span {
    font-size: 0.82rem;
    color: var(--text-muted);
    min-width: 90px;
    flex-shrink: 0;
}

.skill-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    border-radius: 4px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════════════════════ */
.projects {
    background: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: var(--shadow-md), var(--accent-glow);
}

.project-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.project-image {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, rgba(108,92,231,0.15), rgba(0,206,201,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.featured .project-image {
    aspect-ratio: auto;
    min-height: 300px;
}

.project-placeholder {
    color: var(--accent-2);
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.project-card:hover .project-placeholder {
    opacity: 0.8;
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    padding: 12px 28px;
    background: var(--accent-gradient);
    color: #fff;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.project-link:hover {
    transform: scale(1.05);
}

.project-info {
    padding: 28px;
}

.project-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-2);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
}

.project-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech span {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    padding: 4px 12px;
    background: rgba(255,255,255,0.04);
    border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════
   AI RESUME BUILDER
   ═══════════════════════════════════════════════════════ */
.resume-builder {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(108, 92, 231, 0.08) 0%, transparent 60%),
        var(--bg-secondary);
}

.builder-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 32px;
    align-items: start;
}

/* Form Panel */
.builder-form-panel {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group label small {
    font-weight: 400;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    outline: none;
    transition: var(--transition-fast);
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Result Panel */
.builder-result-panel {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
    min-height: 400px;
}

.result-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    text-align: center;
    color: var(--text-muted);
    gap: 20px;
}

.empty-icon {
    color: rgba(255,255,255,0.08);
}

.result-empty p {
    max-width: 300px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Match Score Ring */
.match-score-section {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding: 24px;
    background: rgba(108, 92, 231, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.score-ring {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.score-ring svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.06);
    stroke-width: 8;
}

.ring-fill {
    fill: none;
    stroke: url(#scoreGrad);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 326.73;
    stroke-dashoffset: 326.73;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.score-value span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-meta h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.score-meta p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Skills Breakdown */
.skills-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.breakdown-col h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-list .tag-match {
    padding: 4px 12px;
    font-size: 0.78rem;
    border-radius: 16px;
    font-weight: 500;
}

.matched .tag-match {
    background: rgba(0, 184, 148, 0.12);
    color: var(--success);
    border: 1px solid rgba(0, 184, 148, 0.2);
}

.missing .tag-match {
    background: rgba(225, 112, 85, 0.1);
    color: var(--danger);
    border: 1px solid rgba(225, 112, 85, 0.2);
}

/* Resume Preview */
.resume-preview {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.resume-header-bar {
    background: rgba(0,0,0,0.3);
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.resume-paper {
    padding: 32px;
    background: #fafafa;
    color: #1a1a2e;
    font-size: 0.9rem;
    line-height: 1.7;
    min-height: 200px;
}

.resume-paper h2 {
    font-size: 1.6rem;
    color: #1a1a2e;
    margin-bottom: 4px;
    border-bottom: 2px solid #6c5ce7;
    padding-bottom: 8px;
}

.resume-paper .resume-email {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.resume-paper h3 {
    font-size: 1rem;
    color: #6c5ce7;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 20px 0 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #e0e0e0;
}

.resume-paper p {
    margin-bottom: 8px;
    color: #333;
}

.resume-paper ul {
    padding-left: 20px;
    margin-bottom: 8px;
}

.resume-paper ul li {
    margin-bottom: 4px;
    color: #444;
}

.resume-skill-highlight {
    background: rgba(108, 92, 231, 0.1);
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 600;
    color: #6c5ce7;
}

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */
.contact {
    background: var(--bg-primary);
    text-align: center;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 48px;
    line-height: 1.8;
}

.contact-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 32px 40px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    min-width: 200px;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: var(--accent-glow);
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--accent-2);
}

.contact-card span {
    font-weight: 600;
    font-size: 1rem;
}

.contact-card small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: var(--bg-secondary);
}

.footer-inner p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-inner strong {
    color: var(--text-primary);
}

.footer-note {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .builder-layout {
        grid-template-columns: 1fr;
    }

    .builder-form-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        padding: 20px;
        gap: 4px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .section {
        padding: 80px 0;
    }

    .hero-name {
        font-size: clamp(2rem, 10vw, 3.2rem);
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card.featured {
        grid-template-columns: 1fr;
    }

    .skills-breakdown {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .builder-form-panel,
    .builder-result-panel {
        padding: 20px;
    }
}