:root {
    --bg-primary: #030712;
    --bg-secondary: #0b0f19;
    --bg-card: rgba(17, 24, 39, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --accent-cyan: #00f0ff;
    --accent-green: #00ff9d;
    --accent-red: #ff2a5f;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --base-font-size: 15px;
}

html[data-font-size="small"] {
    --base-font-size: 13px;
}

html[data-font-size="medium"] {
    --base-font-size: 15px;
}

html[data-font-size="large"] {
    --base-font-size: 18px;
}

html {
    font-size: var(--base-font-size);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.5;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(0, 240, 255, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(0, 255, 157, 0.04) 0%, transparent 40%);
    background-attachment: fixed;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header Navbar - Completely Transparent without ugly black box */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: none;
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.3px;
}

.brand-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4));
    transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
    transform: rotate(15deg) scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

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

/* Font Size Control Pill */
.font-size-control {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2px 6px;
    gap: 4px;
}

.font-size-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.font-size-btn:hover, .font-size-btn.active {
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), #00a8ff);
    color: #000;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.45);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

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

.btn-danger {
    background: rgba(255, 42, 95, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(255, 42, 95, 0.3);
}

.btn-danger:hover {
    background: rgba(255, 42, 95, 0.3);
}

.btn-sm {
    padding: 4px 10px;
    font-size: 0.8rem;
}

/* Glass Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.25);
    margin-bottom: 18px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 0 40px;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 50%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 28px;
}

/* Stats Counter Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.stat-card {
    text-align: center;
    padding: 16px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

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

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

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card.popular {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.popular-tag {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent-cyan);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: 12px;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 12px 0;
}

.price span {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 20px;
}

.pricing-features li {
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li::before {
    content: "✓";
    color: var(--accent-green);
    font-weight: bold;
}

/* Tables */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    text-align: left;
    font-size: 0.88rem;
}

th, td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
}

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

/* Status Badges */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-active {
    background: rgba(0, 255, 157, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.badge-suspended {
    background: rgba(255, 153, 0, 0.15);
    color: #ff9900;
    border: 1px solid rgba(255, 153, 0, 0.3);
}

.badge-revoked {
    background: rgba(255, 42, 95, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(255, 42, 95, 0.3);
}

/* Forms */
.form-group {
    margin-bottom: 14px;
}

label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

input, select, textarea {
    width: 100%;
    padding: 9px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.88rem;
    transition: border-color 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.2);
}

/* Code Snippets & Key Box */
.key-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px dashed var(--accent-cyan);
    padding: 12px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    margin: 10px 0;
    word-break: break-all;
    font-size: 0.85rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 50px;
}
