/* ============================================
   BKS Digital — Dark Futuristic Theme
   ============================================ */

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

:root {
    --primary: #6366f1;
    --primary-dim: rgba(99, 102, 241, 0.15);
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --accent-dim: rgba(236, 72, 153, 0.15);
    --bg: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --surface: #12121a;
    --text: #e2e8f0;
    --text-dim: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(255, 255, 255, 0.06);
    --glow-primary: 0 0 30px rgba(99, 102, 241, 0.3);
    --glow-accent: 0 0 30px rgba(236, 72, 153, 0.3);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    cursor: none;
}

/* Selection */
::selection {
    background: rgba(236, 72, 153, 0.3);
    color: white;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

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

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* ============================================
   Preloader
   ============================================ */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-size: 3em;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    letter-spacing: 8px;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.preloader-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.preloader-text {
    font-family: var(--font-mono);
    font-size: 0.8em;
    color: var(--text-dim);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ============================================
   Custom Cursor
   ============================================ */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(236, 72, 153, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99997;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.cursor-ring.hover {
    width: 60px;
    height: 60px;
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
}

.cursor-dot.click {
    transform: translate(-50%, -50%) scale(0.5);
}

/* ============================================
   Navigation
   ============================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

nav.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.2em;
}

.logo-mark svg {
    width: 36px;
    height: 36px;
    display: block;
}

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

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: white;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-size: 0.9em !important;
    transition: all 0.3s !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--secondary) !important;
    box-shadow: var(--glow-primary) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: none;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85em;
    color: var(--accent);
    border: 1px solid rgba(236, 72, 153, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    font-size: clamp(2.5em, 6vw, 5em);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    color: white;
    opacity: 0;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.2em;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 550px;
    min-height: 1.8em;
    font-family: var(--font-mono);
    font-size: 1em;
    opacity: 0;
}

.hero-tagline .cursor-blink {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--accent);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink 0.8s step-end infinite;
}

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

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
    opacity: 0;
}

.scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.65em;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    width: 100%;
    height: 50%;
    background: var(--accent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0% { top: -50%; }
    100% { top: 150%; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: none;
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05em;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3), 0 0 60px rgba(99, 102, 241, 0.1);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5), 0 0 80px rgba(99, 102, 241, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.btn:disabled {
    opacity: 0.6;
    pointer-events: none;
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

/* Spark effect on hover */
.btn-primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    animation: gradientShift 3s linear infinite;
}

.btn-primary:hover::before {
    opacity: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================
   Container & Section Shared
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-family: var(--font-mono);
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8em;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2em, 4vw, 3em);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-title .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1em;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Glass Card
   ============================================ */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    padding: 100px 0;
    position: relative;
}

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

.stat-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--primary-dim), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

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

.stat-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-5px);
}

.stat-ring {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    position: relative;
}

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

.stat-ring-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 4;
}

.stat-ring-fill {
    fill: none;
    stroke: url(#statGradient);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 1.5s ease;
}

.stat-number {
    font-size: 3em;
    font-weight: 800;
    color: white;
    display: inline;
    line-height: 1;
}

.stat-suffix {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary);
    display: inline;
}

.stat-label {
    font-size: 0.9em;
    color: var(--text-dim);
    margin-top: 8px;
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 120px 0;
    position: relative;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hologram-frame {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(99, 102, 241, 0.15);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(99, 102, 241, 0.08);
}

.hologram-scanline {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
    top: -2px;
    animation: scanline 4s linear infinite;
    z-index: 2;
}

@keyframes scanline {
    0% { top: -2px; }
    100% { top: 100%; }
}

.about-avatar {
    width: 80%;
    height: 80%;
}

.about-avatar-img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    position: relative;
    z-index: 1;
    border-radius: 12px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2), 0 0 60px rgba(236, 72, 153, 0.1), inset 0 0 30px rgba(99, 102, 241, 0.05);
    background: #fff;
}

.hologram-glitch {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(99, 102, 241, 0.03) 2px,
        rgba(99, 102, 241, 0.03) 4px
    );
    pointer-events: none;
}

/* Orbiting Dots */
.about-orbit-dots {
    position: absolute;
    inset: -10px;
    pointer-events: none;
    overflow: hidden;
    border-radius: 30px;
}

.orbit-dot {
    position: absolute;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: orbit 8s linear infinite;
    animation-delay: var(--delay);
    top: 50%;
    left: 50%;
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(180px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(180px) rotate(-360deg); }
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

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

.about-block p {
    font-size: 1.05em;
    color: var(--text-dim);
    line-height: 1.8;
}

/* ============================================
   Skills Section
   ============================================ */
.skills-section {
    padding: 120px 0;
    position: relative;
}

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

.skill-card {
    padding: 40px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.skill-card-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-dim), transparent 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 0;
}

.skill-card:hover .skill-card-glow {
    opacity: 1;
}

.skill-icon-wrap {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-dim), var(--accent-dim));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    position: relative;
    z-index: 1;
}

.skill-card h3 {
    font-size: 1.3em;
    color: white;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85em;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.tag:hover {
    background: var(--primary-dim);
    color: white;
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

/* ============================================
   Experience Section — Vertical Timeline
   ============================================ */
.experience-section {
    padding: 120px 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline-line {
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-line-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
    transition: height 0.05s linear;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

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

.timeline-dot {
    position: absolute;
    left: -43px;
    top: 32px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--primary);
    z-index: 2;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

.timeline-dot-ping {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: dotPing 2s ease-out infinite;
}

@keyframes dotPing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

.timeline-card {
    padding: 32px 36px;
    position: relative;
    transition: all 0.4s ease;
}

.timeline-card:hover {
    transform: translateX(8px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
}

.exp-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 20px 20px 0 0;
}

.timeline-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.exp-year {
    font-family: var(--font-mono);
    font-size: 0.8em;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.exp-company {
    font-size: 1.1em;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-card h3 {
    font-size: 1.35em;
    color: white;
    margin-bottom: 16px;
    line-height: 1.3;
}

.exp-location {
    font-size: 0.8em;
    color: var(--text-muted);
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

.timeline-card ul {
    list-style: none;
    padding: 0;
}

.timeline-card li {
    color: var(--text-dim);
    font-size: 0.95em;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.7;
}

.timeline-card li:last-child {
    margin-bottom: 0;
}

.timeline-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

/* ============================================
   Certifications
   ============================================ */
.certs-section {
    padding: 120px 0;
}

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

.cert-card {
    padding: 40px;
}

.cert-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-dim), var(--accent-dim));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.cert-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
}

.cert-card h3 {
    font-size: 1.2em;
    color: white;
    margin-bottom: 10px;
}

.cert-card p {
    color: var(--text-dim);
    font-size: 0.95em;
    line-height: 1.7;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

#ctaCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info .section-label {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

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

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s;
}

a.contact-link:hover {
    color: white;
}

.contact-link svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Contact Form */
.contact-form {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85em;
    font-weight: 600;
    color: var(--text-dim);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    color: white;
    font-family: var(--font);
    font-size: 0.95em;
    transition: all 0.3s;
    outline: none;
    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(--primary);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}

/* Form success state */
.contact-form.submitted .form-group,
.contact-form.submitted .btn-full {
    display: none;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.contact-form.submitted .form-success {
    display: block;
}

.form-success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6em;
    color: white;
    margin: 0 auto 20px;
}

.form-success h3 {
    color: white;
    font-size: 1.4em;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-dim);
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 1.3em;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-about p {
    color: var(--text-dim);
    line-height: 1.8;
    font-size: 0.95em;
}

.footer-links h4 {
    font-size: 0.95em;
    color: white;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9em;
    display: inline-block;
    padding: 4px 0;
    transition: all 0.3s;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85em;
}

/* ============================================
   Scroll Reveal Animation
   ============================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .about-visual {
        order: -1;
    }

    .hologram-frame {
        max-width: 300px;
        margin: 0 auto;
    }

    .about-content .section-label,
    .about-content .section-title {
        text-align: center;
    }

    .about-blocks {
        text-align: center;
    }

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

@media (max-width: 768px) {
    /* Show hamburger, hide nav links */
    .hamburger {
        display: flex;
    }

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

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

    .nav-links a::after {
        display: none;
    }

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

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

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

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

    .contact-info .section-label,
    .contact-info .section-title {
        text-align: center;
    }

    .contact-desc {
        text-align: center;
    }

    .contact-links {
        align-items: center;
    }

    .contact-form {
        padding: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .timeline {
        padding-left: 36px;
    }

    .timeline-dot {
        left: -30px;
        width: 14px;
        height: 14px;
        top: 26px;
    }

    .timeline-line {
        left: 12px;
    }

    .timeline-card {
        padding: 24px;
    }

    .timeline-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content {
        padding-top: 120px;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    /* Show default cursor on mobile */
    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    .btn {
        cursor: pointer;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hologram-scanline,
    .orbit-dot,
    .scroll-line::after {
        animation: none !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    body {
        cursor: auto;
    }

    .btn {
        cursor: pointer;
    }
}
