/* ========================================
   AI Consulting Mexico - Futuristic Landing
   ======================================== */

:root {
    --bg-light: #ffffff;
    --bg-soft: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --border: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.12);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --accent-cyan: #0891b2;
    --accent-purple: #7c3aed;
    --accent-blue: #2563eb;
    --gradient-main: linear-gradient(135deg, #0891b2 0%, #7c3aed 100%);
    --gradient-soft: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 60px rgba(8, 145, 178, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-icon {
    font-size: 1.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    color: #0f172a;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0f172a;
}

.nav-cta {
    padding: 10px 20px !important;
    background: var(--gradient-main);
    border-radius: 8px;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.25);
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.35);
    color: #ffffff !important;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-cyan);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    bottom: -150px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(8, 145, 178, 0.08);
    border: 1px solid rgba(8, 145, 178, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-visual {
    display: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.35);
}

.btn-secondary {
    background: var(--bg-soft);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-strong);
}

.btn-plan {
    width: 100%;
    background: var(--bg-soft);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-plan:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-cyan);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-purple);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ========================================
   Arquitectura / Pilares
   ======================================== */
.arquitectura {
    background: var(--bg-soft);
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.pilar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: var(--shadow-soft);
}

.pilar-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pilar-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.pilar-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.pilar-stat {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-main);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 16px;
}

.pilar-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.pilar-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   Beneficios
   ======================================== */
.beneficios {
    background: var(--bg-light);
    padding: 120px 0;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* New large beneficios grid */
.beneficios-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.beneficio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: var(--shadow-soft);
}

.beneficio-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.beneficio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: var(--accent-cyan);
}

.beneficio-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.beneficio-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

/* Beneficios extras row */
.beneficios-extras {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
    padding: 32px;
    background: var(--bg-soft);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.extra-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.extra-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.extra-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(8, 145, 178, 0.1);
    color: var(--accent-cyan);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .beneficios-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .beneficios-grid-large {
        grid-template-columns: 1fr;
    }
    
    .beneficios-extras {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
}

.beneficio-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

.beneficio-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.beneficio-check {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 145, 178, 0.1);
    border-radius: 8px;
    color: var(--accent-cyan);
    font-weight: 700;
}

.beneficio-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.beneficio-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========================================
   Planes
   ======================================== */
.planes {
    background: var(--bg-soft);
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    align-items: start;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
    box-shadow: var(--shadow-soft);
}

.plan-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.plan-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-card);
}

.plan-featured {
    border-color: var(--accent-cyan);
    background: linear-gradient(180deg, rgba(8, 145, 178, 0.03) 0%, var(--bg-card) 100%);
    transform: scale(1.02);
}

.plan-featured.visible {
    transform: scale(1.02);
}

.plan-featured:hover {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.plan-premium {
    border-color: var(--accent-purple);
}

.plan-premium:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.1);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-main);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-header {
    text-align: center;
    margin-bottom: 24px;
}

.plan-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-soft);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.plan-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: var(--accent-purple);
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.plan-features {
    list-style: none;
    margin-bottom: 28px;
}

.plan-features li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features .check {
    color: var(--accent-cyan);
    font-weight: 700;
}

.plan-features .star {
    color: var(--accent-purple);
}

/* ========================================
   Matriz Comparativa
   ======================================== */
.matriz {
    background: var(--bg-light);
    overflow-x: auto;
}

.tabla-container {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    box-shadow: var(--shadow-soft);
    background: var(--bg-card);
}

.tabla-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.tabla-comparativa {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.tabla-comparativa th,
.tabla-comparativa td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.tabla-comparativa th {
    background: var(--bg-soft);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.tabla-comparativa th.featured {
    background: rgba(8, 145, 178, 0.08);
    color: var(--accent-cyan);
}

.tabla-comparativa td {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--bg-card);
}

.tabla-comparativa td.featured {
    background: rgba(8, 145, 178, 0.04);
    color: var(--text-primary);
}

.tabla-comparativa tbody tr:hover td {
    background: var(--bg-soft);
}

/* ========================================
   Cotiza Section
   ======================================== */
.cotiza {
    background: var(--bg-soft);
    padding: 120px 0;
}

.cotiza-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.cotiza-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.cotiza-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.cotiza-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cotiza-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cotiza-feature strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.cotiza-feature p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.cotiza-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.cotiza-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-checkbox {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-cyan);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.85rem;
    cursor: pointer;
}

.form-checkbox a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    width: 100%;
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

/* Form validation styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group input:invalid:focus {
    border-color: #ef4444;
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: rgba(8, 145, 178, 0.4);
}

/* ========================================
   Contacto
   ======================================== */
.contacto {
    background: var(--bg-light);
}

.contacto-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    padding: 60px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.contacto-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 8px;
}

.contacto-text p {
    color: var(--text-secondary);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 20px 60px;
    }

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    section {
        padding: 60px 0;
    }

    .planes-grid {
        grid-template-columns: 1fr;
    }

    .plan-featured {
        transform: none;
    }

    .plan-featured.visible {
        transform: none;
    }

    .contacto-content {
        padding: 40px 24px;
    }

    .cotiza-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cotiza-info .section-title {
        text-align: center;
    }

    .cotiza-info .section-tag {
        display: block;
        text-align: center;
    }

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

    .cotiza-form-container {
        padding: 28px;
    }
}

/* ========================================
   Scroll Animations
   ======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

.plan-featured[data-animate].visible {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .plan-featured[data-animate].visible {
        transform: none;
    }
}

/* ========================================
   WOW FACTOR - Hero Particles & Effects
   ======================================== */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--gradient-main);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; }
.particle:nth-child(9) { left: 90%; animation-delay: 0.5s; }
.particle:nth-child(10) { left: 15%; animation-delay: 2.5s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Floating geometric shapes */
.geo-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.geo-shape {
    position: absolute;
    border: 2px solid;
    opacity: 0.1;
    animation: geoFloat 20s infinite linear;
}

.geo-shape.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border-color: var(--accent-cyan);
    top: 20%;
    right: 10%;
    animation-duration: 25s;
}

.geo-shape.square {
    width: 60px;
    height: 60px;
    border-color: var(--accent-purple);
    top: 60%;
    left: 5%;
    animation-duration: 30s;
    animation-direction: reverse;
}

.geo-shape.triangle {
    width: 0;
    height: 0;
    border: none;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(124, 58, 237, 0.1);
    top: 30%;
    left: 15%;
    animation-duration: 22s;
}

@keyframes geoFloat {
    0% { transform: rotate(0deg) translateY(0); }
    25% { transform: rotate(90deg) translateY(-20px); }
    50% { transform: rotate(180deg) translateY(0); }
    75% { transform: rotate(270deg) translateY(20px); }
    100% { transform: rotate(360deg) translateY(0); }
}

/* Stats Counter Section */
.stats-section {
    padding: 80px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-suffix {
    font-size: 2rem;
}

/* Glowing CTA button pulse */
.btn-glow {
    position: relative;
    overflow: visible;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-main);
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0; transform: scale(0.95); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

/* Card tilt effect on hover */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-card:hover {
    transform: rotateX(2deg) rotateY(-2deg);
}

/* Animated gradient border */
.gradient-border {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-main);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gradient-border:hover::before {
    opacity: 1;
}

/* Typing cursor effect for hero */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--accent-cyan);
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: bounceDown 2s ease-in-out infinite;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scrollWheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* Shimmer effect for featured plan */
.plan-featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmer 3s infinite;
    border-radius: 20px;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Magnetic button effect */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Number counter animation */
.counter-animate {
    display: inline-block;
}

/* Trust badges with subtle animation */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--accent-cyan);
}

.trust-badge-icon {
    font-size: 1.5rem;
}

.trust-badge-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ========================================
   Global Network Section with 3D Globe
   ======================================== */
.global-network {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-soft) 100%);
    overflow: hidden;
}

.global-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.global-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.global-content .section-tag {
    display: inline-block;
}

.global-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.global-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.global-stat {
    text-align: left;
}

.global-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.global-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.latam-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent-cyan);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.latam-icon {
    font-size: 2.5rem;
}

.latam-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.latam-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Globe Container */
.globe-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.globe-wrapper {
    position: relative;
    width: 420px;
    height: 420px;
}

#globeCanvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.globe-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: globePulse 4s ease-in-out infinite;
}

@keyframes globePulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* Connection dots on globe */
.connection-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.connection-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-cyan), 0 0 40px var(--accent-cyan);
    animation: dotPulse 2s ease-in-out infinite;
}

.connection-dot::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.3;
    animation: dotRing 2s ease-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes dotRing {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(2); opacity: 0; }
}

.dot-mexico {
    top: 40%;
    left: 25%;
    animation-delay: 0s;
}

.dot-brazil {
    top: 60%;
    left: 40%;
    animation-delay: 0.3s;
}

.dot-usa {
    top: 30%;
    left: 20%;
    animation-delay: 0.6s;
}

.dot-europe {
    top: 25%;
    right: 30%;
    animation-delay: 0.9s;
}

.dot-asia {
    top: 35%;
    right: 15%;
    animation-delay: 1.2s;
}

/* Connection arc lines */
.globe-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 150px;
    border: 2px dashed rgba(8, 145, 178, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(60deg);
    animation: orbitSpin 20s linear infinite;
}

@keyframes orbitSpin {
    0% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg); }
}

/* Responsive for wow effects */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .trust-badges {
        gap: 16px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .geo-shapes {
        display: none;
    }

    .global-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .global-content .section-title {
        text-align: center;
    }

    .global-content .section-tag {
        display: block;
        text-align: center;
    }

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

    .global-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 24px;
    }

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

    .globe-wrapper {
        width: 300px;
        height: 300px;
    }

    .globe-container {
        min-height: 350px;
    }
}
