/* =====================================================
   SB Digitals — snov.io-inspired Professional Theme
   Dark/Light mode with CSS variables
   ===================================================== */

/* ---- Light Theme (default) ---- */
:root {
    --primary:       #4f46e5;
    --primary-dark:  #4338ca;
    --primary-light: #eef2ff;
    --primary-grad:  linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);

    --green:         #059669;
    --green-light:   #ecfdf5;
    --red:           #dc2626;
    --red-light:     #fef2f2;
    --yellow:        #d97706;
    --yellow-light:  #fffbeb;
    --blue:          #2563eb;
    --blue-light:    #eff6ff;
    --purple:        #7c3aed;
    --purple-light:  #f5f3ff;
    --orange:        #ea580c;
    --orange-light:  #fff7ed;

    --bg:            #f7f8fc;
    --bg-card:       #ffffff;
    --bg-header:     rgba(255,255,255,0.85);
    --bg-footer:     #1e1b3a;
    --text:          #1e1b3a;
    --text-muted:    #6b7280;
    --border:        #e5e7eb;
    --border-light:  #f0f1f5;
    --input-bg:      #ffffff;

    --radius:        14px;
    --radius-sm:     10px;
    --radius-xs:     6px;
    --shadow:        0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:     0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg:     0 12px 40px rgba(0,0,0,0.08);
    --font:          -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --mono:          'SF Mono', Monaco, 'Cascadia Code', 'Courier New', monospace;
}

/* ---- Dark Theme ---- */
[data-theme="dark"] {
    --primary:       #818cf8;
    --primary-dark:  #6366f1;
    --primary-light: #312e81;
    --primary-grad:  linear-gradient(135deg, #818cf8 0%, #6366f1 100%);

    --green:         #34d399;
    --green-light:   #064e3b;
    --red:           #f87171;
    --red-light:     #450a0a;
    --yellow:        #fbbf24;
    --yellow-light:  #422006;
    --blue:          #60a5fa;
    --blue-light:    #1e3a5f;
    --purple:        #a78bfa;
    --purple-light:  #2e1065;
    --orange:        #fb923c;
    --orange-light:  #431407;

    --bg:            #0f0f1a;
    --bg-card:       #1a1a2e;
    --bg-header:     rgba(26,26,46,0.85);
    --bg-footer:     #0a0a14;
    --text:          #e5e7eb;
    --text-muted:    #9ca3af;
    --border:        #2d2d44;
    --border-light:  #252538;
    --input-bg:      #16162a;

    --shadow:        0 1px 3px rgba(0,0,0,0.3);
    --shadow-md:     0 4px 16px rgba(0,0,0,0.3);
    --shadow-lg:     0 12px 40px rgba(0,0,0,0.4);
}

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

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background 0.25s ease, color 0.25s ease;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
a { color: var(--primary); }

/* ============ Header ============ */
.site-header {
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-mark {
    width: 36px; height: 36px;
    background: var(--primary-grad);
    color: #fff;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 18px;
    box-shadow: 0 2px 8px rgba(79,70,229,0.3);
}
.logo-text { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links > a:not(.btn) { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 14px; padding: 6px 10px; border-radius: 6px; transition: color 0.15s, background 0.15s; }
.nav-links > a:not(.btn):hover { color: var(--text); background: var(--primary-light); }

.theme-toggle {
    background: var(--bg-card); border: 1px solid var(--border);
    width: 36px; height: 36px; border-radius: 8px;
    cursor: pointer; font-size: 16px; display: flex;
    align-items: center; justify-content: center;
    color: var(--text); transition: all 0.15s ease;
}
.theme-toggle:hover { border-color: var(--primary); background: var(--primary-light); }

/* ============ Buttons ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 20px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 14px;
    text-decoration: none; border: none; cursor: pointer;
    transition: all 0.15s ease; gap: 6px;
}
.btn-primary  { background: var(--primary-grad); color: #fff; box-shadow: 0 2px 8px rgba(79,70,229,0.25); }
.btn-primary:hover { box-shadow: 0 4px 16px rgba(79,70,229,0.35); transform: translateY(-1px); }
.btn-outline  { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-danger   { background: var(--red); color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-link, .btn-danger-link {
    background: none; border: none; cursor: pointer;
    color: var(--blue); font-weight: 600; font-size: 13px;
    text-decoration: none; padding: 0;
}
.btn-danger-link { color: var(--red); }
.btn-danger-link:hover { text-decoration: underline; }

/* ============ Alerts ============ */
.alert {
    padding: 14px 18px; border-radius: var(--radius-sm);
    margin-bottom: 20px; font-size: 14px; font-weight: 500;
}
.alert-success { background: var(--green-light); color: var(--green); border: 1px solid var(--green); }
.alert-error   { background: var(--red-light); color: var(--red); border: 1px solid var(--red); }
.alert-warning { background: var(--yellow-light); color: var(--yellow); border: 1px solid var(--yellow); }

/* ============ Hero ============ */
.hero {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center; padding: 70px 0 60px;
}
.hero-content h1 { font-size: 44px; line-height: 1.12; margin-bottom: 20px; letter-spacing: -1px; }
.hero-sub { font-size: 18px; color: var(--text-muted); margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.terminal-card {
    background: #0f0f1a; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); overflow: hidden;
    border: 1px solid #1e1b3a;
}
.terminal-bar { background: #1a1a2e; padding: 10px 14px; display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; } .dot.yellow { background: #ffbd2e; } .dot.green { background: #27c93f; }
.terminal-body { padding: 18px 20px; }
.terminal-body code { font-family: var(--mono); font-size: 13px; color: #cdd6f4; white-space: pre-wrap; }
.t-cyan { color: #818cf8; }

/* ============ Sections ============ */
.section-title { font-size: 30px; text-align: center; margin-bottom: 40px; letter-spacing: -0.5px; }
.features { padding: 60px 0; background: var(--bg-card); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px 24px;
    text-align: center; transition: transform 0.15s ease, border-color 0.15s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.feature-icon { font-size: 36px; margin-bottom: 14px; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; }
.feature-card code { font-family: var(--mono); font-size: 12px; background: var(--primary-light); padding: 2px 6px; border-radius: 4px; }

/* ============ Flow ============ */
.flow-section { padding: 60px 0; }
.flow-diagram { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.flow-box {
    background: var(--bg-card); border: 2px solid var(--border);
    border-radius: var(--radius); padding: 20px 28px; text-align: center;
    font-weight: 600; min-width: 160px;
}
.flow-box small { display: block; font-weight: 400; color: var(--text-muted); font-size: 12px; margin-top: 4px; }
.flow-box-success { border-color: var(--green); background: var(--green-light); color: var(--green); }
.flow-arrow { font-size: 28px; color: var(--primary); font-weight: 700; }
.flow-note { text-align: center; color: var(--text-muted); font-size: 15px; max-width: 700px; margin: 0 auto; }

/* ============ CTA ============ */
.cta-section {
    text-align: center; padding: 60px 0;
    background: var(--primary-grad); color: #fff;
    border-radius: var(--radius); margin: 40px 24px;
    box-shadow: var(--shadow-lg);
}
.cta-section h2 { font-size: 28px; margin-bottom: 12px; }
.cta-section p { font-size: 16px; margin-bottom: 24px; opacity: 0.9; }
.cta-section .btn-primary { background: #fff; color: var(--primary); box-shadow: none; }
.cta-section .btn-primary:hover { background: var(--primary-light); }

/* ============ Auth pages ============ */
.auth-page { display: flex; justify-content: center; padding: 50px 0; }
.auth-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-md);
    width: 100%; max-width: 440px;
}
.auth-card h1 { font-size: 26px; margin-bottom: 8px; letter-spacing: -0.5px; }
.auth-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.auth-form .form-group { margin-bottom: 18px; }
.auth-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.auth-form input, .auth-form select {
    width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); font-size: 15px; background: var(--input-bg);
    color: var(--text); transition: border 0.15s ease;
}
.auth-form input:focus, .auth-form select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.12); }
.auth-footer { text-align: center; margin-top: 20px; color: var(--text-muted); font-size: 14px; }
.auth-footer a { color: var(--primary); font-weight: 600; }

/* ============ Dashboard ============ */
.dashboard { padding: 30px 0; }
.dash-header { margin-bottom: 28px; }
.dash-header h1 { font-size: 28px; margin-bottom: 4px; letter-spacing: -0.5px; }

.card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
    margin-bottom: 24px; transition: background 0.25s ease, border-color 0.25s ease;
}
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.card-head h2 { font-size: 20px; }
.muted { color: var(--text-muted); font-size: 14px; }
code { font-family: var(--mono); font-size: 13px; background: var(--primary-light); padding: 2px 6px; border-radius: 4px; color: var(--text); }

.badge { padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.badge-success { background: var(--green-light); color: var(--green); }
.badge-error   { background: var(--red-light); color: var(--red); }
.badge-warning { background: var(--yellow-light); color: var(--yellow); }
.badge-info    { background: var(--blue-light); color: var(--blue); }

.api-key-display { display: flex; gap: 10px; align-items: center; margin: 16px 0; }
.api-key-display input {
    flex: 1; font-family: var(--mono); font-size: 14px; padding: 12px 14px;
    border: 2px dashed var(--primary); border-radius: var(--radius-sm);
    background: var(--primary-light); color: var(--primary-dark);
}
.config-snippet { background: #0f0f1a; border-radius: var(--radius-sm); padding: 16px 20px; margin: 16px 0; }
.config-snippet h4 { color: #cdd6f4; font-size: 13px; margin-bottom: 8px; }
.config-snippet code { background: none; color: #818cf8; font-size: 13px; white-space: pre-wrap; }
.config-snippet pre { margin: 0; }

.inline-form { display: inline; }
.ip-add-form { margin-bottom: 20px; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.form-row input { padding: 9px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; background: var(--input-bg); color: var(--text); }
.form-row input:first-child { flex: 1; min-width: 200px; }
.form-row input:focus { outline: none; border-color: var(--primary); }
.form-row input:nth-child(2) { flex: 1; min-width: 150px; }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--border); font-size: 12px; text-transform: uppercase; color: var(--text-muted); }
.table td { padding: 12px; border-bottom: 1px solid var(--border-light); }
.mono { font-family: var(--mono); font-size: 13px; }
.empty-state { text-align: center; padding: 30px 0; color: var(--text-muted); }

/* ============ Subscription Banner ============ */
.subscription-card { padding: 0; overflow: hidden; }
.sub-active-banner, .sub-inactive-banner { display: flex; align-items: center; gap: 16px; padding: 24px 28px; }
.sub-active-banner { background: linear-gradient(135deg, var(--green-light) 0%, rgba(5,150,105,0.08) 100%); }
.sub-inactive-banner { background: linear-gradient(135deg, var(--yellow-light) 0%, rgba(217,119,6,0.08) 100%); }
.sub-icon { font-size: 36px; }
.sub-info { flex: 1; }
.sub-info h2 { font-size: 20px; margin-bottom: 4px; }
.sub-info p { font-size: 14px; color: var(--text); }

/* ============ Pricing Page ============ */
.pricing-hero { text-align: center; padding: 60px 0 30px; }
.pricing-hero h1 { font-size: 40px; margin-bottom: 12px; letter-spacing: -1px; }
.pricing-hero .hero-sub { font-size: 17px; max-width: 600px; margin: 0 auto 40px; }
.pricing-section { padding: 20px 0 60px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.pricing-card {
    background: var(--bg-card); border: 2px solid var(--border);
    border-radius: var(--radius); padding: 32px 28px; text-align: center;
    position: relative; transition: transform 0.15s ease, border-color 0.15s ease;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card-featured { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary-grad); color: #fff; padding: 5px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pricing-name { font-size: 20px; margin-bottom: 8px; }
.pricing-price { margin-bottom: 16px; }
.price-amount { font-size: 42px; font-weight: 800; color: var(--text); letter-spacing: -1px; }
.price-period { font-size: 15px; color: var(--text-muted); font-weight: 500; }
.pricing-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; min-height: 40px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 24px; padding: 0; }
.pricing-features li { padding: 8px 0; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--border-light); }
.pricing-features li:last-child { border-bottom: none; }

.payment-methods-section { padding: 40px 0; background: var(--bg-card); }
.payment-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 700px; margin: 0 auto; }
.payment-method-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; text-align: center; }
.pm-icon { font-size: 36px; margin-bottom: 12px; }
.payment-method-card h3 { font-size: 18px; margin-bottom: 8px; }
.payment-method-card p { color: var(--text-muted); font-size: 14px; }

/* ============ Checkout Page ============ */
.checkout-page { padding: 30px 0; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 800px; margin: 0 auto; }
.checkout-summary h2, .checkout-methods h2 { font-size: 20px; margin-bottom: 16px; }
.order-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.order-row span { color: var(--text-muted); }
.order-total { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 0; margin-top: 8px; border-top: 2px solid var(--border); }
.total-amount { font-size: 28px; font-weight: 800; color: var(--primary); }
.payment-options { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.payment-option { display: block; cursor: pointer; padding: 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); transition: border 0.15s ease, background 0.15s ease; }
.payment-option:hover { border-color: var(--primary); }
.payment-option.selected { border-color: var(--primary); background: var(--primary-light); }
.payment-option input[type="radio"] { display: none; }
.payment-option-content { display: flex; align-items: center; gap: 14px; }
.po-icon { font-size: 28px; }
.po-text strong { display: block; font-size: 15px; }
.po-text small { color: var(--text-muted); font-size: 12px; }
.checkout-security { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 16px; }

/* ============ Payment Result Pages ============ */
.payment-result-page { padding: 60px 0; }
.result-card { text-align: center; }
.result-icon { font-size: 64px; margin-bottom: 16px; }
.result-icon-success { color: var(--green); }
.result-icon-error { color: var(--red); }
.result-icon-pending { color: var(--yellow); }
.result-card h1 { font-size: 28px; margin-bottom: 12px; }
.result-card p { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; }
.result-detail { text-align: left; margin: 20px 0; padding: 20px; background: var(--bg); border-radius: var(--radius-sm); }
.payment-ref { margin: 16px 0; font-size: 13px; color: var(--text-muted); }
.result-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
.payment-redirect-page { padding: 80px 0; text-align: center; }
.payment-loader { width: 40px; height: 40px; border: 4px solid var(--border); border-top-color: var(--primary); border-radius: 50%; margin: 20px auto; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ Admin Panel ============ */
.admin-dashboard { max-width: 1200px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.stat-icon { font-size: 28px; margin-bottom: 4px; }
.stat-value { font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.stat-green { border-left: 4px solid var(--green); }
.stat-blue { border-left: 4px solid var(--blue); }
.stat-purple { border-left: 4px solid var(--purple); }
.stat-orange { border-left: 4px solid var(--orange); }
.stat-red { border-left: 4px solid var(--red); }
.search-form { display: flex; gap: 10px; align-items: center; }
.search-input { flex: 1; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; background: var(--input-bg); color: var(--text); }
.search-input:focus { outline: none; border-color: var(--primary); }
.filter-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filter-label { font-size: 14px; font-weight: 600; color: var(--text-muted); margin-right: 8px; }
.admin-table td { vertical-align: top; }
.admin-action-btn { white-space: nowrap; }
.modal-row td { padding: 0; background: var(--bg); }
.admin-modal-content { padding: 24px; border: 2px dashed var(--primary); border-radius: var(--radius-sm); margin: 8px; background: var(--bg-card); }
.modal-close-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.modal-close-bar h3 { font-size: 18px; }
.admin-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.admin-modal-section { padding: 16px; background: var(--bg); border-radius: var(--radius-sm); }
.admin-modal-section h4 { font-size: 14px; margin-bottom: 12px; color: var(--text); }
.admin-modal-danger { background: var(--red-light); border: 1px solid var(--red); }
.admin-modal-danger h4 { color: var(--red); }
.admin-modal-section .form-group { margin-bottom: 12px; }
.admin-modal-section label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; color: var(--text-muted); }
.admin-modal-section input, .admin-modal-section select { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; background: var(--input-bg); color: var(--text); }
.admin-modal-section input:focus, .admin-modal-section select:focus { outline: none; border-color: var(--primary); }
.admin-ip-list { display: flex; flex-direction: column; gap: 8px; }
.admin-ip-item { display: flex; gap: 6px; align-items: center; }
.admin-ip-form { display: flex; gap: 4px; align-items: center; flex: 1; }
.admin-ip-input { flex: 0 0 130px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 4px; font-family: var(--mono); font-size: 13px; background: var(--input-bg); color: var(--text); }
.admin-ip-label { flex: 1; padding: 6px 8px; border: 1px solid var(--border); border-radius: 4px; font-size: 13px; min-width: 80px; background: var(--input-bg); color: var(--text); }
.admin-ip-input:focus, .admin-ip-label:focus { outline: none; border-color: var(--primary); }
.admin-ip-form button { padding: 5px 10px; font-size: 12px; }
.cell-input { width: 100%; padding: 6px 8px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; background: transparent; color: var(--text); }
.cell-input:focus { outline: none; border-color: var(--primary); background: var(--input-bg); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-2 .form-group { margin-bottom: 14px; }
.form-grid-2 label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.form-grid-2 input { width: 100%; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; background: var(--input-bg); color: var(--text); }
.form-grid-2 input:focus { outline: none; border-color: var(--primary); }
.plan-create-form { max-width: 600px; }
.admin-pass-form { max-width: 600px; }
.payment-status-select { padding: 5px 8px; border: 1px solid var(--border); border-radius: 4px; font-size: 13px; background: var(--input-bg); color: var(--text); }
.payment-sub-check { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 3px; cursor: pointer; }

/* ============ Footer ============ */
.site-footer { background: var(--bg-footer); color: #fff; padding: 30px 0; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-inner p { font-size: 14px; opacity: 0.7; }
.footer-links a { color: #fff; text-decoration: none; font-size: 14px; opacity: 0.7; }
.footer-links a:hover { opacity: 1; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
    .pricing-card-featured { transform: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .checkout-grid { grid-template-columns: 1fr; }
    .admin-modal-grid { grid-template-columns: 1fr; }
    .payment-methods { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
    .hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 0; }
    .hero-content h1 { font-size: 32px; }
    .hero-visual { display: none; }
    .feature-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
    .cta-section { margin: 20px 16px; padding: 40px 20px; }
    .form-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .nav-links .btn { padding: 6px 12px; font-size: 12px; }
    .nav-links a:not(.btn) { display: none; }
    .form-row { flex-direction: column; }
    .form-row input { width: 100%; }
    .auth-card { padding: 24px; }
    .stats-grid { grid-template-columns: 1fr; }
    .filter-bar { flex-direction: column; align-items: stretch; }
}
