/* ===== CSS VARIABLES ===== */
:root {
    --primary: #6C63FF;
    --primary-dark: #5A52D5;
    --primary-light: #8B85FF;
    --secondary: #00D4AA;
    --accent: #FF6B6B;
    --dark: #0A0A1A;
    --dark-2: #12122A;
    --dark-3: #1A1A3E;
    --dark-card: #16163A;
    --text: #E8E8F0;
    --text-muted: #9898B8;
    --text-light: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #6C63FF 0%, #00D4AA 100%);
    --gradient-2: linear-gradient(135deg, #6C63FF 0%, #FF6B6B 100%);
    --shadow: 0 20px 60px rgba(108, 99, 255, 0.15);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-primary);
    background: var(--dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; position: relative; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes typing { from { width: 0; } to { width: 100%; } }
@keyframes blink { 50% { border-color: transparent; } }
/* Logo animations removed - using static image for instant display */

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ===== SECTION TITLES ===== */
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.85rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 3px; color: var(--primary-light); margin-bottom: 16px;
}
.section-label::before {
    content: ''; width: 30px; height: 2px; background: var(--primary); display: inline-block;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800; line-height: 1.2; margin-bottom: 20px; color: var(--text-light);
}
.section-title .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; line-height: 1.8; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-subtitle { margin: 0 auto; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0; transition: var(--transition); background: transparent;
}
.navbar.scrolled {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 12px 0; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar .logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; color: var(--text-light);
}
.navbar .logo .logo-icon {
    width: 40px; height: 40px; background: var(--gradient-1);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 900; color: white;
}
.navbar .logo span {
    background: var(--gradient-1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
    transition: var(--transition); position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--gradient-1); transition: var(--transition);
}
.nav-links a:hover { color: var(--text-light); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px; background: var(--gradient-1); color: white !important;
    border-radius: 50px; font-weight: 600 !important; font-size: 0.85rem !important;
    transition: var(--transition); box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4); }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; z-index: 1001; }
.hamburger span { width: 28px; height: 2.5px; background: var(--text-light); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    width: 8px; height: 8px; background: var(--primary);
    border-radius: 50%; position: fixed; pointer-events: none;
    z-index: 99999; transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
}
.cursor-ring {
    width: 40px; height: 40px; border: 2px solid var(--primary-light);
    border-radius: 50%; position: fixed; pointer-events: none;
    z-index: 99998; transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, transform 0.1s;
    mix-blend-mode: difference;
}
.cursor-ring.hover {
    width: 60px; height: 60px; border-color: var(--secondary);
    background: rgba(108, 99, 255, 0.05);
}

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 80px; }

/* Grid pattern overlay */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: 
        linear-gradient(rgba(108, 99, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 99, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}
.hero::after {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}

/* Spotlight effect */
.hero-spotlight {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: left 0.3s ease-out, top 0.3s ease-out;
    z-index: 0;
}
.hero .container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; position: relative; z-index: 1;
}
.hero-content {
    min-width: auto;
}
.hero-logo {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px 0;
    position: relative;
}
/* Electric blue wave that sweeps left to right behind the video */
.hero-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 100, 255, 0.05) 10%,
        rgba(0, 150, 255, 0.2) 25%,
        rgba(0, 180, 255, 0.35) 40%,
        rgba(0, 150, 255, 0.2) 55%,
        rgba(0, 100, 255, 0.05) 70%,
        transparent 80%
    );
    pointer-events: none;
    z-index: 0;
    animation: waveSweep 4s ease-in-out infinite;
}
@keyframes waveSweep {
    0% {
        transform: translateX(-40%);
        opacity: 0.2;
    }
    25% {
        transform: translateX(-20%);
        opacity: 0.6;
    }
    50% {
        transform: translateX(0%);
        opacity: 1;
    }
    75% {
        transform: translateX(20%);
        opacity: 0.6;
    }
    100% {
        transform: translateX(40%);
        opacity: 0.2;
    }
}
.hero-logo-wrapper {
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
}
.hero-logo-glow,
.hero-logo-glow-2 {
    position: absolute;
    inset: -60px;
    border-radius: 50%;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}
.hero-logo-glow {
    background: radial-gradient(circle at 30% 50%, rgba(0, 180, 255, 0.6) 0%, rgba(108, 99, 255, 0.3) 30%, transparent 70%);
    animation: glowDrift 4s ease-in-out infinite alternate;
}
.hero-logo-glow-2 {
    background: radial-gradient(circle at 70% 50%, rgba(108, 99, 255, 0.5) 0%, rgba(0, 180, 255, 0.25) 30%, transparent 70%);
    animation: glowDrift2 6s ease-in-out infinite alternate;
}
@keyframes glowDrift {
    0% { transform: translate(-20%, -15%) scale(1); opacity: 0.6; }
    100% { transform: translate(20%, 15%) scale(1.5); opacity: 1; }
}
@keyframes glowDrift2 {
    0% { transform: translate(20%, 15%) scale(1); opacity: 0.5; }
    100% { transform: translate(-20%, -15%) scale(1.6); opacity: 0.9; }
}
.hero-logo-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2); border-radius: 50px;
    font-size: 0.8rem; font-weight: 500; color: var(--primary-light); margin-bottom: 24px;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900; line-height: 1.1; margin-bottom: 24px; color: var(--text-light);
}
.hero h1 .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero h1 .typing-text {
    display: inline-block; overflow: hidden; white-space: nowrap;
    border-right: 3px solid var(--primary);
    animation: typing 3s steps(30) 1s forwards, blink 0.8s step-end infinite;
    width: 0;
    background: var(--gradient-2);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { font-size: 1.15rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 36px; max-width: 540px; }
.hero-buttons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; background: var(--gradient-1); color: white;
    border: none; border-radius: 50px; font-family: var(--font-primary);
    font-size: 1rem; font-weight: 600; cursor: pointer;
    transition: var(--transition); box-shadow: 0 8px 30px rgba(108, 99, 255, 0.3);
    position: relative; overflow: hidden;
}
.btn-primary::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: 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(108, 99, 255, 0.4); }

.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 28px; background: transparent; color: var(--text-light);
    border: 2px solid rgba(255,255,255,0.15); border-radius: 50px;
    font-family: var(--font-primary); font-size: 1rem; font-weight: 500; cursor: pointer;
    transition: var(--transition);
}
.btn-secondary:hover { border-color: var(--primary); background: rgba(108, 99, 255, 0.1); transform: translateY(-3px); }

.hero-stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06); }
.hero-stat h3 {
    font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }
.hero-visual { position: relative; animation: fadeInRight 1s ease forwards; }

.hero-visual .mockup {
    position: relative; background: var(--dark-2); border-radius: var(--radius-lg);
    padding: 20px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.05); overflow: hidden;
}
.hero-visual .mockup::before {
    content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: var(--gradient-1); border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1; opacity: 0.3;
}
.mockup-header { display: flex; align-items: center; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 16px; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #FF6B6B; }
.mockup-dot:nth-child(2) { background: #FFD93D; }
.mockup-dot:nth-child(3) { background: #00D4AA; }
.mockup-content { display: grid; gap: 12px; }
.mockup-line {
    height: 12px; background: rgba(255,255,255,0.05);
    border-radius: 4px; position: relative; overflow: hidden;
}
.mockup-line::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}
.mockup-line:nth-child(1) { width: 80%; }
.mockup-line:nth-child(2) { width: 60%; }
.mockup-line:nth-child(3) { width: 70%; }
.mockup-line:nth-child(4) { width: 50%; }
.mockup-line:nth-child(5) { width: 90%; }
.mockup-line:nth-child(6) { width: 40%; }
.mockup-line.color { background: rgba(108, 99, 255, 0.15); }
.mockup-line.color::after { background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.2), transparent); }

.floating-card {
    position: absolute; background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius);
    padding: 16px 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    display: flex; align-items: center; gap: 12px;
    animation: float 4s ease-in-out infinite; z-index: 2;
}
.floating-card.card-1 { top: -20px; right: -30px; animation-delay: 0s; }
.floating-card.card-2 { bottom: 40px; left: -40px; animation-delay: 2s; }
.floating-card .card-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.floating-card .card-icon.purple { background: rgba(108, 99, 255, 0.15); color: var(--primary-light); }
.floating-card .card-icon.green { background: rgba(0, 212, 170, 0.15); color: var(--secondary); }
.floating-card .card-text h4 { font-size: 0.9rem; font-weight: 600; color: var(--text-light); }
.floating-card .card-text p { font-size: 0.75rem; color: var(--text-muted); margin: 0; }

/* ===== SERVICES ===== */
.services { background: var(--dark-2); position: relative; }
.services::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.3), transparent);
}
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
    background: var(--dark-card); border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius); padding: 36px 28px;
    transition: var(--transition); position: relative; overflow: hidden; cursor: default;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient-1); transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-8px); border-color: rgba(108, 99, 255, 0.2); box-shadow: 0 20px 60px rgba(108, 99, 255, 0.08); }
.service-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 20px; transition: var(--transition); }
.service-card:hover .service-icon { transform: scale(1.1) rotate(-5deg); }
.service-icon.purple { background: rgba(108, 99, 255, 0.12); color: var(--primary-light); }
.service-icon.green { background: rgba(0, 212, 170, 0.12); color: var(--secondary); }
.service-icon.red { background: rgba(255, 107, 107, 0.12); color: var(--accent); }
.service-icon.blue { background: rgba(74, 144, 226, 0.12); color: #4A90E2; }
.service-icon.orange { background: rgba(255, 217, 61, 0.12); color: #FFD93D; }
.service-card h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--text-light); }
.service-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.service-card .service-tag { display: inline-block; margin-top: 16px; padding: 4px 12px; background: rgba(108, 99, 255, 0.1); border-radius: 50px; font-size: 0.75rem; font-weight: 600; color: var(--primary-light); }
.services-cta { text-align: center; margin-top: 48px; }
.services-cta p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 20px; }

/* ===== PORTFOLIO ===== */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }
.portfolio-card {
    background: var(--dark-card); border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius); overflow: hidden; transition: var(--transition); cursor: default;
}
.portfolio-card:hover { transform: translateY(-8px); border-color: rgba(108, 99, 255, 0.2); box-shadow: 0 20px 60px rgba(108, 99, 255, 0.08); }
.portfolio-image { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--dark-3); }
.portfolio-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.site-preview .preview-bar { padding: 8px 12px; background: rgba(255,255,255,0.03); display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.preview-bar .preview-dot { width: 6px; height: 6px; border-radius: 50%; }
.preview-bar .preview-dot:nth-child(1) { background: #FF6B6B; }
.preview-bar .preview-dot:nth-child(2) { background: #FFD93D; }
.preview-bar .preview-dot:nth-child(3) { background: #00D4AA; }
.preview-bar .preview-url { font-size: 0.6rem; color: var(--text-muted); margin-left: 8px; font-weight: 400; font-family: var(--font-primary); }
.site-preview .preview-body { flex: 1; display: flex; flex-direction: column; padding: 12px; gap: 6px; }
.preview-body .p-line { height: 6px; background: rgba(255,255,255,0.05); border-radius: 3px; }
.preview-body .p-line:nth-child(1) { width: 70%; }
.preview-body .p-line:nth-child(2) { width: 50%; }
.preview-body .p-line:nth-child(3) { width: 85%; }
.preview-body .p-line:nth-child(4) { width: 40%; }
.preview-body .p-line:nth-child(5) { width: 60%; }
.preview-body .p-line.color-block { height: 20px; background: linear-gradient(90deg, rgba(108, 99, 255, 0.2), rgba(0, 212, 170, 0.2)); width: 100%; margin-top: 4px; }
.portfolio-overlay { position: absolute; inset: 0; background: rgba(10, 10, 26, 0.85); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay .btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border: 2px solid var(--primary); color: var(--text-light); border-radius: 50px; font-weight: 600; font-size: 0.9rem; transition: var(--transition); }
.portfolio-overlay .btn-outline:hover { background: var(--primary); transform: scale(1.05); }
.portfolio-info { padding: 28px; }
.portfolio-info .portfolio-tag { display: inline-block; padding: 4px 12px; background: rgba(108, 99, 255, 0.1); border-radius: 50px; font-size: 0.7rem; font-weight: 600; color: var(--primary-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.portfolio-info h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--text-light); margin-bottom: 8px; }
.portfolio-info p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.portfolio-results { display: flex; gap: 20px; flex-wrap: wrap; }
.portfolio-results .result-item { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-muted); }
.portfolio-results .result-item i { color: var(--secondary); font-size: 0.7rem; }

/* ===== WHY ME ===== */
.why-me { background: var(--dark-2); position: relative; overflow: hidden; }
.why-me::before {
    content: ''; position: absolute; top: 0; right: 0; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.why-me-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-me-content .section-title { margin-bottom: 32px; }
.why-me-list { display: grid; gap: 24px; }
.why-me-item { display: flex; gap: 16px; align-items: flex-start; }
.why-me-item .wm-icon {
    width: 48px; height: 48px; min-width: 48px;
    background: rgba(108, 99, 255, 0.1); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--primary-light);
}
.why-me-item h4 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; color: var(--text-light); margin-bottom: 4px; }
.why-me-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.why-me-quote {
    background: var(--dark-card); border: 1px solid rgba(108, 99, 255, 0.15);
    border-radius: var(--radius); padding: 40px 36px; position: relative;
}
.why-me-quote::before {
    content: '\201C'; font-size: 5rem; color: var(--primary);
    opacity: 0.2; position: absolute; top: 10px; left: 20px;
    font-family: Georgia, serif; line-height: 1;
}
.why-me-quote blockquote { font-size: 1.3rem; font-weight: 500; color: var(--text-light); line-height: 1.6; margin-bottom: 20px; position: relative; z-index: 1; }
.why-me-quote .quote-author { display: flex; align-items: center; gap: 12px; }
.quote-author .author-logo {
    width: 100px; height: 100px; border-radius: 50%;
    object-fit: cover;
}
.quote-author .author-info h5 { font-size: 0.95rem; font-weight: 600; color: var(--text-light); }
.quote-author .author-info p { font-size: 0.8rem; color: var(--text-muted); }

/* ===== HOW IT WORKS ===== */
.how-it-works { position: relative; }
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}
.step-card {
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    flex: 1;
    transition: var(--transition);
    position: relative;
    cursor: default;
}
.step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 99, 255, 0.2);
    box-shadow: 0 20px 60px rgba(108, 99, 255, 0.08);
}
.step-number {
    width: 44px; height: 44px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800; font-size: 1.2rem; color: white;
    margin: 0 auto 16px;
}
.step-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 16px;
}
.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem; font-weight: 700;
    color: var(--text-light); margin-bottom: 12px;
}
.step-card p {
    font-size: 0.9rem; color: var(--text-muted); line-height: 1.7;
}
.step-connector {
    font-size: 1.5rem;
    color: var(--primary);
    padding: 0 16px;
    flex-shrink: 0;
}

/* ===== CONTACT FORM ===== */
.contact-form-section { background: var(--dark-2); position: relative; }
.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-form-content .section-title { margin-bottom: 16px; }
.contact-form-content .section-subtitle { margin-bottom: 32px; }
.contact-form { width: 100%; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.85rem; font-weight: 600;
    color: var(--text-light); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239898B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.form-group select option { background: var(--dark-3); color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; justify-content: center; margin-top: 8px; }
.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
}
.contact-form-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.cf-cta-card {
    background: var(--dark-card);
    border: 1px solid rgba(108, 99, 255, 0.15);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    width: 100%;
}
.cf-cta-icon {
    width: 64px; height: 64px;
    background: rgba(37, 211, 102, 0.12);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #25D366;
    margin: 0 auto 16px;
}
.cf-cta-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem; font-weight: 700;
    color: var(--text-light); margin-bottom: 8px;
}
.cf-cta-card p {
    font-size: 0.9rem; color: var(--text-muted);
    margin-bottom: 20px;
}

/* ===== EXIT INTENT POPUP ===== */
.exit-popup-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.exit-popup-overlay.active {
    display: flex;
    opacity: 1;
}
.exit-popup {
    background: var(--dark-card);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: scaleIn 0.4s ease forwards;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.exit-popup-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.exit-popup-close:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-light);
}
.exit-popup-icon {
    width: 72px; height: 72px;
    background: rgba(108, 99, 255, 0.12);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: var(--primary-light);
    margin: 0 auto 20px;
}
.exit-popup h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem; font-weight: 800;
    color: var(--text-light); margin-bottom: 12px;
}
.exit-popup p {
    font-size: 0.95rem; color: var(--text-muted);
    margin-bottom: 24px; line-height: 1.7;
}
.exit-popup .btn-primary {
    font-size: 1.05rem;
    padding: 16px 36px;
}

/* ===== CTA FINAL ===== */
.cta-final {
    position: relative; overflow: hidden;
    background: var(--gradient-3);
}
.cta-final::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236C63FF' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.cta-final .container { text-align: center; position: relative; z-index: 1; }
.cta-final .section-title { font-size: clamp(2rem, 4vw, 3rem); }
.cta-final .section-subtitle { margin: 0 auto 36px; }
.cta-final .btn-primary { font-size: 1.15rem; padding: 20px 40px; animation: pulse 2s ease-in-out infinite; }

/* ===== FOOTER ===== */
.footer { background: var(--dark-3); padding: 60px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; color: var(--text-light); margin-bottom: 16px; }
.footer-brand .logo .logo-icon { width: 36px; height: 36px; background: var(--gradient-1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 900; color: white; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; max-width: 300px; }
.footer-col h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--text-light); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; color: var(--text-muted); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: white; transform: translateY(-3px); }

/* ===== STICKY WHATSAPP MOBILE ===== */
.whatsapp-sticky {
    display: none; position: fixed; bottom: 24px; right: 24px;
    z-index: 999; width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; color: white; font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    align-items: center; justify-content: center;
    transition: var(--transition); animation: pulse 2s ease-in-out infinite;
}
.whatsapp-sticky:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 26, 0.98); backdrop-filter: blur(20px);
    z-index: 999; flex-direction: column; align-items: center; justify-content: center;
    gap: 32px; opacity: 0; transition: opacity 0.3s ease;
}
.mobile-nav.active { display: flex; opacity: 1; }
.mobile-nav a { font-size: 1.4rem; font-weight: 600; color: var(--text-muted); transition: var(--transition); }
.mobile-nav a:hover { color: var(--text-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-logo { text-align: center; }
    .hero-logo-wrapper { margin: 0 auto; }
    .hero p { margin: 0 auto 36px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .floating-card.card-1 { right: 0; }
    .floating-card.card-2 { left: 0; }
    .why-me-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-stat h3 { font-size: 1.4rem; }
    .floating-card { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .whatsapp-sticky { display: flex; }
    .section-header { margin-bottom: 40px; }
    .why-me-quote { padding: 30px 24px; }
    .why-me-quote blockquote { font-size: 1.1rem; }
    .steps-grid { flex-direction: column; gap: 0; }
    .step-connector { transform: rotate(90deg); padding: 16px 0; }
    .contact-form-wrapper { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .exit-popup { padding: 32px 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary { width: 100%; justify-content: center; }
    .section-title { font-size: 1.6rem; }
    .cta-final .btn-primary { width: 100%; justify-content: center; }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
}

/* ===== SELECTION ===== */
::selection { background: var(--primary); color: white; }
