@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-light: #ffffff;
    --primary: #2563eb;
    /* Cleaner vibrant blue */
    --primary-hover: #1e40af;
    --secondary: #dc2626;
    /* Cleaner vibrant red */
    --secondary-hover: #b91c1c;
    --accent: #ef4444;
    --text: #1e293b;
    --text-muted: #64748b;
    --success: #10b981;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --container: 1200px;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.2);
}

/* Specific Navbar Button Style */
.nav-links .btn-primary {
    background: var(--secondary);
    /* Solid Red for clear Call to Action */
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

.nav-links .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(30, 58, 138, 0.3);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--surface-light);
    transform: translateY(-2px);
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.w-full {
    width: 100%;
}

/* Animations */
/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays for Professional Feel */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Auto-stagger for grids */
.problem-card:nth-child(2),
.value-card:nth-child(2),
.process-step:nth-child(2),
.pricing-card:nth-child(2),
.ecosystem-card:nth-child(2) {
    transition-delay: 0.1s;
}

.problem-card:nth-child(3),
.value-card:nth-child(3),
.process-step:nth-child(3),
.pricing-card:nth-child(3),
.ecosystem-card:nth-child(3) {
    transition-delay: 0.2s;
}

.problem-card:nth-child(4),
.value-card:nth-child(4),
.process-step:nth-child(4),
.pricing-card:nth-child(4),
.ecosystem-card:nth-child(4) {
    transition-delay: 0.3s;
}

.problem-card:nth-child(5),
.value-card:nth-child(5),
.process-step:nth-child(5),
.pricing-card:nth-child(5),
.ecosystem-card:nth-child(5) {
    transition-delay: 0.4s;
}

/* ========== NAVBAR ========== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.logo img {
    transition: var(--transition);
}

.nav-menu a {
    position: relative;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-menu a:hover {
    color: var(--primary);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========== HERO SECTION (SPLIT LAYOUT) ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    background: #ffffff;
    /* Clean white background as requested */
    color: var(--text);
}

/* Remove old background overlay */
.hero-bg {
    display: none;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    /* Slightly smaller for split layout */
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text);
    /* Dark text */
}

.hero h1 span {
    color: var(--primary);
    /* Blue highlight */
    text-shadow: none;
    /* Remove glow for clean look */
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    /* Dark muted text */
    max-width: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    /* Soft shadow for depth */
}

/* Animation for the floating image */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-anim {
    animation: float 6s ease-in-out infinite;
}

/* Reset buttons for light background */
.hero .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.hero .btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, #b91c1c);
    transform: translateY(-2px);
}

.hero .btn-secondary {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text);
    backdrop-filter: none;
}

.hero .btn-secondary:hover {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.2);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hero-btns .btn {
    min-width: 280px;
    flex: 1;
    text-align: center;
}

@media (max-width: 991px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* ========== PROBLEM SECTION (NOW DARK BLUE) ========== */
.problem {
    position: relative;
    padding: 120px 0;
    background: radial-gradient(circle at center, #1e3a8a 0%, #0f172a 100%);
    color: white;
}

.problem .section-title h2 {
    color: white;
}

.problem .section-title p {
    color: rgba(255, 255, 255, 0.85);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.problem-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.problem-card i {
    font-size: 2rem;
    color: #ef4444;
    /* Keep red accent or make it pop differently */
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.problem-card p {
    color: rgba(255, 255, 255, 0.7);
}

.problem-footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2.5rem;
    background: transparent;
    border-radius: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.problem-footer p {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

/* ========== VALUE PROP SECTION (NOW WHITE) ========== */
.value-prop {
    position: relative;
    padding: 120px 0;
    background: #ffffff;
    color: var(--text);
}

.value-prop .section-title h2 {
    color: var(--primary);
}

.value-prop .section-title p {
    color: var(--text-muted);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 140px;
    height: 140px;
    background: rgba(37, 99, 235, 0.1);
    /* Primary light */
    color: var(--primary);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    width: 80px;
    height: 80px;
}

.value-card h3 {
    color: var(--text);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-muted);
}

/* ========== PROCESS (NOW DARK BLUE) ========== */
.process {
    background: radial-gradient(circle at center, #1e3a8a 0%, #0f172a 100%);
    color: white;
    padding: 120px 0;
    position: relative;
}

.process .section-title h2 {
    color: white;
}

.process .section-title p {
    color: rgba(255, 255, 255, 0.85);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.process-step {
    position: relative;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
}

.process-step h3 {
    color: white;
    font-size: 1.5rem;
    margin: 1rem 0;
}

.process-step p {
    color: rgba(255, 255, 255, 0.7);
}

.process-step i {
    color: var(--primary);
    /* Or white with bg? */
    color: #3b82f6;
    /* Lighter blue to pop on dark */
    width: 48px;
    height: 48px;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1rem;
}

.process-step:hover .step-number {
    transform: scale(1.35) rotate(5deg);
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* ========== ECOSYSTEM SECTION ========== */
.ecosystem {
    background: #ffffff;
    color: var(--text);
    padding: 120px 0;
    position: relative;
}

.ecosystem .section-title h2 {
    color: var(--primary);
}

.ecosystem .section-title p {
    color: var(--text-muted);
}

.ecosystem-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 4rem;
    justify-content: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.ecosystem-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    width: calc(33.333% - 1.35rem);
    min-width: 320px;
}

/* First 3 cards take full width in their row */
.ecosystem-card:nth-child(1),
.ecosystem-card:nth-child(2),
.ecosystem-card:nth-child(3) {
    flex: 0 0 calc(33.333% - 1.35rem);
}

/* Last 2 cards centered */
.ecosystem-card:nth-child(4),
.ecosystem-card:nth-child(5) {
    flex: 0 0 calc(33.333% - 1.35rem);
}

.ecosystem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.ecosystem-card.highlight {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(220, 38, 38, 0.05));
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.ecosystem-card.highlight::before {
    content: '⚡ Destacado';
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

.ecosystem-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(220, 38, 38, 0.1));
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.ecosystem-card:hover .ecosystem-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.ecosystem-icon i {
    width: 40px;
    height: 40px;
}

.ecosystem-card h3 {
    color: var(--text);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.ecosystem-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ecosystem-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.ecosystem-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text);
    font-size: 0.95rem;
}

.ecosystem-features i {
    color: var(--success);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ecosystem-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(220, 38, 38, 0.05));
    border-radius: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.ecosystem-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.5rem;
}

/* Responsive adjustments for ecosystem */
@media (max-width: 991px) {
    .ecosystem-grid {
        gap: 1.5rem;
    }

    .ecosystem-card {
        width: calc(50% - 0.75rem);
        min-width: 280px;
    }

    .ecosystem-card:nth-child(1),
    .ecosystem-card:nth-child(2),
    .ecosystem-card:nth-child(3),
    .ecosystem-card:nth-child(4),
    .ecosystem-card:nth-child(5) {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .ecosystem-grid {
        gap: 1.5rem;
    }

    .ecosystem-card {
        width: 100%;
        min-width: 100%;
    }

    .ecosystem-card:nth-child(1),
    .ecosystem-card:nth-child(2),
    .ecosystem-card:nth-child(3),
    .ecosystem-card:nth-child(4),
    .ecosystem-card:nth-child(5) {
        flex: 0 0 100%;
    }

    .ecosystem-card {
        padding: 2rem;
    }
}

/* ========== COMPARISON SECTION (WITH BACKGROUND) ========== */
.comparison {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.9)), url('../img/comparison-bg-final.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.comparison .section-title h2 {
    color: white;
}

.comparison .section-title p {
    color: rgba(255, 255, 255, 0.85);
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.comparison-box {
    position: relative;
    z-index: 1;
    padding: 3rem;
    border-radius: 2rem;
}

.box-web {
    position: relative;
    overflow: hidden;
    background: rgba(30, 58, 138, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
}

.box-web::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(30, 58, 138, 0.15)), url('../img/comparison-bg-final.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

.box-social {
    position: relative;
    overflow: hidden;
    background: rgba(128, 0, 32, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.3);
    backdrop-filter: blur(10px);
}

.box-social::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(128, 0, 32, 0.15)), url('../img/social-media-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

.comparison-box h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.comparison-list {
    position: relative;
    z-index: 2;
}

.comparison-list li {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.comparison-list i.check {
    color: #10b981;
}

.comparison-list i.x {
    color: #ef4444;
}

.comparison .problem-footer {
    border: none !important;
    background: transparent !important;
    margin-top: 2.5rem;
}

.comparison .problem-footer p {
    color: white !important;
    font-weight: 800;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========== PRICING ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.pricing-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: var(--transition);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    min-height: 60px;
    display: flex;
    align-items: center;
    font-size: 1.75rem;
    margin: 0;
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.pricing-card.popular {
    border-color: var(--secondary);
}

.pricing-card.popular:hover {
    transform: scale(1.1);
}

.pricing-card.popular::before {
    content: 'Recomendado';
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

/* ========== PRICING ========== */

/* ========== ECOSYSTEM SECTION ========== */
.ecosystem {
    background: #ffffff;
    padding: 120px 0;
}

.ecosystem .section-title h2 {
    color: var(--primary);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ecosystem-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.ecosystem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

.ecosystem-card.highlight {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(220, 38, 38, 0.02));
}

.ecosystem-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.ecosystem-icon i {
    width: 40px;
    height: 40px;
}

.ecosystem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.ecosystem-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ecosystem-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ecosystem-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.ecosystem-features li i {
    color: var(--success);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ecosystem-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(220, 38, 38, 0.05));
    border-radius: 2rem;
}

.ecosystem-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.5rem;
}

/* ========== STATS ========== */
.stats {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
}

/* ========== SECURITY ========== */
.security-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.security-image {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.security-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ========== CTA FINAL ========== */
.cta-final {
    text-align: center;
}

.cta-final h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.cta-final .hero-btns {
    gap: 3rem !important;
    margin-top: 2rem;
    justify-content: center;
}

/* ========== FLOATING BUTTONS ========== */
.floating-btns {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}

.btn-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.btn-float:hover {
    transform: translateY(-3px);
}

.btn-whatsapp {
    background-color: #25d366;
}

.btn-backtotop {
    background-color: var(--primary);
    opacity: 0;
    pointer-events: none;
}

.btn-backtotop.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ========== FOOTER ========== */
footer {
    background: #ffffff;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer .logo {
    color: var(--primary) !important;
}

footer .logo span {
    color: var(--secondary) !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-grid h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 40px;
}

/* ========== MODALS ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    padding: 3rem;
    border-radius: 2rem;
    position: relative;
    transform: translateY(30px);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: inherit;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 991px) {
    .security-content {
        flex-direction: column;
        gap: 2rem;
    }

    .security-image {
        width: 100%;
    }

    .comparison-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-grid>div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {

    /* Mobile Menu */
    .menu-toggle {
        display: flex;
    }

    .nav-content {
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        background: white;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        transition: right 0.3s ease;
        z-index: 999;
        flex-direction: column;
        gap: 0;
        height: calc(100vh - 70px);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        display: block;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-links {
        display: none;
    }

    /* Adjust value icons on mobile instead of hiding */
    .value-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .value-icon i {
        width: 40px;
        height: 40px;
    }

    .value-card {
        padding: 1rem;
    }

    /* General Mobile Adjustments */
    section {
        padding: 60px 0;
    }

    .hero {
        min-height: 100vh;
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .hero-btns .btn {
        width: 100%;
        min-width: 0;
        /* Prevent overflow on small screens */
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .problem-grid,
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Step numbers centered on mobile */
    .process-step {
        padding-top: 3rem;
    }

    .step-number {
        top: 1rem;
        left: 50%;
        transform: translateX(-50%);
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ecosystem-card {
        padding: 2rem;
    }

    .ecosystem-cta {
        padding: 2rem;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card:hover {
        transform: scale(1.02);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid>div:first-child {
        grid-column: 1;
    }

    .cta-final h2 {
        font-size: 1.75rem;
    }

    .cta-final .hero-btns {
        gap: 1rem !important;
    }

    .floating-btns {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .btn-float {
        width: 50px;
        height: 50px;
    }

    .comparison-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .pricing-card,
    .problem-card,
    .process-step {
        padding: 2rem;
    }

    .comparison-box {
        padding: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .price {
        font-size: 2.5rem;
    }

    .modal-content {
        padding: 2rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}