/* ============================================
   PROFESSIONAL UX PORTFOLIO - DESIGN SYSTEM
   Enhanced Readability | Consistent Sizing | Beautiful Colors
   ============================================ */

/* ============================================
   DARK MODE (Default) - Deep Navy & Electric Blue
   ============================================ */
:root {
    /* Primary Colors - Professional & Modern */
    --primary: #5B7FFF;
    --primary-dark: #4865D9;
    --primary-light: #7D9BFF;
    --secondary: #FF6B9D;
    --accent: #FFA726;
    --success: #4CAF50;
    --warning: #FFB74D;
    --error: #EF5350;
    
    /* Dark Mode - Improved Contrast */
    --bg-primary: #0A0E27;
    --bg-secondary: #151B38;
    --bg-tertiary: #1E2749;
    --bg-card: #1A2238;
    
    /* Text - High Contrast for Readability */
    --text-primary: #FFFFFF;
    --text-secondary: #B8C5D6;
    --text-muted: #8B9AB5;
    
    /* Borders & Overlays */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(91, 127, 255, 0.2);
    --border-strong: rgba(91, 127, 255, 0.4);
    
    /* Card Styling */
    --card-bg: rgba(26, 34, 56, 0.6);
    --card-bg-solid: #1A2238;
    --card-border: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(91, 127, 255, 0.08);
    
    /* Gradients - Vibrant & Professional */
    --gradient-primary: linear-gradient(135deg, #5B7FFF 0%, #8B5CF6 100%);
    --gradient-warm: linear-gradient(135deg, #FF6B9D 0%, #FFA726 100%);
    --gradient-cool: linear-gradient(135deg, #4FC3F7 0%, #29B6F6 100%);
    --gradient-success: linear-gradient(135deg, #66BB6A 0%, #4CAF50 100%);
    
    /* Shadows - Depth & Elevation */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(91, 127, 255, 0.3);
    
    /* Spacing Scale */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   LIGHT MODE - Warm Cream & Vibrant Orange
   ============================================ */
[data-theme="light"] {
    /* Primary Colors - Warm & Energetic */
    --primary: #FF6B35;
    --primary-dark: #E8590C;
    --primary-light: #FF8F66;
    --secondary: #9D4EDD;
    --accent: #06B6D4;
    --success: #059669;
    --warning: #F59E0B;
    --error: #DC2626;
    
    /* Light Mode - Warm Neutrals */
    --bg-primary: #FFFBF5;
    --bg-secondary: #FFF5EB;
    --bg-tertiary: #FFEDD5;
    --bg-card: #FFFFFF;
    
    /* Text - Maximum Contrast */
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-muted: #737373;
    
    /* Borders & Overlays */
    --border-subtle: rgba(255, 107, 53, 0.12);
    --border-medium: rgba(255, 107, 53, 0.25);
    --border-strong: rgba(255, 107, 53, 0.4);
    
    /* Card Styling */
    --card-bg: #FFFFFF;
    --card-bg-solid: #FFFFFF;
    --card-border: rgba(255, 107, 53, 0.15);
    --card-hover: rgba(255, 107, 53, 0.05);
    
    /* Gradients - Vibrant Light Mode */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8F66 100%);
    --gradient-warm: linear-gradient(135deg, #F472B6 0%, #EC4899 100%);
    --gradient-cool: linear-gradient(135deg, #38BDF8 0%, #06B6D4 100%);
    --gradient-success: linear-gradient(135deg, #34D399 0%, #059669 100%);
    
    /* Shadows - Subtle Light Mode */
    --shadow-sm: 0 2px 8px rgba(255, 107, 53, 0.08);
    --shadow-md: 0 4px 20px rgba(255, 107, 53, 0.12);
    --shadow-lg: 0 8px 40px rgba(255, 107, 53, 0.15);
    --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.2);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

html.theme-transitioning,
html.theme-transitioning * {
    transition: background-color 0.3s ease, 
                color 0.3s ease, 
                border-color 0.3s ease,
                box-shadow 0.3s ease !important;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   ANIMATED BACKGROUND - Subtle & Professional
   ============================================ */
.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    animation: float 25s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: var(--gradient-warm);
    bottom: -300px;
    right: -300px;
    animation-delay: -8s;
}

.orb-3 {
    width: 550px;
    height: 550px;
    background: var(--gradient-cool);
    top: 50%;
    left: 50%;
    animation-delay: -16s;
}

[data-theme="light"] .orb {
    opacity: 0.04;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(60px, -60px) scale(1.1); }
    50% { transform: translate(-40px, 40px) scale(0.9); }
    75% { transform: translate(40px, 60px) scale(1.05); }
}

/* ============================================
   CUSTOM CURSOR - DISABLED
   ============================================ */
.cursor-dot {
    display: none !important;
}

/* ============================================
   NAVIGATION - Fixed & Glassmorphic
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
    transition: all var(--transition-base);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 2px 16px rgba(255, 107, 53, 0.06);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

.nav-link {
    position: relative;
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 12px;
    transition: all var(--transition-base);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

/* Theme Toggle - Enhanced Visibility */
.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: transparent;
    border: 2px solid var(--accent);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.theme-toggle:hover {
    border-color: var(--accent-hover);
    transform: scale(1.05);
}

.toggle-track {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 30px;
}

.toggle-indicator {
    position: absolute;
    width: 22px;
    height: 22px;
    background: var(--accent);
    border-radius: 50%;
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.toggle-indicator::after {
    content: '🌙';
}

[data-theme="light"] .toggle-indicator {
    left: calc(100% - 25px);
}

[data-theme="light"] .toggle-indicator::after {
    content: '☀️';
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
    overflow: visible;
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem; /* Less gap */
    padding: 6rem 0 2rem; /* Less bottom padding */
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 650px; /* Slightly wider */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(91, 127, 255, 0.1);
    border: 1px solid var(--border-medium);
    border-radius: 999px;
    margin-bottom: 2rem;
}

[data-theme="light"] .hero-badge {
    background: rgba(255, 107, 53, 0.1);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.badge-text {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem); /* Much smaller */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem; /* Less space */
    overflow: visible;
    word-wrap: break-word;
}

.hero-intro {
    display: block;
    font-size: 0.85rem; /* Smaller "Hello, I'm" */
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.title-line {
    display: block;
    margin: 0.2rem 0; /* Tighter spacing */
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1rem; /* Smaller description */
    color: var(--text-secondary);
    line-height: 1.6; /* Tighter line height */
    margin-bottom: 1.5rem; /* Less space */
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Floating Cards */
.hero-visual {
    flex: 1;
    position: relative;
    min-height: 500px;
}

.floating-card {
    position: absolute;
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
}

.floating-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-lg);
}

.card-1 {
    top: 10%;
    left: 8%;
    animation: floatCard 6s infinite ease-in-out;
}

.card-2 {
    top: -15%;
    right: 13%;
    animation: floatCard 6s infinite ease-in-out -2s;
}

.card-3 {
    bottom: 15%;
    left: 4%;
    animation: floatCard 6s infinite ease-in-out -4s;
}


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

.card-icon {
    font-size: 2rem;
    line-height: 1;
}

.card-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.card-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

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

@keyframes scrollDown {
    0%, 100% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; transform: translateY(0); }
}

/* ============================================
   BUTTONS - Consistent & Accessible
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

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

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

.btn-secondary:hover {
    background: var(--card-hover);
    border-color: var(--border-strong);
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

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

/* ============================================
   SECTIONS - Consistent Spacing
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(91, 127, 255, 0.1);
    border: 1px solid var(--border-medium);
    border-radius: 999px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

[data-theme="light"] .section-label {
    background: rgba(255, 107, 53, 0.1);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-section {
    padding: 6rem 0;
}

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

.skill-card {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}

.skill-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 1rem;
}

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

.skill-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.skill-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.skill-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tech span {
    padding: 0.5rem 1rem;
    background: var(--card-hover);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ============================================
   PROJECTS SECTION - FIXED SIZING & CONSISTENCY
   ============================================ */
.projects-hero {
    padding: 8rem 0 4rem;
    text-align: center;
}

.projects-section {
    padding: 0 0 6rem;
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.75rem;
    background: transparent;
    border: 2px solid var(--border-medium);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

/* Projects Grid - FIXED CONSISTENT SIZING */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
    align-items: start;
}

.project-card {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}

/* Project Image Container - FIXED ASPECT RATIO */
.project-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-thumbnail {
    transform: scale(1.05);
}

/* Project Placeholder - For missing images */
.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-gradient-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.project-gradient-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.project-gradient-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.project-gradient-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.project-gradient-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.project-gradient-6 { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }

.project-icon {
    width: 80px;
    height: 80px;
    color: white;
    opacity: 0.6;
}

/* Project Overlay */
.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 39, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

[data-theme="light"] .project-overlay {
    background: rgba(255, 255, 255, 0.95);
}

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

.btn-view {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.btn-view:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Project Content - CONSISTENT PADDING */
.project-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.project-tag {
    padding: 0.375rem 0.875rem;
    background: rgba(91, 127, 255, 0.1);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="light"] .project-tag {
    background: rgba(255, 107, 53, 0.1);
}

.project-year {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.project-stack span {
    padding: 0.5rem 1rem;
    background: var(--card-hover);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Featured Project */
.project-card.featured {
    grid-column: span 1;
    position: relative;
}

.project-card.featured::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.5;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-hero {
    padding: 8rem 0 4rem;
}

.contact-section {
    padding: 0 0 6rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: all var(--transition-base);
}

.info-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.social-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.social-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: 2px solid var(--border-medium);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
}

.social-btn svg {
    width: 24px;
    height: 24px;
}

.social-btn:hover {
    background: var(--card-hover);
    border-color: var(--border-strong);
    transform: translateX(8px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-secondary);
}

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

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

.btn-loading {
    display: none;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: var(--success);
    margin: 0 auto 1.5rem;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.form-success p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}



.footer-left h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-left p {
    color: var(--text-secondary);
}

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

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--border-medium);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

/* ============================================
   CASE STUDY PAGES - PROFESSIONAL STYLING
   ============================================ */
.case-study-hero {
    padding: 8rem 0 4rem;
    text-align: center;
}

.case-study-header {
    max-width: 900px;
    margin: 0 auto;
}

.case-study-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(91, 127, 255, 0.1);
    border: 1px solid var(--border-medium);
    border-radius: 999px;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 600;
}

[data-theme="light"] .case-study-badge {
    background: rgba(255, 107, 53, 0.1);
}

.case-study-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.case-study-subtitle {
    font-size: 1.375rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Project Overview Cards */
.project-overview {
    padding: 3rem 0;
    background: var(--bg-secondary);
    border-radius: 24px;
    margin: 2rem 0 4rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.overview-card {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
}

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

.overview-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.overview-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.overview-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9375rem;
}

/* Case Study Content Sections */
.case-study-content {
    padding: 2rem 0;
}

.content-section {
    margin-bottom: 6rem;
}

.content-section.bg-dark {
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 4rem 2.5rem;
    margin-left: -2.5rem;
    margin-right: -2.5rem;
}

[data-theme="light"] .content-section.bg-dark {
    background: var(--bg-secondary);
}

.section-header-centered {
    text-align: center;
    margin-bottom: 3rem;
}

/* Problem & Solution Grid */
.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.problem-block,
.solution-block {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem;
}

.problem-block {
    border-left: 4px solid var(--error);
}

.solution-block {
    border-left: 4px solid var(--success);
}

.block-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(91, 127, 255, 0.1);
    border: 1px solid var(--border-medium);
    border-radius: 999px;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

[data-theme="light"] .block-label {
    background: rgba(255, 107, 53, 0.1);
}

.block-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.problem-points,
.solution-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-item,
.solution-item {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.problem-icon,
.check-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.problem-item p,
.solution-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Design Process */
.design-process-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.process-step {
    flex: 1;
    text-align: center;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.process-step h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.process-arrow {
    color: var(--primary);
    font-size: 1.5rem;
    opacity: 0.5;
}

/* Featured Image */
.featured-image {
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content Blocks */
.content-block {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.content-block h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.content-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

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

.content-block ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.content-block ul li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.8;
}

.content-block ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Persona Cards */
.persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.persona-card {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-base);
}

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

.persona-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.persona-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.persona-card .persona-role {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.persona-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.metric-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 16px;
}

.metric-item h4 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ============================================
   PRIORITY FRAMEWORK / MOSCOW CARDS
   ============================================ */
.priority-framework {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.priority-card {
    background: var(--card-bg-solid);
    border-radius: 16px;
    padding: 2.5rem;
    border-left: 5px solid;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.priority-card.must-have {
    border-left-color: #EF4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, var(--card-bg-solid) 100%);
}

.priority-card.should-have {
    border-left-color: #F59E0B;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, var(--card-bg-solid) 100%);
}

.priority-card.could-have {
    border-left-color: #10B981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, var(--card-bg-solid) 100%);
}

.priority-card.wont-have {
    border-left-color: #9CA3AF;
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.05) 0%, var(--card-bg-solid) 100%);
}

.priority-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.priority-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.must-have .priority-indicator {
    background: #EF4444;
}

.should-have .priority-indicator {
    background: #F59E0B;
}

.could-have .priority-indicator {
    background: #10B981;
}

.wont-have .priority-indicator {
    background: #9CA3AF;
}

.priority-list {
    list-style: none;
    padding: 0;
}

.priority-list li {
    padding: 1rem 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-subtle);
}

.priority-list li:last-child {
    border-bottom: none;
}

/* ============================================
   USABILITY TESTING RESULTS - BEAUTIFUL CARDS
   ============================================ */
.usability-testing-section {
    margin: 4rem 0;
}

.testing-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.8;
}



.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}


.result-emoji {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.result-details {
    flex: 1;
}

.result-details h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.result-details p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ============================================
   KEY FEATURES - NUMBERED CARDS WITH ICONS
   ============================================ */
.key-features-section {
    margin: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(91, 127, 255, 0.1);
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
}

.feature-icon {
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.core-innovation-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(91, 127, 255, 0.1);
    border: 1px solid var(--border-medium);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-top: 1rem;
}

/* ============================================
   DESIGN & PROTOTYPE PHASES - CLEAN CARDS
   ============================================ */
.design-prototype-section {
    margin: 4rem 0;
}

.design-phases-grid {
    display: grid;
    gap: 3rem;
    margin: 3rem 0;
}

.design-phase-card {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-base);
}

.design-phase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.phase-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.phase-badge.low-fi {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.phase-badge.mid-fi {
    background: rgba(168, 85, 247, 0.1);
    color: #A855F7;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.phase-badge.hi-fi {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.design-phase-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.design-phase-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.phase-arrow {
    text-align: center;
    color: var(--primary);
    font-size: 2rem;
    margin: 1.5rem 0;
    opacity: 0.4;
}

/* CTA Buttons */
.prototype-cta-section {
    text-align: center;
    margin: 3rem 0;
}

.cta-button-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ============================================
   USER PERSONAS - CLEAN CARD LAYOUT
   ============================================ */
.personas-section {
    margin: 4rem 0;
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.persona-card-clean {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-base);
}

.persona-card-clean:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.persona-emoji {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.persona-card-clean h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.persona-role {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.persona-traits {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9375rem;
}

/* Learnings */
.learnings-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.learning-card-enhanced {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-base);
}

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

.learning-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.learning-card-enhanced h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.learning-card-enhanced p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 4rem 0;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-visual {
        min-height: 300px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   ANIMATIONS & MICRO-INTERACTIONS
   ============================================ */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar {
    animation: slideDown 0.6s ease-out;
}

/* Smooth page transitions */
body {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

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

/* ============================================
   ABOUT PAGE - PROFESSIONAL & CLEAN
   ============================================ */
.about-hero {
    padding: 8rem 0 4rem;
    text-align: center;
}

.about-content {
    padding: 2rem 0 6rem;
}

/* Introduction Section */
.about-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: center;
}

.intro-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

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

.intro-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-box {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
}

.stat-box:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.stat-box h3 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Section Titles */
.section-title-left {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
}

/* Skills Section */
.about-skills {
    margin-bottom: 6rem;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.skill-category {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-base);
}

.skill-category:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.skill-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.skill-list {
    list-style: none;
    padding: 0;
}

.skill-list li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
    transition: color var(--transition-base);
}

.skill-list li:last-child {
    border-bottom: none;
}

.skill-list li:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

/* Timeline Section */
.about-experience {
    margin-bottom: 6rem;
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-medium);
}

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

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

.timeline-dot {
    position: absolute;
    left: -3.5rem;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--card-bg-solid);
}

.timeline-content {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all var(--transition-base);
}

.timeline-content:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.timeline-date {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(91, 127, 255, 0.1);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

[data-theme="light"] .timeline-date {
    background: rgba(37, 99, 235, 0.1);
}

.timeline-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.company {
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content p:last-child {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Education Section */
.about-education {
    margin-bottom: 6rem;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.education-card {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-base);
}

.education-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}

.edu-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.education-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.edu-school {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.edu-year {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.education-card p:last-child {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Outside Work Section */
.about-outside-work {
    margin-bottom: 6rem;
}

.outside-work-content > p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.hobby-card {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
}

.hobby-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.hobby-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.hobby-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

/* Resume Download Section */
.resume-download {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
}

.resume-cta h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.resume-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.resume-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.resume-download .btn-primary {
    background: white;
    color: var(--primary);
}

.resume-download .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.resume-download .btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.resume-download .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Responsive About Page */
@media (max-width: 1024px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .intro-stats {
        flex-direction: row;
    }
    
    .skills-categories {
        grid-template-columns: 1fr;
    }
    
    .hobbies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 6rem 0 3rem;
    }
    
    .section-title-left {
        font-size: 2rem;
    }
    
    .intro-text h2 {
        font-size: 2rem;
    }
    
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline-dot {
        left: -2.5rem;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
    
    .resume-download {
        padding: 3rem 2rem;
    }
    
    .resume-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .resume-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   CASE STUDY - ADDITIONAL ELEMENTS
   ============================================ */

/* Section Intro Text */
.section-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Research Methods Grid */
.research-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.method-card {
    background: var(--card-bg-solid) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
}

.method-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong) !important;
    box-shadow: var(--shadow-md);
}

.method-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.method-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

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

/* Key Insights Cards */
.key-insights-section {
    margin-top: 4rem;
}

.insights-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.insight-card-large {
    background: var(--card-bg-solid) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-base);
}

.insight-card-large:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong) !important;
    box-shadow: var(--shadow-lg);
}

.insight-stat {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary) !important;
    /* gradient disabled */
    /* gradient disabled */
    /* gradient disabled */
    line-height: 1;
    margin-bottom: 1rem;
}

.insight-card-large p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* HMW Label */
.hmw-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(91, 127, 255, 0.1) !important;
    border: 1px solid var(--border-medium) !important;
    border-radius: 999px;
    color: var(--primary) !important;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

[data-theme="light"] .hmw-label {
    background: rgba(37, 99, 235, 0.1) !important;
}

.hmw-text {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text-primary);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card-enhanced {
    background: var(--card-bg-solid) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 16px;
    padding: 2rem;
    transition: all var(--transition-base);
}

.feature-card-enhanced:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong) !important;
    box-shadow: var(--shadow-md);
}

.feature-card-enhanced h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card-enhanced p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Problem/Solution Examples */
.problem-example,
.solution-example {
    background: var(--card-bg-solid) !important;
    border: 1px solid var(--border-medium) !important;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.problem-example {
    border-left: 4px solid var(--error) !important;
}

.solution-example {
    border-left: 4px solid var(--success) !important;
}

/* Step Number for Design Process */
.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary) !important;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

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

@media (max-width: 768px) {
    .research-methods-grid,
    .insights-cards {
        grid-template-columns: 1fr;
    }

}
/* ============================================
   ALL FIXES COMBINED - CORRECTED VERSION
   ============================================ */

/* ABOUT PAGE PHOTO & LAYOUT */
.about-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}



.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

/* PERSONAS GRID */
.personas-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.persona-card-enhanced {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition-base);
}

.persona-card-enhanced:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}

.persona-avatar-large {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(91, 127, 255, 0.3);
}

.persona-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.persona-traits span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.5rem 0.9rem;
    background: rgba(91, 127, 255, 0.1);
    border: 1px solid rgba(91, 127, 255, 0.2);
    border-radius: 8px;
    color: var(--primary-light);
}

/* GRIDS */
.features-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.outcome-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

/* DESIGN EVOLUTION */
.design-evolution {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
}

.evolution-step {
    flex: 1;
    min-width: 220px;
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    transition: all var(--transition-base);
}

.evolution-step:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}

.evolution-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(91, 127, 255, 0.1);
    border: 1px solid var(--border-medium);
    border-radius: 999px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.evolution-step h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.evolution-step p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.evolution-arrow {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
}

/* HI-FI FEATURES */
.hifi-features-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
}

.hifi-feature-card {
    background: var(--card-bg-solid) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 16px !important;
    padding: 2.5rem 2rem !important;
    text-align: center !important;
    transition: all var(--transition-base);
}

.hifi-feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong) !important;
    box-shadow: var(--shadow-lg);
}

/* TESTING GRID */
.testing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.testing-column {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    transition: all var(--transition-base);
}

.testing-column.success {
    border-left: 5px solid var(--success);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, var(--card-bg-solid) 100%);
}

.testing-column.iteration {
    border-left: 5px solid var(--primary);
    background: linear-gradient(135deg, rgba(91, 127, 255, 0.05) 0%, var(--card-bg-solid) 100%);
}

.testing-column h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
}

.testing-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.testing-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.testing-list li:hover {
    background: rgba(91, 127, 255, 0.08);
    transform: translateX(8px);
}

.list-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.testing-list strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.testing-list p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

.testing-list div {
    flex: 1;
}

/* BLOCKVOTE TESTING */
.prototype-cta {
    text-align: center !important;
    margin: 4rem 0 !important;
    display: flex;
    justify-content: center;
}

.testing-category {
    margin-bottom: 3rem;
}

.category-header h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testing-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testing-result-card {
    background: var(--card-bg-solid);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all var(--transition-base);
    border-left: 4px solid var(--primary);
}

.testing-result-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.what-worked .testing-result-card {
    border-left-color: var(--success);
}

.result-emoji {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.result-details h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.result-details p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* FOOTER FIX */
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2.5rem 0;
}



.moon-emoji {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.sun-emoji {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-photo-frame {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .personas-grid-enhanced,
    .outcome-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .footer-bottom {
        padding: 2rem 1.5rem 0;
    }
    
    .about-intro {
        gap: 2rem;
    }
    
    .about-photo-frame {
        max-width: 280px;
    }
    
    .intro-stats {
        gap: 1rem;
    }
    
    .personas-grid-enhanced,
    .features-grid-enhanced,
    .outcome-metrics,
    .testing-grid,
    .hifi-features-grid,
    .testing-cards-grid {
        grid-template-columns: 1fr !important;
    }
    
    .design-evolution {
        flex-direction: column;
    }
    
    .evolution-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .about-photo-frame {
        max-width: 240px;
    }
    
    .intro-stats {
        grid-template-columns: 1fr;
    }
    
    .theme-toggle {
        width: 60px;
        height: 32px;
    }
    
    .theme-toggle::before {
    top: 50%;
    transform: translateY(-50%); /* ✅ center perfectly */
}
    
    [data-theme="light"] .theme-toggle::before {
    left: 40px;
}
}

/* ============================================
   PHOTO CROP FIX - SHOWS FULL HEAD
   ============================================ */
.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%; /* Adjust to show head properly */
    display: block;
}
/* ============================================
   MINIMAL ABOUT HERO - ADD TO END OF style.css
   ============================================ */

.about-hero-clean {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 6rem;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 8rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.about-hero-text {
    max-width: 700px;
}

.hero-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 2rem;
    padding: 0.5rem 1.5rem;
    background: rgba(91, 127, 255, 0.1);
    border-radius: 50px;
}

[data-theme="light"] .hero-label {
    background: rgba(255, 107, 53, 0.1);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

.hero-highlight {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 650px;
    font-weight: 400;
}

.about-hero-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 4;   /* ✅ rectangle portrait */
    border-radius: 22px;   /* ✅ rectangle corners (not circle) */
    overflow: hidden;
    border: 12px solid var(--card-bg-solid);
    box-shadow: 
        0 0 0 6px var(--primary),
        0 30px 80px rgba(91, 127, 255, 0.4),
        0 15px 40px rgba(0, 0, 0, 0.2);
}


[data-theme="light"] .hero-photo-wrapper {
    box-shadow: 
        0 0 0 6px var(--primary),
        0 30px 80px rgba(255, 107, 53, 0.35),
        0 15px 40px rgba(0, 0, 0, 0.1);
}

.hero-photo-wrapper:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 0 0 6px var(--primary),
        0 40px 100px rgba(91, 127, 255, 0.5),
        0 20px 50px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .hero-photo-wrapper:hover {
    box-shadow: 
        0 0 0 6px var(--primary),
        0 40px 100px rgba(255, 107, 53, 0.45),
        0 20px 50px rgba(0, 0, 0, 0.15);
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;             
    object-position: center 12%;   /* ✅ moves image DOWN (shows head) */
    display: block;
}


.hero-photo-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.15), transparent 40%);
    pointer-events: none;
}


/* Responsive */
@media (max-width: 1024px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
        text-align: center;
    }
    
    .about-hero-text {
        max-width: 100%;
    }
    
    .hero-description {
        margin: 0 auto;
    }
    
    .hero-photo-wrapper {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-hero-clean {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    
    .about-hero-grid {
        gap: 4rem;
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-photo-wrapper {
        max-width: 340px;
        border: 10px solid var(--card-bg-solid);
    }
}

@media (max-width: 480px) {
    .about-hero-clean {
        padding: 5rem 0 3rem;
    }
    
    .about-hero-grid {
        gap: 3rem;
    }
    
    .hero-label {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
    }
    
    .hero-title {
    line-height: 1.1;
}

.hero-title::first-line {
    font-size: 0.7em; /* reduce only Hello, I'm */
    font-weight: 600;
}

    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-photo-wrapper {
        max-width: 280px;
        border: 8px solid var(--card-bg-solid);
    }
    .hero-intro {
    display: block;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    letter-spacing: 0.02em;
    opacity: 0.8;
}
/* FIX HERO TITLE SIZE HIERARCHY */

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem); /* main name size */
    font-weight: 800;
    line-height: 1.1;
}

/* Hello, I'm — smaller & elegant */
.hero-intro {
    display: block;
    font-size: 0.15em;   /* 🔥 adjust this (0.35–0.55) */
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.2em;
}

/* Name — bigger & bold */
.hero-highlight {
    display: block;
    font-size: 1.05em;
}
/* FIX HERO TITLE SIZE HIERARCHY */

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem); /* main name size */
    font-weight: 800;
    line-height: 1.1;
}

/* Hello, I'm — smaller & elegant */
.hero-intro {
    display: block;
    font-size: 0.45em;   /* 🔥 adjust this (0.35–0.55) */
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.2em;
}

/* Name — bigger & bold */
.hero-highlight {
    display: block;
    font-size: 1.05em;
}

}
/* If head still cut, try different percentages:
   center 20% = more top visible
   center 40% = more bottom visible
*/
/* ============================================
   CUTE IMAGES - Positioned near floating cards
   ============================================ */
.cute-images {
    position: absolute;
    bottom: 0;
    right: 5%;
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    z-index: 15;
}

.cute-img {
    height: 500px;
    width: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.chibi-img {
    height: 550px;
}

.home-img {
    margin-left: -30px; /* Very close positioning for cute effect */
}

.cute-img:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .cute-images {
        right: 3%;
    }
    
    .cute-img {
        height: 420px;
    }
    
    .chibi-img {
        height: 460px;
    }
}

@media (max-width: 968px) {
    .cute-images {
        position: relative;
        bottom: auto;
        right: auto;
        justify-content: center;
        margin-top: 3rem;
    }
    
    .cute-img {
        height: 300px;
    }
    
    .chibi-img {
        height: 330px;
    }
}

@media (max-width: 480px) {
    .cute-img {
        height: 220px;
    }
    
    .chibi-img {
        height: 250px;
    }
    
    .home-img {
        margin-left: -20px;
    }
}

/* ============================================
   HAMBURGER MENU - MOBILE NAVIGATION
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: all var(--transition-base);
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-base);
}

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

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

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

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 0;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-subtle);
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 1.25rem 1rem;
        font-size: 1.125rem;
        border-radius: 0;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .theme-toggle {
        order: -1;
        margin-right: 1rem;
    }
    
    /* Overlay when menu is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 998;
        animation: fadeIn 0.3s ease;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: 100%;
        right: -100%;
    }
}

[data-theme="light"] .nav-links {
    background: var(--bg-primary);
}

/* ============================================
   MOBILE OPTIMIZATIONS FOR CHIBI & CARDS
   ============================================ */
@media (max-width: 968px) {
    .floating-card {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .card-icon {
        font-size: 1.5rem;
    }
    
    .card-content h4 {
        font-size: 0.95rem;
    }
    
    .card-content p {
        font-size: 0.8rem;
    }
    
    .card-1 {
        top: 12%;
        left: 5%;
    }
    
    .card-2 {
        top: 15%;
        right: 5%;
    }
    
    .card-3 {
        bottom: 35%;
        left: 8%;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 6rem 0 2rem;
    }
    
    .hero-visual {
        position: relative;
        margin-top: 2rem;
        min-height: 400px;
    }
    
    .floating-card {
        display: none !important;
    }
    
    .cute-images {
        position: relative;
        bottom: auto;
        right: auto;
        justify-content: center;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 0 1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}
/* ============================================
   MOBILE MENU FIX - ENHANCED VISIBILITY
   ============================================ */

/* Ensure mobile menu items are visible and clickable */
@media (max-width: 968px) {
    /* Make sure nav-links ul has proper display */
    .nav-links {
        display: flex !important;
        opacity: 1;
        visibility: visible;
    }
    
    /* Ensure list items are visible */
    .nav-links li {
        display: block !important;
        opacity: 1;
        visibility: visible;
        margin: 0;
    }
    
    /* Make nav links fully visible */
    .nav-link {
        color: var(--text-primary) !important;
        opacity: 1;
        visibility: visible;
        display: block !important;
        text-align: left;
    }
    
    /* Ensure active menu is visible */
    .nav-links.active {
        display: flex !important;
        opacity: 1;
        visibility: visible;
    }
    
    /* Add slight stagger animation to menu items */
    .nav-links.active li:nth-child(1) {
        animation: slideInRight 0.3s ease 0.1s both;
    }
    
    .nav-links.active li:nth-child(2) {
        animation: slideInRight 0.3s ease 0.2s both;
    }
    
    .nav-links.active li:nth-child(3) {
        animation: slideInRight 0.3s ease 0.3s both;
    }
    
    .nav-links.active li:nth-child(4) {
        animation: slideInRight 0.3s ease 0.4s both;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Light mode mobile menu visibility */
[data-theme="light"] .nav-links {
    background: var(--bg-primary) !important;
}

[data-theme="light"] .nav-link {
    color: var(--text-primary) !important;
}

/* Ensure hamburger is always visible on mobile */
@media (max-width: 968px) {
    .hamburger {
        display: flex !important;
        z-index: 1001;
    }
}

/* ============================================
   IMAGE ADJUSTMENTS - CHIBI SIZE & ME.JPEG BORDERS
   ============================================ */

/* Reduce chibi size on about page */
.about-hero-photo .hero-photo-wrapper {
    max-width: 320px; /* Reduced from 420px */
}

@media (max-width: 1024px) {
    .about-hero-photo .hero-photo-wrapper {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .about-hero-photo .hero-photo-wrapper {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .about-hero-photo .hero-photo-wrapper {
        max-width: 240px;
    }
}

/* Add borders and styling to me.jpeg on home page */
.hero-visual .cute-images {
    position: absolute;
    bottom: 0;
    right: 5%;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    z-index: 2;
}

.hero-visual .cute-img {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 12px solid var(--card-bg-solid);
    box-shadow: 
        0 0 0 6px var(--primary),
        0 30px 80px rgba(91, 127, 255, 0.4),
        0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .hero-visual .cute-img {
    box-shadow: 
        0 0 0 6px var(--primary),
        0 30px 80px rgba(255, 107, 53, 0.35),
        0 15px 40px rgba(0, 0, 0, 0.1);
}

.hero-visual .cute-img:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 0 0 6px var(--primary),
        0 40px 100px rgba(91, 127, 255, 0.5),
        0 20px 50px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .hero-visual .cute-img:hover {
    box-shadow: 
        0 0 0 6px var(--primary),
        0 40px 100px rgba(255, 107, 53, 0.45),
        0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Crop me.jpeg to show upper body only (no torn jeans) */
.hero-visual .chibi-img {
    object-fit: cover;
    object-position: center top; /* Show upper body, crop bottom */
    width: 350px;
    height: 450px;
}

@media (max-width: 1200px) {
    .hero-visual .chibi-img {
        width: 300px;
        height: 380px;
    }
}

@media (max-width: 968px) {
    .hero-visual .chibi-img {
        width: 250px;
        height: 320px;
    }
}

@media (max-width: 480px) {
    .hero-visual .chibi-img {
        width: 200px;
        height: 260px;
    }
}
/* Mobile Fix for About Hero */
@media (max-width: 768px) {
    .about-hero-clean {
        padding: 5rem 0 3rem;
    }
    
    .about-hero-grid {
        gap: 3rem;
    }
    
    .hero-photo-wrapper {
        max-width: 280px !important;
    }
}

@media (max-width: 480px) {
    .about-hero-clean {
        padding: 4rem 0 2.5rem;
    }
    
    .about-hero-grid {
        gap: 2.5rem;
    }
    
    .hero-photo-wrapper {
        max-width: 240px !important;
        border: 6px solid var(--card-bg-solid) !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-description {
        font-size: 0.9375rem !important;
    }
}
/* CRITICAL MOBILE FIX - Homepage Hero */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        min-height: auto;
        padding: 5rem 0 2rem;
    }
    
    .hero-content {
        order: 1;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-visual {
        order: 2;
        position: relative;
        min-height: auto;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }
    
    .floating-card {
        display: none !important;
    }
    
    .cute-images {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 0 auto;
    }
    
    .hero-visual .chibi-img {
        width: 280px !important;
        height: 360px !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0 2rem;
    }
    
    .hero-visual .chibi-img {
        width: 240px !important;
        height: 310px !important;
        border: 8px solid var(--card-bg-solid) !important;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
    }
}