/* Foxline Network — Public Corporate Website (R20.21 sync/redesign)
   Original identity: FOXLINE logo colors (red / black / white) + FOXLINE
   blue accent for package tiers. No RingNet or third-party ISP assets,
   colors, copy, or package names are used anywhere in this file. */

:root {
    --fx-navy: #060a14;
    --fx-navy-2: #0c1526;
    --fx-blue: #0a5cad;
    --fx-blue-light: #2f8ff0;
    --fx-red: #e2231a;
    --fx-red-dark: #a81810;
    --fx-text: #1f2933;
    --fx-muted: #64748b;
    --fx-bg: #f4f7fb;
    --fx-border: #e2e8f0;
    --fx-white: #ffffff;
}

* { box-sizing: border-box; }

.foxline-public {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--fx-text);
    background: #fff;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.foxline-public a { color: var(--fx-blue); text-decoration: none; transition: color .15s ease; }
.foxline-public img { max-width: 100%; }
.foxline-public .container-xl { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Navbar ---------- */
.fx-navbar { background: rgba(6, 10, 20, 0.96); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 200; border-bottom: 1px solid rgba(255,255,255,.06); }
.fx-navbar-inner { max-width: 1180px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; }
.fx-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: #fff; letter-spacing: .3px; }
.fx-brand img { height: 38px; width: 38px; border-radius: 8px; object-fit: cover; }
.fx-brand .fx-brand-accent { color: var(--fx-red); }
.fx-nav { display: flex; align-items: center; gap: 22px; }
.fx-nav a { color: #cbd5e1; font-weight: 500; font-size: 14.5px; }
.fx-nav a.active, .fx-nav a:hover { color: #fff; }
.fx-nav-login { background: var(--fx-red); color: #fff !important; padding: 9px 18px; border-radius: 999px; font-weight: 600; }
.fx-nav-login:hover { background: var(--fx-red-dark); }
.fx-nav-toggle { display: none; background: none; border: none; font-size: 22px; color: #fff; }

/* ---------- Hero ---------- */
.fx-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at top right, #101d38 0%, var(--fx-navy) 55%, #030509 100%);
    color: #fff;
    padding: 96px 20px 110px;
}
.fx-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse at 70% 30%, black 0%, transparent 70%);
    pointer-events: none;
}
.fx-hero::after {
    content: "";
    position: absolute; top: -120px; right: -120px; width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(226,35,26,.28) 0%, transparent 70%);
    pointer-events: none;
}
.fx-hero-inner { position: relative; max-width: 1180px; margin: 0 auto; text-align: center; }
.fx-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(226,35,26,.12); border: 1px solid rgba(226,35,26,.4); color: #ff8a80; padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 22px; }
.fx-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.fx-hero h1 span { color: var(--fx-red); }
.fx-hero p { font-size: 18px; color: #b9c4d6; max-width: 720px; margin: 0 auto 32px; }
.fx-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.fx-hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.fx-hero-stat { text-align: center; }
.fx-hero-stat strong { display: block; font-size: 26px; color: #fff; font-weight: 800; }
.fx-hero-stat span { font-size: 13px; color: #8ea0bd; }

.fx-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 999px; font-weight: 700; cursor: pointer; border: 2px solid transparent; font-size: 15px; }
.fx-btn-primary { background: var(--fx-red); color: #fff !important; }
.fx-btn-primary:hover { background: var(--fx-red-dark); }
.fx-btn-outline { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.35); }
.fx-btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.fx-btn-blue { background: var(--fx-blue); color: #fff !important; }
.fx-btn-blue:hover { background: #084a8a; }

/* ---------- Sections ---------- */
.fx-section { max-width: 1180px; margin: 0 auto; padding: 72px 20px; }
.fx-section-title { text-align: center; margin-bottom: 46px; }
.fx-section-eyebrow { color: var(--fx-red); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.fx-section-title h2 { font-size: 30px; font-weight: 800; color: var(--fx-navy-2); }
.fx-section-title p { color: var(--fx-muted); margin-top: 10px; max-width: 560px; margin-left: auto; margin-right: auto; }
.fx-section-alt { background: var(--fx-bg); }
.fx-section-dark { background: var(--fx-navy); color: #fff; }
.fx-section-dark .fx-section-title h2 { color: #fff; }

.fx-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fx-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.fx-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fx-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.fx-card { background: #fff; border: 1px solid var(--fx-border); border-radius: 14px; padding: 30px 22px; text-align: center; transition: transform .18s ease, box-shadow .18s ease; }
.fx-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(10,20,40,.08); }
.fx-card .fx-icon-wrap { width: 58px; height: 58px; border-radius: 14px; background: linear-gradient(135deg, var(--fx-blue), var(--fx-blue-light)); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.fx-card .fx-icon-wrap i { font-size: 24px; color: #fff; }
.fx-card h3 { font-size: 17px; margin-bottom: 8px; font-weight: 700; }
.fx-card p { color: var(--fx-muted); font-size: 14px; margin: 0; line-height: 1.6; }

.fx-step { text-align: center; }
.fx-step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--fx-red); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 14px; font-size: 17px; }
.fx-step h4 { font-size: 15px; margin-bottom: 4px; font-weight: 700; }
.fx-step p { font-size: 13px; color: var(--fx-muted); margin: 0; }

/* ---------- Package cards ---------- */
.fx-pkg-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.fx-pkg-tab { padding: 10px 22px; border-radius: 999px; border: 1px solid var(--fx-border); font-weight: 600; font-size: 14px; color: var(--fx-muted); background: #fff; }
.fx-pkg-tab.active { background: var(--fx-navy-2); color: #fff; border-color: var(--fx-navy-2); }

.fx-package-card { background: #fff; border: 1px solid var(--fx-border); border-radius: 16px; padding: 30px 26px; display: flex; flex-direction: column; height: 100%; position: relative; overflow: hidden; }
.fx-package-card.fx-featured { border-color: var(--fx-red); box-shadow: 0 20px 40px rgba(226,35,26,.12); }
.fx-package-badge { position: absolute; top: 18px; right: -34px; background: var(--fx-red); color: #fff; padding: 5px 40px; font-size: 11px; font-weight: 700; transform: rotate(40deg); letter-spacing: .5px; }
.fx-package-card h3 { color: var(--fx-navy-2); font-size: 19px; margin-bottom: 4px; font-weight: 800; }
.fx-package-tier { font-size: 12px; color: var(--fx-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 18px; }
.fx-package-speed { font-size: 34px; font-weight: 800; color: var(--fx-blue); margin-bottom: 4px; line-height: 1; }
.fx-package-speed small { font-size: 14px; font-weight: 600; color: var(--fx-muted); }
.fx-package-card ul { list-style: none; padding: 0; margin: 20px 0; flex-grow: 1; }
.fx-package-card ul li { padding: 8px 0; color: #475569; font-size: 14px; border-top: 1px solid #f1f5f9; }
.fx-package-card ul li:first-child { border-top: none; }
.fx-package-card ul li i { color: var(--fx-blue); margin-right: 8px; width: 16px; }
.fx-package-note { font-size: 13px; color: var(--fx-muted); margin: 4px 0 18px; padding: 10px 12px; background: var(--fx-bg); border-radius: 8px; }
.fx-package-cta { margin-top: auto; }
.fx-package-cta .fx-btn { width: 100%; justify-content: center; }

.fx-cs-banner { background: linear-gradient(135deg, var(--fx-navy) 0%, #101d38 100%); border-radius: 16px; padding: 46px 30px; text-align: center; color: #cbd5e1; }
.fx-cs-banner i { font-size: 34px; color: var(--fx-red); margin-bottom: 14px; }
.fx-cs-banner h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.fx-faq-item { border-bottom: 1px solid var(--fx-border); padding: 18px 0; }
.fx-faq-item h4 { font-size: 16px; margin-bottom: 6px; color: var(--fx-navy-2); font-weight: 700; }
.fx-faq-item h4 i { color: var(--fx-red); margin-right: 8px; }
.fx-faq-item p { color: var(--fx-muted); margin: 0; line-height: 1.7; }

/* ---------- Legal pages ---------- */
.fx-legal h2 { color: var(--fx-navy-2); font-size: 28px; margin-bottom: 22px; font-weight: 800; }
.fx-legal h3 { font-size: 18px; margin: 28px 0 10px; color: var(--fx-navy-2); font-weight: 700; }
.fx-legal p, .fx-legal li { color: #334155; line-height: 1.75; }
.fx-legal ol, .fx-legal ul { padding-left: 22px; }
.fx-placeholder { background: #fff3e0; border: 1px dashed var(--fx-red); padding: 2px 10px; border-radius: 4px; font-weight: 700; color: var(--fx-red-dark); font-size: 13px; }

/* ---------- Coverage ---------- */
.fx-coverage-card { background: #fff; border: 1px solid var(--fx-border); border-radius: 14px; padding: 26px; }
.fx-coverage-card i { color: var(--fx-blue); font-size: 22px; margin-right: 10px; }

/* ---------- Contact ---------- */
.fx-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.fx-contact-info { list-style: none; padding: 0; margin: 0; }
.fx-contact-info li { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.fx-contact-info .fx-contact-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--fx-bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fx-contact-info .fx-contact-icon i { color: var(--fx-blue); font-size: 17px; }
.fx-contact-info strong { display: block; font-size: 13px; color: var(--fx-muted); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 2px; }
.fx-contact-info a, .fx-contact-info span.fx-value { color: var(--fx-text); font-weight: 600; }

.fx-form-card { background: #fff; border: 1px solid var(--fx-border); border-radius: 16px; padding: 30px; }
.fx-form-group { margin-bottom: 18px; }
.fx-form-group label { font-weight: 600; display: block; margin-bottom: 6px; font-size: 14px; }
.fx-form-group input, .fx-form-group textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--fx-border); border-radius: 8px; font-size: 14px; }
.fx-form-group input:focus, .fx-form-group textarea:focus { outline: none; border-color: var(--fx-blue); box-shadow: 0 0 0 3px rgba(10,92,173,.12); }
.fx-alert { padding: 13px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; }
.fx-alert-danger { background: #fdecea; color: #a32424; border: 1px solid #f5c2c0; }
.fx-alert-success { background: #e8f8ee; color: #1a7f43; border: 1px solid #b8e6c8; }

/* ---------- Footer ---------- */
.fx-footer { background: var(--fx-navy); color: #9fb0c9; padding: 56px 20px 0; }
.fx-footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 34px; padding-bottom: 34px; }
.fx-footer-logo { height: 42px; width: 42px; border-radius: 8px; object-fit: cover; margin-bottom: 12px; }
.fx-footer-brand { color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.fx-footer-brand .fx-brand-accent { color: var(--fx-red); }
.fx-footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.fx-footer-col ul { list-style: none; padding: 0; margin: 0; }
.fx-footer-col li { margin-bottom: 11px; font-size: 14px; }
.fx-footer-col a { color: #9fb0c9; }
.fx-footer-col a:hover { color: #fff; }
.fx-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); text-align: center; padding: 18px 0; font-size: 13px; color: #6b7d99; }

.fx-whatsapp-float { position: fixed; bottom: 24px; right: 24px; background: #25D366; color: #fff !important; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 6px 18px rgba(0,0,0,.3); z-index: 300; }

@media (max-width: 992px) {
    .fx-grid-4, .fx-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .fx-grid-5 { grid-template-columns: repeat(3, 1fr); }
    .fx-footer-inner { grid-template-columns: 1fr 1fr; }
    .fx-contact-grid { grid-template-columns: 1fr; }
    .fx-hero h1 { font-size: 34px; }
}

@media (max-width: 640px) {
    .fx-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--fx-navy); flex-direction: column; align-items: flex-start; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.08); display: none; gap: 16px; }
    .fx-nav.open { display: flex; }
    .fx-nav-toggle { display: block; }
    .fx-grid-4, .fx-grid-3, .fx-grid-5, .fx-grid-2 { grid-template-columns: 1fr; }
    .fx-hero { padding: 70px 20px 80px; }
    .fx-hero h1 { font-size: 27px; }
    .fx-hero-stats { gap: 24px; }
    .fx-footer-inner { grid-template-columns: 1fr; }
    .fx-section { padding: 52px 20px; }
}
