/* Design System: Tech-Luxury (Dark Mode) */
:root {
    --bg-main: #0a0b14;
    --bg-surface: #111827;
    --bg-surface-light: #1e293b;
    
    --primary: #ffffff;
    --accent: #EAB308; /* Vibrant Gold */
    --accent-glow: rgba(234, 179, 8, 0.4);
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --radius-lg: 1.5rem;
    --radius-md: 0.75rem;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 150px rgba(0, 100, 255, 0.15);
    pointer-events: none;
    z-index: 9999;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h1 { 
    /* font-size: clamp(3rem, 7vw, 5.5rem);  */
	font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800; 
    letter-spacing: -0.02em; 
    line-height: 1.1;
    text-shadow: 0 0 40px rgba(234, 179, 8, 0.15);
}
h1 .text-gradient {
    text-shadow: 0 0 20px var(--accent-glow);
}
h2 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h3 { font-size: 1.75rem; font-weight: 600; }

p { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 1.1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* Utilities */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.capsule-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    background: rgba(0,0,0,0.3);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.1);
}
.capsule-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hidden { display: none; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 35px var(--accent-glow);
    background: #fff;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
    backdrop-filter: var(--glass-blur);
}
.btn-outline:hover {
    background: var(--glass);
    border-color: #fff;
}

.btn-block { width: 100%; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(10, 11, 20, 0.85);
    backdrop-filter: var(--glass-blur);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo img { height: 45px; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; list-style: none; }
.nav-links a { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; }
.nav-links a:hover { opacity: 1; color: var(--accent); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 2px; background: #fff; }

/* Hero Section (Centered) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
}
.hero::before {
    content: '';
    position: absolute;
    top: 10%; left: 50%;
    width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, transparent 70%);
    transform: translateX(-50%);
    z-index: -1;
}
.hero-content { max-width: 900px; }
.subtitle {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1.5rem;
}
.elevator-pitch { font-size: 1.25rem; max-width: 700px; margin: 0 auto 3rem; }
.btn-group { display: flex; gap: 1.5rem; justify-content: center; }

/* Section Base */
.section { 
    padding: 0; 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative; 
    scroll-margin-top: 50px; /* Reduced for full viewport anchoring */
}
.section-stats { min-height: auto; padding: 4rem 0; scroll-margin-top: 100px; }
.section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 10%; width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

/* Problem Section */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.feature-list { list-style: none; display: grid; gap: 1rem; margin-top: 2rem; }
.feature-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    font-size: 0.95rem; /* Downsized for elegance */
}
.feature-list li:hover { border-color: rgba(255,255,255,0.2); transform: translateX(10px); }
.feature-list li svg { width: 18px; color: var(--accent); flex-shrink: 0; }

/* Cards (Opportunity, Audience, etc) */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.card {
    background: var(--bg-surface);
    padding: 2.5rem; /* Downsized padding */

    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}
.card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.card h3 { color: #fff; }

.audience-box.for-you h3, .audience-box.not-for-you h3 { font-size: 1.25rem; }
.audience-box.for-you { background: linear-gradient(135deg, #111827 0%, #0a0b14 100%); border-left: 4px solid var(--accent); }
.audience-box.not-for-you { opacity: 0.6; }

/* Testimonials Carousel */
.testimonials-section { background: radial-gradient(circle at bottom, #111827 0%, var(--bg-main) 100%); }
.carousel-slide { padding: 0.5rem; flex: 0 0 100%; }
@media (min-width: 992px) {
    .carousel-slide { flex: 0 0 33.333%; }
}
.testimonial-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}
.video-placeholder { aspect-ratio: 16/9; background: #000; position: relative; }
.play-btn { width: 50px; height: 50px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; padding-left: 4px; color: #000; }
.testimonial-content { padding: 2rem; }

/* Profile Section */
.profile-img-container { 
    border-radius: var(--radius-lg); 
    overflow: hidden; 
    box-shadow: 0 0 50px rgba(234, 179, 8, 0.1); 
    max-width: 500px;
    margin: 0 auto;
}
.profile-img-container img { 
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.9); 
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: rgba(10, 11, 20, 0.95);
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.modal.active {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: #fff;
    width: 90%;
    max-width: 600px;
    margin: auto;
    position: relative;
}
@media (max-width: 768px) {
    .modal-content { padding: 2rem; }
}
.form-group input {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    border-radius: var(--radius-md);
}

/* Floating Elements */
.fab { 
    position: fixed; 
    right: 30px; 
    bottom: 30px; 
    z-index: 1500; 
}
.fab-btn { 
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Using 50% for standard whatsapp circle */
    width: 60px; 
    height: 60px; 
    background-color: #25D366; /* WhatsApp Green */
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fab-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}
.fab-btn span {
    display: none; /* Hide 'Aplicar a sesión' text visually but keep for screen readers */
}


/* Footer */
.footer { background: #000; padding: 6rem 0 2rem; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 4rem; margin-bottom: 4rem; }
.footer-logo img { height: 40px; margin-bottom: 1.5rem; }
.footer-contact h3 { font-family: var(--font-body); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.1em; border-bottom: 1px solid var(--accent); display: inline-block; padding-bottom: 0.5rem; }
.footer-contact ul { list-style: none; margin-top: 1.5rem; }
.footer-contact li { margin-bottom: 1rem; color: var(--text-secondary); }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--glass-border); padding-top: 2rem; color: var(--text-muted); font-size: 0.85rem; }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .split-layout { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
    .feature-list { text-align: left; }
    .hero h1 { font-size: 3.5rem; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .btn-group { flex-direction: column; }
    .section { padding: 6rem 0; }
}
