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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --border: #222222;
    --text-primary: #f0f0f0;
    --text-secondary: #888888;
    --text-muted: #555555;
    --accent: #c8ff00;
    --accent-dim: rgba(200, 255, 0, 0.08);
    --accent-glow: rgba(200, 255, 0, 0.15);
    --whatsapp: #25D366;
    --whatsapp-dark: #1da851;
    --whatsapp-glow: rgba(37, 211, 102, 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --font-display: 'Sora', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
    font-family: var(--font-display);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* ===== NAV ===== */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
nav .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text-primary); }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.85rem; color: var(--text-secondary); transition: color 0.3s; letter-spacing: 0.02em; }
.nav-links a:hover { color: var(--text-primary); }
.nav-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.75rem; color: var(--accent);
    background: var(--accent-dim);
    padding: 6px 14px; border-radius: 100px;
    border: 1px solid rgba(200, 255, 0, 0.12);
}
.nav-badge::before {
    content: ''; width: 6px; height: 6px;
    background: var(--accent); border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: 100px;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-tag { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); margin-bottom: 24px; letter-spacing: 0.1em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-desc { font-size: 1.15rem; color: var(--text-secondary); max-width: 560px; line-height: 1.7; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { margin-top: 24px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.05em; }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: var(--radius);
    font-size: 0.9rem; font-weight: 500; font-family: var(--font-display);
    cursor: pointer; border: none;
    transition: all 0.3s ease;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: #deff44; transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--text-muted); transform: translateY(-2px); }

/* ===== SECTIONS ===== */
section { padding: 120px 0; }
.section-tag { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 16px; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 24px; line-height: 1.15; }
.section-desc { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; line-height: 1.7; }

/* ===== ABOUT ===== */
#about { border-top: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 60px; }
.about-text p { color: var(--text-secondary); margin-bottom: 20px; line-height: 1.8; font-size: 1rem; }
.about-text strong { color: var(--text-primary); }
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tool-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: all 0.3s ease; }
.tool-item:hover { border-color: var(--text-muted); transform: translateY(-2px); }
.tool-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.tool-desc { font-size: 0.78rem; color: var(--text-muted); }

/* ===== PROJECTS ===== */
#projects { border-top: 1px solid var(--border); }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; margin-top: 60px; }
.project-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; transition: all 0.4s ease; position: relative; overflow: hidden; }
.project-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0; transition: opacity 0.4s;
}
.project-card:hover::before { opacity: 1; }
.project-card:hover { border-color: var(--text-muted); transform: translateY(-4px); }
.project-number { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); margin-bottom: 16px; }
.project-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.project-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.project-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.project-tag { font-size: 0.7rem; font-family: var(--font-mono); color: var(--accent); background: var(--accent-dim); padding: 4px 10px; border-radius: 100px; border: 1px solid rgba(200, 255, 0, 0.08); }

/* ===== CONTACT / WHATSAPP ===== */
#contact { border-top: 1px solid var(--border); }
.contact-wrapper { margin-top: 60px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact-wrapper .section-desc { text-align: center; margin-bottom: 48px; }
.whatsapp-btn {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 22px 48px;
    background: var(--whatsapp); color: #fff;
    font-size: 1.15rem; font-weight: 600; font-family: var(--font-display);
    border: none; border-radius: 60px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
    position: relative; overflow: hidden;
}
.whatsapp-btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    border-radius: inherit;
}
.whatsapp-btn:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 50px var(--whatsapp-glow), 0 0 0 1px rgba(37, 211, 102, 0.3);
}
.whatsapp-btn:active { transform: translateY(-1px) scale(0.99); }
.whatsapp-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.whatsapp-note { margin-top: 20px; font-size: 0.82rem; color: var(--text-muted); }

.contact-extras { display: flex; gap: 40px; margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border); }
.contact-extra-item { text-align: center; }
.contact-extra-label { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.contact-extra-value { font-size: 0.9rem; color: var(--text-secondary); }
.contact-extra-value a { color: var(--text-primary); transition: color 0.3s; }
.contact-extra-value a:hover { color: var(--accent); }

/* ===== SERVICES ===== */
#services { border-top: 1px solid var(--border); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 60px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; transition: all 0.4s ease; position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.service-icon { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); background: var(--accent-dim); padding: 6px 12px; border-radius: 100px; display: inline-block; margin-bottom: 20px; border: 1px solid rgba(200, 255, 0, 0.12); align-self: flex-start; }
.service-card h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 14px; letter-spacing: -0.01em; }
.service-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.service-list { list-style: none; margin-bottom: 24px; }
.service-list li { font-size: 0.85rem; color: var(--text-secondary); padding: 6px 0; padding-left: 20px; position: relative; }
.service-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); }
.service-price { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-primary); padding-top: 20px; border-top: 1px solid var(--border); margin-top: auto; }
.service-price strong { color: var(--accent); }
.service-cta { margin-top: 16px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }

/* ===== PROCESS ===== */
#process { border-top: 1px solid var(--border); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.process-step { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; transition: all 0.3s ease; }
.process-step:hover { border-color: var(--text-muted); }
.process-number { font-family: var(--font-mono); font-size: 2.2rem; font-weight: 700; color: var(--accent); margin-bottom: 16px; line-height: 1; }
.process-step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.process-step p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== FAQ ===== */
#faq { border-top: 1px solid var(--border); }
.faq-list { margin-top: 60px; max-width: 820px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; transition: border-color 0.3s; }
.faq-item:hover { border-color: var(--text-muted); }
.faq-item summary { padding: 22px 28px; cursor: pointer; font-weight: 600; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.5rem; font-weight: 300; transition: transform 0.3s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 28px 24px; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }

/* ===== VIDEO ===== */
#video { border-top: 1px solid var(--border); }
.video-wrapper { margin-top: 60px; position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #000; box-shadow: 0 0 80px rgba(200, 255, 0, 0.05); transition: box-shadow 0.4s ease; }
.video-wrapper:hover { box-shadow: 0 0 100px rgba(200, 255, 0, 0.1); }
.video-wrapper video { width: 100%; display: block; border-radius: var(--radius-lg); }

/* ===== PROBLEM / SOLUTION (landings) ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; align-items: start; }
.panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.panel h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 18px; letter-spacing: -0.01em; }
.panel ul { list-style: none; }
.panel li { font-size: 0.95rem; color: var(--text-secondary); padding: 10px 0; padding-left: 28px; position: relative; line-height: 1.6; border-bottom: 1px solid var(--border); }
.panel li:last-child { border-bottom: none; }
.panel li::before { content: '✕'; position: absolute; left: 0; color: #ff4466; font-weight: 700; }
.panel.solution li::before { content: '✓'; color: var(--accent); }

/* ===== FOOTER ===== */
footer { padding: 32px 0; border-top: 1px solid var(--border); }
footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
footer span { color: var(--accent); }
.footer-social { display: flex; align-items: center; gap: 16px; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.8rem; font-family: var(--font-mono); transition: color 0.3s; line-height: 1; }
.footer-social a:hover { color: var(--accent); }
.footer-social svg { width: 16px !important; height: 16px !important; flex-shrink: 0; }

@media (max-width: 640px) {
    footer .container { flex-direction: column; gap: 12px; text-align: center; }
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px;
    width: 60px; height: 60px;
    background: var(--whatsapp); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 99;
    box-shadow: 0 4px 20px var(--whatsapp-glow);
    transition: all 0.3s ease;
    animation: floatPulse 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes floatPulse {
    0%, 100% { box-shadow: 0 4px 20px var(--whatsapp-glow); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.4); }
}

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 1; transform: translateY(0); transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== MOBILE ===== */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: all 0.3s; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-badge { display: none; }
    .mobile-menu-btn { display: block; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .projects-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; gap: 20px; }
    .hero h1 { font-size: 2.4rem; }
    .contact-extras { flex-direction: column; gap: 24px; }
    .whatsapp-btn { padding: 18px 36px; font-size: 1rem; }
    section { padding: 80px 0; }
}

@media (max-width: 480px) {
    .tools-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}
