:root {
    /* Color Palette - Premium Dark Mode */
    --bg-dark: #050505;
    --surface: #0f0f12;
    --surface-light: #16161d;
    --primary: #8b5cf6; /* Violet 500 */
    --primary-light: #a78bfa;
    --secondary: #06b6d4; /* Cyan 500 */
    --secondary-light: #22d3ee;
    --accent: #f43f5e; /* Rose 500 */
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --glass: rgba(15, 15, 18, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.03);
    
    --nav-height: 80px;
    --container-max: 1200px;
    
    /* Animations & Transitions */
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] {
    --bg-dark: #f8fafc;
    --surface: #ffffff;
    --surface-light: #f1f5f9;
    --primary: #7c3aed;
    --secondary: #0891b2;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.08);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.center { text-align: center; }

/* --- Background Effects --- */
.bg-gradient-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background: radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.08) 0%, transparent 40%);
}

.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    transition: 0.1s linear;
}

/* --- Navigation (Gamevegation) --- */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    height: 64px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    z-index: 1000;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

nav.scrolled {
    top: 10px;
    width: 95%;
    max-width: 1100px;
    height: 60px;
    background: rgba(15, 15, 18, 0.9);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.logo-text {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 8px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all var(--transition-base);
    color: var(--text-muted);
}

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

.nav-link.active {
    background: var(--primary);
    color: white !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.cta-nav {
    background: var(--primary-light) !important;
    color: var(--bg-dark) !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-highlight);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-base);
}

.theme-toggle:hover {
    background: var(--primary);
    color: white;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: var(--nav-height);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass-highlight);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: var(--primary-light);
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.accent-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
    filter: blur(40px);
    animation: blobMorph 20s infinite alternate ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -100px;
    left: -100px;
    color: var(--primary);
}

.shape-2 {
    width: 500px;
    height: 500px;
    bottom: -50px;
    right: -50px;
    color: var(--secondary);
    animation-duration: 25s;
    animation-delay: -5s;
}

@keyframes blobMorph {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(100px, 50px) scale(1.1) rotate(45deg); }
    66% { transform: translate(-50px, 150px) scale(0.9) rotate(-45deg); }
    100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

.hero .role {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-muted);
    margin-bottom: 20px;
}

.ai-text {
    color: var(--secondary-light);
    font-weight: 800;
}

.hero .tagline {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--text-dim);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.social-hero {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-light);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: all var(--transition-base);
    color: var(--text-muted);
}

.social-icon-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-elements .element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    animation: float 6s infinite ease-in-out;
}

.el-1 { top: 20%; left: 10%; animation-delay: 0s; }
.el-2 { top: 60%; right: 10%; animation-delay: 2s; }
.el-3 { top: 15%; right: 15%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

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

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 0; }
    50% { transform: translate(-50%, 10px); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    background: var(--surface-light);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-border);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.full-width { width: 100%; justify-content: center; }

/* --- About Section --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-img {
    position: relative;
}

.img-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
}

.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5));
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--primary);
    color: white;
    padding: 15px 25px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    z-index: 3;
}

.exp-number { font-size: 2rem; font-weight: 800; line-height: 1; }
.exp-text { font-size: 0.8rem; text-transform: uppercase; font-weight: 600; }

.img-blob {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    z-index: 1;
    border-radius: 30%;
    animation: blobMorph 10s infinite alternate;
}

@keyframes blobMorph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.section-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: var(--surface-light);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.stat-card .label {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
}

/* --- Skills Section --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

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

.skill-card:hover {
    background: var(--surface-light);
    border-color: var(--primary);
    transform: translateY(-10px);
}

.skill-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--glass-highlight);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    transition: var(--transition-base);
}

.skill-card:hover .skill-icon-wrapper {
    background: var(--primary);
    color: white;
}

.skill-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.skill-bar {
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
}

/* --- Experience (Timeline) --- */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--surface);
    border: 3px solid var(--glass-border);
    border-radius: 50%;
    z-index: 2;
}

.timeline-dot.pulse {
    background: var(--primary);
    border-color: var(--primary-light);
    box-shadow: 0 0 0 rgba(139, 92, 246, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(139, 92, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

.timeline-content {
    background: var(--surface-light);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-base);
}

.timeline-content.highlight {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--surface-light) 0%, rgba(139, 92, 246, 0.05) 100%);
}

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

.timeline-content .date {
    display: block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.ai-apps {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--surface);
    padding: 50px 40px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    transition: all var(--transition-smooth);
    position: relative;
}

.service-card:hover {
    background: var(--surface-light);
    border-color: var(--primary);
    transform: translateY(-15px);
}

.service-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, var(--surface) 100%);
}

.service-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.service-icon i { width: 32px; height: 32px; }

.service-card h3 { font-size: 1.6rem; margin-bottom: 20px; }
.service-card p { color: var(--text-muted); margin-bottom: 30px; }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    transition: gap var(--transition-base);
}

.service-link:hover { gap: 15px; }

/* --- Portfolio --- */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--surface-light);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.portfolio-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-info span {
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.portfolio-info h4 { font-size: 1.4rem; margin-top: 5px; }

.portfolio-action {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: translateY(-20px);
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-item:hover .portfolio-action { transform: translateY(0); }

/* --- Contact Section --- */
.contact-card {
    background: var(--surface);
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-content {
    padding: 60px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, transparent 100%);
}

.contact-info {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--surface-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-method span { font-size: 0.8rem; color: var(--text-dim); text-transform: uppercase; font-weight: 700; }
.contact-method p { font-size: 1.1rem; font-weight: 600; }

.social-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--surface-light);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    font-weight: 600;
    transition: all var(--transition-base);
}

.social-link:hover { transform: translateY(-5px); border-color: var(--primary); }
.social-link.whatsapp:hover { color: #25D366; }
.social-link.linkedin:hover { color: #0077b5; }
.social-link.facebook:hover { color: #1877F2; }
.social-link.behance:hover { color: #1769FF; }

.contact-form-wrapper {
    padding: 60px;
    background: var(--surface-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-base);
}

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

/* --- Footer --- */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-dark);
    border-top: 1px solid var(--glass-border);
}

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

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: var(--text-dim);
    font-weight: 600;
    transition: var(--transition-base);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.9rem;
}

.heart-icon { width: 14px; color: var(--accent); vertical-align: middle; }

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

.footer-socials a {
    color: var(--text-dim);
    transition: var(--transition-base);
}

.footer-socials a:hover { color: var(--primary); transform: translateY(-3px); }

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    padding: 40px;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active { display: flex; }

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    max-width: 1000px;
    width: 100%;
    z-index: 2;
}

.modal-content {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 3;
    color: white;
    cursor: pointer;
    background: var(--primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .grid-2 { gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    nav { width: 95%; top: 10px; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    
    .hero h1 { font-size: 3.5rem; }
    .grid-2 { grid-template-columns: 1fr; }
    .about-img { max-width: 400px; margin: 0 auto; }
    
    .footer-top { flex-direction: column; gap: 30px; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
