/* WX Telecom — Landing Page */

:root {
    --navy-900: #0a1628;
    --navy-800: #0f1f38;
    --navy-700: #152a4a;
    --navy-600: #1e3a5f;
    --blue-accent: #3b82f6;
    --blue-light: #60a5fa;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --green-wa: #25d366;
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.12);
    --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
    --header-h: 72px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: min(1140px, 100% - 2rem);
    margin-inline: auto;
}

/* ── Header ── */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: box-shadow var(--transition);
}

.header--scrolled {
    box-shadow: var(--shadow-md);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header__logo img {
    border-radius: 10px;
    width: 44px;
    height: 44px;
    object-fit: cover;
}

.header__brand {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--white);
    letter-spacing: -0.02em;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header__nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}

.header__nav a:hover {
    color: var(--white);
}

.header__cta {
    background: var(--blue-accent) !important;
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: background var(--transition), transform var(--transition) !important;
}

.header__cta:hover {
    background: var(--blue-light) !important;
    transform: translateY(-1px);
}

.header__menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.header__menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.header__menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.header__menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header__mobile {
    display: none;
    flex-direction: column;
    background: var(--navy-800);
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.header__mobile[hidden] {
    display: none !important;
}

.header__mobile:not([hidden]) {
    display: flex;
}

.header__mobile a {
    color: var(--white);
    padding: 0.75rem 0;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__mobile a:last-child {
    margin-top: 0.5rem;
    background: var(--blue-accent);
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
}

/* ── Buttons ── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}

.btn:active {
    transform: scale(0.98);
}

.btn--primary {
    background: var(--blue-accent);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--white {
    background: var(--white);
    color: var(--navy-900);
}

.btn--white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn--block {
    width: 100%;
}

/* ── Hero Banner ── */

.hero-banner {
    position: relative;
    width: 100%;
    min-height: clamp(480px, 70vh, 600px);
    padding: calc(var(--header-h) + 2.5rem) 0 3rem;
    overflow: hidden;
}

.hero-banner__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    background: var(--navy-900);
}

.hero-banner__media {
    position: absolute;
    inset: 0;
}

.hero-banner__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero-banner__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.82) 40%, rgba(10, 22, 40, 0.4) 100%),
        linear-gradient(to top, rgba(10, 22, 40, 0.85) 0%, transparent 45%);
    pointer-events: none;
}

.hero-banner__inner {
    position: relative;
    z-index: 1;
}

.hero-banner__text {
    max-width: 640px;
}

.hero-banner__badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: var(--blue-light);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(59, 130, 246, 0.35);
    margin-bottom: 1.25rem;
}

.hero-banner h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.hero-banner__text > p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-banner__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 720px;
}

.hero-banner__stats li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 0.875rem 1rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--blue-light);
}

.hero-banner__stats strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.hero-banner__stats span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ── Section headers ── */

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header--light h2 {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue-accent);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.05rem;
}

/* ── Plans ── */

.plans {
    padding: 5rem 0;
    background: var(--gray-50);
}

.plans__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.plan-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.plan-card--featured {
    border-color: var(--blue-accent);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
}

.plan-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue-accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}

.plan-card__speed {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.plan-card__number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.03em;
    line-height: 1;
}

.plan-card__unit {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.plan-card__features {
    flex: 1;
    margin-bottom: 1.5rem;
}

.plan-card__features li {
    font-size: 0.875rem;
    color: var(--gray-500);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.plan-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    background: var(--blue-accent);
    border-radius: 50%;
}

.plan-card__price {
    text-align: center;
    margin-bottom: 1.25rem;
}

.plan-card__currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-500);
    vertical-align: super;
}

.plan-card__amount {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.03em;
}

.plan-card__period {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.plans__note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 2rem;
}

/* ── Benefits ── */

.benefits {
    padding: 5rem 0;
    background: var(--navy-900);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    transition: background var(--transition), transform var(--transition);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
}

.benefit-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue-light);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.benefit-card h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── About ── */

.about {
    padding: 5rem 0;
}

.about__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about__content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.about__content p {
    color: var(--gray-500);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about__content .btn {
    margin-top: 1rem;
}

.about__highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about__item {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 1.5rem;
    border-left: 4px solid var(--blue-accent);
}

.about__item strong {
    display: block;
    color: var(--navy-900);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.about__item span {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ── CTA Banner ── */

.cta-banner {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
}

.cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-banner h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
}

/* ── Footer ── */

.footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.6);
    padding: 2.5rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 2rem 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.footer__brand img {
    border-radius: 8px;
    width: 40px;
    height: 40px;
    object-fit: cover;
    flex-shrink: 0;
}

.footer__brand strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
}

.footer__brand span {
    font-size: 0.8rem;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__email,
.footer__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition);
    word-break: break-all;
}

.footer__email:hover,
.footer__phone:hover {
    color: var(--white);
}

.footer__email svg,
.footer__phone svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.footer__links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer__links a {
    font-size: 0.875rem;
    white-space: nowrap;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--white);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1.25rem;
}

.footer__copy {
    font-size: 0.8rem;
    margin: 0;
}

.footer__dev {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer__dev a {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    opacity: 0.9;
    transition: opacity var(--transition);
}

.footer__dev a:hover {
    opacity: 1;
}

.footer__dev img {
    width: auto;
    max-width: 120px;
    height: 32px;
    object-fit: contain;
}

/* ── WhatsApp Float ── */

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 99;
    width: 60px;
    height: 60px;
    background: var(--green-wa);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .plans__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .footer__brand {
        grid-column: 1 / -1;
        justify-content: center;
        text-align: center;
    }

    .footer__contact {
        align-items: flex-start;
    }

    .footer__links {
        justify-content: flex-end;
    }
}

@media (max-width: 768px) {
    .header__nav {
        display: none;
    }

    .header__menu-btn {
        display: flex;
    }

    .hero-banner {
        min-height: clamp(440px, 80vh, 560px);
        padding-top: calc(var(--header-h) + 1.5rem);
        padding-bottom: 2rem;
    }

    .hero-banner__media img {
        object-position: 75% center;
    }

    .hero-banner__overlay {
        background:
            linear-gradient(180deg, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.78) 55%, rgba(10, 22, 40, 0.92) 100%);
    }

    .hero-banner__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__inner {
        grid-template-columns: 1fr;
    }

    .cta-banner__inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner__inner .btn {
        width: 100%;
        max-width: 360px;
    }

    .footer__top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.25rem;
    }

    .footer__brand {
        flex-direction: row;
        justify-content: center;
    }

    .footer__contact {
        align-items: center;
    }

    .footer__links {
        justify-content: center;
        gap: 1rem 1.5rem;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer__dev {
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .plans__grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-inline: auto;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
    }

    .hero-banner__actions {
        flex-direction: column;
    }

    .hero-banner__actions .btn {
        width: 100%;
    }

    .hero-banner__stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        max-width: 100%;
    }

    .hero-banner__stats li {
        padding: 0.75rem;
    }

    .footer__links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer__dev img {
        height: 28px;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
        right: calc(1rem + env(safe-area-inset-right, 0px));
    }

    .footer {
        padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
