:root {
    --bg-color: #050510;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    
    --neon-blue: #00f3ff;
    --neon-pink: #ff00ff;
    --neon-purple: #bc13fe;
    --neon-green: #00ff9d;
    
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Atmosphere */
.background-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(188, 19, 254, 0.1) 0%, rgba(5, 5, 16, 0) 60%);
    z-index: -1;
    animation: pulseBg 10s ease-in-out infinite alternate;
}

@keyframes pulseBg {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.neon-text {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
}

.controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    color: var(--neon-blue);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

.divider {
    opacity: 0.3;
}

.login-btn {
    text-decoration: none;
    color: var(--bg-color);
    background: var(--neon-blue);
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.login-btn:hover {
    background: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Main Layout */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    padding-bottom: 4rem;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-top: 4rem;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 800;
}

.flicker-slow {
    color: var(--neon-purple);
    text-shadow: 0 0 20px var(--neon-purple), 0 0 40px var(--neon-purple);
    animation: flicker 3s infinite;
}

@keyframes flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
    20%, 24%, 55% { opacity: 0.8; }
}

.subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Section */
.pricing {
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    text-align: center;
}

.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fadeInUp 0.8s ease backwards;
    animation-delay: var(--delay);
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card.featured {
    padding: 3.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
    z-index: 2;
}

.card.featured:hover {
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.4);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neon-pink);
    color: white;
    padding: 0.3rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 0 15px var(--neon-pink);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.featured h3 {
    color: white;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: white;
}

.price.neon-pink {
    color: var(--neon-pink);
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    text-shadow: none;
}

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

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

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

.features li::before {
    content: '✓';
    color: var(--neon-green);
    margin-right: 10px;
    font-weight: bold;
}

.features li.highlight {
    color: white;
    font-weight: 600;
}

.select-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 600;
    background: transparent;
}

.select-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.select-btn.btn-primary {
    background: var(--neon-pink);
    border: none;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

.select-btn.btn-primary:hover {
    background: #ff40ff;
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.6);
}

.note {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .card.featured {
        transform: scale(1.05);
    }
    
    .card.featured:hover {
        transform: scale(1.08); /* slight lift on mobile too */
    }
}
