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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== CSS CUSTOM PROPERTIES (DESIGN TOKENS) ===== */
:root {
    /* === Colors - Light Theme === */
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: #60A5FA;
    --secondary: #8B5CF6;
    --accent: #F59E0B;
    --accent-pink: #EC4899;
    
    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-glass: rgba(255, 255, 255, 0.1);
    --bg-card: #FFFFFF;
    
    /* Text Colors */
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --text-inverse: #FFFFFF;
    
    /* Border Colors */
    --border-light: #E2E8F0;
    --border-medium: #CBD5E1;
    --border-dark: #94A3B8;
    
    /* Shadow Colors */
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --shadow-colored: rgba(59, 130, 246, 0.15);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --gradient-secondary: linear-gradient(135deg, #F59E0B 0%, #EC4899 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-text: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
    
    /* === Spacing Scale === */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-2xl: 3rem;     /* 48px */
    --space-3xl: 4rem;     /* 64px */
    --space-4xl: 6rem;     /* 96px */
    --space-5xl: 8rem;     /* 128px */
    
    /* === Typography Scale === */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.75rem;   /* 60px */
    --text-7xl: 4.5rem;    /* 72px */
    
    /* === Border Radius === */
    --radius-sm: 0.375rem;  /* 6px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 0.75rem;   /* 12px */
    --radius-xl: 1rem;      /* 16px */
    --radius-2xl: 1.5rem;   /* 24px */
    --radius-full: 9999px;
    
    /* === Animation Variables === */
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* === Layout Variables === */
    --container-max: 1280px;
    --container-padding: 1.5rem;
    --header-height: 80px;
    
    /* === Z-Index Scale === */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

/* === Dark Theme === */
[data-theme="dark"] {
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --bg-tertiary: #334155;
    --bg-glass: rgba(15, 23, 42, 0.8);
    --bg-card: #1E293B;
    
    --text-primary: #F1F5F9;
    --text-secondary: #CBD5E1;
    --text-muted: #64748B;
    --text-inverse: #0F172A;
    
    --border-light: #334155;
    --border-medium: #475569;
    --border-dark: #64748B;
    
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.4);
    --shadow-dark: rgba(0, 0, 0, 0.6);
    --shadow-colored: rgba(59, 130, 246, 0.3);
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--duration-slow) ease, visibility var(--duration-slow) ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    color: var(--text-inverse);
}

.loading-text {
    font-size: var(--text-4xl);
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-lg);
    display: block;
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: var(--text-inverse);
    border-radius: var(--radius-full);
    animation: loadingProgress 2s ease-in-out infinite;
}

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

@keyframes loadingProgress {
    0% { width: 0%; transform: translateX(-100%); }
    50% { width: 100%; transform: translateX(0%); }
    100% { width: 0%; transform: translateX(100%); }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    z-index: var(--z-fixed);
    transition: all var(--duration-normal) ease;
}

.navbar.scrolled {
    background: var(--bg-card);
    box-shadow: 0 10px 25px -5px var(--shadow-light);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    font-weight: 800;
    font-size: var(--text-xl);
    color: var(--text-primary);
    transition: transform var(--duration-normal) var(--ease-out);
}

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

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

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

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

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: var(--text-sm);
    position: relative;
    transition: color var(--duration-normal) ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--duration-normal) var(--ease-out);
}

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

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

/* === Theme Toggle === */
.theme-toggle {
    background: var(--bg-tertiary);
    border: none;
    border-radius: var(--radius-full);
    width: 60px;
    height: 32px;
    cursor: pointer;
    position: relative;
    transition: background-color var(--duration-normal) ease;
}

.theme-toggle:hover {
    background: var(--border-medium);
}

.toggle-track {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    position: relative;
}

.toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 28px;
    height: 28px;
    background: var(--bg-card);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--duration-normal) var(--ease-out);
    box-shadow: 0 2px 8px var(--shadow-medium);
}

[data-theme="dark"] .toggle-thumb {
    transform: translateX(28px);
}

.toggle-icon {
    font-size: var(--text-sm);
    transition: opacity var(--duration-normal) ease;
}

[data-theme="dark"] .toggle-icon {
    filter: hue-rotate(180deg);
}

/* === Mobile Navigation === */
.nav-mobile {
    display: none;
    align-items: center;
    gap: var(--space-md);
}

.theme-toggle.mobile {
    width: 50px;
    height: 28px;
}

.theme-toggle.mobile .toggle-thumb {
    width: 24px;
    height: 24px;
}

[data-theme="dark"] .theme-toggle.mobile .toggle-thumb {
    transform: translateX(22px);
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--space-sm);
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) ease;
}

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

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

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

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

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

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    box-shadow: 0 4px 15px var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-colored);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border-light);
    box-shadow: 0 4px 15px var(--shadow-light);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--border-medium);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.btn-arrow {
    transition: transform var(--duration-normal) var(--ease-out);
}

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    color: var(--text-inverse);
}

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

.gradient-orb {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(60px);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #3B82F6, #8B5CF6);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #F59E0B, #EC4899);
    top: 50%;
    right: -150px;
    animation-delay: 2s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #8B5CF6, #EC4899);
    bottom: -250px;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-4xl) var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease var(--duration-normal);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: var(--radius-full);
    animation: pulse 2s ease infinite;
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.hero-description {
    font-size: var(--text-lg);
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: var(--space-2xl);
    max-width: 500px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--text-2xl);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: var(--space-xs);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero stats - bright white for hero section */
.hero-stats .stat-number {
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* About stats - dark color for about section */
.about-stats .stat .stat-number {
    color: #1F2937 !important;
    text-shadow: none;
    font-size: var(--text-xl);
    font-weight: 800;
}

.stat-label {
    font-size: var(--text-sm);
    opacity: 0.9;
    font-weight: 500;
}

/* Hero stats labels - bright white */
.hero-stats .stat-label {
    color: #FFFFFF;
    opacity: 0.9;
}

/* About stats labels - secondary text */
.about-stats .stat .stat-label {
    color: #6B7280 !important;
    opacity: 1;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    animation: fadeInUp 1s ease var(--duration-slow);
}

.code-window {
    background: #1E293B;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid #334155;
    animation: codeAnimation 3s ease infinite;
}

@keyframes codeAnimation {
    0%, 100% { transform: perspective(1000px) rotateY(5deg) rotateX(5deg); }
    50% { transform: perspective(1000px) rotateY(-5deg) rotateX(-5deg); }
}

.window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    background: #0F172A;
    border-bottom: 1px solid #334155;
}

.window-controls {
    display: flex;
    gap: var(--space-sm);
}

.control {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
}

.control.red { background: #EF4444; }
.control.yellow { background: #F59E0B; }
.control.green { background: #10B981; }

.window-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-sm);
    color: #CBD5E1;
}

.window-content {
    padding: var(--space-lg);
}

.code-line {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-sm);
    line-height: 1.5;
}

.line-number {
    color: #64748B;
    user-select: none;
    width: 20px;
}

.code-text {
    color: #F1F5F9;
}

.keyword { color: #C084FC; }
.variable { color: #60A5FA; }
.string { color: #34D399; }
.method { color: #FBBF24; }

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tech-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-inverse);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: techFloat 4s ease-in-out infinite;
}

.badge-react { top: 20%; left: -10%; animation-delay: 0s; }
.badge-js { top: 60%; right: -5%; animation-delay: 1s; }
.badge-node { bottom: 30%; left: -15%; animation-delay: 2s; }
.badge-css { top: 10%; right: -20%; animation-delay: 3s; }
.badge-python { bottom: 10%; right: -10%; animation-delay: 4s; }

@keyframes techFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(5deg); opacity: 1; }
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-inverse);
    opacity: 0.7;
    animation: bounce 2s ease infinite;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--text-inverse), transparent);
    border-radius: var(--radius-full);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SECTION STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--text-inverse);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: var(--space-5xl) 0;
    background: var(--bg-secondary);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-4xl);
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    color: var(--text-secondary);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--duration-normal) ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-colored);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-4xl);
}

.portfolio-item {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-light);
    transition: all var(--duration-normal) var(--ease-out);
    border: 1px solid var(--border-light);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.project-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

.portfolio-item:hover .project-image img {
    transform: scale(1.1);
}

/* Project Preview Styles */
.project-preview {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--duration-slow) ease;
}

.portfolio-item:hover .project-preview {
    transform: scale(1.02);
}

.preview-header {
    background: var(--bg-secondary);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border-bottom: 1px solid var(--border-light);
}

.browser-dots {
    display: flex;
    gap: var(--space-xs);
}

.browser-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
}

.browser-dots .dot.red {
    background: #EF4444;
}

.browser-dots .dot.yellow {
    background: #F59E0B;
}

.browser-dots .dot.green {
    background: #10B981;
}

.preview-url {
    background: var(--bg-primary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    flex: 1;
}

.preview-content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    height: calc(100% - 60px);
    justify-content: center;
}

.preview-hero {
    text-align: center;
}

.preview-logo {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
    animation: float 3s ease-in-out infinite;
}

.preview-hero h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.preview-hero p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.preview-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature-item {
    background: var(--bg-secondary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-align: center;
    transition: all var(--duration-normal) ease;
}

.feature-item:hover {
    background: var(--primary);
    color: var(--text-inverse);
    transform: translateY(-2px);
}

/* Website Mockup Styles */
.website-mockup {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.mockup-browser {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.browser-bar {
    background: #F3F4F6;
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border-bottom: 1px solid #E5E7EB;
}

.browser-controls {
    display: flex;
    gap: var(--space-xs);
}

.browser-controls .control {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
}

.browser-controls .control.red {
    background: #EF4444;
}

.browser-controls .control.yellow {
    background: #F59E0B;
}

.browser-controls .control.green {
    background: #10B981;
}

.address-bar {
    background: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-sm);
    color: #6B7280;
    border: 1px solid #E5E7EB;
    flex: 1;
}

.website-content {
    flex: 1;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    overflow: hidden;
}

.hero-section {
    text-align: center;
}

.hero-section h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--space-sm) 0;
}

.hero-section p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    margin: 0 auto var(--space-sm) auto;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.cta-button {
    background: var(--gradient-secondary);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 600;
    display: inline-block;
    margin: var(--space-sm) 0;
}

.app-screens {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.phone-mockup {
    font-size: var(--text-lg);
    background: var(--bg-secondary);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

/* MangoPets specific styles */
.mangopets-preview .website-content {
    background: linear-gradient(135deg, #FF8C42 0%, #FFB366 100%);
    color: white;
}

.mangopets-preview .hero-section h2,
.mangopets-preview .hero-section p {
    color: white;
}

.mangopets-preview .cta-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.mangopets-preview .phone-mockup {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Phoenix Star specific styles */
.phoenixstar-preview .website-content.phoenix-content {
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    color: white;
}

.phoenix-logo {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-sm);
    animation: float 3s ease-in-out infinite;
}

.phoenixstar-preview .hero-section h2,
.phoenixstar-preview .hero-section p {
    color: white;
}

.nav-menu {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-md);
}

.nav-menu span {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.corporate-features {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-top: var(--space-md);
}

.feature-box {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.demo-project {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    color: var(--text-inverse);
    text-align: center;
    padding: var(--space-2xl);
}

/* Specific project gradients for live projects */
.portfolio-item[data-category="web-app"] .demo-project {
    background: linear-gradient(135deg, #FF8C42 0%, #FFB366 100%);
}

.portfolio-item[data-category="website"] .demo-project {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
}

.demo-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
}

.demo-project h4 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.demo-project p {
    opacity: 0.9;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

.portfolio-item:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: var(--space-md);
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: var(--radius-full);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) ease;
}

.project-link:hover {
    background: var(--primary);
    color: var(--text-inverse);
    transform: scale(1.1);
}

.project-content {
    padding: var(--space-xl);
}

.project-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.project-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.project-tags {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 500;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.project-tech {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.tech {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 500;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: var(--space-5xl) 0;
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
}

.service-card {
    background: var(--bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-light);
    position: relative;
    transition: all var(--duration-normal) var(--ease-out);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px var(--shadow-medium);
    border-color: var(--primary);
}

.service-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--text-inverse);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    margin-bottom: var(--space-lg);
}

.service-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.service-features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
}

.service-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
}

.service-price {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--primary);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--space-5xl) 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-4xl);
    align-items: start;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: var(--space-lg);
}

.about-description {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
}

.skills-grid {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.skill-category {
    background: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
}

.skill-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.skill {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all var(--duration-normal) ease;
}

.skill:hover {
    background: var(--primary);
    color: var(--text-inverse);
    transform: translateY(-2px);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.profile-card {
    background: var(--bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}


.profile-info {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.profile-info h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.profile-info p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.profile-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
}

.profile-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: var(--radius-full);
    animation: pulse 2s ease infinite;
}

.certification-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cert-card {
    background: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cert-icon {
    font-size: var(--text-2xl);
}

.cert-info h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.cert-info p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--space-5xl) 0;
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--space-4xl);
    margin-top: var(--space-4xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-card {
    background: var(--bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-light);
    display: flex;
    gap: var(--space-lg);
    transition: all var(--duration-normal) ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-light);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.contact-details p {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.contact-details span {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

/* ===== FORM STYLES ===== */
.contact-form {
    background: var(--bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-light);
}

.form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    padding: var(--space-md);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all var(--duration-normal) ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.form-submit {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-md);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    padding: var(--space-4xl) 0 var(--space-2xl) 0;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: var(--space-4xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: var(--text-2xl);
    font-weight: 800;
    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: var(--space-4xl);
}

.footer-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

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

.footer-list li {
    margin-bottom: var(--space-sm);
}

.footer-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--duration-normal) ease;
}

.footer-list a:hover {
    color: var(--primary);
}

.footer-email {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--duration-normal) ease;
}

.footer-email:hover {
    color: var(--primary-dark);
}

.footer-bottom {
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

/* ===== MODAL STYLES ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all var(--duration-normal) ease;
}

.modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    max-width: 800px;
    max-height: 90vh;
    width: 90%;
    overflow: auto;
    z-index: 1;
    transform: scale(0.9);
    transition: transform var(--duration-normal) var(--ease-bounce);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 2;
    transition: all var(--duration-normal) ease;
}

.modal-close:hover {
    background: var(--border-medium);
    color: var(--text-primary);
}

.modal-body {
    padding: var(--space-2xl);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop */
@media (max-width: 1440px) {
    .hero-title {
        font-size: var(--text-5xl);
    }
}

/* Desktop */
@media (max-width: 1200px) {
    :root {
        --container-padding: 2rem;
    }
    
    .hero-container {
        gap: var(--space-3xl);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet */
@media (max-width: 968px) {
    :root {
        --container-padding: 1.5rem;
        --text-6xl: 3rem;
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --space-5xl: 6rem;
        --space-4xl: 4rem;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border-light);
        flex-direction: column;
        padding: var(--space-2xl);
        gap: var(--space-lg);
        transform: translateY(-100%);
        visibility: hidden;
        opacity: 0;
        transition: all var(--duration-normal) ease;
        box-shadow: 0 10px 25px var(--shadow-light);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }
    
    .nav-mobile {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --container-padding: 1rem;
        --text-6xl: 2.5rem;
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
        --text-2xl: 1.25rem;
        --space-5xl: 4rem;
        --space-4xl: 3rem;
        --space-3xl: 2rem;
        --space-2xl: 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filter {
        gap: var(--space-sm);
    }
    
    .filter-btn {
        font-size: var(--text-xs);
        padding: var(--space-xs) var(--space-md);
    }
    
    .code-window {
        transform: none !important;
        animation: none;
    }
    
    .floating-elements {
        display: none;
    }
    
    .section-header {
        margin-bottom: var(--space-2xl);
    }
    
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: var(--space-lg);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --container-padding: 0.75rem;
        --space-4xl: 2rem;
        --space-3xl: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-container {
        padding: var(--space-2xl) var(--container-padding);
    }
    
    .nav-container {
        padding: 0 var(--container-padding);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .portfolio-item {
        margin: 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-visual,
    .profile-image,
    .service-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

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

/* Print Styles */
@media print {
    .navbar,
    .hero-bg,
    .scroll-indicator,
    .floating-elements,
    .modal {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        background: none;
        color: black;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .btn {
        border: 1px solid black;
        background: white;
        color: black;
    }
}