/* ==========================================================================
   LUREYSUN CLOUD — ULTRA-FAST BOT HOSTING PLATFORM
   Design System: Deep Space Navy, Electric Cobalt & Frosted Glassmorphism
   Inspired by Hostinza & Figma Clean UI Specs
   ========================================================================== */

:root {
    --bg-base: #060913;
    --bg-surface: #0b1122;
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-card-hover: rgba(26, 38, 68, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.03);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(56, 189, 248, 0.4);
    --border-accent: rgba(37, 99, 235, 0.5);

    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent-cyan: #06b6d4;
    --accent-blue: #38bdf8;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.35);
    --shadow-cyan-glow: 0 0 25px rgba(6, 182, 212, 0.3);

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    min-height: 100vh;
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 90% 40%, rgba(6, 182, 212, 0.08), transparent),
        radial-gradient(ellipse 50% 30% at 10% 70%, rgba(37, 99, 235, 0.08), transparent);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

code, pre {
    font-family: var(--font-mono);
}

.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-info { color: var(--accent-blue); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.w-100 { width: 100%; }
.text-center { text-align: center; }

/* --- BUTTONS --- */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3b82f6, var(--primary));
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-outline {
    background: var(--bg-glass);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-danger:hover {
    background: #ef4444;
    color: #fff;
}

.btn-success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-success:hover {
    background: #10b981;
    color: #fff;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
}

/* Pulse Dot */
.pulse-dot, .live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* --- ANNOUNCEMENT BANNER --- */
.ad-banner {
    background: linear-gradient(90deg, #091228, #111d44, #091228);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
}

.banner-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.promo-badge {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-blue);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.banner-link {
    color: var(--accent-cyan);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.banner-link:hover {
    color: #fff;
}

/* --- NAVBAR --- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 10, 19, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
}

.navbar {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    color: #fff;
    line-height: 1.1;
}

.brand-sub {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    color: var(--accent-cyan);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.3rem 0;
    position: relative;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Currency Toggle */
.currency-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2px;
}

.curr-btn {
    background: transparent;
    color: var(--text-muted);
    border: none;
    padding: 0.35rem 0.75rem;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.curr-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

/* Language Switch */
.lang-switch {
    position: relative;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-dropdown {
    position: absolute;
    top: 115%;
    right: 0;
    background: #0f172a;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.4rem;
    display: none;
    box-shadow: var(--shadow-card);
    width: 140px;
    z-index: 120;
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown li {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

.lang-dropdown li:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-cyan);
}

.admin-nav-btn {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.admin-nav-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.hamburger {
    display: none;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.1rem;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    padding: 4.5rem 1.5rem 3.5rem;
    overflow: hidden;
}

.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at 50% 30%, black, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 0.4rem 1.1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 1.25rem;
    letter-spacing: -0.8px;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #38bdf8, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 2.25rem;
    line-height: 1.65;
}

/* Quick Check Card (Hostinza Look) */
.quick-check-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    padding: 0.85rem;
    max-width: 740px;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-card), 0 0 30px rgba(37, 99, 235, 0.15);
}

.quick-check-inner {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.qc-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.qc-icon {
    position: absolute;
    left: 1.1rem;
    color: var(--accent-blue);
    font-size: 1.25rem;
}

.qc-input-wrap input {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 0.95rem 1rem 0.95rem 3rem;
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    outline: none;
    transition: var(--transition);
}

.qc-input-wrap input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
}

.qc-btn {
    white-space: nowrap;
    padding: 0.95rem 1.75rem;
    border-radius: var(--radius-md);
}

.quick-check-hint {
    display: flex;
    justify-content: center;
    gap: 1.75rem;
    padding-top: 0.85rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.quick-check-hint span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

/* Network Strip / Live Ping */
.network-strip {
    background: rgba(11, 17, 34, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.75rem;
    max-width: 900px;
    margin: 0 auto;
}

.network-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.network-title h4 {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    font-weight: 700;
}

.ping-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.ping-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.ping-card:hover, .ping-card.active {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

.dc-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dc-info .flag {
    font-size: 1.3rem;
}

.dc-info b {
    font-size: 0.9rem;
}

.dc-ping {
    text-align: right;
}

.ping-val {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--success);
    font-size: 0.95rem;
    display: block;
}

.dc-ping small {
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* --- SECTION HEADERS --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    margin-bottom: 0.6rem;
}

.section-heading {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* --- FEATURES SECTION --- */
.features-section {
    padding: 4.5rem 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
}

.feat-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.feat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid rgba(56, 189, 248, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.4rem;
    margin-bottom: 1.4rem;
}

.feat-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feat-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feat-card code {
    background: rgba(0, 0, 0, 0.4);
    color: var(--accent-cyan);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* --- PRICING SECTION --- */
.pricing-section {
    padding: 4.5rem 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
}

/* Billing Toggle (Monthly / Yearly) */
.billing-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: 30px;
    padding: 0.4rem 1.2rem;
    margin-top: 1.5rem;
}

.billing-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dim);
    transition: var(--transition);
}

.billing-label.active {
    color: #fff;
}

.discount-pill {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-left: 0.4rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.billing-switch {
    width: 46px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.billing-switch.yearly {
    background: var(--primary);
    border-color: var(--accent-blue);
}

.switch-ball {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: var(--transition);
}

.billing-switch.yearly .switch-ball {
    transform: translateX(22px);
}

/* VPS Grid & Cards (Hostinza Specs) */
.vps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.vps-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
}

.vps-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.vps-card.featured {
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.3), rgba(15, 23, 42, 0.9));
    border: 2px solid #3b82f6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    transform: scale(1.03);
}

.vps-card.featured:hover {
    transform: scale(1.03) translateY(-5px);
}

.plan-badge-top {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 0.25rem 0.9rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.vps-card-header {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
}

.plan-category {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent-cyan);
    text-transform: uppercase;
}

.vps-card-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0.3rem 0;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Specs List */
.vps-specs-list {
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vps-spec-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: #e2e8f0;
}

.vps-spec-item i {
    width: 18px;
    color: var(--accent-blue);
    font-size: 0.95rem;
}

.vps-spec-item span {
    font-family: var(--font-mono);
    font-weight: 500;
}

/* Price Box */
.vps-price-box {
    margin-bottom: 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-md);
    padding: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.vps-price-main {
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-mono);
}

.vps-price-main .star-icon {
    color: #f59e0b;
    margin-right: 0.2rem;
}

.vps-period {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.2rem;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    padding: 4.5rem 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testi-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testi-text {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.testi-user strong {
    display: block;
    font-size: 0.95rem;
}

.testi-user small {
    color: var(--text-dim);
    font-size: 0.78rem;
}

/* --- FOOTER --- */
.main-footer {
    background: #04060c;
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 1.5rem 1.5rem;
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.col-brand .brand-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 1.2rem 0;
    max-width: 340px;
}

.footer-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.78rem;
    color: #34d399;
    font-weight: 500;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #fff;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a, .footer-links span {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-cyan);
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.footer-bottom-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.admin-link-btn {
    background: transparent;
    color: var(--text-dim);
    border: none;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.admin-link-btn:hover {
    color: var(--accent-cyan);
}

/* --- MODALS (Figma Clean UI Style) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #0c1326;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    max-width: 560px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-card), 0 0 40px rgba(0, 0, 0, 0.8);
    transform: scale(0.96);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-lg { max-width: 820px; }
.modal-xl { max-width: 1100px; }
.modal-sm { max-width: 420px; }

.close-modal {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    display: block;
    margin-bottom: 0.3rem;
}

.modal-head {
    margin-bottom: 1.75rem;
}

.modal-head h2 {
    font-size: 1.6rem;
    font-weight: 800;
}

/* Plan Selection Modal List */
.modal-vps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-vps-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.modal-vps-item:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(56, 189, 248, 0.3);
}

.modal-vps-item strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.2rem;
}

/* Payment Modal Elements */
.pay-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin: 1.5rem 0;
}

.payment-method {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    color: inherit;
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.06);
}

.payment-method.active {
    background: rgba(37, 99, 235, 0.12);
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.25);
}

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

.m-text b {
    display: block;
    font-size: 0.95rem;
}

.m-text small {
    color: var(--text-dim);
    font-size: 0.75rem;
}

/* Pay Details Box */
.pay-details {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.3rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
}

.detail-row span {
    color: var(--text-muted);
}

.detail-row strong {
    font-family: var(--font-mono);
}

.detail-row .total-amount {
    font-size: 1.15rem;
    color: #f59e0b;
}

/* Promo Box */
.promo-box {
    margin-bottom: 1.25rem;
}

.promo-input-group {
    position: relative;
    display: flex;
    gap: 0.5rem;
}

.promo-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-cyan);
}

.promo-input-group input {
    flex: 1;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-family: var(--font-mono);
    outline: none;
}

.promo-input-group input:focus {
    border-color: var(--accent-cyan);
}

.promo-feedback {
    font-size: 0.8rem;
    margin-top: 0.4rem;
    padding-left: 0.2rem;
}

/* Card Payment Panel */
.card-payment-panel {
    display: none;
    margin-top: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.4rem;
}

.card-payment-panel.active {
    display: block;
}

.card-info {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.card-top-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.card-number-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.card-number-row strong {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    letter-spacing: 2px;
    color: #fff;
}

.copy-card-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
}

.card-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.6rem;
}

.card-bottom-row b {
    color: #34d399;
    font-family: var(--font-mono);
    font-size: 1.05rem;
}

/* Upload Box */
.upload-box {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.upload-box:hover, .upload-box.dragging {
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.05);
}

.upload-box i {
    font-size: 2rem;
    color: var(--accent-blue);
}

.upload-box input {
    display: none;
}

.preview-wrap {
    position: relative;
    margin-top: 0.75rem;
}

.receipt-preview {
    max-height: 160px;
    width: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: #000;
}

.remove-preview-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pay-secure-note {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 1.25rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* --- BOT DEPLOYMENT WIZARD --- */
.bot-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.bot-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.25rem;
    padding: 0 1rem;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-dim);
    transition: var(--transition);
}

.step-indicator.active {
    color: #fff;
}

.step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.step-indicator.active .step-num {
    background: var(--primary);
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
    color: #fff;
}

.step-name {
    font-size: 0.75rem;
    font-weight: 600;
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 0.8rem;
    margin-bottom: 1.3rem;
}

.bot-step {
    display: none;
}

.bot-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.bot-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.token-wrap {
    position: relative;
    margin: 1.25rem 0 0.5rem;
}

.token-wrap input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.95rem 3rem 0.95rem 1.1rem;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.token-wrap input:focus {
    border-color: var(--accent-cyan);
}

.token-wrap button {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1rem;
}

.token-status {
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

/* Verified Bot Card */
.verified-bot-card {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.v-bot-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
}

.v-bot-info strong {
    font-size: 1.05rem;
    display: block;
}

.v-bot-info span {
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.v-bot-badge {
    font-size: 0.75rem;
    color: #34d399;
    margin-top: 0.2rem;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.75rem;
}

/* Terminal Box */
.terminal-box {
    background: #040814;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    margin: 0.8rem 0;
    overflow: hidden;
}

.terminal-bar {
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.5rem 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.term-dots {
    display: flex;
    gap: 5px;
}

.term-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
}

.term-dots span:nth-child(2) { background: #f59e0b; }
.term-dots span:nth-child(3) { background: #10b981; }

.term-title {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

.copy-terminal-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.72rem;
    cursor: pointer;
    font-family: var(--font-sans);
}

.copy-terminal-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.terminal-box pre {
    padding: 1rem;
    color: #38bdf8;
    font-size: 0.85rem;
    line-height: 1.6;
    overflow-x: auto;
}

/* Console Stream Simulation */
.bot-loading {
    text-align: center;
    padding: 2rem 1rem;
}

.console-spinner {
    font-size: 2.2rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.console-stream {
    background: #040814;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: #a5f3fc;
    text-align: left;
    margin-top: 1.25rem;
    max-height: 140px;
    overflow-y: auto;
}

/* Credentials Grid */
.credentials-card {
    text-align: center;
}

.success-badge-large i {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 0.75rem;
}

.success-badge-large h3 {
    font-size: 1.5rem;
}

.creds-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 1.25rem 0;
    width: 100%;
}

.cred-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
    box-sizing: border-box;
    transition: var(--transition);
}

.cred-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(15, 23, 42, 0.95);
}

.cred-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cred-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cred-val {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--accent-cyan);
    background: rgba(0, 0, 0, 0.4);
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    word-break: break-all;
    width: 100%;
    box-sizing: border-box;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.copy-cred-btn {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
}

.copy-cred-btn:hover {
    background: #38bdf8;
    color: #060913;
}

.toggle-pass-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-pass-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.security-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-align: left;
}

/* --- ADMIN PANEL MODALS & DASHBOARD --- */
.admin-icon-shield {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid rgba(56, 189, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-blue);
    margin: 0 auto 1.25rem;
}

.password-input-wrap {
    position: relative;
}

.password-input-wrap input {
    padding-right: 2.8rem;
}

.password-input-wrap button {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1rem;
}

.input-field {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.input-field:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
}

.error-text {
    color: var(--danger);
    font-size: 0.82rem;
    margin-top: 0.4rem;
    display: none;
}

/* Admin Dashboard Modal Top Bar */
.admin-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1.5rem;
}

.admin-identity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}

.admin-identity h2 {
    font-size: 1.4rem;
    font-weight: 800;
}

.admin-status-tag {
    font-size: 0.75rem;
    color: #34d399;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.admin-actions-top {
    display: flex;
    gap: 0.75rem;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 0.6rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--accent-blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.badge-count {
    background: var(--danger);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.1rem 0.45rem;
    border-radius: 10px;
    font-weight: 800;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Admin Stats Cards */
.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.stat-box.warning { border-left: 4px solid var(--warning); }
.stat-box.success { border-left: 4px solid var(--success); }
.stat-box.info { border-left: 4px solid var(--accent-blue); }

.stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 600;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

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

.modern-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.modern-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-dim);
    padding: 0.85rem 1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-subtle);
}

.modern-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.modern-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.status-badge {
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: capitalize;
}

.status-tasdiqlangan {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-kutilmoqda {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-bekor, .status-bekor_qilingan {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.action-btns {
    display: flex;
    gap: 0.4rem;
}

/* Admin Plan Form */
.admin-plan-form-wrap {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

/* Lightbox Modal */
.lightbox-content {
    background: #090e1f;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    max-width: 680px;
    width: 100%;
    position: relative;
}

.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-right: 2rem;
}

.lightbox-img-wrap {
    text-align: center;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.lightbox-img-wrap img {
    max-height: 70vh;
    max-width: 100%;
    object-fit: contain;
}

/* Notification Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--accent-cyan);
    color: #fff;
    padding: 0.9rem 1.4rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-card), 0 0 20px rgba(6, 182, 212, 0.3);
    z-index: 300;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- TELEGRAM STARS INVOICE BOX --- */
.stars-invoice-box {
    margin-top: 1.25rem;
    padding: 1.5rem;
    background: rgba(245, 197, 24, 0.06);
    border: 1px solid rgba(245, 197, 24, 0.3);
    border-radius: var(--radius-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: fadeIn 0.3s ease;
}

.stars-pulse-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(245, 197, 24, 0.15);
    color: #f5c518;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(245, 197, 24, 0.3);
    animation: pulseGold 2s infinite ease-in-out;
}

@keyframes pulseGold {
    0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(245, 197, 24, 0.2); }
    50% { transform: scale(1.08); box-shadow: 0 0 25px rgba(245, 197, 24, 0.5); }
}

.stars-invoice-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.stars-invoice-box p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.stars-actions-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
}

.stars-polling-note {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1100px) {
    .vps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vps-card.featured {
        transform: none;
    }
    .vps-card.featured:hover {
        transform: translateY(-5px);
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .stats-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .hero-title {
        font-size: 2.3rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .testi-grid {
        grid-template-columns: 1fr;
    }
    .ping-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0b1122;
        border-bottom: 1px solid var(--border-subtle);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: block;
    }
    .form-grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .vps-grid {
        grid-template-columns: 1fr;
    }
    .ping-cards {
        grid-template-columns: 1fr;
    }
    .quick-check-inner {
        flex-direction: column;
    }
    .qc-btn {
        width: 100%;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .stats-cards-grid {
        grid-template-columns: 1fr;
    }
    .modal-content {
        padding: 1.5rem;
    }
}

/* ==================== BOT ZIP UPLOAD & LIVE LOGS STYLES ==================== */
.bot-zip-section {
    position: relative;
}

.zip-drop-area:hover {
    border-color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.08) !important;
    transform: translateY(-1px);
}

.uploaded-zip-card {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fadeInZip 0.3s ease;
}

.uploaded-zip-card:hover {
    border-color: rgba(56, 189, 248, 0.6) !important;
    background: rgba(15, 23, 42, 0.95) !important;
}

#removeZipBtn:hover {
    color: #ef4444 !important;
    transform: scale(1.15);
}

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

.live-logs-section {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 1rem;
}

.live-logs-section pre::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.live-logs-section pre::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.25);
    border-radius: 4px;
}

.live-logs-section pre::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 189, 248, 0.45);
}

/* ==========================================================================
   TELEGRAM MINI APP & MOBILE FIRST RESPONSIVE STYLES (iOS / Android)
   ========================================================================== */

/* Universal mobile adjustments */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative !important;
    }
    main, section, header, footer {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    html {
        font-size: 14px;
    }
    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }

    /* Clean mobile header */
    .main-header {
        padding: 0.6rem 0.85rem;
    }
    .navbar {
        padding: 0;
        gap: 0.5rem;
    }
    .brand-title {
        font-size: 1.1rem;
    }
    .brand-sub {
        font-size: 0.58rem;
    }
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }
    .ad-banner {
        display: none; /* Hide top promotional strip on mobile */
    }
    .lang-switch, .admin-nav-btn {
        display: none !important;
    }
    .currency-toggle {
        padding: 2px;
    }
    .curr-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.72rem;
    }
    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        padding: 0;
    }

    /* Slide-out mobile drawer */
    .nav-links {
        display: none !important;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 270px;
        max-width: 82vw;
        background: #0b1122;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        padding: 4.5rem 1.5rem 2rem;
        gap: 1.25rem;
        z-index: 105;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
        transform: translateX(100%);
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-links.active {
        display: flex !important;
        transform: translateX(0);
    }
    .nav-links li a {
        font-size: 1.05rem;
        font-weight: 600;
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Hero section */
    .hero-section {
        padding: 1.8rem 1rem 1.75rem;
    }
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
        margin-bottom: 0.85rem;
        line-height: 1.35;
        white-space: normal !important;
        text-align: center !important;
        max-width: 100% !important;
    }
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.25;
        margin-bottom: 0.75rem;
        letter-spacing: -0.5px;
    }
    .hero-subtitle {
        font-size: 0.88rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        padding: 0 0.25rem;
    }
    .hero-actions {
        display: none; /* Replaced by mob-quick-chips on mobile */
    }

    /* Quick Bot Token check on mobile */
    .quick-check-card {
        padding: 1rem;
        margin-top: 0.75rem;
    }
    .quick-check-inner {
        flex-direction: column;
        gap: 0.65rem;
    }
    .qc-input-wrap input {
        font-size: 0.82rem;
        padding: 0.75rem 0.75rem 0.75rem 2.4rem;
    }
    .qc-btn {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    .quick-check-hint {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        font-size: 0.75rem;
        margin-top: 0.75rem;
    }

    /* VPS Cards Grid on mobile */
    .vps-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }
    .vps-card {
        padding: 1.35rem 1.2rem;
    }
    .vps-price-main {
        font-size: 1.85rem;
    }

    /* Stats & Ping on mobile */
    .ping-cards {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.65rem;
    }
    .ping-card {
        padding: 0.85rem 0.75rem;
    }
    .features-grid, .testi-grid, .footer-container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .main-footer {
        padding: 2.5rem 1rem calc(75px + env(safe-area-inset-bottom, 0px)) !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .footer-col {
        width: 100% !important;
        max-width: 100% !important;
    }
    .col-brand .brand-desc {
        max-width: 100% !important;
    }
    .footer-status-pill {
        white-space: normal !important;
        max-width: 100% !important;
        font-size: 0.74rem !important;
        line-height: 1.35 !important;
    }
    .footer-bottom {
        padding-top: 1.25rem !important;
        width: 100% !important;
    }
    .footer-bottom-inner {
        flex-direction: column !important;
        gap: 0.75rem !important;
        text-align: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
}

/* Telegram Mini App Welcome Card */
.tg-user-welcome-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 14px;
    padding: 0.55rem 0.9rem;
    margin-bottom: 1rem;
    text-align: left;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.tg-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.tg-user-meta {
    flex: 1;
    min-width: 0;
}
.tg-welcome-hello {
    display: block;
    font-size: 0.68rem;
    color: #94a3b8;
    line-height: 1.1;
}
.tg-welcome-name {
    display: block;
    font-size: 0.92rem;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tg-mini-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.2rem 0.55rem;
    border-radius: 12px;
    font-size: 0.68rem;
    font-weight: 700;
}

/* Mobile Quick Action Chips */
.mob-quick-chips {
    display: none;
}
@media (max-width: 768px) {
    .mob-quick-chips {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.55rem;
        margin: 1.1rem 0;
        width: 100%;
    }
    .mob-chip-btn {
        background: rgba(15, 23, 42, 0.85);
        border: 1px solid rgba(56, 189, 248, 0.22);
        border-radius: 13px;
        padding: 0.75rem 0.4rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.25rem;
        color: #fff;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    .mob-chip-btn:active, .mob-chip-btn.active {
        border-color: #38bdf8;
        background: rgba(56, 189, 248, 0.12);
        transform: scale(0.96);
    }
    .chip-emoji {
        font-size: 1.35rem;
    }
    .chip-text strong {
        display: block;
        font-size: 0.78rem;
        font-weight: 700;
        color: #fff;
        white-space: nowrap;
    }
    .chip-text small {
        font-size: 0.65rem;
        color: #94a3b8;
    }
}

/* Mobile Bottom Navigation Bar (Telegram Native Style) */
.mobile-bottom-nav {
    display: none;
}
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        height: calc(60px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(7, 10, 19, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 150;
        align-items: center;
        justify-content: space-around;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
        box-sizing: border-box;
    }
    .mob-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #94a3b8;
        font-size: 0.7rem;
        font-weight: 600;
        padding: 6px 2px;
        background: none;
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
        text-decoration: none;
        flex: 1;
        max-width: 20%;
        box-sizing: border-box;
    }
    .mob-nav-item i {
        font-size: 1.2rem;
        transition: transform 0.2s ease;
    }
    .mob-nav-item.active, .mob-nav-item:active {
        color: #38bdf8;
    }
    .mob-nav-item.active i {
        transform: translateY(-2px);
    }
    .mob-nav-fab {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        top: -12px;
        background: none;
        border: none;
        cursor: pointer;
        color: #38bdf8;
        font-size: 0.68rem;
        font-weight: 700;
        padding: 0;
        flex: 1;
        max-width: 20%;
        box-sizing: border-box;
    }
    .mob-nav-fab .fab-circle {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: linear-gradient(135deg, #2563eb, #06b6d4);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 1.25rem;
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.6), 0 0 14px rgba(6, 182, 212, 0.4);
        margin-bottom: 2px;
        transition: transform 0.2s ease;
    }
    .mob-nav-fab:active .fab-circle {
        transform: scale(0.92);
    }
}

/* Bottom Sheet Modals on Mobile */
@media (max-width: 640px) {
    .modal-overlay {
        align-items: flex-end !important;
        padding: 0 !important;
    }
    .modal-content {
        border-radius: 22px 22px 0 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 88vh !important;
        padding: 1.4rem 1.15rem calc(1.5rem + env(safe-area-inset-bottom, 0px)) !important;
        margin: 0 !important;
        transform: translateY(100%) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.85) !important;
    }
    .modal-overlay.active .modal-content {
        transform: translateY(0) !important;
    }
    /* Touch drag handle pill on modal top */
    .modal-content::before {
        content: '';
        display: block;
        width: 36px;
        height: 4px;
        background: rgba(255, 255, 255, 0.25);
        border-radius: 4px;
        margin: -0.4rem auto 1rem;
    }
    .payment-methods {
        grid-template-columns: 1fr !important;
        gap: 0.6rem !important;
    }
    .stars-invoice-actions {
        flex-direction: column !important;
        gap: 0.6rem !important;
    }
    .stars-invoice-actions .btn-primary,
    .stars-invoice-actions .btn-outline {
        width: 100% !important;
    }
    .zip-drop-area {
        padding: 1rem 0.75rem !important;
    }
}