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

:root {
    --bg-dark: #060818;
    --bg-card: #0d1526;
    --bg-card2: #111827;
    --blue: #3b82f6;
    --purple: #8b5cf6;
    --cyan: #06b6d4;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --border: #1e293b;
    --radius: 16px;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 90%;
    max-width: 1140px;
    margin: auto;
}

/* ===== PARTICLES ===== */
.bg-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.15;
    }

    90% {
        opacity: 0.1;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(6, 8, 24, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

header.scrolled {
    background: rgba(6, 8, 24, 0.95);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: white;
}

.logo-icon {
    font-size: 22px;
}

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

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

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

.nav-cta {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    overflow: hidden;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease;
}

.hero-title {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
    animation: fadeInUp 0.7s ease 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 50%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    max-width: 600px;
    color: var(--muted);
    font-size: 18px;
    margin: 0 auto 36px;
    animation: fadeInUp 0.7s ease 0.2s both;
    line-height: 1.7;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-arrow {
    transition: transform 0.2s;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    animation: fadeInUp 0.7s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat-num {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat span {
    font-size: 24px;
    font-weight: 700;
    color: var(--blue);
}

.stat p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

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

.hero-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    animation: fadeIn 1s ease 1s both;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    animation: bounce 1.5s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: rotate(45deg) translateY(0)
    }

    50% {
        transform: rotate(45deg) translateY(5px)
    }
}

/* ===== FEATURES ===== */
.features {
    position: relative;
    z-index: 1;
    padding: 100px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--blue);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -1px;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== COMPARISON ===== */
.comparison {
    position: relative;
    z-index: 1;
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0f20 50%, var(--bg-dark) 100%);
}

.table-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead tr {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
}

th {
    padding: 18px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-row td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 15px;
    transition: background 0.2s;
}

.table-row:last-child td {
    border-bottom: none;
}

.table-row:hover td {
    background: rgba(255, 255, 255, 0.025);
}

.best-pick td {
    background: rgba(99, 102, 241, 0.05);
}

.best-pick:hover td {
    background: rgba(99, 102, 241, 0.08) !important;
}

.provider-name {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.best-tag {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.price small {
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
}

.uptime-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.speed {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.speed.fast {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.speed.vfast {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.stars {
    color: #f59e0b;
    font-size: 14px;
}

.rating-num {
    font-size: 12px;
    color: var(--muted);
}

/* ===== NOTIFY ===== */
.notify {
    position: relative;
    z-index: 1;
    padding: 100px 20px;
}

.notify-card {
    position: relative;
    max-width: 640px;
    margin: auto;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    padding: 60px 40px;
    overflow: hidden;
}

.notify-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.notify-card h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    margin: 12px 0 14px;
    letter-spacing: -0.5px;
}

.notify-card>p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.notify-form {
    margin-bottom: 16px;
}

.input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 6px 6px 6px 16px;
    gap: 10px;
    transition: border-color 0.2s;
}

.input-group:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.input-group input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: white;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    padding: 8px 0;
    min-width: 0;
}

.input-group input::placeholder {
    color: var(--muted);
}

.input-group button {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.input-group button:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.form-note {
    color: var(--muted);
    font-size: 12px;
    margin-top: 10px;
}

.success-msg {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    margin-bottom: 20px;
}

.success-msg span {
    font-size: 32px;
}

.success-msg p {
    color: #34d399;
    font-weight: 500;
}

.notify-avatars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 13px;
}

.avatars {
    display: flex;
}

.av {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    border: 2px solid var(--bg-card);
    margin-left: -8px;
}

.avatars .av:first-child {
    margin-left: 0;
}

/* ===== FOOTER ===== */
footer {
    position: relative;
    z-index: 1;
    padding: 50px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-dark);
}

.footer-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
}

.footer-tagline {
    color: var(--muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    color: #475569;
    font-size: 13px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Intersection observer animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .hero-stats {
        gap: 20px;
    }

    .stat-num {
        font-size: 28px;
    }

    .notify-card {
        padding: 40px 20px;
    }

    .input-group {
        flex-wrap: wrap;
    }

    .input-group input {
        width: 100%;
    }

    .input-group button {
        width: 100%;
        justify-content: center;
    }

    .table-wrapper {
        overflow-y: auto;
    }
}