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

/* ========== CSS RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #020617;
    color: #e2e8f0;
    overflow-x: hidden;
    min-height: 100vh;
}

.font-display { font-family: 'Space Grotesk', sans-serif; }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #020617; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }

/* ========== SELECTION ========== */
::selection { background: rgba(234, 88, 12, 0.3); color: #fff; }

/* ========== LAYOUT ========== */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 1.5rem; } }

.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.flex-1 { flex: 1; }
.shrink-0 { flex-shrink: 0; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ========== GRID ========== */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .sm-grid-cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) {
    .md-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .lg-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .lg-grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 1280px) {
    .xl-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ========== SPACING ========== */
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }
.pt-32 { padding-top: 8rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-20 { padding-bottom: 5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }

/* ========== TYPOGRAPHY ========== */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-mono { font-family: ui-monospace, SFMono-Regular, monospace; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.text-center { text-align: center; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-sm { max-width: 24rem; }
.w-full { width: 100%; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }

/* ========== COLORS ========== */
.text-white { color: #ffffff; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-orange-400 { color: #fb923c; }
.text-orange-500 { color: #f97316; }
.text-pink-400 { color: #f472b6; }
.text-cyan-400 { color: #22d3ee; }
.text-red-400 { color: #f87171; }
.text-blue-400 { color: #60a5fa; }
.text-sky-400 { color: #38bdf8; }
.text-green-400 { color: #4ade80; }
.text-yellow-400 { color: #facc15; }

.bg-slate-900 { background-color: #0f172a; }
.bg-slate-950 { background-color: #020617; }

/* ========== NAVBAR ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.navbar-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.navbar-logo-icon {
    width: 2rem; height: 2rem; border-radius: 0.5rem;
    background: #ea580c; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 15px rgba(234, 88, 12, 0.4);
    transition: box-shadow 0.3s;
}
.navbar-logo:hover .navbar-logo-icon { box-shadow: 0 0 25px rgba(234, 88, 12, 0.6); }
.navbar-logo span { font-size: 1.25rem; font-weight: 700; color: #fff; font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.025em; }
.navbar-logo .accent { color: #f97316; }

.nav-links { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-link {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; border-radius: 0.5rem;
    font-size: 0.875rem; font-weight: 500;
    color: #94a3b8; text-decoration: none;
    transition: all 0.2s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-link.active { background: rgba(234,88,12,0.1); color: #fb923c; border: 1px solid rgba(234,88,12,0.2); }

.nav-right { display: none; align-items: center; gap: 0.75rem; }
@media (min-width: 768px) { .nav-right { display: flex; } }

.nav-balance {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.375rem 0.75rem; border-radius: 0.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
}
.nav-balance svg { color: #fb923c; }
.nav-balance span { font-size: 0.875rem; font-weight: 500; color: #fff; }

.mobile-toggle {
    display: block; background: none; border: none; color: #fff; cursor: pointer; padding: 0.5rem;
}
@media (min-width: 768px) { .mobile-toggle { display: none; } }

.mobile-menu {
    display: none; padding-bottom: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 0.5rem; padding-top: 1rem;
}
.mobile-menu.open { display: block; }
.mobile-menu .nav-link { padding: 0.75rem 1rem; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 1.5rem; height: 2.75rem; border-radius: 0.5rem;
    font-size: 0.875rem; font-weight: 500;
    border: none; cursor: pointer; text-decoration: none;
    transition: all 0.2s; gap: 0.5rem;
    white-space: nowrap;
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary {
    background: #ea580c; color: #fff;
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.3);
}
.btn-primary:hover:not(:disabled) {
    background: #c2410c;
    box-shadow: 0 0 30px rgba(234, 88, 12, 0.5);
    transform: translateY(-1px);
}
.btn-lg { height: 3rem; padding: 0 2rem; font-size: 1rem; }
.btn-sm { height: 1.75rem; padding: 0 0.5rem; font-size: 0.75rem; }
.btn-ghost {
    background: transparent; color: #94a3b8;
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.05); }
.btn-outline-primary {
    background: rgba(234,88,12,0.1); color: #fb923c;
    border: 1px solid rgba(234,88,12,0.2);
}
.btn-outline-primary:hover {
    background: #ea580c; color: #fff;
}
.btn-danger { background: transparent; color: #f87171; border: none; }
.btn-danger:hover { color: #fca5a5; background: rgba(248,113,113,0.1); }
.btn-success { background: transparent; color: #4ade80; border: none; }
.btn-success:hover { color: #86efac; }
.btn-info { background: transparent; color: #60a5fa; border: none; }
.btn-info:hover { color: #93c5fd; }

/* ========== FORM CONTROLS ========== */
.form-group { margin-bottom: 1rem; }
.form-label {
    display: block; margin-bottom: 0.5rem;
    font-size: 0.75rem; font-weight: 500;
    color: #64748b; text-transform: uppercase;
    letter-spacing: 0.05em;
}
.form-input {
    width: 100%; height: 3rem; padding: 0 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.5rem; color: #fff;
    font-size: 0.875rem; font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}
.form-input::placeholder { color: #475569; }
.form-input:focus { border-color: rgba(234, 88, 12, 0.5); }
.form-input-icon { padding-left: 2.5rem; }
.input-icon-wrapper { position: relative; }
.input-icon {
    position: absolute; left: 0.75rem; top: 50%;
    transform: translateY(-50%);
    color: #475569; width: 1rem; height: 1rem;
    pointer-events: none;
}
.form-select {
    width: 100%; height: 3rem; padding: 0 2.5rem 0 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.5rem; color: #fff;
    font-size: 0.875rem; font-family: inherit;
    appearance: none; cursor: pointer; outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: border-color 0.2s;
}
.form-select:focus { border-color: rgba(234, 88, 12, 0.5); }
.form-select option { background: #0f172a; color: #fff; }

/* ========== CARDS ========== */
.glass-card {
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
}
.glass-card:hover { border-color: rgba(234, 88, 12, 0.2); }

.stat-card {
    position: relative; overflow: hidden;
    padding: 1.5rem; border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(24px);
    transition: all 0.3s;
}
.stat-card:hover { border-color: rgba(255,255,255,0.1); }
.stat-card-orange { background: linear-gradient(to bottom right, rgba(249,115,22,0.1), transparent); }
.stat-card-blue { background: linear-gradient(to bottom right, rgba(59,130,246,0.1), transparent); }
.stat-card-yellow { background: linear-gradient(to bottom right, rgba(234,179,8,0.1), transparent); }
.stat-card-green { background: linear-gradient(to bottom right, rgba(34,197,94,0.1), transparent); }

.stat-icon {
    width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
}

.category-card {
    padding: 1.5rem; border-radius: 1rem;
    backdrop-filter: blur(24px);
    transition: all 0.3s; cursor: pointer;
    text-align: center; border: 1px solid;
    text-decoration: none;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3); }
.category-card.instagram { background: rgba(236,72,153,0.1); border-color: rgba(236,72,153,0.2); }
.category-card.tiktok { background: rgba(34,211,238,0.1); border-color: rgba(34,211,238,0.2); }
.category-card.youtube { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.2); }
.category-card.twitter { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.2); }
.category-card.telegram { background: rgba(56,189,248,0.1); border-color: rgba(56,189,248,0.2); }
.category-card.spotify { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.2); }

.package-card {
    padding: 1.25rem; border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s; cursor: pointer;
}
.package-card:hover { border-color: rgba(234,88,12,0.3); }
.package-card:hover .package-title { color: #fb923c; }

.feature-card {
    position: relative; overflow: hidden;
    padding: 1.5rem; border-radius: 1rem;
    background: rgba(2, 6, 23, 0.4);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}
.feature-card:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}
.feature-icon {
    width: 3rem; height: 3rem; border-radius: 0.75rem;
    background: rgba(234, 88, 12, 0.1);
    border: 1px solid rgba(234, 88, 12, 0.2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}

/* ========== BADGES ========== */
.badge {
    display: inline-flex; align-items: center; gap: 0.25rem;
    padding: 0.125rem 0.5rem; border-radius: 9999px;
    font-size: 0.75rem; font-weight: 500;
    border: 1px solid;
}
.badge-green { background: rgba(34,197,94,0.1); color: #4ade80; border-color: rgba(34,197,94,0.2); }
.badge-yellow { background: rgba(234,179,8,0.1); color: #facc15; border-color: rgba(234,179,8,0.2); }
.badge-blue { background: rgba(59,130,246,0.1); color: #60a5fa; border-color: rgba(59,130,246,0.2); }
.badge-orange { background: rgba(249,115,22,0.1); color: #fb923c; border-color: rgba(249,115,22,0.2); }
.badge-red { background: rgba(239,68,68,0.1); color: #f87171; border-color: rgba(239,68,68,0.2); }
.badge-neutral { background: rgba(255,255,255,0.05); color: #94a3b8; border-color: rgba(255,255,255,0.1); }

/* ========== TABLE ========== */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
    padding: 0.75rem 1rem; text-align: left;
    font-size: 0.75rem; font-weight: 500;
    color: #64748b; text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.875rem;
}
.data-table tr:hover { background: rgba(255,255,255,0.01); }
.data-table tr:last-child td { border-bottom: none; }

/* ========== TABS ========== */
.tabs-list {
    display: flex; gap: 0.25rem; padding: 0.25rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 0.5rem;
    overflow-x: auto;
}
.tab-trigger {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; border-radius: 0.375rem;
    font-size: 0.875rem; font-weight: 500;
    color: #94a3b8; background: none; border: none;
    cursor: pointer; transition: all 0.2s;
    text-decoration: none; white-space: nowrap;
}
.tab-trigger:hover { color: #fff; background: rgba(255,255,255,0.05); }
.tab-trigger.active { background: #ea580c; color: #fff; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative; padding-top: 8rem; padding-bottom: 5rem;
    overflow: hidden;
}
@media (min-width: 768px) { .hero-section { padding-top: 10rem; padding-bottom: 8rem; } }
.hero-bg-1 {
    position: absolute; top: 5rem; left: 25%;
    width: 24rem; height: 24rem;
    background: rgba(234,88,12,0.1); border-radius: 50%;
    filter: blur(120px); pointer-events: none;
}
.hero-bg-2 {
    position: absolute; bottom: 5rem; right: 25%;
    width: 20rem; height: 20rem;
    background: rgba(59,130,246,0.06); border-radius: 50%;
    filter: blur(100px); pointer-events: none;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr;
    gap: 4rem; align-items: center;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.25rem 0.75rem; border-radius: 9999px;
    background: rgba(234,88,12,0.1);
    border: 1px solid rgba(234,88,12,0.2);
    color: #fb923c; font-size: 0.75rem;
    font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== TICKER ========== */
.ticker-bar {
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(2,6,23,0.4);
    backdrop-filter: blur(12px);
    padding: 0.75rem 0;
}
.ticker-item {
    position: absolute; inset: 0;
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.5s;
    opacity: 0; transform: translateY(1rem);
}
.ticker-item.active { opacity: 1; transform: translateY(0); }

/* ========== QUICK ORDER WIDGET ========== */
.quick-order-widget {
    position: relative; padding: 2rem;
    border-radius: 1rem;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.quick-order-glow {
    position: absolute; inset: -1rem;
    background: linear-gradient(to right, rgba(234,88,12,0.2), transparent, rgba(59,130,246,0.1));
    border-radius: 1.5rem; filter: blur(24px);
    pointer-events: none;
}
.price-display {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem; border-radius: 0.75rem;
    background: rgba(234,88,12,0.05);
    border: 1px solid rgba(234,88,12,0.2);
}

/* ========== AUTH PAGES ========== */
.auth-page {
    min-height: 100vh; display: flex;
    align-items: center; justify-content: center;
    padding: 1rem; padding-top: 5rem;
}
.auth-card {
    position: relative; width: 100%; max-width: 28rem;
}
.auth-card-glow {
    position: absolute; inset: -0.5rem;
    background: linear-gradient(to right, rgba(234,88,12,0.1), rgba(59,130,246,0.05));
    border-radius: 1.5rem; filter: blur(24px);
}
.auth-card-inner {
    position: relative; padding: 2rem;
    border-radius: 1rem;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.auth-logo {
    width: 3rem; height: 3rem; border-radius: 0.75rem;
    background: #ea580c;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 0 20px rgba(234,88,12,0.4);
}
.demo-creds {
    margin-top: 1.5rem; padding: 0.75rem;
    border-radius: 0.5rem;
    background: rgba(15,23,42,0.4);
    border: 1px solid rgba(255,255,255,0.05);
}

/* ========== SECTION ========== */
.section { padding: 6rem 0; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }
.section-title {
    font-size: 1.875rem; font-weight: 700;
    color: #fff; margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.025em;
}
@media (min-width: 768px) { .section-title { font-size: 3rem; } }

/* ========== CTA SECTION ========== */
.cta-section {
    position: relative; overflow: hidden;
    padding: 3rem; border-radius: 1.5rem;
    background: linear-gradient(to bottom right, rgba(234,88,12,0.1), rgba(2,6,23,0.6), rgba(59,130,246,0.05));
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(24px);
    text-align: center;
}
@media (min-width: 768px) { .cta-section { padding: 5rem; } }
.cta-glow {
    position: absolute; top: 0; right: 0;
    width: 16rem; height: 16rem;
    background: rgba(234,88,12,0.1);
    border-radius: 50%; filter: blur(100px);
    pointer-events: none;
}

/* ========== FOOTER ========== */
.footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 2rem 0;
}
.footer-inner {
    display: flex; flex-direction: column;
    align-items: center; justify-content: space-between;
    gap: 1rem;
}
@media (min-width: 768px) { .footer-inner { flex-direction: row; } }
.footer-links { display: flex; align-items: center; gap: 1.5rem; }
.footer-links span {
    font-size: 0.875rem; color: #475569;
    cursor: pointer; transition: color 0.2s;
}
.footer-links span:hover { color: #94a3b8; }

/* ========== DIALOG/MODAL ========== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    display: none; align-items: center; justify-content: center;
    padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-content {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(48px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    width: 100%; max-width: 28rem;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

/* ========== TOAST ========== */
.toast-container {
    position: fixed; top: 1rem; right: 1rem; z-index: 200;
    display: flex; flex-direction: column; gap: 0.5rem;
}
.toast {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem; font-weight: 500;
    backdrop-filter: blur(24px);
    animation: slideIn 0.3s ease-out;
    min-width: 200px;
    display: flex; align-items: center; gap: 0.5rem;
}
.toast-success { background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.toast-error { background: rgba(239,68,68,0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; transform: translateX(100%); }
}

/* ========== PULSE ANIMATION ========== */
.pulse-dot {
    width: 0.5rem; height: 0.5rem;
    border-radius: 50%; background: #4ade80;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========== SPINNER ========== */
.spinner {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========== RESPONSIVE HELPERS ========== */
.hidden { display: none; }
.block { display: block; }
@media (min-width: 768px) {
    .md-hidden { display: none; }
    .md-flex { display: flex; }
    .md-block { display: block; }
    .md-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ========== CODE/API KEY ========== */
.api-key-display {
    flex: 1; padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
    font-size: 0.75rem; color: #94a3b8;
    font-family: ui-monospace, SFMono-Regular, monospace;
    overflow: hidden; text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========== OVERFLOW ========== */
.overflow-x-auto { overflow-x: auto; }
.overflow-hidden { overflow: hidden; }

/* ========== BORDER ========== */
.border-b { border-bottom: 1px solid rgba(255,255,255,0.05); }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }

/* ========== USER AVATAR ========== */
.user-avatar {
    width: 1.75rem; height: 1.75rem;
    border-radius: 50%;
    background: rgba(234,88,12,0.2);
    border: 1px solid rgba(234,88,12,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; color: #fb923c;
}

/* ========== DROPDOWN ========== */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; right: 0; top: 100%;
    margin-top: 0.25rem; padding: 0.25rem;
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.5rem; min-width: 180px;
    display: none; z-index: 60;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.dropdown-menu.open { display: block; }
.dropdown-item {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 0.75rem; border-radius: 0.375rem;
    font-size: 0.875rem; color: #cbd5e1;
    cursor: pointer; transition: all 0.2s;
    border: none; background: none; width: 100;
    text-decoration: none;
}
.dropdown-item:hover { background: rgba(255,255,255,0.1); color: #fff; }
.dropdown-item.danger { color: #f87171; }
.dropdown-item.danger:hover { background: rgba(239,68,68,0.1); }
.dropdown-separator { height: 1px; background: rgba(255,255,255,0.1); margin: 0.25rem 0; }

/* ========== LANG SWITCHER ========== */
.lang-btn {
    background: none; border: none; cursor: pointer;
    font-size: 0.875rem; padding: 0.25rem 0.5rem;
    border-radius: 0.25rem; transition: color 0.2s;
}
.lang-btn.active { color: #fb923c; }
.lang-btn:not(.active) { color: #64748b; }
.lang-btn:hover { color: #fb923c; }

/* ========== SVG ICONS ========== */
.icon { width: 1rem; height: 1rem; display: inline-block; vertical-align: middle; }
.icon-sm { width: 0.75rem; height: 0.75rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2rem; height: 2rem; }
