:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Dark Mode Default for "Pro" feel */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        --glass-bg: rgba(30, 41, 59, 0.7);
        --glass-border: rgba(255, 255, 255, 0.1);
        --text-main: #f8fafc;
        --text-muted: #94a3b8;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.background-glob {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* Glassmorphism Utilities */
.glass-nav,
.glass-panel,
.glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

/* Navbar */
.glass-nav {
    position: sticky;
    top: 20px;
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
    border-radius: 16px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo .icon {
    font-size: 1.5rem;
}

#lang-select {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
}

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

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #60a5fa, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.user-status-card {
    max-width: 400px;
    margin: 0 auto;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: left;
}

.status-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 8px;
}

.status-badge {
    background: #10b981;
    color: white;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 0.75rem;
}

.status-details p {
    margin: 4px 0;
    font-size: 0.9rem;
}

.status-details span {
    font-weight: 600;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.pricing-card {
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary-color);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-header .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.currency-symbol {
    font-size: 1.5rem;
    vertical-align: top;
}

.credits {
    color: var(--text-muted);
    font-weight: 500;
}

.features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    flex-grow: 1;
}

.features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
}

.btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.payment-methods {
    display: flex;
    gap: 10px;
    margin: 1.5rem 0;
}

.pm-btn {
    flex: 1;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    border-radius: 8px;
    cursor: pointer;
}

.pm-btn.active {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
}

.qr-box {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.qr-loading {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Footer */
.glass-footer {
    margin-top: auto;
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.glass-footer .links {
    margin-bottom: 1rem;
}

.glass-footer a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 10px;
}

.glass-footer a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 600px) {
    .glass-nav {
        flex-direction: column;
        gap: 10px;
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
}