/* --- VARIABLES (NEW CYBER BLUE/CYAN PALETTE) --- */
:root {
    --bg-darker: #040811; /* Deeper, cooler black */
    --bg-dark: #0A1121;
    --bg-card: #121C33;
    --text-main: #F1F5F9;
    --text-muted: #94A3B8;
    --accent-primary: #00E5FF; /* Bright Electric Cyan */
    --accent-secondary: #0066FF; /* Deep Tech Blue */
    --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --neon-green: #00FF66; 
}

/* --- RESET & TYPOGRAPHY --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif; /* Professional body font */
    background-color: var(--bg-darker);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif; /* Modern tech heading font */
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.accent-text { color: var(--accent-primary); }

/* Dividers */
.divider {
    height: 4px;
    width: 60px;
    background: var(--accent-gradient);
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}
.divider.center { margin: 0 auto 40px auto; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px; /* Slightly sharper corners for a tech feel */
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
}
.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.6);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    margin-left: 15px;
    backdrop-filter: blur(5px);
}
.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-primary);
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; display: flex; align-items: center; gap: 15px; z-index: 9999; cursor: pointer; text-decoration: none; }
.wa-text { background: rgba(0, 0, 0, 0.8); color: var(--neon-green); padding: 8px 16px; border-radius: 20px; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1px; border: 1px solid rgba(0, 255, 102, 0.3); opacity: 0; transform: translateX(20px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); pointer-events: none; }
.whatsapp-float:hover .wa-text { opacity: 1; transform: translateX(0); }
.wa-icon-wrapper { background: #000; color: var(--neon-green); width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 0 20px rgba(0, 255, 102, 0.4); border: 2px solid var(--neon-green); transition: all 0.3s ease; animation: pulse-neon 2s infinite; }
.whatsapp-float:hover .wa-icon-wrapper { transform: scale(1.1) rotate(10deg); box-shadow: 0 0 30px rgba(0, 255, 102, 0.6); animation: none; }
@keyframes pulse-neon { 0% { box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.5); } 70% { box-shadow: 0 0 0 15px rgba(0, 255, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 255, 102, 0); } }

/* --- NAVIGATION --- */
.navbar { background-color: rgba(4, 8, 17, 0.85); backdrop-filter: blur(20px); position: fixed; width: 100%; top: 0; z-index: 1000; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo img { height: 45px; background: white; padding: 5px; border-radius: 4px; }
.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links li { margin-left: 30px; }
.nav-links a { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 14px; text-transform: uppercase; transition: color 0.3s; color: var(--text-muted); }
.nav-links a:hover { color: var(--accent-primary); }
.btn-nav { border: 1px solid var(--accent-primary); padding: 8px 20px; border-radius: 6px; color: var(--accent-primary) !important; }
.btn-nav:hover { background: var(--accent-gradient); color: #fff !important; border-color: transparent; }

/* --- INNOVATIVE HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--bg-darker);
    overflow: hidden;
}

/* Background Animation Elements */
.hero-bg-elements { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; animation: float 10s infinite alternate ease-in-out; }
.orb-1 { width: 400px; height: 400px; background: var(--accent-secondary); top: -100px; left: -100px; }
.orb-2 { width: 300px; height: 300px; background: var(--accent-primary); bottom: -50px; right: -50px; animation-delay: -5s; }
.orb-3 { width: 250px; height: 250px; background: #4A00E0; top: 40%; left: 50%; transform: translate(-50%, -50%); animation-duration: 15s; opacity: 0.3;}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-50px) scale(1.1); }
}

/* Glassmorphism Panel */
.glass-panel {
    position: relative;
    z-index: 2;
    background: rgba(18, 28, 51, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px;
    border-radius: 24px;
    text-align: center;
    max-width: 900px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.badge-pill {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; }
.hero-actions { display: flex; align-items: center; justify-content: center; }

/* --- SCROLL ANIMATION CLASSES --- */
.reveal { opacity: 0; transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translate(0, 0); }
.fade-up { transform: translateY(40px); }
.slide-left { transform: translateX(-50px); }
.slide-right { transform: translateX(50px); }

/* --- LAYOUT SECTIONS --- */
.section { padding: 120px 0; }
.bg-dark { background-color: var(--bg-dark); }
.bg-darker { background-color: var(--bg-darker); }

/* --- ABOUT SECTION --- */
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { color: var(--text-muted); margin-bottom: 20px; font-size: 1.05rem; }
.tech-box { background: var(--bg-card); padding: 50px; border-radius: 16px; border: 1px solid rgba(0, 229, 255, 0.2); position: relative; overflow: hidden; }
.glow-orb { position: absolute; top: -50px; right: -50px; width: 150px; height: 150px; background: var(--accent-primary); filter: blur(80px); opacity: 0.3; }
.tech-box h3 { color: #fff; position: relative; z-index: 2; }
.tech-box p { color: var(--text-muted); margin: 0; position: relative; z-index: 2; }

/* --- TECH ARSENAL --- */
.tech-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.tech-item { background: var(--bg-card); padding: 15px 25px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); font-weight: 600; font-family: 'Outfit', sans-serif; display: flex; align-items: center; gap: 10px; transition: all 0.3s ease; }
.tech-item:hover { border-color: var(--accent-primary); background: rgba(0, 229, 255, 0.05); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }

/* --- SERVICES SECTION --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: var(--bg-card); padding: 40px 30px; border-radius: 16px; transition: transform 0.3s ease, border-color 0.3s; border: 1px solid rgba(255,255,255,0.05); }
.service-card:hover { transform: translateY(-10px); border-color: var(--accent-primary); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.service-card .icon { font-size: 40px; margin-bottom: 20px; }
.service-card p { color: var(--text-muted); font-size: 1rem; }

/* --- PORTFOLIO SECTION --- */
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.portfolio-card { background: var(--bg-card); border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s ease; }
.portfolio-card:hover { transform: translateY(-10px); border-color: rgba(0, 229, 255, 0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* Reset Container: Remove all padding to eliminate the gaps */
.portfolio-img { position: relative; height: 250px; width: 100%; padding: 0 !important; overflow: hidden; border-radius: 16px 16px 0 0; }
.portfolio-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: fill !important; z-index: 1; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }

/* Updated Overlay Gradients to match new Blue Theme */
.img-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.app-overlay { background: linear-gradient(to bottom, transparent 40%, var(--bg-card) 100%); }
.game-overlay { background: linear-gradient(to bottom, rgba(0, 102, 255, 0.1) 0%, var(--bg-card) 100%); }

.badge { position: absolute; top: 20px; left: 20px; z-index: 3; background: rgba(0,0,0,0.6); color: #fff; padding: 6px 12px; border-radius: 6px; font-size: 12px; font-family: 'Outfit', sans-serif; font-weight: 700; backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.1); text-transform: uppercase;}
.portfolio-info { padding: 30px; }
.portfolio-info p { color: var(--text-muted); font-size: 1rem; margin-top: 10px; }

/* --- CONTACT SECTION --- */
.contact-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.info-list { list-style: none; margin-top: 30px; }
.info-list li { margin-bottom: 20px; color: var(--text-muted); font-size: 1rem;}
.info-list strong { color: #fff; display: inline-block; width: 90px; }
.contact-form { background: var(--bg-card); padding: 40px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-family: 'Outfit', sans-serif; font-size: 0.95rem; font-weight: 600; color: #fff; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: #fff; font-family: inherit; transition: border-color 0.3s; font-size: 1rem; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-primary); background: rgba(0,0,0,0.5); }
.btn-submit { width: 100%; padding: 16px; }

/* Alerts */
.alert { padding: 15px; margin-bottom: 20px; border-radius: 8px; font-weight: 600; font-family: 'Outfit', sans-serif;}
.alert.success { background: rgba(46, 204, 113, 0.1); color: #2ecc71; border: 1px solid #2ecc71; }
.alert.error { background: rgba(231, 76, 60, 0.1); color: #e74c3c; border: 1px solid #e74c3c; }

/* --- FOOTER --- */
footer { background: #020408; padding: 40px 0; text-align: center; color: var(--text-muted); font-size: 0.95rem; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .glass-panel { padding: 40px 20px; }
    .about-container, .contact-container, .portfolio-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.8rem; }
    .nav-links { display: none; }
    .hero-actions { flex-direction: column; gap: 15px; align-items: stretch; }
    .btn-secondary { margin-left: 0; text-align: center;}
    .whatsapp-float { bottom: 20px; right: 20px; }
    .wa-text { display: none; }
}