/* ===== CSS Variables ===== */
:root {
    --color-bg: #0a1628;
    --color-bg-alt: #0d1e36;
    --color-surface: #132742;
    --color-border: #1e3a5f;
    --color-text: #f0f4f8;
    --color-text-muted: #8ba3bc;
    --color-primary: #d4a574;
    --color-primary-hover: #e6bc8a;
    --color-accent: #c9956c;
    --color-gold: #d4a574;
    --color-copper: #b87333;
    --color-navy-light: #1e3a5f;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
    --glow-gold: 0 0 30px rgba(212, 165, 116, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

ul {
    list-style: none;
}

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

/* ===== Premium UI Elements ===== */

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(
        circle,
        rgba(212, 165, 116, 0.08) 0%,
        rgba(212, 165, 116, 0.04) 30%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    will-change: left, top;
}

.cursor-glow.active {
    opacity: 1;
}

/* Disable on touch devices */
@media (hover: none) {
    .cursor-glow {
        display: none;
    }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-copper));
    width: 0%;
    z-index: 10001;
    transform-origin: left;
    box-shadow: 0 0 10px rgba(212, 165, 116, 0.5);
}

/* ===== Layout ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0;
    transition: var(--transition-medium);
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-fast);
}

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

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

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--color-border);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.mobile-nav.active .mobile-nav-links a {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav.active .mobile-nav-links a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active .mobile-nav-links a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.active .mobile-nav-links a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.active .mobile-nav-links a:nth-child(4) { transition-delay: 0.25s; }

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 120px 24px 140px;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 165, 116, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(184, 115, 51, 0.04) 0%, transparent 40%),
        var(--color-bg);
}

/* Hero Floating Decorative Shapes */
.hero-decorations {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    will-change: transform;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
    top: 10%;
    left: -10%;
    animation: float1 20s ease-in-out infinite;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-copper) 0%, transparent 70%);
    top: 60%;
    right: -5%;
    animation: float2 25s ease-in-out infinite;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.5) 0%, transparent 70%);
    bottom: 20%;
    left: 30%;
    animation: float3 18s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -20px) scale(1.1); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -30px); }
}

.hero-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.hero-image {
    flex-shrink: 0;
}

.headshot {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-gold);
    box-shadow: 0 0 40px rgba(212, 165, 116, 0.2);
}

@media (max-width: 768px) {
    .headshot {
        width: 140px;
        height: 140px;
    }
}

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

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-copper));
    color: #0a1628;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-gold);
}

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

.btn-secondary:hover {
    background: var(--color-surface);
    border-color: var(--color-primary);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 60px; }
    50% { opacity: 1; height: 80px; }
}

@media (max-width: 768px) {
    .hero-scroll {
        display: none;
    }
}

/* ===== Stats Section ===== */
.stats {
    padding: 60px 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

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

.stat-card {
    text-align: center;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-gold), var(--color-copper));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

    .stat-label {
        font-size: 0.75rem;
    }
}

/* ===== About Section ===== */
.about {
    background: var(--color-bg-alt);
}

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

.about-text p {
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.about-text .about-lead {
    font-size: 1.25rem;
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.6;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition-medium);
}

.highlight-card:hover {
    border-color: var(--color-primary);
    transform: translateX(8px);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    color: var(--color-gold);
}

.highlight-icon svg {
    width: 100%;
    height: 100%;
}

.highlight-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.highlight-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ===== Scale Section ===== */
.scale {
    background: var(--color-bg);
}

.scale-content {
    max-width: 900px;
    margin: 0 auto;
}

.scale-lead {
    font-size: 1.25rem;
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: center;
}

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

.scale-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition-medium);
}

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

.scale-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: var(--color-text);
}

.scale-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Wins Section ===== */
.wins {
    background: var(--color-bg-alt);
}

.wins-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.win-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition-medium);
}

.win-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

.win-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.win-impact {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.win-content p {
    margin-bottom: 16px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.win-content p:last-child {
    margin-bottom: 0;
}

.win-content strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Gradient Border Glow Effect for Premium Cards */
.win-card,
.scale-card,
.skill-card {
    position: relative;
    z-index: 1;
}

.win-card::before,
.scale-card::before,
.skill-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        var(--color-gold),
        var(--color-copper),
        var(--color-gold),
        var(--color-copper)
    );
    background-size: 300% 300%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.win-card:hover::before,
.scale-card:hover::before,
.skill-card:hover::before {
    opacity: 1;
    animation: gradientShift 3s ease infinite;
}

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

/* Ensure card backgrounds cover the gradient */
.win-card,
.scale-card,
.skill-card {
    background: var(--color-surface);
}

/* ===== Experience Section ===== */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline-line {
    position: absolute;
    left: 7px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent), transparent);
    transform-origin: top;
    transform: scaleY(0);
}

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

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

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 6px;
    width: 16px;
    height: 16px;
    background: var(--color-bg);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-marker {
    background: var(--color-primary);
    box-shadow: 0 0 20px var(--color-primary);
}

.timeline-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 28px;
    transition: var(--transition-medium);
}

.timeline-item:hover .timeline-content {
    border-color: var(--color-primary);
    transform: translateX(8px);
}

.timeline-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 16px;
}

.timeline-context {
    font-size: 0.95rem;
    color: var(--color-primary);
    font-style: italic;
    margin-bottom: 16px;
    padding-left: 20px;
    border-left: 3px solid var(--color-primary);
}

.timeline-content ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-content li {
    position: relative;
    padding-left: 20px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

/* ===== Education Section ===== */
.education {
    background: var(--color-bg-alt);
}

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

.education-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition-medium);
}

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

.education-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.education-card .degree {
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 4px;
}

.education-card .focus {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.education-card .details {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

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

.skill-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition-medium);
}

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

.skill-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.skill-icon svg {
    width: 100%;
    height: 100%;
}

.skill-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.skill-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Future Section ===== */
.future {
    background: var(--color-bg-alt);
}

.future-content {
    max-width: 800px;
    margin: 0 auto;
}

.future-content p {
    margin-bottom: 24px;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.future-content p:last-child {
    margin-bottom: 0;
}

.future-lead {
    font-size: 1.25rem;
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--color-bg-alt);
    text-align: center;
}

.contact-intro {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.contact-link:hover {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.contact-link svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

/* ===== Footer ===== */
.footer {
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-link {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-highlights {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .highlight-card {
        flex: 1;
        min-width: 200px;
    }

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

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

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

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

    .win-header h3 {
        font-size: 1.3rem;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-marker {
        left: -30px;
        width: 12px;
        height: 12px;
    }

    .timeline-content {
        padding: 20px;
    }

    .highlight-card {
        min-width: 100%;
    }

    .about-highlights {
        flex-direction: column;
    }

    .win-card {
        padding: 24px;
    }

    .win-header h3 {
        font-size: 1.2rem;
    }

    .win-content p {
        font-size: 0.95rem;
    }
}

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

    .hero-greeting {
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 1.15rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .contact-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ===== Accessibility & Performance ===== */

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

    .cursor-glow,
    .hero-decorations {
        display: none;
    }

    .scroll-progress {
        display: none;
    }
}

/* No JavaScript Fallback - ensure all content is visible */
.no-js .hero-image,
.no-js .hero-greeting,
.no-js .hero-name,
.no-js .hero-title,
.no-js .hero-subtitle,
.no-js .hero-cta,
.no-js .hero-scroll,
.no-js .timeline-line,
.no-js .stat-number,
.no-js .section-title,
.no-js .skill-card,
.no-js .stat-card,
.no-js .scale-card,
.no-js .education-card,
.no-js .highlight-card,
.no-js .win-card,
.no-js .timeline-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
}

.no-js .cursor-glow,
.no-js .scroll-progress {
    display: none;
}

.no-js .timeline-line {
    transform: scaleY(1);
}

/* Disable hero shapes on mobile for performance */
@media (max-width: 768px) {
    .hero-shape {
        opacity: 0.15;
        filter: blur(40px);
    }
}
