/* BestPX Landing Page — Cyberpunk Neon-Future Design */

/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --bg-primary: #060913;
    --bg-secondary: #0a1628;
    --bg-card: rgba(17, 24, 39, 0.65);
    --neon-cyan: #00d4ff;
    --neon-cyan-glow: rgba(0, 212, 255, 0.4);
    --neon-green: #00ff88;
    --neon-pink: #ff3366;
    --neon-purple: #a855f7;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    --border-glow: rgba(0, 212, 255, 0.15);
    --glass-bg: rgba(17, 24, 39, 0.5);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* ===== ANIMATED GRID BACKGROUND ===== */
.landing-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Floating orbs */
.landing-bg::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08), transparent 70%);
    border-radius: 50%;
    animation: floatOrb 15s ease-in-out infinite;
}

.landing-bg::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.06), transparent 70%);
    border-radius: 50%;
    animation: floatOrb 20s ease-in-out infinite reverse;
}

@keyframes floatOrb {

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

    33% {
        transform: translate(30px, -40px);
    }

    66% {
        transform: translate(-20px, 30px);
    }
}

/* ===== NAVIGATION ===== */
.lp-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 1rem 0;
    transition: all 0.4s ease;
    background: transparent;
}

.lp-nav.scrolled {
    background: rgba(6, 9, 19, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-glow);
    padding: 0.6rem 0;
}

.lp-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lp-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--neon-cyan);
    text-decoration: none;
    letter-spacing: 3px;
    text-shadow: 0 0 20px var(--neon-cyan-glow);
    text-transform: uppercase;
}

.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.lp-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.lp-nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan-glow);
}

.lp-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan-glow);
    transition: width 0.3s ease;
}

.lp-nav-links a:hover::after {
    width: 100%;
}

.lp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.8rem;
    background: var(--neon-cyan);
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--neon-cyan-glow),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.lp-cta-btn:hover {
    background: #1affff;
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    color: #000;
    text-decoration: none;
}

.lp-cta-btn.outline {
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.lp-cta-btn.outline:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--neon-cyan);
}

/* Mobile nav toggle */
.lp-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    z-index: 1;
}

.lp-hero-content {
    max-width: 800px;
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50px;
    color: var(--neon-cyan);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease forwards;
}

.lp-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.lp-hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.lp-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.lp-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

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

.lp-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-cyan);
    text-shadow: 0 0 15px var(--neon-cyan-glow);
}

.lp-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

/* Globe wireframe */
.lp-globe {
    position: absolute;
    right: -15%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    border: 1px solid rgba(0, 212, 255, 0.08);
    border-radius: 50%;
    opacity: 0.4;
    animation: rotateGlobe 40s linear infinite;
}

.lp-globe::before {
    content: '';
    position: absolute;
    inset: 20%;
    border: 1px solid rgba(0, 212, 255, 0.06);
    border-radius: 50%;
}

.lp-globe::after {
    content: '';
    position: absolute;
    inset: 40%;
    border: 1px solid rgba(0, 212, 255, 0.04);
    border-radius: 50%;
}

@keyframes rotateGlobe {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* ===== SECTION BASE ===== */
.lp-section {
    position: relative;
    padding: 6rem 2rem;
    z-index: 1;
}

.lp-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.lp-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.lp-section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.lp-section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FEATURES SECTION ===== */
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.lp-feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.lp-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lp-feature-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 212, 255, 0.1);
}

.lp-feature-card:hover::before {
    opacity: 1;
}

.lp-feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    color: var(--neon-cyan);
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.lp-feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 1;
}

.lp-feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Feature icon variants */
.lp-feature-icon.green {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.2);
    color: var(--neon-green);
}

.lp-feature-icon.purple {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.2);
    color: var(--neon-purple);
}

.lp-feature-icon.pink {
    background: rgba(255, 51, 102, 0.1);
    border-color: rgba(255, 51, 102, 0.2);
    color: var(--neon-pink);
}

/* ===== SERVERS SECTION ===== */
.lp-servers-visual {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    overflow: hidden;
    min-height: 350px;
}

.lp-servers-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.05), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.05), transparent 50%);
}

.lp-server-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.lp-server-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.lp-server-item:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateX(4px);
}

.lp-server-dot {
    width: 10px;
    height: 10px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    animation: pulseDot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.lp-server-name {
    font-size: 0.95rem;
    font-weight: 500;
}

.lp-server-flag {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.lp-no-servers {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem;
}

/* ===== PRICING SECTION ===== */
.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.lp-plan-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.lp-plan-card.featured {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.15);
}

.lp-plan-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 1rem;
    right: -2.5rem;
    background: var(--neon-cyan);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.3rem 3rem;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.lp-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 212, 255, 0.1);
}

.lp-plan-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.lp-plan-price {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.lp-plan-price .currency {
    font-size: 1.5rem;
    vertical-align: super;
    color: var(--text-secondary);
}

.lp-plan-cycle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    margin-bottom: 2rem;
}

.lp-plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.lp-plan-features li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.lp-plan-features li:last-child {
    border-bottom: none;
}

.lp-plan-features li .check {
    color: var(--neon-green);
    font-weight: 700;
}

.lp-plan-cta {
    display: block;
    width: 100%;
    padding: 0.9rem;
    text-align: center;
}

/* ===== HOW IT WORKS ===== */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.lp-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
}

.lp-step {
    text-align: center;
    position: relative;
}

.lp-step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan-glow);
    position: relative;
    z-index: 1;
}

.lp-step h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.lp-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== TRUST SECTION ===== */
.lp-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lp-trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.lp-trust-item:hover {
    border-color: rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.03);
}

.lp-trust-icon {
    font-size: 1.8rem;
    color: var(--neon-cyan);
    flex-shrink: 0;
}

.lp-trust-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.lp-trust-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===== FOOTER ===== */
.lp-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.lp-footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.lp-footer-brand {
    max-width: 300px;
}

.lp-footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.7;
}

.lp-footer h5 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--neon-cyan);
    margin-bottom: 1.2rem;
}

.lp-footer-links {
    list-style: none;
}

.lp-footer-links li {
    margin-bottom: 0.6rem;
}

.lp-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lp-footer-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan-glow);
}

.lp-footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.lp-footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

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

.fade-in {
    animation: sectionFadeIn 0.8s ease forwards;
}

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .lp-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-hero h1 {
        font-size: 3rem;
    }

    .lp-globe {
        display: none;
    }
}

@media (max-width: 768px) {
    .lp-nav-links {
        display: none;
    }

    .lp-nav-toggle {
        display: block;
    }

    .lp-nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(6, 9, 19, 0.95);
        backdrop-filter: blur(25px);
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-glow);
    }

    .lp-hero {
        padding: 7rem 1.5rem 3rem;
        min-height: auto;
    }

    .lp-hero h1 {
        font-size: 2.2rem;
    }

    .lp-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .lp-features-grid {
        grid-template-columns: 1fr;
    }

    .lp-steps {
        grid-template-columns: 1fr;
    }

    .lp-steps::before {
        display: none;
    }

    .lp-trust-grid {
        grid-template-columns: 1fr;
    }

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

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

    .lp-section {
        padding: 4rem 1.5rem;
    }

    .lp-section-header h2 {
        font-size: 1.8rem;
    }

    .lp-server-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .lp-hero h1 {
        font-size: 1.8rem;
    }

    .lp-stat-value {
        font-size: 1.5rem;
    }

    .lp-plan-price {
        font-size: 2.5rem;
    }
}