/* --- CSS Variables & Theming --- */
:root {
    /* Deep Teal Theme */
    --primary: #00b8b8;
    /* Bright Teal Accent */
    --primary-glow: rgba(0, 184, 184, 0.4);
    --primary-muted: rgba(0, 184, 184, 0.15);

    --secondary: #006666;
    /* Darker Teal */

    --bg-dark: #04090a;
    /* Near black with cyan tint */
    --bg-surface: #0a1417;
    /* Slightly lighter surface */
    --bg-glass: rgba(10, 25, 30, 0.5);
    /* Glassmorphism background */
    --glass-border: rgba(0, 184, 184, 0.2);

    --text-primary: #f0fdfd;
    /* White with tiny hint of cyan */
    --text-secondary: #94b8b8;
    /* Muted teal-grey */

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', var(--font-sans);
}

/* --- Resets & Global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

canvas#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.top-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 400px;
    background: radial-gradient(ellipse at center, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

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

.section {
    padding: 100px 0;
    position: relative;
}

/* Typography elements */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 span {
    color: var(--primary);
}

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

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.text-glow {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* --- UI Components --- */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
    border: none;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    background-color: #00dcdc;
    box-shadow: 0 0 30px var(--primary-glow), inset 0 0 10px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--primary);
    color: #000;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-muted);
}

.full-width {
    width: 100%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--primary-muted);
    border: 1px solid var(--primary);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
    animation: blink 2s infinite ease-in-out;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 12px 24px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.custom-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 150px;
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90deg, var(--bg-dark), var(--primary-muted), var(--bg-dark));
    border: 1px solid var(--primary);
    padding: 12px 24px;
    border-radius: 999px;
    margin-bottom: 30px;
    color: var(--text-primary);
    box-shadow: 0 0 20px var(--primary-glow);
    font-size: 1rem;
}

.promo-badge .gift-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.hero-graphic {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.sphere {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, transparent, var(--bg-dark), #000);
    box-shadow: inset 0 0 50px var(--primary-glow), 0 0 80px var(--primary-glow);
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.sphere::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 184, 184, 0.4) 0%, transparent 50%);
    border-radius: 50%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.status-box {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
}

.status-box iconify-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

/* --- Metrics Ticker --- */
.metrics {
    padding: 40px 0;
    overflow: hidden;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.ticker {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    font-size: 1.1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-value {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.4rem;
}

.ticker-sep {
    color: var(--primary);
}

/* --- Features (Bento Grid) --- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

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

.bento-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.col-span-2 {
    grid-column: span 2;
}

.card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 24px;
    display: inline-block;
    padding: 16px;
    background: var(--primary-muted);
    border-radius: 12px;
}

.card-icon.big {
    font-size: 3rem;
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card-bg-effect {
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.promo-card {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-muted);
}

/* --- Coverage Section --- */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 40px;
}

.coverage-location {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-weight: 500;
}

.coverage-location:hover {
    border-color: var(--primary);
    background: var(--primary-muted);
    transform: translateX(5px);
}

.pin-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

/* --- Pricing --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid.four-col {
    grid-template-columns: repeat(4, 1fr);
}

.pricing-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-muted);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #000;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

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

.plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 8px;
}

.price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    line-height: 1.8;
}

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

.speed-badge {
    background: var(--primary-muted);
    color: var(--text-primary);
    padding: 8px 0;
    text-align: center;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 24px;
    border-radius: 4px;
    border: 1px solid var(--primary);
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-features iconify-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

/* --- CTA Section --- */
.cta-box {
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--bg-glass) 0%, rgba(0, 184, 184, 0.1) 100%);
    border-color: var(--primary);
}

.cta-box h2 {
    margin-bottom: 16px;
}

.address-form {
    display: flex;
    gap: 16px;
    max-width: 600px;
    margin: 40px auto 0;
}

.glass-input {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 16px 24px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.glass-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* --- Footer --- */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
    margin-top: 80px;
}

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

.footer-brand p {
    margin-top: 20px;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.socials {
    display: flex;
    gap: 16px;
}

.socials a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--primary);
}

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

    .hero-actions {
        flex-direction: column;
    }

    .pricing-grid.four-col {
        grid-template-columns: 1fr;
    }

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

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

    .col-span-2 {
        grid-column: span 1;
    }

    .address-form {
        flex-direction: column;
    }

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