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

:root {
    --primary: #0066FF;
    --primary-light: #00D4FF;
    --primary-dark: #0044CC;
    --gradient: linear-gradient(135deg, #00D4FF 0%, #0066FF 100%);
    --gradient-dark: linear-gradient(135deg, #0044CC 0%, #002266 100%);
    --bg: #0A0E1A;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --surface: #161D2F;
    --text: #F1F5F9;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

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

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

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

img {
    max-width: 100%;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 102, 255, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: rgba(0, 212, 255, 0.05);
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

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

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

.logo-icon svg {
    width: 36px;
    height: 36px;
}

.logo-name {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text);
}

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

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    opacity: 0.15;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    bottom: -100px;
    left: -100px;
    opacity: 0.1;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

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

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* ===== Sections Common ===== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* ===== Plans ===== */
.plans {
    padding: 100px 0;
    position: relative;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
}

.plan-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.plan-featured {
    border-color: rgba(0, 102, 255, 0.3);
    background: linear-gradient(180deg, rgba(0, 102, 255, 0.08) 0%, var(--bg-card) 100%);
    transform: scale(1.03);
}

.plan-featured:hover {
    transform: scale(1.03) translateY(-4px);
}

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

.plan-header {
    margin-bottom: 20px;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.plan-speed {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-speed span {
    font-size: 1.2rem;
    font-weight: 600;
}

.plan-speed .plan-hasta {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.plan-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
}

.plan-amount {
    font-size: 2rem;
    font-weight: 800;
}

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

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-features li svg {
    color: var(--primary-light);
    flex-shrink: 0;
}

.plans-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 40px;
}

/* ===== Coverage ===== */
.coverage {
    padding: 100px 0;
    background: var(--surface);
}

.coverage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.coverage-map {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: var(--text-dim);
    padding: 40px;
}

.map-placeholder svg {
    color: var(--primary);
    opacity: 0.4;
    margin-bottom: 16px;
}

.map-placeholder p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.map-placeholder span {
    font-size: 0.85rem;
}

.coverage-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.coverage-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.coverage-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary-light);
}

.coverage-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.coverage-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.coverage-card .btn {
    margin-top: 4px;
}

/* ===== About ===== */
.about {
    padding: 100px 0;
}

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

.about-text .section-tag {
    margin-bottom: 16px;
}

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

.about-text > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

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

.about-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

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

.about-feature p {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin: 0;
}

/* About visual - animated network */
.about-visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.visual-network {
    position: relative;
    width: 260px;
    height: 260px;
}

.node {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--gradient);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.node::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.2);
    animation: ping 3s ease-in-out infinite;
}

.node-center {
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.4);
}

.node-1 { top: 10%; left: 30%; animation-delay: 0s; }
.node-2 { top: 20%; right: 15%; animation-delay: 0.5s; }
.node-3 { bottom: 25%; left: 10%; animation-delay: 1s; }
.node-4 { bottom: 10%; right: 25%; animation-delay: 1.5s; }
.node-5 { top: 55%; right: 5%; animation-delay: 2s; }

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    display: block;
}

.contact-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon-wa {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.contact-icon-phone {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-light);
}

.contact-icon-email {
    background: rgba(255, 107, 107, 0.1);
    color: #FF6B6B;
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand > p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dim);
    padding: 6px 0;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ===== FAB (Floating Action Button) ===== */
.fab-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    position: relative;
}

.fab-main:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.fab-icon-close {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
    transition: var(--transition);
}

.fab-container.active .fab-icon-wa {
    opacity: 0;
    transform: rotate(90deg);
}

.fab-container.active .fab-icon-close {
    opacity: 1;
    transform: rotate(0);
}

.fab-icon-wa {
    transition: var(--transition);
}

.fab-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.fab-container.active .fab-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-option {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 8px 12px 8px 20px;
    transition: var(--transition);
    white-space: nowrap;
}

.fab-option:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.fab-option span {
    font-size: 0.85rem;
    font-weight: 500;
}

.fab-option-icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes ping {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.8); opacity: 0; }
}

/* Scroll reveal */
.plan-card,
.coverage-card,
.contact-card,
.about-feature {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.plan-card.visible,
.coverage-card.visible,
.contact-card.visible,
.about-feature.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        border-left: 1px solid var(--border);
        transition: var(--transition);
    }

    .nav.open {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(7px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-7px);
    }

    .header-actions .btn {
        display: none;
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }

    .plan-featured {
        transform: none;
        order: -1;
    }

    .plan-featured:hover {
        transform: translateY(-4px);
    }

    .coverage-content {
        grid-template-columns: 1fr;
    }

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

    .about-visual {
        order: -1;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-text .section-tag {
        display: flex;
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .fab-container {
        bottom: 20px;
        right: 20px;
    }
}
