/* ===== DESIGN TOKENS (PREMIUM V2) ===== */
:root {
    --orange: #F47A00;
    --orange-dark: #C96200;
    --orange-light: #FFF3E0;
    --yellow: #FFC107;
    --black: #0A0A0A;
    --dark-gray: #1E1E1E;
    --mid-gray: #555555;
    --light-gray: #F0F0F0;
    --bg-gray: #FAFAFA;
    --white: #FFFFFF;

    /* Brand Colors */
    --tg-blue: #2AABEE;
    --tg-dark: #229ED9;
    --tg-shadow: rgba(42, 171, 238, 0.35);

    --wa-green: #25D366;
    --wa-dark: #128C7E;
    --wa-shadow: rgba(37, 211, 102, 0.35);

    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--black);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

img {
    display: block;
    max-width: 100%;
}

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

/* ===== TOPBAR ===== */
.topbar {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 10px 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--orange);
}

.topbar span {
    color: var(--yellow);
    font-weight: 800;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--light-gray);
    padding: 0.9rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-link-back {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mid-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    border-right: 1px solid var(--light-gray);
    padding-right: 15px;
}

.nav-link-back:hover {
    color: var(--orange);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 48px;
    width: auto;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--orange);
    letter-spacing: 0.05em;
    line-height: 1;
}

.nav-logo-sub {
    font-size: 0.65rem;
    color: var(--mid-gray);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 2px;
}

.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-tg {
    background: var(--tg-blue);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--tg-shadow);
}

.btn-tg:hover {
    background: var(--tg-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--tg-shadow);
}

.btn-tg svg {
    width: 18px;
    height: 18px;
    fill: white;
    flex-shrink: 0;
}

/* ===== PREMIUM CTA BUTTONS ===== */
.btn-tg-lg,
.btn-wa-lg {
    color: var(--white);
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
}

.btn-tg-lg {
    background: var(--tg-blue);
    box-shadow: 0 8px 24px var(--tg-shadow);
}

.btn-tg-lg:hover {
    background: var(--tg-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px var(--tg-shadow);
}

.btn-wa-lg {
    background: var(--wa-green);
    box-shadow: 0 8px 24px var(--wa-shadow);
}

.btn-wa-lg:hover {
    background: var(--wa-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px var(--wa-shadow);
}

.btn-tg-lg svg,
.btn-wa-lg svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

/* ===== HERO ===== */
.hero {
    background: var(--white);
    padding: 7rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: var(--bg-gray);
    border: 1px solid var(--light-gray);
    color: var(--mid-gray);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 2.5rem;
}

.hero-logo {
    margin: 0 auto 3rem;
    width: 250px;
    /* INCREASED LOGO SIZE */
    height: auto;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 10vw, 7rem);
    line-height: 0.95;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.hero-title .accent {
    color: var(--orange);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--mid-gray);
    max-width: 720px;
    margin: 0 auto 2.5rem;
    font-weight: 500;
    line-height: 1.6;
    padding: 0 1rem;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-social-proof {
    font-size: 0.9rem;
    color: var(--mid-gray);
    font-weight: 600;
}

.hero-social-proof span {
    color: var(--orange);
    font-weight: 800;
}

/* ===== SECTION COMMON ===== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-gray);
    border: 1px solid #Eaeaea;
    color: var(--mid-gray);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 4.5rem);
    line-height: 1.0;
    color: var(--black);
    margin-bottom: 1.2rem;
}

.section-title .accent {
    color: var(--orange);
}

/* ===== WHY SECTION (ALERTAS EN TIEMPO REAL & MOCKUP) ===== */
.why-section {
    background: var(--white);
    padding: 4rem 2rem 5rem;
    text-align: center;
}

.why-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.why-section .section-desc {
    margin: 0 auto 3rem;
    max-width: 700px;
    font-size: clamp(1rem, 3vw, 1.15rem);
    color: var(--mid-gray);
    font-weight: 500;
    line-height: 1.7;
    padding: 0 0.5rem;
}

.hero-mockup-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.mockup-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.1));
}

/* ===== COMMUNITY SECTION ===== */
.community-section {
    background: var(--orange);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
}

.community-inner {
    max-width: 800px;
    margin: 0 auto;
}

.community-tag {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
}

.community-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 4.5rem);
    line-height: 1.0;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.community-desc {
    font-size: clamp(1rem, 3vw, 1.15rem);
    font-weight: 500;
    opacity: 0.95;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
}

.community-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.comm-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== FEATURES CARDS ===== */
.features-section {
    background: var(--bg-gray);
    padding: 8rem 2rem;
}

.features-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid #Eaeaea;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: #ddd;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-gray);
    border: 1px solid #Eaeaea;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 1.0;
    color: var(--black);
    margin: 1rem 0;
}

.feature-desc {
    font-size: 1.05rem;
    color: var(--mid-gray);
    font-weight: 500;
    line-height: 1.7;
}

.feature-tag {
    display: inline-block;
    background: var(--orange-light);
    color: var(--orange-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 50px;
}

/* ===== OFFER SECTION ===== */
.offer-section {
    background: var(--white);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.offer-inner {
    max-width: 800px;
    margin: 0 auto;
}

.offer-badge {
    display: inline-block;
    background: var(--orange-light);
    color: var(--orange);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1.5px solid var(--orange);
}

.offer-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 10vw, 6rem);
    color: var(--black);
    line-height: 1.0;
    margin-bottom: 1.2rem;
}

.offer-desc {
    font-size: clamp(1.05rem, 3vw, 1.2rem);
    color: var(--black);
    font-weight: 600;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    padding: 0 1rem;
}

.offer-sub {
    font-size: 1rem;
    color: var(--mid-gray);
    margin-bottom: 3rem;
    font-weight: 500;
}

.offer-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--white);
    color: var(--black);
    padding: 5rem 2rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--black);
    line-height: 1;
}

.footer-brand-tagline {
    font-size: 0.8rem;
    color: var(--mid-gray);
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
}

.footer-divider {
    border: none;
    border-top: 1px solid var(--light-gray);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--mid-gray);
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--mid-gray);
    font-weight: 600;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--orange);
}

/* ===== STICKY BOTTOM CTA (mobile) ===== */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--light-gray);
    padding: 12px 16px;
    display: none;
    gap: 10px;
    z-index: 200;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .btn-tg-lg,
    .btn-wa-lg {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        justify-content: center;
        box-sizing: border-box;
    }

    .hero {
        padding: 5rem 1rem 3rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 14px;
        padding: 0 10px;
    }

    .sticky-cta {
        display: flex;
    }

    body {
        padding-bottom: 80px;
    }

    .navbar {
        padding: 0.8rem 1rem;
    }

    .nav-logo-text {
        font-size: 1.4rem;
    }

    .nav-cta,
    .nav-link-back {
        display: none;
        /* Hide back link on very small screens or change layout */
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem 2rem;
    }

    .features-section,
    .why-section,
    .community-section,
    .offer-section {
        padding: 3rem 1rem;
    }

    .feature-card {
        padding: 1.8rem;
    }

    .footer {
        padding: 3rem 1rem 1.5rem;
    }

    .community-features {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .comm-feat {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}