:root {
    --primary: #0a0a0a;
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --bg-dark: #000000;
    --bg-glass: rgba(255, 255, 255, 0.04);
    --text-white: #ffffff;
    --text-dim: #a1a1aa;
    --border: rgba(255, 255, 255, 0.12);
    --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --header-h: 80px;
    --smooth: cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Brand Colors */
    --clr-flutter: #02569B;
    --clr-laravel: #FF2D20;
    --clr-nodejs: #339933;
    --clr-react: #61DAFB;
    --clr-mongodb: #47A248;
    --clr-docker: #2496ED;
    --clr-cloudflare: #F38020;
    --clr-linux: #FCC624;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--primary);
    color: var(--text-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Classes */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    height: var(--header-h);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.4s var(--smooth);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: white;
    text-decoration: none;
}

.logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s var(--smooth);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

/* Buttons */
.btn {
    padding: 0.6rem 1.4rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s var(--smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: white;
    color: black;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: white;
    color: black;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-h);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 2rem;
    background: linear-gradient(to bottom, #fff 40%, rgba(255,255,255,0.4));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .card[style*="grid-column: span 2"],
    .grid > div[style*="grid-column: span 2"] {
        grid-column: span 1 !important;
    }
}

.card {
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.4s var(--smooth);
}

.card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px -10px var(--accent-glow);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Section Decor */
section {
    padding: 8rem 0;
}

.tag {
    background: var(--bg-glass);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block;
    border: 1px solid var(--border);
}

.section-label {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label h2 {
    font-size: 3rem;
    font-weight: 800;
}

/* Footer */
footer {
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo { font-size: 1.4rem; font-weight: 800; margin-bottom: 1rem; }
.footer-desc { color: var(--text-dim); font-size: 0.9rem; max-width: 250px; }

.footer-links h4 { font-size: 0.9rem; margin-bottom: 1.5rem; color: #fff; }
.footer-links a { display: block; color: var(--text-dim); font-size: 0.85rem; text-decoration: none; margin-bottom: 0.8rem; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-nav-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: transform 0.4s var(--smooth), visibility 0.4s;
        z-index: 1000;
        border-left: 1px solid var(--border);
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
    }

    .nav-links.mobile-active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .hero h1 { font-size: 3.5rem; letter-spacing: -2px; }
    .footer-top { grid-template-columns: 1fr; gap: 3rem; }
}

/* Premium Founder & Trust Enhancements */
.founder-profile {
    display: flex;
    gap: 4rem;
    align-items: center;
    background: var(--bg-glass);
    padding: 3.5rem;
    border-radius: 32px;
    border: 1px solid var(--border);
}

.skill-pill {
    background: var(--bg-glass);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--text-dim);
    border: 1px solid var(--border);
    display: inline-block;
    margin: 4px;
    font-weight: 500;
}

.tech-grid-premium {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    padding: 4rem 0;
}

.tech-icon-v2 {
    font-size: 3rem;
    color: var(--text-dim);
    transition: var(--smooth);
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    animation: float 6s ease-in-out infinite;
}

/* Staggered Floating Animation */
.tech-icon-v2:nth-child(2n) { animation-delay: -1s; }
.tech-icon-v2:nth-child(3n) { animation-delay: -2s; }
.tech-icon-v2:nth-child(4n) { animation-delay: -3s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* Permanent Brand Colors */
.tech-icon-v2.flutter { color: var(--clr-flutter); border-color: rgba(2, 86, 155, 0.3); }
.tech-icon-v2.laravel { color: var(--clr-laravel); border-color: rgba(255, 45, 32, 0.3); }
.tech-icon-v2.nodejs { color: var(--clr-nodejs); border-color: rgba(51, 153, 51, 0.3); }
.tech-icon-v2.react { color: var(--clr-react); border-color: rgba(97, 218, 251, 0.3); }
.tech-icon-v2.mongodb { color: var(--clr-mongodb); border-color: rgba(71, 162, 72, 0.3); }
.tech-icon-v2.docker { color: var(--clr-docker); border-color: rgba(36, 150, 237, 0.3); }
.tech-icon-v2.cloudflare { color: var(--clr-cloudflare); border-color: rgba(243, 128, 32, 0.3); }
.tech-icon-v2.linux { color: var(--clr-linux); border-color: rgba(252, 198, 36, 0.3); }

.tech-icon-v2:hover {
    opacity: 1;
    transform: scale(1.2) rotate(0deg) !important;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px var(--accent-glow);
    z-index: 10;
}

/* Tech Typing Cursor */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background: var(--accent);
    margin-left: 5px;
    animation: blink 0.8s infinite;
    vertical-align: middle;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Background Animated Gradient Mesh */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,0.2) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,0.1) 0, transparent 50%);
    opacity: 0.8;
}

.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    text-decoration: none;
    transition: var(--smooth);
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(12deg);
}

.premium-cta {
    background: radial-gradient(circle at top right, var(--accent-glow), transparent), var(--bg-glass);
    padding: 6rem;
    border-radius: 40px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.social-links-v2 {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links-v2 a {
    width: 36px;
    height: 36px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-dim);
    transition: var(--smooth);
    text-decoration: none;
}

.social-links-v2 a:hover {
    border-color: var(--accent);
    color: white;
    background: rgba(79, 70, 229, 0.1);
}

@media (max-width: 768px) {
    .founder-profile { flex-direction: column; text-align: center; padding: 2rem; }
    .premium-cta { padding: 3rem 1.5rem; }
}
