@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    /* Background System */
    --bg-base: #000000;
    --bg-surface: rgba(255, 255, 255, 0.02);
    --bg-elevated: rgba(255, 255, 255, 0.04);
    --border-subtle: rgba(255, 255, 255, 0.06);

    /* Primary Gradient */
    --primary: oklch(60% 0.25 250);
    --primary-rgb: 99, 102, 241;
    --border-glow: rgba(var(--primary-rgb), 0.2);
    --gradient-brand: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
    --gradient-text: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0.6));

    /* Accent Colors */
    --accent-green: #22c55e;
    --accent-blue: #3b82f6;
    --accent-purple: #a855f7;
    --accent-amber: #f59e0b;

    /* Typography */
    --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing */
    --container-max: 1280px;
    --header-height: 80px;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--bg-base);
    color: #ffffff;
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Grain Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAwIDIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZmlsdGVyIGlkPSJuIj4KICAgIDxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+CiAgPC9maWx0ZXI+CiAgPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI24pIiBvcGFjaXR5PSIwLjAzIi8+Cjwvc3ZnPg==');
    opacity: 0.4;
    z-index: 9999;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-brand-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 80px 0;
}

@media (min-width: 1024px) {
    section {
        padding: 120px 0;
    }
}

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

ul {
    list-style: none;
}

/* Utility Classes */
.glass {
    backdrop-filter: blur(40px);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.text-dim {
    color: rgba(255, 255, 255, 0.6);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
}

.badge-primary {
    border-color: var(--border-glow);
    color: #818cf8;
}

/* Section Specific Layouts */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.nav-wrapper { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo-area { display: flex; align-items: center; gap: 12px; }
.desktop-nav ul { display: flex; gap: 2rem; }
.nav-cta { display: flex; gap: 1rem; }

.hero-section { position: relative; padding: 120px 0; overflow: hidden; }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-title { font-size: clamp(40px, 6vw, 84px); margin-bottom: 24px; }
.hero-subtitle { font-size: clamp(18px, 2vw, 22px); margin-bottom: 40px; max-width: 600px; }
.hero-actions { display: flex; gap: 1.5rem; margin-bottom: 40px; }

.hero-visual { position: relative; height: 500px; perspective: 1000px; }
.mockup-card { position: absolute; width: 280px; padding: 20px; border-radius: 20px; z-index: 1; }
.mockup-natatorio { top: 0; right: 0; z-index: 3; }
.mockup-peluqueria { top: 120px; left: 0; z-index: 2; opacity: 0.8; }
.mockup-academia { bottom: 0; right: 40px; z-index: 1; opacity: 0.6; }

.social-proof-bar { padding: 40px 0; border-bottom: 1px solid var(--border-subtle); }
.social-proof-title { text-align: center; font-size: 14px; margin-bottom: 30px; }
.logo-item { font-size: 18px; font-weight: 700; color: rgba(255, 255, 255, 0.4); margin-right: 60px; }

.problem-solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 40px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 40px; }
.stepper-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; margin-top: 40px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 40px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 40px; }

.contact-form-wrapper { max-width: 800px; margin: 0 auto; padding: 40px; border-radius: 32px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.btn-full-width { width: 100%; margin-top: 20px; }

.footer { padding: 80px 0 40px; border-top: 1px solid var(--border-subtle); }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 60px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 40px; border-top: 1px solid var(--border-subtle); font-size: 13px; opacity: 0.5; }

.mobile-menu-toggle { display: none; background: none; border: none; flex-direction: column; gap: 6px; cursor: pointer; }

@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { height: 400px; display: flex; justify-content: center; }
    .mockup-card { width: 240px; position: relative; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; transform: none !important; margin: 0 -20px; }
    .features-grid, .stepper-grid, .pricing-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .desktop-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .nav-cta { display: none; }
}

@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .problem-solution-grid { grid-template-columns: 1fr; }
}
