/* ══════════════════════════════════════════
   DESIGN SYSTEM — CSS VARIABLES
   ══════════════════════════════════════════ */
:root {
    --bg-primary: #050510;
    --bg-secondary: #0a0a1a;
    --bg-tertiary: #0f0f23;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #e4e4e7;
    --text-secondary: #71717a;
    --text-heading: #ffffff;
    --accent-cyan: #00f5ff;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-blue: #3b82f6;
    --accent-green: #22c55e;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 245, 255, 0.3);
    --gradient-main: linear-gradient(135deg, #00f5ff, #8b5cf6, #ec4899);
    --gradient-text: linear-gradient(135deg, #00f5ff 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0,245,255,0.15), rgba(139,92,246,0.08));
    --shadow-neon: 0 0 20px rgba(0, 245, 255, 0.15);
    --shadow-neon-strong: 0 0 40px rgba(0, 245, 255, 0.25), 0 0 80px rgba(139, 92, 246, 0.1);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ══════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-purple) transparent;
    font-size: 16px;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 3px;
}

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

body.no-scroll {
    overflow: hidden;
}

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

ul, ol {
    list-style: none;
}

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

/* ══════════════════════════════════════════
   UTILITY — GLASS CARD
   ══════════════════════════════════════════ */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-neon);
}

/* ══════════════════════════════════════════
   PARTICLE CANVAS
   ══════════════════════════════════════════ */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ══════════════════════════════════════════
   FLOATING ORBS
   ══════════════════════════════════════════ */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,245,255,0.25), transparent 70%);
    top: -15%;
    left: -10%;
    animation: orbFloat1 25s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,0.2), transparent 70%);
    bottom: 5%;
    right: -8%;
    animation: orbFloat2 30s ease-in-out infinite;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236,72,153,0.18), transparent 70%);
    top: 45%;
    left: 35%;
    animation: orbFloat3 22s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, 100px) scale(1.15); }
    66% { transform: translate(-40px, 50px) scale(0.9); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-70px, -50px) scale(1.1); }
    66% { transform: translate(50px, -70px) scale(0.95); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, -60px) scale(1.2); }
}

/* ══════════════════════════════════════════
   CURSOR GLOW
   ══════════════════════════════════════════ */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,245,255,0.04) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: opacity 0.3s;
    will-change: transform;
}

/* ══════════════════════════════════════════
   HEADER / NAVBAR
   ══════════════════════════════════════════ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-base);
    padding: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.scrolled {
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

header.scrolled .nav-container {
    padding: 0.8rem 5%;
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    letter-spacing: 0;
    transition: transform var(--transition-spring);
}

.logo:hover {
    transform: scale(1.05);
}

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

.nav-links {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: color var(--transition-base);
    letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--accent-cyan);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--accent-cyan);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 16, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    position: relative;
}

.mobile-nav-link:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

/* ══════════════════════════════════════════
   REVEAL ANIMATIONS
   ══════════════════════════════════════════ */
body.js-enabled .reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

body.js-enabled .reveal.active,
.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    z-index: 2;
}

.hero-content {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    align-items: center;
    gap: 5rem;
}

.hero-copy {
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.4rem;
    background: rgba(0, 245, 255, 0.06);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease both;
}

.hero-badge i {
    font-size: 1rem;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulseGreen 2s ease-in-out infinite;
}

@keyframes pulseGreen {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.hero-greeting {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--accent-cyan);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease 0.1s both;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1rem;
    letter-spacing: 0;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.gradient-text {
    background: var(--gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

.hero-typewriter {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.8rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    min-height: 3.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

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

.typewriter-cursor {
    color: var(--accent-cyan);
    -webkit-text-fill-color: var(--accent-cyan);
    animation: blink 1s step-end infinite;
    font-weight: 300;
}

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

.hero-description {
    max-width: 620px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-ctas {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-showcase {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.9s both;
}

.showcase-card {
    width: min(100%, 460px);
    padding: 1.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card), var(--shadow-neon-strong);
    transform-style: preserve-3d;
}

.showcase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(460px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), rgba(0, 245, 255, 0.16), transparent 46%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 35%);
    opacity: 0.85;
    pointer-events: none;
}

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

.showcase-orbit {
    position: absolute;
    inset: 1.2rem;
    border: 1px solid rgba(0, 245, 255, 0.12);
    border-radius: var(--radius-lg);
    transform: rotate(-3deg);
}

.showcase-orbit::before,
.showcase-orbit::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 18px rgba(0, 245, 255, 0.65);
}

.showcase-orbit::before {
    top: -6px;
    left: 22%;
    animation: orbitPulse 3s ease-in-out infinite;
}

.showcase-orbit::after {
    right: 16%;
    bottom: -6px;
    background: var(--accent-green);
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.55);
    animation: orbitPulse 3s ease-in-out 1.2s infinite;
}

.terminal-topbar {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.terminal-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-pink);
}

.terminal-topbar span:nth-child(2) {
    background: var(--accent-purple);
}

.terminal-topbar span:nth-child(3) {
    background: var(--accent-green);
}

.terminal-topbar strong {
    margin-left: auto;
    font-weight: 500;
    color: var(--text-primary);
}

.terminal-body {
    padding: 1.35rem 0.9rem 1.6rem;
    display: grid;
    gap: 0.9rem;
}

.terminal-line {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 1rem;
    align-items: start;
    font-family: var(--font-mono);
    font-size: 0.83rem;
    color: var(--text-primary);
}

.terminal-key {
    color: var(--accent-cyan);
}

.terminal-success span:last-child {
    color: var(--accent-green);
}

.showcase-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    padding: 0.9rem;
}

.metric-ring {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.15rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, var(--bg-primary) 0 55%, transparent 57%),
        conic-gradient(var(--accent-cyan) calc(var(--value) * 1%), rgba(255, 255, 255, 0.08) 0);
    box-shadow: inset 0 0 22px rgba(0, 245, 255, 0.08);
}

.metric-ring span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
}

.metric-ring small {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08rem;
}

@keyframes orbitPulse {
    0%, 100% { transform: scale(1); opacity: 0.55; }
    50% { transform: scale(1.45); opacity: 1; }
}

.tech-ticker {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-block: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.tech-ticker::before,
.tech-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    width: 14%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.tech-ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.tech-ticker::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-primary), transparent);
}

.ticker-track {
    display: flex;
    width: max-content;
    gap: 1rem;
    padding: 1.1rem 0;
    animation: tickerMove 28s linear infinite;
    will-change: transform;
}

.ticker-track span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    padding: 0.45rem 1.1rem;
    border: 1px solid rgba(0, 245, 255, 0.14);
    border-radius: 999px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    background: rgba(0, 245, 255, 0.04);
}

@keyframes tickerMove {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    animation: fadeInUp 0.8s ease 1.2s both;
}

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

.scroll-dot {
    width: 4px;
    height: 10px;
    background: var(--accent-cyan);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

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

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

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all var(--transition-spring);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--gradient-main);
    background-size: 200% 200%;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 245, 255, 0.2), 0 0 40px rgba(139, 92, 246, 0.1);
    animation: gradientShift 4s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 35px rgba(0, 245, 255, 0.35), 0 0 60px rgba(139, 92, 246, 0.15);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

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

.btn-ghost:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.05);
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
}

.btn-lg {
    padding: 1.1rem 3rem;
    font-size: 1.1rem;
    border-radius: 16px;
}

/* ══════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════ */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 3rem 10%;
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

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

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.5rem;
    font-family: var(--font-mono);
    font-weight: 500;
}

/* ══════════════════════════════════════════
   SECTIONS — COMMON
   ══════════════════════════════════════════ */
.section {
    padding: 120px 10%;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-heading);
    letter-spacing: 0;
}

.section-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-subtle), transparent);
    max-width: 350px;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-cyan);
}

/* ══════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════ */
.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

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

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

.about-subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-heading);
    margin-bottom: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-subtitle i {
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

.about-certifications {
    margin-bottom: 2.5rem;
}

.about-extras {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Cert Cards */
.cert-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
}

.cert-card:hover {
    transform: translateX(8px);
}

.cert-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.cert-icon i {
    font-size: 1.4rem;
    color: var(--accent-cyan);
}

.cert-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-heading);
    font-weight: 600;
}

.cert-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Pills */
.pills-group {
    margin-bottom: 1rem;
}

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

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid rgba(0, 245, 255, 0.12);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    transition: all var(--transition-base);
    font-weight: 500;
}

.pill:hover {
    background: rgba(0, 245, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 245, 255, 0.1);
}

/* ══════════════════════════════════════════
   SKILLS / TECH STACK
   ══════════════════════════════════════════ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.skill-category-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-heading);
    margin-bottom: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.skill-category-title i {
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: default;
    transition: all var(--transition-spring);
}

.skill-item i {
    font-size: 1.3rem;
    color: var(--accent-cyan);
    transition: all var(--transition-base);
}

.skill-item:hover {
    transform: translateY(-4px) scale(1.03);
    background: rgba(0, 245, 255, 0.06);
    border-color: var(--accent-cyan);
    box-shadow: 0 8px 25px rgba(0, 245, 255, 0.12);
}

.skill-item:hover i {
    transform: scale(1.2) rotate(-5deg);
    color: var(--accent-pink);
}

/* ══════════════════════════════════════════
   EXPERIENCE — TIMELINE
   ══════════════════════════════════════════ */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink), transparent);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

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

.timeline-marker {
    position: absolute;
    left: -33px;
    top: 2rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-cyan);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.5), 0 0 30px rgba(0, 245, 255, 0.2);
    z-index: 2;
}

.timeline-content {
    padding: 2rem 2.5rem;
}

.timeline-content:hover {
    transform: translateX(8px);
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.timeline-date i {
    font-size: 0.9rem;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.timeline-company {
    font-size: 1rem;
    color: var(--accent-purple);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.timeline-company i {
    font-size: 0.9rem;
}

.timeline-list {
    margin-bottom: 1.5rem;
}

.timeline-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.timeline-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 1rem;
}

/* Tech Tags */
.timeline-tags,
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.25rem 0.8rem;
    background: rgba(0, 245, 255, 0.06);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ══════════════════════════════════════════
   PROJECTS
   ══════════════════════════════════════════ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.project-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all var(--transition-spring);
}

.project-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0,245,255,0.04), transparent, rgba(139,92,246,0.04), transparent);
    animation: rotateGlow 10s linear infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
}

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

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 245, 255, 0.08), var(--shadow-neon);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.project-icon i {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    transition: all var(--transition-base);
}

.project-card:hover .project-icon i {
    color: var(--accent-pink);
    transform: rotate(-5deg) scale(1.1);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: all var(--transition-base);
}

.project-link:hover {
    color: var(--accent-cyan);
    transform: translateY(-3px);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-heading);
    margin-bottom: 1rem;
    font-weight: 700;
    transition: color var(--transition-base);
}

.project-card:hover .project-title {
    color: var(--accent-cyan);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
    font-size: 0.9rem;
    line-height: 1.7;
}

.project-description li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.project-description li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

/* ══════════════════════════════════════════
   EDUCATION
   ══════════════════════════════════════════ */
.education-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.edu-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.edu-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.edu-card:hover {
    transform: translateX(8px);
}

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

.edu-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.edu-icon i {
    font-size: 1.4rem;
    color: var(--accent-cyan);
}

.edu-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-heading);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.edu-info h4 {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 0.4rem;
}

.edu-year {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.edu-year i {
    font-size: 0.85rem;
}

/* ══════════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════════ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
}

.contact-card:hover {
    transform: translateX(8px);
}

.contact-card > i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.contact-card-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-mono);
    font-weight: 500;
}

.contact-card-value {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-mono);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-base);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-cyan);
    background: rgba(0, 245, 255, 0.03);
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.08);
}

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

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

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer {
    text-align: center;
    padding: 3rem 10%;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border-subtle);
}

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

footer p:last-child {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    opacity: 0.5;
}

/* ══════════════════════════════════════════
   THANK YOU PAGE
   ══════════════════════════════════════════ */
.thankyou-page {
    min-height: 100vh;
}

.thankyou-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.thankyou-card {
    width: min(100%, 620px);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card), var(--shadow-neon-strong);
}

.thankyou-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 245, 255, 0.18), transparent 45%),
        linear-gradient(135deg, rgba(139, 92, 246, 0.12), transparent 40%);
    pointer-events: none;
}

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

.thankyou-icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 50%;
    background: rgba(0, 245, 255, 0.06);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: var(--shadow-neon);
}

.thankyou-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.thankyou-message {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.thankyou-submessage {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2.3rem;
}

.thankyou-btn {
    justify-content: center;
}

/* ══════════════════════════════════════════
   SIDE ELEMENTS
   ══════════════════════════════════════════ */
.side-email,
.side-socials {
    position: fixed;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.side-line {
    width: 1px;
    height: 90px;
    background: var(--text-secondary);
}

.side-email {
    right: 3%;
}

.side-email a {
    writing-mode: vertical-rl;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all var(--transition-base);
}

.side-email a:hover {
    color: var(--accent-cyan);
    transform: translateY(-5px);
}

.side-socials {
    left: 3%;
}

.side-socials a {
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: all var(--transition-base);
}

.side-socials a:hover {
    color: var(--accent-cyan);
    transform: translateY(-5px);
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

/* ══════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-spring);
    box-shadow: 0 4px 20px rgba(0, 245, 255, 0.25);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 245, 255, 0.4);
}

/* ══════════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 1200px
   ══════════════════════════════════════════ */
@media (max-width: 1200px) {
    .hero { padding: 0 7%; }
    .hero-content { gap: 3rem; }
    .section { padding: 100px 7%; }
    .stats-bar { padding: 3rem 7%; }
    .about-content { gap: 3rem; }
    .contact-wrapper { gap: 3rem; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 900px
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
    /* ── MOBILE PERFORMANCE: Disable ALL heavy GPU effects ── */

    /* 1) Kill backdrop-filter everywhere */
    header.scrolled,
    .mobile-nav,
    .tech-ticker,
    .glass-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    header.scrolled {
        background: rgba(5, 5, 16, 0.98);
    }
    .mobile-nav {
        background: rgba(5, 5, 16, 1);
    }
    /* Solid bg for glass-card since backdrop-filter is off */
    .glass-card {
        background: rgba(15, 15, 35, 0.85);
    }
    .glass-card:hover {
        background: rgba(20, 20, 45, 0.9);
    }

    /* 2) HIDE floating orbs — filter:blur(100px) on 600px divs is GPU suicide on mobile */
    .orb {
        display: none !important;
    }

    /* 3) Kill heavy CSS animations */
    .orb-1, .orb-2, .orb-3 {
        animation: none;
    }
    .showcase-orbit::before,
    .showcase-orbit::after {
        animation: none;
    }
    .project-glow {
        animation: none;
        display: none;
    }
    .btn-primary {
        background-size: 100% 100%;
        animation: none;
    }
    .logo {
        animation: none;
    }
    .gradient-text {
        animation: none;
    }

    /* 4) Add containment for better paint performance */
    .section {
        contain: layout style paint;
    }

    /* 5) Disable hover transforms (no hover on touch devices) */
    .project-card:hover {
        transform: none;
        box-shadow: var(--shadow-card);
    }
    .skill-item:hover {
        transform: none;
    }
    .cert-card:hover,
    .edu-card:hover,
    .timeline-content:hover,
    .contact-card:hover {
        transform: none;
    }
    .pill:hover {
        transform: none;
    }

    .nav-links { display: none; }
    .menu-toggle { display: flex; }

    .hero { padding: 7rem 5% 4rem; }
    .hero-content { grid-template-columns: 1fr; gap: 3rem; }
    .hero-copy { max-width: 720px; }
    .hero-name { font-size: 3.5rem; letter-spacing: 0; }
    .hero-typewriter { font-size: 1.5rem; }
    .hero-showcase { min-height: auto; justify-content: flex-start; }
    .showcase-card {
        max-width: 520px;
        box-shadow: var(--shadow-card);
    }
    .scroll-indicator { display: none; }

    .section { padding: 80px 5%; }
    .section-title { font-size: 2.2rem; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 2rem 5%; }

    .about-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-extras { grid-template-columns: 1fr; gap: 2rem; }

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

    .timeline { padding-left: 30px; }
    .timeline::before { left: 10px; }
    .timeline-marker { left: -28px; width: 12px; height: 12px; }
    .timeline-content { padding: 1.5rem; }

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

    .contact-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }

    .cursor-glow { display: none; }
    .side-email, .side-socials { display: none; }

    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 600px
   ══════════════════════════════════════════ */
@media (max-width: 600px) {
    .hero { padding-top: 6.5rem; }
    .hero-name { font-size: 2.8rem; letter-spacing: 0; }
    .hero-typewriter { font-size: 1.2rem; min-height: 2.5rem; }
    .hero-description { font-size: 1rem; }
    .showcase-card { padding: 0.9rem; }
    .terminal-line { grid-template-columns: 1fr; gap: 0.25rem; }
    .showcase-metrics { gap: 0.5rem; padding: 0.7rem; }
    .metric-ring span { font-size: 0.9rem; }
    .metric-ring small { font-size: 0.55rem; }
    .ticker-track { animation-duration: 20s; }
    .section-title { font-size: 1.8rem; gap: 0.6rem; }
    .section-title::after { display: none; }
    .stats-bar { gap: 1rem; }
    .stat-card { padding: 1.5rem 1rem; }
    .stat-number { font-size: 2.2rem; }
    .timeline-title { font-size: 1.2rem; }
    .contact-form { padding: 1.5rem; }
    .edu-card { padding: 1.5rem; flex-direction: column; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 480px
   ══════════════════════════════════════════ */
@media (max-width: 480px) {
    .hero-name { font-size: 2.2rem; }
    .hero-badge { font-size: 0.8rem; padding-inline: 1rem; }
    .showcase-metrics { grid-template-columns: 1fr 1fr 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .skill-items { grid-template-columns: 1fr; }
    .contact-cards { gap: 0.8rem; }
    .contact-card { padding: 1rem; }
    .project-card { padding: 1.5rem; }
    .mobile-nav-link { font-size: 1.5rem; }
}

/* ══════════════════════════════════════════
   ACCESSIBILITY: 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;
    }
    .orb { display: none !important; }
    #particles { display: none !important; }
}
