/* ============================================
   ROHIT KORDE — PORTFOLIO
   Modern Dark Theme with Glassmorphism
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #16161f;
    --bg-card: rgba(22, 22, 31, 0.6);
    --bg-glass: rgba(22, 22, 31, 0.4);

    --text-primary: #e8e8ed;
    --text-secondary: #9898a6;
    --text-tertiary: #6b6b7b;

    --accent-primary: #6c5ce7;
    --accent-secondary: #a78bfa;
    --accent-glow: rgba(108, 92, 231, 0.3);
    --accent-gradient: linear-gradient(135deg, #6c5ce7, #a78bfa);

    --green: #10b981;
    --green-glow: rgba(16, 185, 129, 0.3);
    --blue: #3b82f6;
    --orange: #f59e0b;
    --red: #ef4444;
    --cyan: #06b6d4;

    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

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

    --nav-height: 72px;
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;

    --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);
    --shadow-glow: 0 0 60px rgba(108, 92, 231, 0.15);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::selection {
    background: var(--accent-primary);
    color: white;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- 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: opacity 0.3s;
    will-change: transform;
}

/* --- Particle Canvas --- */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: all var(--transition-base);
    background: transparent;
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    transition: color var(--transition-fast);
}

.logo-bracket {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--accent-secondary);
}

.nav-link-cta {
    background: var(--accent-gradient);
    color: white !important;
    padding: 8px 20px;
    margin-left: 8px;
    font-weight: 600;
}

.nav-link-cta:hover {
    opacity: 0.9;
    background: var(--accent-gradient) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

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

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

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Sections --- */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: 64px;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent-secondary);
    display: block;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 24px 60px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--green);
    margin-bottom: 32px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero-name {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8ed 50%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-wrapper {
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 500;
    color: var(--accent-secondary);
    letter-spacing: 0.5px;
}

.hero-tagline {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-text {
    color: var(--accent-secondary);
    font-weight: 600;
}

/* Terminal Widget */
.terminal {
    background: rgba(17, 17, 24, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: left;
    max-width: 580px;
    margin: 0 auto 48px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.03);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

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

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

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.terminal-body {
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    min-height: 160px;
    height: 160px;
    overflow: hidden;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-prompt {
    color: var(--green);
    font-weight: 600;
}

.terminal-command {
    color: var(--text-primary);
}

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

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.terminal-output {
    margin-top: 8px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.terminal-output .output-line {
    opacity: 0;
    transform: translateY(4px);
    animation: fadeInLine 0.3s ease forwards;
}

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

/* Terminal color tokens */
.tc-ok   { color: #10b981; }
.tc-kw   { color: #a78bfa; }
.tc-dim  { color: #6b6b7b; }
.tc-str  { color: #f59e0b; }

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 24px var(--accent-glow);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

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

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
    display: inline;
}

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

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: relative;
    bottom: auto;
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
}

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

.scroll-arrow svg {
    opacity: 0.5;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

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

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

.about-intro {
    font-size: 1.15rem !important;
    color: var(--text-primary) !important;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.highlight-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

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

.highlight-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    color: var(--accent-secondary);
}

.highlight-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.highlight-card p {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* --- Skills Section --- */
.skills {
    background: var(--bg-secondary);
}

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

.skill-category {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.skill-category:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.skill-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-category-title svg {
    color: var(--accent-secondary);
}

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

.skill-tag {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.skill-tag:hover {
    border-color: var(--accent-primary);
    color: var(--accent-secondary);
    background: rgba(108, 92, 231, 0.08);
}

.skill-tag-primary {
    background: rgba(108, 92, 231, 0.1);
    color: var(--accent-secondary);
    border-color: rgba(108, 92, 231, 0.25);
    font-weight: 600;
}

/* --- Experience / Timeline --- */
.timeline {
    position: relative;
    max-width: 900px;
}

.timeline-item {
    display: flex;
    gap: 32px;
    padding-bottom: 48px;
    position: relative;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding-top: 4px;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--text-tertiary);
    flex-shrink: 0;
    z-index: 2;
    transition: all var(--transition-base);
}

.timeline-dot-active {
    background: var(--accent-primary);
    border-color: var(--accent-secondary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--border-hover), var(--border-color));
    margin-top: 8px;
}

.timeline-content {
    flex: 1;
    min-width: 0;
}

.timeline-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.timeline-role {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 4px 0;
    letter-spacing: -0.5px;
}

.timeline-company {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.timeline-parent {
    color: var(--text-tertiary);
    font-weight: 400;
}

.timeline-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 50px;
    flex-shrink: 0;
}

.timeline-badge-current {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Project Cards within Timeline */
.timeline-projects {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.project-card:hover {
    border-color: var(--border-hover);
    background: rgba(22, 22, 31, 0.8);
}

.project-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.project-name svg {
    color: var(--accent-secondary);
    flex-shrink: 0;
}

.project-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.project-details li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 18px;
    position: relative;
}

.project-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0.6;
}

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

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

.project-tech span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(108, 92, 231, 0.08);
    color: var(--accent-secondary);
    border: 1px solid rgba(108, 92, 231, 0.15);
    font-weight: 500;
}

/* --- Impact/Projects Section --- */
.projects {
    background: var(--bg-secondary);
}

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

.impact-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.impact-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.impact-card:hover::before {
    opacity: 1;
}

.impact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.08);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--accent-secondary);
}

.impact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.impact-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.impact-domain {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-secondary);
    padding: 4px 10px;
    background: rgba(108, 92, 231, 0.08);
    border-radius: 4px;
}

/* --- Education Section --- */
.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
}

.edu-card {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

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

.edu-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.08);
    border-radius: var(--radius-md);
    color: var(--accent-secondary);
    flex-shrink: 0;
}

.edu-details h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.edu-field {
    font-size: 0.95rem;
    color: var(--accent-secondary);
    font-weight: 500;
    margin-bottom: 8px;
}

.edu-school {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.edu-university {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.edu-year {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 8px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

/* --- Contact Section --- */
.contact {
    background: var(--bg-secondary);
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-header {
    margin-bottom: 24px;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-align: left;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    border-color: var(--accent-primary);
    background: rgba(108, 92, 231, 0.05);
    transform: translateX(6px);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.12);
}

.contact-card svg {
    color: var(--accent-secondary);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* --- Contact Form --- */
.contact-form-wrapper {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 28px;
}

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

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-tertiary);
}

.form-input:focus {
    border-color: var(--accent-primary);
    background: rgba(108, 92, 231, 0.04);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.form-input:invalid:not(:placeholder-shown):not(:focus) {
    border-color: var(--red);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    margin-top: 4px;
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.form-status {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 12px;
    min-height: 20px;
}

.form-status.success {
    color: var(--green);
}

.form-status.error {
    color: var(--red);
}

/* --- Footer --- */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    opacity: 0.6;
}

/* --- Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 32px;
        transition: right var(--transition-base);
        border-left: 1px solid var(--border-color);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 24px;
        width: 100%;
        text-align: center;
    }

    .nav-link-cta {
        margin-left: 0;
        margin-top: 8px;
    }

    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: 100svh;
    }

    .hero-name {
        letter-spacing: -2px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .terminal {
        margin-bottom: 36px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

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

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

    .contact-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline-item {
        gap: 20px;
    }

    .timeline-header {
        flex-direction: column;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

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

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

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* --- Print Styles --- */
@media print {
    .nav, .hero-scroll-indicator, #particleCanvas, .cursor-glow {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .section {
        padding: 40px 0;
    }
}
