@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

:root {
    /* Colors */
    --bg-primary: #0A0A0F;
    --bg-secondary: #0D1117;
    --bg-accent: #151921;
    --blue-electric: #1E5CB3;
    --blue-glow: rgba(30, 92, 179, 0.4);
    --orange-primary: #F5821F;
    --green-success: #3AAA35;
    --text-primary: #FFFFFF;
    --text-secondary: #CBD5E0;
    --text-muted: #718096;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    
    /* Spacing & Borders */
    --px-base: 1rem;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

button, .cta-button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-primary);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Layout Containers */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 120px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 1rem 0;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.hero-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(30, 92, 179, 0.2);
}

.section-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.cta-logo-img {
    height: 60px;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 40px;
    margin-bottom: 1.5rem;
}

.btn-orange {
    background-color: var(--orange-primary);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    padding: 0.8rem 2rem;
}

.btn-orange:hover {
    transform: translateY(-2px) scale(1.02);
    background-color: #ff914d;
    box-shadow: 0 10px 20px rgba(245, 130, 31, 0.4);
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Animations */
.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);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* MOBILE MENU BTN */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger to X */
.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* HERO SECTION */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    background: radial-gradient(circle at 80% 20%, rgba(30, 92, 179, 0.15) 0%, transparent 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 560px;
    line-height: 1.5;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-highlight {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    background: linear-gradient(135deg, #acc7ff, var(--blue-electric), var(--orange-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px var(--blue-glow);
}

.hero-urgency {
    font-size: 0.95rem;
    color: #f0c060;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-microcopy {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.hero-reinforcement {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.6;
}

.hero-context {
    font-size: 0.8rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: -1.5rem auto 3rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.btn-lg {
    padding: 1.1rem 3rem;
    font-size: 1.1rem;
    gap: 0.6rem;
}

.btn-ghost {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
}

.btn-ghost:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* GRIDS & CARDS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.card-premium h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-premium p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* STEPS */
.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 4rem;
}

.step-item {
    flex: 1;
    position: relative;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: rgba(30, 92, 179, 0.1);
    border: 1px solid var(--blue-electric);
    color: var(--blue-electric);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 15px var(--blue-glow);
}

/* FLEX COLS (WHY E2 / ABOUT) */
.flex-cols {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.flex-cols.reverse {
    flex-direction: row-reverse;
}

.content-col {
    flex: 1;
}

.content-col p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.visual-col {
    flex: 1;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--bg-accent) 0%, #1e2530 100%);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--blue-electric);
    filter: blur(80px);
    opacity: 0.3;
}

.benefit-list {
    margin-top: 2rem;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check {
    color: var(--green-success);
    font-weight: 800;
}

/* FAQ ACCORDION */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 0;
    background: transparent;
    color: white;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}

.faq-footnote {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

/* CTA FINAL */
.final-impact-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--blue-electric) 400%);
    padding: 150px 0;
    position: relative;
}

.cta-logo {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
}

.cta-sub {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-features {
    margin-top: 3rem;
    font-size: 0.9rem;
    opacity: 0.7;
    letter-spacing: 1px;
}

.text-center { text-align: center; }

/* FOOTER */
.footer {
    background: #050507;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer h4 {
    margin-bottom: 1.5rem;
    color: var(--blue-electric);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* RESPONSIVITY — TABLET */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        order: 1; /* Content FIRST on tablet */
    }
    .hero-visual {
        order: 2;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-description {
        margin: 0 auto 2rem;
    }
    .hero-reinforcement {
        margin: 0 auto;
    }
}

/* RESPONSIVITY — MOBILE */
@media (max-width: 768px) {

    /* === GLOBAL OVERFLOW PROTECTION === */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    *, *::before, *::after {
        max-width: 100%;
    }

    .container {
        padding: 0 1.25rem;
    }

    section {
        padding: 60px 0;
    }

    /* === NAVBAR === */
    .navbar {
        padding: 0.6rem 0;
    }

    .nav-logo {
        height: 50px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 999;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        transform: translateX(100%);
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* === HERO === */
    .hero {
        min-height: auto;
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-content {
        order: 1; /* Headline + CTA FIRST */
    }

    .hero-visual {
        order: 2;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.6rem;
    }

    .hero-highlight {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin: 0 auto 1.2rem;
    }

    .hero-context {
        font-size: 0.72rem;
        margin: 0 auto 1rem;
        text-align: center;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin: -1rem auto 2rem;
    }

    .hero-urgency {
        font-size: 0.8rem;
        margin-bottom: 1.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .hero-reinforcement {
        font-size: 0.75rem;
        margin: 0 auto;
        text-align: center;
    }

    .hero-img {
        max-height: 200px;
        object-fit: cover;
        border-radius: var(--radius-md);
    }

    /* === BUTTONS MOBILE === */
    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 0.82rem;
        white-space: nowrap;
        width: 100%;
        max-width: 340px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .btn-ghost {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
        white-space: normal;
        width: 100%;
        max-width: 320px;
    }

    .btn-orange {
        white-space: normal;
    }

    /* === TYPOGRAPHY MOBILE === */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    /* === GRIDS & CARDS === */
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .card-premium {
        padding: 1.5rem;
    }

    .card-premium h3 {
        font-size: 1.2rem;
    }

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

    /* === STEPS === */
    .steps-container {
        flex-direction: column;
        gap: 2rem;
        margin-top: 2rem;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .section-action {
        text-align: center;
        margin-top: 2rem;
    }

    /* === FLEX COLS (Why E2 / About) === */
    .flex-cols, .flex-cols.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .section-img {
        max-height: 220px;
        object-fit: cover;
    }

    /* === FAQ === */
    .accordion {
        max-width: 100%;
    }

    .accordion-header {
        font-size: 0.95rem;
        padding: 1.2rem 0;
    }

    .accordion-item.active .accordion-content {
        max-height: 300px; /* More space for mobile text */
    }

    /* === CTA FINAL === */
    .final-impact-section {
        padding: 60px 0;
    }

    .final-impact-section .hero-title {
        font-size: 1.5rem;
    }

    .cta-sub {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-features {
        font-size: 0.8rem;
        margin-top: 2rem;
    }

    /* === FOOTER === */
    .footer {
        padding: 40px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 52px;
        height: 52px;
    }
}

/* SOLUTIONS CARDS */
.solution-card {
    position: relative;
    padding-top: 3.5rem;
}

.solution-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.badge-blue {
    background: rgba(30, 92, 179, 0.15);
    color: var(--blue-electric);
    border: 1px solid rgba(30, 92, 179, 0.3);
}

.badge-orange {
    background: rgba(245, 130, 31, 0.12);
    color: var(--orange-primary);
    border: 1px solid rgba(245, 130, 31, 0.25);
}

.solution-details {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    list-style: none;
    padding: 0;
}

.solution-details li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* SVG CARD ICONS */
.card-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

/* PARTNERS SECTION */
.partners-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0 2rem;
}

.partner-card {
    background: var(--bg-accent);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 2.5rem 3rem;
    text-align: center;
    max-width: 380px;
    width: 100%;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.partner-card:hover {
    border-color: rgba(30, 92, 179, 0.3);
    transform: translateY(-3px);
}

.partner-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--blue-electric);
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
}

.partner-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.partners-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .partners-grid {
        flex-direction: column;
        align-items: center;
    }

    .solution-card {
        padding-top: 3rem;
    }
}

/* RESPONSIVITY — SMALL MOBILE (320px) */
@media (max-width: 360px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-highlight {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    .btn-ghost {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }
}
