/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --bg: #0a0a0b;
    --bg-card: #111113;
    --bg-card-hover: #161618;
    --border: rgba(255, 255, 255, 0.06);
    --text: #f5f5f7;
    --text-secondary: rgba(255, 255, 255, 0.5);
    --text-tertiary: rgba(255, 255, 255, 0.3);
    --accent-1: #6c5ce7;
    --accent-2: #a29bfe;
    --accent-3: #00cec9;
    --gradient: linear-gradient(135deg, #6c5ce7, #a29bfe, #00cec9);
    --gradient-hover: linear-gradient(135deg, #a29bfe, #6c5ce7, #00cec9);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
    --nav-height: 72px;
}

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

html {
    scroll-behavior: auto; /* Lenis handles smooth scroll */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea { font: inherit; color: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container { padding: 0 48px; }
}

/* Selection */
::selection {
    background: var(--accent-1);
    color: #fff;
}

/* ============================================
   NOISE OVERLAY
   ============================================ */
.noise {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient);
    z-index: 10001;
    transition: none;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), background 0.3s;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease-out-expo), height 0.4s var(--ease-out-expo), border-color 0.3s, background 0.3s;
}

.cursor.hovering {
    width: 48px;
    height: 48px;
    background: rgba(108, 92, 231, 0.15);
    mix-blend-mode: normal;
}

.cursor-follower.hovering {
    width: 56px;
    height: 56px;
    border-color: var(--accent-1);
    background: rgba(108, 92, 231, 0.05);
}

@media (pointer: coarse) {
    .cursor, .cursor-follower { display: none; }
}

/* ============================================
   LOADER
   ============================================ */
#loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

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

.loader-inner {
    text-align: center;
    position: relative;
}

.loader-text {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    display: flex;
    gap: 4px;
}

.loader-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(90deg);
    animation: letterIn 0.6s var(--ease-out-expo) forwards;
}

.loader-letter[data-delay="0"] { animation-delay: 0.1s; }
.loader-letter[data-delay="1"] { animation-delay: 0.17s; }
.loader-letter[data-delay="2"] { animation-delay: 0.24s; }
.loader-letter[data-delay="3"] { animation-delay: 0.31s; }
.loader-letter[data-delay="4"] { animation-delay: 0.38s; }
.loader-letter[data-delay="5"] { animation-delay: 0.45s; }

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

.loader-line {
    width: 0%;
    height: 2px;
    background: var(--gradient);
    margin: 0 auto 20px;
    animation: lineGrow 1.8s var(--ease-out-expo) 0.3s forwards;
}

@keyframes lineGrow {
    to { width: 100%; }
}

.loader-counter {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 16px;
    opacity: 0;
    animation: fadeIn 0.4s 0.5s forwards;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 10, 11, 0.8);
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease-out-expo), background 0.3s;
}

.nav.visible {
    transform: translateY(0);
}

.nav.scrolled {
    background: rgba(10, 10, 11, 0.95);
}

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

@media (min-width: 768px) {
    .nav-inner { padding: 0 48px; }
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    display: inline-block;
}

.logo-bracket { color: var(--accent-1); }
.logo-slash { color: var(--accent-3); }

.nav-links {
    display: none;
    gap: 32px;
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s var(--ease-out-expo);
}

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

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

.nav-cta {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--gradient);
    color: #fff;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}

.nav-cta:hover {
    box-shadow: 0 4px 24px rgba(108, 92, 231, 0.4);
}

@media (min-width: 768px) {
    .nav-cta { display: flex; }
}

/* Nav Toggle (mobile) */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s var(--ease-out-expo), opacity 0.3s;
    border-radius: 2px;
}

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

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

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

@media (min-width: 768px) {
    .nav-toggle { display: none; }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10, 10, 11, 0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s;
    transform: translateY(20px);
    opacity: 0;
}

.mobile-menu.active .mobile-link {
    animation: mobileSlideIn 0.5s var(--ease-out-expo) forwards;
}

.mobile-menu.active .mobile-link:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.active .mobile-link:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(6) { animation-delay: 0.3s; }

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

.mobile-cta {
    margin-top: 16px;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    background: var(--gradient);
    color: #fff;
    opacity: 0;
}

.mobile-menu.active .mobile-cta {
    animation: fadeIn 0.5s 0.35s forwards;
}

.mobile-link:hover { color: var(--text); }

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

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

#hero-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.hero-gradient {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(108, 92, 231, 0.12), transparent),
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(0, 206, 201, 0.08), transparent),
        radial-gradient(ellipse 80% 40% at 50% 100%, rgba(10, 10, 11, 1), transparent);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00d26a;
    animation: pulse-dot 2s infinite;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.title-line {
    overflow: hidden;
    padding-bottom: 4px;
}

.title-word {
    display: inline-block;
}

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

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

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--accent-2);
}

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

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

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
}

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

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.btn-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover .btn-shine {
    left: 100%;
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
}

.scroll-line {
    width: 2px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* ============================================
   SECTIONS (SHARED)
   ============================================ */
.section {
    padding: 120px 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-top: 16px;
    line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

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

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

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-card {
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease-out-expo);
}

.about-card:hover {
    border-color: rgba(108, 92, 231, 0.3);
    background: var(--bg-card-hover);
}

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

.card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-2);
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   EXPERIENCE / TIMELINE
   ============================================ */
.timeline {
    position: relative;
    padding-left: 32px;
}

@media (min-width: 768px) {
    .timeline { padding-left: 48px; }
}

.timeline-line {
    position: absolute;
    left: 7px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-1), var(--border));
}

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

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

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 28px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-1);
    border: 3px solid var(--bg);
}

@media (min-width: 768px) {
    .timeline-dot { left: -48px; }
}

.timeline-pulse {
    position: absolute;
    top: -4px; left: -4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--accent-1);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.timeline-card {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: border-color 0.3s, background 0.3s;
}

.timeline-card:hover {
    border-color: rgba(108, 92, 231, 0.2);
    background: var(--bg-card-hover);
}

.timeline-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .timeline-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.timeline-company {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
}

.timeline-role {
    font-size: 0.9rem;
    color: var(--accent-2);
    font-weight: 500;
}

.timeline-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

@media (min-width: 768px) {
    .timeline-meta { align-items: flex-end; }
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.timeline-location {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.timeline-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

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

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

.timeline-tags, .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s, color 0.3s;
}

.tag:hover {
    border-color: var(--accent-1);
    color: var(--accent-2);
}

/* ============================================
   PROJECTS
   ============================================ */
.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s, background 0.4s;
}

@media (min-width: 900px) {
    .project-card {
        grid-template-columns: 1.2fr 1fr;
        gap: 48px;
    }
}

.project-card:hover {
    border-color: rgba(108, 92, 231, 0.2);
    background: var(--bg-card-hover);
}

.project-number {
    position: absolute;
    top: 24px;
    right: 32px;
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    pointer-events: none;
}

.project-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.project-category {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-3);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.project-links {
    display: flex;
    gap: 12px;
}

.project-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.project-link:hover {
    border-color: var(--accent-1);
    color: var(--text);
    background: rgba(108, 92, 231, 0.1);
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.project-subtitle {
    font-size: 0.95rem;
    color: var(--accent-2);
    margin-bottom: 16px;
}

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

.project-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.feature {
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-1);
    display: block;
    margin-bottom: 6px;
}

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

/* Project Mockups */
.project-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-mockup {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(17, 17, 19, 0.8);
    overflow: hidden;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

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

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28ca41; }

.mockup-url {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-tertiary);
}

.mockup-body {
    padding: 20px;
}

/* FinShield Mockup */
.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
    margin-bottom: 16px;
}

.chart-bar {
    flex: 1;
    height: var(--h);
    background: linear-gradient(to top, var(--accent-1), var(--accent-2));
    border-radius: 4px 4px 0 0;
    opacity: 0;
    animation: barGrow 0.6s var(--ease-out-expo) forwards;
    animation-play-state: paused;
}

.chart-bar.alert {
    background: linear-gradient(to top, #e74c3c, #e67e22);
}

.project-card:hover .chart-bar {
    animation-play-state: running;
}

.chart-bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.3s; }
.chart-bar:nth-child(4) { animation-delay: 0.4s; }
.chart-bar:nth-child(5) { animation-delay: 0.5s; }
.chart-bar:nth-child(6) { animation-delay: 0.6s; }
.chart-bar:nth-child(7) { animation-delay: 0.7s; }

@keyframes barGrow {
    from { opacity: 0; transform: scaleY(0); }
    to { opacity: 1; transform: scaleY(1); }
}

.mockup-stats {
    display: flex;
    gap: 16px;
}

.mockup-stat {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.15);
    text-align: center;
}

.mockup-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-2);
}

.mockup-stat-label {
    font-size: 0.65rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Media Mockup */
.mockup-grid-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.grid-item {
    aspect-ratio: 1;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(0, 206, 201, 0.1));
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease-out-expo);
    animation: gridPulse 3s infinite;
}

.grid-item:nth-child(2) { animation-delay: 0.5s; }
.grid-item:nth-child(3) { animation-delay: 1s; }
.grid-item:nth-child(4) { animation-delay: 1.5s; }
.grid-item:nth-child(5) { animation-delay: 2s; }
.grid-item:nth-child(6) { animation-delay: 2.5s; }

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

/* ============================================
   SKILLS
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .skills-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

.skill-group {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: border-color 0.3s;
}

.skill-group:hover {
    border-color: rgba(108, 92, 231, 0.2);
}

.skill-group-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-group-title svg {
    color: var(--accent-2);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: block;
}

.skill-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.skill-bar {
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--gradient);
    width: 0%;
    transition: width 1.2s var(--ease-out-expo);
}

.skill-fill.animated {
    width: calc(var(--w) * 1%);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out-expo);
}

.contact-item:hover {
    border-color: rgba(108, 92, 231, 0.3);
    background: var(--bg-card-hover);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(108, 92, 231, 0.1);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent-2);
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

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

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

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 0 8px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

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

.form-group label {
    position: absolute;
    top: 16px;
    left: 0;
    font-size: 0.95rem;
    color: var(--text-tertiary);
    pointer-events: none;
    transition: all 0.3s var(--ease-out-expo);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -8px;
    font-size: 0.7rem;
    color: var(--accent-2);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.4s var(--ease-out-expo);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.btn-submit {
    align-self: flex-start;
}

.btn-submit svg {
    transition: transform 0.3s var(--ease-out-expo);
}

.btn-submit:hover svg {
    transform: translate(4px, -4px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
}

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

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .footer-right { align-items: flex-end; }
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.3s var(--ease-out-expo);
}

.footer-social:hover {
    border-color: var(--accent-1);
    color: var(--text);
    background: rgba(108, 92, 231, 0.1);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SMOOTH SCROLL BAR
   ============================================ */
::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 480px) {
    .section { padding: 80px 0; }
    .hero-stats { gap: 16px; }
    .stat-divider { height: 32px; }
    .project-card { padding: 24px; }
    .timeline-card { padding: 20px; }
    .skill-group { padding: 20px; }
}
