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

:root {
    --primary: #2DD4BF;
    --primary-alt: #26bba8;
    --secondary: #6366f1;
    --accent: #4ade80;
    --bg-dark: #000000;
    --bg-card: rgba(255, 255, 255, 0.03);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #F0FDFA;
    --text-muted: #94a3b8;
    --primary-glow: rgba(45, 212, 191, 0.4);
    --grad-primary: linear-gradient(135deg, #2DD4BF 0%, #6366f1 100%);
    --grad-dark: linear-gradient(180deg, #0f172a 0%, #000000 100%);
    /* Logo Tokens */
    --logo-font: 'Inter Tight', sans-serif;
    --logo-light: #F0FDFA;
    --logo-accent: #2DD4BF;
}

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

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

h1, h2, h3, h4, .brand-logo {
    font-family: var(--logo-font);
    font-weight: 900;
    letter-spacing: -0.05em;
}

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

/* Nav */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

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

.brand-logo {
    font-size: 1.5rem;
    color: var(--logo-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.brand-logo i {
    color: var(--logo-accent);
    filter: drop-shadow(0 0 10px var(--primary-glow));
    margin-right: 10px;
}

.brand-logo b {
    font-weight: 800;
    color: var(--logo-accent);
}

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

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

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

/* Cards */
.premium-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-5px);
    border-color: rgba(45, 212, 191, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--grad-primary);
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(45, 212, 191, 0.2);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(45, 212, 191, 0.3);
}

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

.btn-outline:hover {
    background: var(--glass);
    border-color: var(--primary);
    color: var(--primary);
}

/* Forms */
input, select, textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 0.8rem;
    color: var(--text-main);
    outline: none;
    transition: 0.3s;
}

input:focus, select:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px var(--primary-glow);
}

select option {
    background-color: #1a1a1b; /* Dark background for options */
    color: #fff;
}


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

.price-card {
    position: relative;
    overflow: hidden;
}

.price-card.featured {
    border: 2px solid var(--primary);
    background: radial-gradient(circle at top right, rgba(45, 212, 191, 0.1), transparent);
}

.price-val {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
    font-family: 'Outfit';
}

.price-val span {
    font-size: 1rem;
    color: var(--text-muted);
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.feature-list li i {
    color: var(--accent);
}

/* Utilities */
.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Table */
.data-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    min-width: 600px; /* Force scroll on very small screens */
}

.data-table th, .data-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.data-table th {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dashboard Specific Helper */
.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.badge-active { background: rgba(74, 222, 128, 0.1); color: #4ade80; }
.badge-expired { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

/* === GLOBAL RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .premium-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }
    h3 { font-size: 1.5rem !important; }
    
    .desktop-only { display: none !important; }
}

@media (max-width: 480px) {
    .premium-card {
        padding: 1.2rem;
    }
    
    .btn {
        width: 100%; /* Full width buttons on very small screens */
    }
    
    h1 { font-size: 1.8rem !important; }
}

/* Promo Badge & Discount Styles */
.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f1c40f 0%, #e67e22 100%);
    color: #000;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(243, 156, 18, 0.2);
    animation: pulse-promo 2s infinite;
}

@keyframes pulse-promo {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(241, 196, 15, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(241, 196, 15, 0); }
}

.price-original {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: -0.2rem;
    opacity: 0.7;
}

.discount-tag {
    background: rgba(45, 212, 191, 0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 8px;
    vertical-align: middle;
}
