:root {
    --bg-color: #050507;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-glow: rgba(56, 189, 248, 0.12);
    --accent-glow-secondary: rgba(167, 139, 250, 0.08);
    --border-color: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-hover: rgba(255, 255, 255, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Background Effects (Mobile First)
   ========================================================================== */
.glow-bg {
    position: fixed;
    top: -10%;
    left: -20%;
    width: 100vw;
    height: 100vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0,0,0,0) 60%);
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(60px);
}

.glow-bg-right {
    position: fixed;
    bottom: -10%;
    right: -20%;
    width: 100vw;
    height: 100vw;
    background: radial-gradient(circle, var(--accent-glow-secondary) 0%, rgba(0,0,0,0) 60%);
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(60px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 5, 7, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.logo span {
    color: var(--text-secondary);
    font-weight: 300;
}

/* ==========================================================================
   Typography & Base Components (Mobile Defaults)
   ========================================================================== */
.highlight {
    background: linear-gradient(135deg, #fff 0%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.highlight-text {
    color: #fff !important;
    font-weight: 500;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* ==========================================================================
   Buttons (Mobile Defaults)
   ========================================================================== */
.cta-group {
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
    width: 100%;
}

.btn {
    text-decoration: none;
    padding: 1.2rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::after {
    opacity: 1;
}

.btn-title {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    position: relative;
    z-index: 2;
}

.btn-price {
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: #f8fafc;
    color: #0f172a;
    box-shadow: 0 0 20px rgba(248, 250, 252, 0.1);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:active {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(0.98);
}

/* ==========================================================================
   Sections & Layouts (Mobile Defaults)
   ========================================================================== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 1.25rem 3rem;
    position: relative;
}

.hero-content {
    width: 100%;
    z-index: 1;
}

.headline {
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -1px;
}

.subheadline {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.text-section {
    padding: 3rem 1.25rem;
    width: 100%;
}

.text-container {
    width: 100%;
}

.text-container h2 {
    font-size: 1.7rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-container p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.diferencial, .cases, .offer, .cta-final {
    padding: 3.5rem 1.25rem;
    width: 100%;
}

.diferencial-header h2, .cases h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.diferencial-header p, .cases-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Grids - Stacked for Mobile */
.ideal-mini-grid, .diferencial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Cards */
.mini-block, .diferencial-item, .case-card, .offer-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
}

.mini-block h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.bullet-list {
    list-style: none;
    margin: 1.5rem 0;
}

.bullet-list li {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
}

.bullet-list li::before {
    content: "•";
    color: #7dd3fc;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1.2;
}

.caos-list p {
    color: #ef4444 !important;
    font-family: monospace;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    border-left: 2px solid #ef4444;
}

.diferencial-item .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.diferencial-item h3 {
    font-size: 1.2rem;
    font-weight: 500;
}

.case-card {
    aspect-ratio: auto;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-align: center;
    padding: 1rem;
    scroll-snap-align: center;
    flex: 0 0 85%;
    max-width: 320px;
}

.cases-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 2rem;
    padding-top: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.cases-carousel::-webkit-scrollbar {
    display: none;
}

.case-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.placeholder-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.offer-container h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.offer-container p {
    font-size: 1.05rem;
}

.cta-final-container {
    text-align: center;
}

footer {
    text-align: center;
    padding: 3rem 1.25rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Animations */
.reveal, .reveal-up {
    opacity: 0;
    visibility: hidden;
}

/* Offer Section Grid — Mobile: vertical stack, Desktop: 2 cols */
.offers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    width: 100%;
}

.offer-title {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 1.25rem 0 0.75rem;
    letter-spacing: -0.5px;
}

.offer-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 2rem;
}

.offer-cta {
    display: flex;
    justify-content: stretch;
}

.offer-cta .btn {
    width: 100%;
}

.offer-premium {
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(56, 189, 248, 0.05) 100%);
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.05);
}


@media (min-width: 768px) {
    /* Background */
    .glow-bg, .glow-bg-right {
        width: 60vw;
        height: 60vw;
        filter: blur(100px);
    }

    /* Navbar */
    .navbar {
        padding: 1.5rem 5%;
    }
    .logo { font-size: 1.4rem; }

    /* Typography Expansion */
    .headline {
        font-size: clamp(3rem, 6vw, 4.8rem);
        margin-bottom: 1.8rem;
    }
    .subheadline {
        font-size: clamp(1.1rem, 2vw, 1.3rem);
        margin-bottom: 3.5rem;
        max-width: 700px;
    }
    .text-container h2, .diferencial-header h2, .cases h2 {
        font-size: clamp(2rem, 3.5vw, 3rem);
        margin-bottom: 2rem;
    }
    .text-container p, .bullet-list li, .offer-container p {
        font-size: 1.15rem;
    }
    .caos-list p { font-size: 1.1rem; }
    
    .badge { padding: 0.6rem 1.2rem; font-size: 0.8rem; }
    .mt-4 { margin-top: 2rem; }
    .mb-4 { margin-bottom: 2rem; }

    /* Sections Padding */
    .hero {
        min-height: 85vh;
        padding: 6rem 5%;
    }
    .hero-content {
        max-width: 900px;
    }
    
    .text-section, .diferencial, .cases, .offer, .cta-final {
        padding: 6rem 5%;
        margin: 0 auto;
    }
    
    .text-section, .diferencial, .cases { max-width: 1300px; }
    .text-container { max-width: 900px; margin: 0 auto; }
    .offer { max-width: 1200px; }
    .cta-final-container { max-width: 1000px; margin: 0 auto; }

    /* Grids Expansion */
    .ideal-mini-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .diferencial-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .cases-carousel {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        justify-content: center;
    }
    
    .cases-carousel .case-card {
        flex: 0 0 280px;
    }

    /* Cards & Blocks Desktop */
    .mini-block { padding: 2.5rem; }
    .diferencial-item { padding: 2.5rem 1.5rem; transition: transform 0.3s ease, border-color 0.3s ease; }
    .diferencial-item:hover {
        transform: translateY(-5px);
        border-color: rgba(255,255,255,0.2);
        background: var(--card-hover);
    }
    .diferencial-item .icon { font-size: 2.5rem; }
    .case-card { aspect-ratio: 4/3; }
    .placeholder-icon { font-size: 2.5rem; }
    
    .offer-container {
        padding: 3.5rem;
        border-radius: 24px;
    }
    .offer-container h3 { font-size: 1.8rem; }

    /* Buttons Expansion */
    .cta-group {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        width: auto;
    }
    .btn {
        width: auto;
        min-width: 280px;
        padding: 1.2rem 2.5rem;
        border-radius: 14px;
    }
    .btn-title { font-size: 1.15rem; }
    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(248, 250, 252, 0.25);
    }
    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.05);
        transform: translateY(-3px);
        border-color: rgba(255,255,255,0.3);
    }

    /* Specific Styles */
    .mentoria-offer .offer-container {
        box-shadow: 0 0 40px rgba(56, 189, 248, 0.05);
    }
    footer { padding: 4rem 5%; margin-top: 4rem; }
}
