/* ═══════════════════════════════════════════════════════════════
   TELEVO — Otomatik Mesajlaşma, Sınırsız Kontrol
   ═══════════════════════════════════════════════════════════════ */

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

/* ── Televo Brand Palette Tokens ────────────────────────────── */
:root {
    --bg-primary: #0D1117;
    --bg-secondary: #121820;
    --bg-card: #161B22;
    --bg-card-hover: #1C232D;
    --bg-input: #0B0E14;
    --bg-input-focus: #141A22;

    --border: rgba(0, 130, 255, 0.16);
    --border-hover: rgba(0, 130, 255, 0.35);
    --border-focus: #0082FF;

    --text-primary: #FFFFFF;
    --text-secondary: #AEB6C2;
    --text-muted: #64748b;
    --text-accent: #0082FF;

    --televo-blue: #0082FF;
    --televo-deep: #0066FF;
    --televo-dark: #0D1117;
    --televo-platinum: #AEB6C2;

    --gradient-primary: linear-gradient(135deg, #0082FF 0%, #0066FF 100%);
    --gradient-accent: linear-gradient(135deg, #38bdf8 0%, #0082FF 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 130, 255, 0.25) 0%, rgba(0, 102, 255, 0.1) 100%);

    --color-success: #10b981;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    --color-info: #0082FF;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 40px rgba(0, 130, 255, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background gradient orbs */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

body::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.12), transparent 70%);
    top: -200px;
    right: -100px;
}

body::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.1), transparent 70%);
    bottom: -150px;
    left: -100px;
}

/* ── Layout ─────────────────────────────────────────────────── */
.app-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 20px 60px;
    position: relative;
    z-index: 1;
}

/* ── Header ─────────────────────────────────────────────────── */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 32px 0;
}

.header-icon {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.header h1 {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.header p {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
}

/* ── User Badge (shown when connected) ──────────────────────── */
.user-badge {
    display: none;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 10px 16px;
    margin: -16px auto 32px;
    max-width: 360px;
    backdrop-filter: blur(12px);
}

.user-badge.visible {
    display: flex;
}

.user-badge .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.user-badge .user-info {
    flex: 1;
    min-width: 0;
}

.user-badge .user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-badge .user-phone {
    font-size: 11px;
    color: var(--text-secondary);
}

.user-badge .disconnect-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    transition: var(--transition);
    border-radius: 6px;
}

.user-badge .disconnect-btn:hover {
    color: var(--color-error);
    background: rgba(248, 113, 113, 0.1);
}

/* ── Steps Indicator ────────────────────────────────────────── */
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.step-item .step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid var(--border);
    transition: var(--transition);
}

.step-item.active {
    color: var(--text-primary);
}

.step-item.active .step-num {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 16px rgba(102, 126, 234, 0.4);
}

.step-item.completed .step-num {
    background: var(--color-success);
    border-color: transparent;
    color: white;
}

.step-item.completed {
    color: var(--color-success);
}

.step-connector {
    width: 40px;
    height: 2px;
    background: var(--border);
    transition: var(--transition);
}

.step-connector.active {
    background: var(--gradient-primary);
}

/* ── Cards / Sections ───────────────────────────────────────── */
.section {
    display: none;
    animation: fadeSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.active {
    display: block;
}

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

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card + .card {
    margin-top: 16px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ── Form Elements ──────────────────────────────────────────── */
.form-group {
    margin-bottom: 16px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    background: var(--bg-input-focus);
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.97);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover:not(:disabled) {
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.5);
    transform: translateY(-1px);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.3);
}

.btn-success:hover:not(:disabled) {
    box-shadow: 0 6px 24px rgba(6, 182, 212, 0.5);
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--gradient-danger);
    color: white;
    box-shadow: 0 4px 16px rgba(244, 63, 94, 0.3);
}

.btn-danger:hover:not(:disabled) {
    box-shadow: 0 6px 24px rgba(244, 63, 94, 0.5);
    transform: translateY(-1px);
}

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

.btn-ghost:hover:not(:disabled) {
    background: var(--bg-input-focus);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.btn-block {
    width: 100%;
}

.btn .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* ── Groups Grid ────────────────────────────────────────────── */
.groups-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px 10px 36px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    transition: var(--transition);
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 12px center;
}

.search-input:focus {
    background-color: var(--bg-input-focus);
    border-color: var(--border-focus);
}

.groups-count {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

.groups-count strong {
    color: var(--text-accent);
    font-weight: 700;
}

.groups-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 16px;
}

.groups-grid::-webkit-scrollbar {
    width: 5px;
}

.groups-grid::-webkit-scrollbar-track {
    background: transparent;
}

.groups-grid::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

.group-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.group-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.group-item.selected {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
}

.group-item .checkbox {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    font-size: 12px;
    color: transparent;
}

.group-item.selected .checkbox {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.group-item .group-info {
    flex: 1;
    min-width: 0;
}

.group-item .group-name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.group-item .group-meta {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
    align-items: center;
}

.group-type-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.group-type-badge.grup {
    background: rgba(52, 211, 153, 0.1);
    color: var(--color-success);
}

.group-type-badge.kanal {
    background: rgba(96, 165, 250, 0.1);
    color: var(--color-info);
}

.select-actions {
    display: flex;
    gap: 8px;
}

.select-actions button {
    background: none;
    border: none;
    color: var(--text-accent);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.select-actions button:hover {
    background: rgba(167, 139, 250, 0.1);
}

/* ── Delay Settings ─────────────────────────────────────────── */
.delay-settings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px;
    background: var(--bg-input);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.delay-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.delay-group .delay-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-accent);
    margin-bottom: 6px;
}

.delay-group .delay-value span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

.delay-group input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    outline: none;
}

.delay-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    transition: var(--transition);
}

.delay-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* ── Progress / Console ─────────────────────────────────────── */
.progress-section {
    margin-top: 20px;
}

.progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.progress-stats {
    display: flex;
    gap: 16px;
}

.progress-stat {
    text-align: center;
}

.progress-stat .stat-value {
    font-size: 22px;
    font-weight: 800;
}

.progress-stat .stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value.sent { color: var(--color-success); }
.stat-value.failed { color: var(--color-error); }
.stat-value.total { color: var(--text-accent); }

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: var(--bg-input);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-bar.completed {
    background: var(--gradient-success);
}

.progress-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.console {
    background: #050508;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    max-height: 300px;
    overflow-y: auto;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 12px;
    line-height: 1.8;
}

.console::-webkit-scrollbar {
    width: 4px;
}

.console::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

.console-line {
    padding: 2px 0;
    animation: consoleFadeIn 0.3s ease;
}

@keyframes consoleFadeIn {
    from { opacity: 0; transform: translateX(-4px); }
    to { opacity: 1; transform: translateX(0); }
}

.console-line.success { color: var(--color-success); }
.console-line.error { color: var(--color-error); }
.console-line.warning { color: var(--color-warning); }
.console-line.info { color: var(--color-info); }

.current-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 100px;
    font-size: 12px;
    color: var(--text-accent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ── Toast / Notifications ──────────────────────────────────── */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: white;
    box-shadow: var(--shadow-md);
    animation: toastIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 360px;
}

.toast.removing {
    animation: toastOut 0.3s ease forwards;
}

.toast.success { background: linear-gradient(135deg, #059669, #10b981); }
.toast.error { background: linear-gradient(135deg, #dc2626, #ef4444); }
.toast.warning { background: linear-gradient(135deg, #d97706, #f59e0b); }
.toast.info { background: linear-gradient(135deg, #2563eb, #3b82f6); }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100px); }
}

/* ── Helpers ─────────────────────────────────────────────────── */
.hidden { display: none !important; }

.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }

.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }

.info-box {
    padding: 14px 16px;
    background: rgba(96, 165, 250, 0.06);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--color-info);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.info-box .icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Empty State ─────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-state .empty-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
}

.empty-state p {
    font-size: 14px;
}

/* ── Anti-Spam & Delay Settings ─────────────────────────────── */
.anti-spam-panel {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.45) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.anti-spam-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.anti-spam-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #c4b5fd;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.anti-spam-desc {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
}

.preset-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.preset-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.preset-btn:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    color: var(--text-primary);
}

.preset-btn.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.3));
    border-color: #a855f7;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

.delay-settings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.delay-group {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.delay-group:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.delay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.delay-header label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.delay-value {
    font-size: 14px;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    padding: 2px 10px;
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.delay-group input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
    accent-color: #8b5cf6;
}

.protection-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.feature-tag {
    font-size: 11px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
    .app-container {
        padding: 16px 12px 40px;
    }

    .card {
        padding: 20px;
    }

    .header h1 {
        font-size: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .step-item span:not(.step-num) {
        display: none;
    }

    .delay-settings {
        grid-template-columns: 1fr;
    }

    .groups-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-group {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SAAS EXTENSIONS — Navbar, Pricing, Modals & Subscription UI
   ═══════════════════════════════════════════════════════════════ */

/* ── Top SaaS Bar ───────────────────────────────────────────── */
.saas-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 8, 13, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    cursor: pointer;
}

.brand-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.4);
}

.brand-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 40%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(139, 92, 246, 0.18);
    color: #c084fc;
    border: 1px solid rgba(139, 92, 246, 0.3);
    margin-left: 4px;
}

.saas-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.saas-nav-btn {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.saas-nav-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.saas-nav-btn.active {
    color: #fff;
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.saas-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Subscription status pill in header */
.sub-status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.sub-status-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.sub-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
    animation: pulse-dot 2s infinite;
}

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

.sub-plan-name {
    font-weight: 600;
    color: #f1f5f9;
}

.sub-quota-badge {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    color: var(--text-secondary);
}

.btn-upgrade-glow {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.35);
    transition: var(--transition);
}

.btn-upgrade-glow:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
}

.btn-license-key {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-license-key:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

/* ── Pricing Section View ───────────────────────────────────── */
.pricing-section-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-badge-top {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 580px;
    margin: 0 auto;
}

/* ── 3 Pricing Cards Grid ───────────────────────────────────── */
.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

/* Pulse Plan */
.plan-card.plan-pulse {
    border-color: rgba(6, 182, 212, 0.3);
}
.plan-card.plan-pulse:hover {
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.15);
}

/* Velocity Plan (Featured / Popular) */
.plan-card.plan-velocity {
    border-color: rgba(139, 92, 246, 0.6);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, rgba(15, 15, 25, 0.7) 100%);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
    transform: scale(1.02);
}

.plan-card.plan-velocity:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.35);
}

/* Dominance Plan (Enterprise / Gold) */
.plan-card.plan-dominance {
    border-color: rgba(245, 158, 11, 0.4);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, rgba(20, 15, 10, 0.7) 100%);
}

.plan-card.plan-dominance:hover {
    border-color: rgba(245, 158, 11, 0.7);
    box-shadow: 0 0 45px rgba(245, 158, 11, 0.25);
}

.plan-ribbon {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

.plan-ribbon.gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.plan-header {
    margin-bottom: 20px;
}

.plan-badge-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.plan-pulse .plan-badge-pill {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.plan-velocity .plan-badge-pill {
    background: rgba(139, 92, 246, 0.2);
    color: #c084fc;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.plan-dominance .plan-badge-pill {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.plan-name {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.plan-tagline {
    font-size: 13px;
    color: var(--text-secondary);
    min-height: 38px;
    line-height: 1.4;
}

.plan-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-currency {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-secondary);
}

.plan-price {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

.plan-period {
    font-size: 14px;
    color: var(--text-muted);
}

.plan-limits-summary {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.limit-stat {
    display: flex;
    flex-direction: column;
}

.limit-stat-val {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.limit-stat-lbl {
    font-size: 11px;
    color: var(--text-muted);
}

.plan-features-list {
    list-style: none;
    margin: 0 0 24px 0;
    padding: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-feature-item {
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.feature-check {
    color: #34d399;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

.plan-btn {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.plan-pulse .plan-btn {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.3);
}
.plan-pulse .plan-btn:hover {
    background: #06b6d4;
    color: #000;
}

.plan-velocity .plan-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}
.plan-velocity .plan-btn:hover {
    box-shadow: 0 6px 28px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}

.plan-dominance .plan-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}
.plan-dominance .plan-btn:hover {
    box-shadow: 0 6px 28px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

/* ── Active Plan Banner in Dashboard ────────────────────────── */
.active-plan-dashboard-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.plan-summary-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.plan-icon-square {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.plan-info-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-info-text p {
    font-size: 12px;
    color: var(--text-secondary);
}

.plan-quota-tracker {
    display: flex;
    align-items: center;
    gap: 20px;
}

.quota-counter {
    text-align: right;
}

.quota-num {
    font-size: 15px;
    font-weight: 700;
    color: #34d399;
}

.quota-label {
    font-size: 11px;
    color: var(--text-muted);
}

/* ── Group Selection Limit Warning ──────────────────────────── */
.limit-alert {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: #fca5a5;
}

.limit-alert-btn {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Spintax AI Box ─────────────────────────────────────────── */
.spintax-box {
    margin-top: 12px;
    background: rgba(245, 158, 11, 0.05);
    border: 1px dashed rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    padding: 12px 16px;
}

.spintax-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 6px;
}

.spintax-desc {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.spintax-sample {
    font-family: monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    color: #fef08a;
}

/* ── Modal Dialogs ──────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #0f1017;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 520px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: var(--transition);
}

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

.modal-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.modal-tab-btn {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.modal-tab-btn:hover {
    color: #fff;
}

.modal-tab-btn.active {
    color: #a78bfa;
    border-bottom-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.05);
}

.modal-body {
    padding: 24px;
}

.checkout-plan-preview {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.checkout-plan-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.checkout-plan-price {
    font-size: 20px;
    font-weight: 800;
    color: #34d399;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.payment-method-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.payment-method-item:hover, .payment-method-item.active {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.12);
    color: #fff;
}

.demo-keys-picker {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.demo-keys-title {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.demo-key-btn {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 11px;
    font-family: monospace;
    cursor: pointer;
    margin-right: 6px;
    margin-bottom: 6px;
    transition: var(--transition);
}

.demo-key-btn:hover {
    color: #fff;
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM SAAS & ADMIN PANEL EXTENSIONS (NO EMOJIS, SLEEK DESIGN)
   ═══════════════════════════════════════════════════════════════ */

/* ── SVG Icon Helper ────────────────────────────────────────── */
.svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
}

.svg-icon.icon-lg {
    width: 20px;
    height: 20px;
}

.svg-icon.icon-sm {
    width: 13px;
    height: 13px;
}

/* Monogram Logo */
.brand-monogram {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #18181b;
    border: 1px solid #27272a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: #fafafa;
    letter-spacing: -0.04em;
}

/* ── Multi-Account Section ──────────────────────────────────── */
.accounts-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 0 60px;
}

.account-cards-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.account-card-item {
    background: #121216;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transition: var(--transition);
}

.account-card-item:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: #16161c;
}

.account-card-item.active-session {
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.1);
}

.account-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #27272a;
    color: #e4e4e7;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.account-details {
    flex-grow: 1;
    overflow: hidden;
}

.account-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-name {
    font-size: 14px;
    font-weight: 600;
    color: #f4f4f5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-phone {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #71717a;
    margin-top: 2px;
}

.account-action-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a1a1aa;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    transition: var(--transition);
}

.account-action-btn:hover {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.4);
    background: rgba(248, 113, 113, 0.08);
}

/* Slots Progress Widget */
.slots-status-bar {
    background: #121217;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.slots-stat-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: #f4f4f5;
}

.slots-stat-text p {
    font-size: 12px;
    color: #71717a;
    margin-top: 2px;
}

/* Add-on Stepper in Checkout */
.addon-stepper-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.addon-stepper-info h5 {
    font-size: 13px;
    font-weight: 600;
    color: #f4f4f5;
}

.addon-stepper-info p {
    font-size: 11px;
    color: #71717a;
    margin-top: 2px;
}

.stepper-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stepper-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #27272a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.stepper-btn:hover {
    background: #3f3f46;
}

.stepper-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    color: #f4f4f5;
}

/* ── Admin Panel View ───────────────────────────────────────── */
/* ── Admin Panel View ───────────────────────────────────────── */
.admin-view-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 24px 16px 80px;
}

.admin-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 20px;
    flex-wrap: wrap;
}

.admin-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.admin-badge-lock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-status-live {
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.04em;
}

.admin-title {
    font-size: 26px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: -0.02em;
}

.admin-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 4px 0 0;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* KPI Metrics 4-Col Grid */
.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

@media (max-width: 960px) {
    .admin-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .admin-kpi-grid {
        grid-template-columns: 1fr;
    }
}

.kpi-card {
    background: #11151c;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.kpi-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.kpi-card-glow-blue::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, #0082FF);
}

.kpi-card-glow-purple::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #818cf8, #a855f7);
}

.kpi-card-glow-emerald::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #34d399, #10b981);
}

.kpi-card-glow-amber::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.kpi-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kpi-badge-green, .kpi-badge-blue, .kpi-badge-emerald, .kpi-badge-amber {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: none;
}

.kpi-badge-green { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.kpi-badge-blue { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.kpi-badge-emerald { background: rgba(52, 211, 153, 0.15); color: #10b981; }
.kpi-badge-amber { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }

.kpi-val {
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.kpi-sub {
    font-size: 11px;
    color: #64748b;
    margin-top: 6px;
}

/* Admin Tabs Navigation */
.admin-tabs-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 24px;
    overflow-x: auto;
}

.admin-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.admin-tab-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
}

.admin-tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 130, 255, 0.2), rgba(0, 102, 255, 0.12));
    border: 1px solid rgba(0, 130, 255, 0.35);
    color: #38bdf8;
    box-shadow: 0 2px 10px rgba(0, 130, 255, 0.2);
}

/* Admin Card Sections */
.admin-card-section {
    background: #10141d;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.admin-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.admin-section-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 130, 255, 0.3);
}

.admin-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.admin-card-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 3px;
}

.admin-toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-toolbar-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-search-wrap {
    position: relative;
    width: 200px;
}

.admin-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.admin-search-input {
    width: 100%;
    background: #0b0e14;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 8px 12px 8px 32px;
    font-size: 12px;
    color: #FFFFFF;
    outline: none;
    transition: var(--transition);
}

.admin-search-input:focus {
    border-color: #0082FF;
    box-shadow: 0 0 0 2px rgba(0, 130, 255, 0.2);
}

.admin-filter-pills {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #0b0e14;
    padding: 3px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-filter-pill {
    padding: 5px 10px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.admin-filter-pill:hover {
    color: #FFFFFF;
}

.admin-filter-pill.active {
    background: rgba(0, 130, 255, 0.25);
    color: #38bdf8;
}

.license-form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 12px;
    align-items: flex-end;
}

@media (max-width: 900px) {
    .license-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .license-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin Data Table */
.admin-table-wrapper {
    background: #0b0e14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
}

.admin-table th {
    background: #0e121a;
    padding: 13px 16px;
    font-weight: 600;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
}

.admin-table td {
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

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

.license-key-cell {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.08);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: 1px solid rgba(56, 189, 248, 0.2);
    transition: var(--transition);
}

.license-key-cell:hover {
    background: rgba(56, 189, 248, 0.18);
    border-color: #38bdf8;
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.status-badge.redeemed {
    background: rgba(161, 161, 170, 0.12);
    color: #a1a1aa;
    border: 1px solid rgba(161, 161, 170, 0.3);
}

.status-badge.revoked {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

/* Admin System Telemetry Grid */
.admin-system-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .admin-system-grid {
        grid-template-columns: 1fr;
    }
}

.telemetry-beacon {
    color: #10b981;
    display: inline-block;
    margin-right: 6px;
    animation: beaconPulse 2s infinite;
}

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

.telemetry-stat-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.telemetry-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #0b0e14;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
}

.telemetry-lbl {
    color: #94a3b8;
    font-weight: 500;
}

.telemetry-val {
    color: #FFFFFF;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

/* Admin Secret Dialog */
.admin-login-box {
    max-width: 440px;
    margin: 60px auto;
    background: #11151c;
    border: 1px solid rgba(0, 130, 255, 0.25);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 130, 255, 0.1);
}

.admin-lock-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f87171;
}

.admin-lock-svg {
    width: 28px;
    height: 28px;
}

/* ═══════════════════════════════════════════════════════════════
   LOGGED-IN WELCOME CARD (AUTH STATE GUARD)
   ═══════════════════════════════════════════════════════════════ */
.auth-logged-in-card {
    border-color: rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75), 0 0 24px rgba(16, 185, 129, 0.15) !important;
}

.logged-in-status-header {
    text-align: center;
    margin-bottom: 20px;
}

.logged-in-check-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
}

.logged-in-badge-pill {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    color: #10b981;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.logged-in-info-card {
    background: #090c12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.logged-in-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logged-in-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.04em;
}

.logged-in-key-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 4px 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.logged-in-key-wrap:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
}

.logged-in-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 0.04em;
}

.logged-in-value.plan-val {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(0, 130, 255, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(0, 130, 255, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   TELEVO OFFICIAL BRAND IDENTITY & HERO BANNER
   ═══════════════════════════════════════════════════════════════ */

/* ── Brand Logo Header Lockup ───────────────────────────────── */
.televo-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
}

.televo-logo-svg {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(0, 130, 255, 0.5));
}

.televo-wordmark-wrap {
    display: flex;
    flex-direction: column;
}

.televo-wordmark {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #FFFFFF;
    line-height: 1.1;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
}

.televo-e-accent {
    position: relative;
    display: inline-block;
}

.televo-e-accent::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 1px;
    right: 1px;
    height: 2.5px;
    background: #0082FF;
    transform: translateY(-50%);
    box-shadow: 0 0 8px #0082FF;
}

.televo-slogan {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: #0082FF;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ── Hero Showcase Section (Matches Brand Board Exactly) ────── */
.televo-hero-showcase {
    position: relative;
    background: radial-gradient(circle at 75% 40%, rgba(0, 130, 255, 0.16) 0%, transparent 60%),
                linear-gradient(180deg, #101620 0%, #0D1117 100%);
    border: 1px solid rgba(0, 130, 255, 0.22);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    margin-bottom: 32px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.televo-hero-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 130, 255, 0.2), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.hero-banner-inner {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 36px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 900px) {
    .hero-banner-inner {
        grid-template-columns: 1fr;
    }
}

.hero-left-content h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    color: #FFFFFF;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.hero-left-content h1 span.highlight {
    background: linear-gradient(135deg, #38bdf8, #0082FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-left-content p.hero-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 520px;
}

/* 4 Official Feature Cards from Image */
.hero-four-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

@media (max-width: 540px) {
    .hero-four-features {
        grid-template-columns: 1fr;
    }
}

.hero-feature-pill {
    background: rgba(22, 27, 34, 0.85);
    border: 1px solid rgba(0, 130, 255, 0.18);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.hero-feature-pill:hover {
    border-color: #0082FF;
    background: rgba(0, 130, 255, 0.08);
    transform: translateY(-2px);
}

.hero-feature-pill .feat-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(0, 130, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0082FF;
    flex-shrink: 0;
}

/* Hero Right: Passwordless Ref Code Access Box */
.hero-ref-access-card {
    background: rgba(14, 19, 27, 0.95);
    border: 1px solid rgba(0, 130, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 130, 255, 0.12);
    backdrop-filter: blur(16px);
}

.ref-box-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ref-box-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.ref-code-input-group {
    position: relative;
    margin-bottom: 12px;
}

.ref-code-input-group input {
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    letter-spacing: 0.08em;
    padding-right: 40px;
}

.hero-cta-btn {
    width: 100%;
    background: linear-gradient(135deg, #0082FF 0%, #0066FF 100%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    padding: 13px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 130, 255, 0.4);
    transition: var(--transition);
}

.hero-cta-btn:hover {
    box-shadow: 0 6px 28px rgba(0, 130, 255, 0.6);
    transform: translateY(-2px);
}

.hero-instant-new-code {
    margin-top: 14px;
    text-align: center;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.btn-instant-ref {
    background: transparent;
    border: 1px solid rgba(0, 130, 255, 0.3);
    color: #38bdf8;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.btn-instant-ref:hover {
    background: rgba(0, 130, 255, 0.15);
    border-color: #0082FF;
}

/* User Ref Code Pill in Header */
.user-ref-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 130, 255, 0.1);
    border: 1px solid rgba(0, 130, 255, 0.28);
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.user-ref-pill:hover {
    background: rgba(0, 130, 255, 0.2);
    border-color: #0082FF;
}

.user-ref-code-text {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: #38bdf8;
}

.nav-plan-badge {
    background: rgba(0, 130, 255, 0.2);
    color: #38bdf8;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(0, 130, 255, 0.35);
}

.nav-quota-badge {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ref-bonus-banner {
    background: linear-gradient(135deg, rgba(0, 130, 255, 0.12), rgba(0, 102, 255, 0.05));
    border: 1px solid rgba(0, 130, 255, 0.25);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #e2e8f0;
}

/* ═══════════════════════════════════════════════════════════
   ACCESS PORTAL & CREATE ACCOUNT (EXACT REFERENCE DESIGN)
   ═══════════════════════════════════════════════════════════ */
.auth-portal-wrapper {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.auth-portal-card {
    background: #0f131a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 80, 80, 0.12);
    position: relative;
    backdrop-filter: blur(20px);
    animation: fadeIn 0.25s ease-out;
}

.portal-header {
    margin-bottom: 22px;
}

.portal-title {
    font-size: 26px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.portal-subtitle {
    font-size: 13px;
    color: #8b949e;
    line-height: 1.5;
}

.portal-back-link {
    background: transparent;
    border: none;
    color: #8b949e;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin-bottom: 18px;
    transition: var(--transition);
}

.portal-back-link:hover {
    color: #FFFFFF;
}

/* 3 Feature Highlights in Register Screen */
.portal-feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.portal-highlight-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(22, 27, 34, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 11px 14px;
    transition: var(--transition);
}

.portal-highlight-box:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(22, 27, 34, 1);
}

.highlight-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 18px;
    height: 18px;
}

.highlight-text {
    font-size: 12.5px;
    color: #c9d1d9;
    line-height: 1.4;
}

/* Form Controls */
.portal-form-group {
    margin-bottom: 16px;
}

.portal-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #8b949e;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.label-optional {
    color: #6e7681;
    text-transform: none;
    font-weight: 400;
}

.portal-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition);
}

.portal-input-wrapper:focus-within {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.portal-input-wrapper.no-icons {
    padding: 0;
}

.portal-input-icon.key-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: #6e7681;
    pointer-events: none;
}

.portal-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 13px 44px 13px 42px;
    font-size: 14px;
    color: #FFFFFF;
    font-family: inherit;
}

.portal-input.input-clean {
    padding: 13px 16px;
}

.portal-input::placeholder {
    color: #6e7681;
}

.portal-eye-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #8b949e;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.portal-eye-btn:hover {
    color: #FFFFFF;
}

.portal-eye-btn svg {
    width: 18px;
    height: 18px;
}

.portal-hint {
    font-size: 11px;
    color: #6e7681;
    margin-top: 6px;
}

/* ── Interactive hCaptcha Widget Card ───────────────────────── */
.hcaptcha-widget-card {
    background: #1b2029;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.hcaptcha-widget-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: #202631;
}

.hcaptcha-check-side {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hcaptcha-box {
    width: 26px;
    height: 26px;
    border: 2px solid #8b949e;
    border-radius: 4px;
    background: #12161f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.hcaptcha-box.loading {
    border-color: #0ea5e9;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hcaptcha-box.verified {
    border-color: #10b981;
    background: #10b981;
    color: #ffffff;
}

.hcaptcha-box.verified::after {
    content: '✓';
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
}

.hcaptcha-text {
    font-size: 13.5px;
    font-weight: 600;
    color: #f0f6fc;
}

.hcaptcha-badge-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}

.hcaptcha-logo-img {
    width: 28px;
    height: 28px;
}

.hcaptcha-brand-title {
    font-size: 9.5px;
    font-weight: 700;
    color: #8b949e;
    line-height: 1;
}

.hcaptcha-links {
    font-size: 8px;
    color: #6e7681;
    line-height: 1;
}

/* ── Primary Action Button ──────────────────────────────────── */
.portal-btn-primary {
    width: 100%;
    background: #21262d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 13px;
    color: #c9d1d9;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.portal-btn-primary:hover {
    background: #2a313c;
    border-color: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.portal-btn-primary.ready {
    background: linear-gradient(135deg, #0082FF 0%, #0066FF 100%);
    border-color: #0082FF;
    color: #FFFFFF;
    box-shadow: 0 4px 18px rgba(0, 130, 255, 0.35);
}

.portal-btn-primary.ready:hover {
    box-shadow: 0 6px 24px rgba(0, 130, 255, 0.55);
}

.portal-btn-icon {
    width: 16px;
    height: 16px;
}

/* Quick 1-Click Demo Login Button */
.portal-btn-quick-demo {
    width: 100%;
    margin-top: 10px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(0, 130, 255, 0.1));
    border: 1px dashed rgba(56, 189, 248, 0.45);
    color: #38bdf8;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.02em;
}

.portal-btn-quick-demo:hover {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(0, 130, 255, 0.22));
    border-color: #38bdf8;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(56, 189, 248, 0.25);
}

/* ── Checkbox / KVKK Consent ────────────────────────────────── */
.portal-consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 14px;
    text-align: left;
}

.portal-checkbox {
    margin-top: 3px;
    accent-color: #f87171;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.portal-consent-label {
    font-size: 11.5px;
    color: #8b949e;
    line-height: 1.5;
    cursor: pointer;
}

.consent-link {
    color: #f87171;
    text-decoration: underline;
    font-weight: 600;
}

.consent-link:hover {
    color: #ef4444;
}

/* ── Bottom Security Pill Badges ────────────────────────────── */
.portal-badges-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 18px 0 14px;
}

.portal-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(248, 113, 113, 0.06);
    color: #f87171;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: 20px;
}

.pill-icon {
    width: 12px;
    height: 12px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.portal-footer-line {
    text-align: center;
    font-size: 12px;
    color: #8b949e;
    margin-top: 14px;
}

.portal-accent-link {
    color: #f87171;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.portal-accent-link:hover {
    color: #ef4444;
    text-decoration: underline;
}

/* ── Topbar Logout / Switch Button ──────────────────────────── */
.btn-ref-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-ref-logout:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ffffff;
}

/* ── Congrats New Ref Modal ─────────────────────────────────── */
.modal-congrats {
    max-width: 520px;
    border-color: rgba(0, 130, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 130, 255, 0.25);
}

.congrats-badge-icon {
    font-size: 26px;
    line-height: 1;
}

.congrats-lead {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.new-ref-display-card {
    background: linear-gradient(135deg, rgba(0, 130, 255, 0.12), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(0, 130, 255, 0.4);
    border-radius: var(--radius-lg);
    padding: 22px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 130, 255, 0.1);
}

.new-ref-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #38bdf8;
    margin-bottom: 8px;
}

.new-ref-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
    margin-bottom: 14px;
    user-select: all;
}

.btn-copy-glow {
    background: linear-gradient(135deg, #0082FF, #0066FF);
    border: none;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 12px;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(0, 130, 255, 0.4);
    transition: var(--transition);
}

.btn-copy-glow:hover {
    box-shadow: 0 6px 20px rgba(0, 130, 255, 0.6);
    transform: translateY(-1px);
}

.ref-warning-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 20px;
    text-align: left;
}

.warning-icon {
    font-size: 18px;
    line-height: 1.2;
}

.warning-text {
    font-size: 12px;
    color: #fde68a;
    line-height: 1.5;
}

.new-ref-perks {
    background: rgba(11, 14, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.perk-check {
    width: 18px;
    height: 18px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   EXTENSIVE LANDING PAGE CONTENT & SCROLL SECTIONS
   ═══════════════════════════════════════════════════════════ */

/* 1. Live Stats Strip */
.landing-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 40px 0 60px;
}

.stat-metric-card {
    background: rgba(18, 24, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.stat-metric-card:hover {
    border-color: rgba(0, 130, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 130, 255, 0.15);
}

.stat-metric-num {
    font-size: 32px;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.stat-metric-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.stat-metric-desc {
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Common Section Wrappers */
.landing-section-wrapper {
    margin: 80px 0;
}

.landing-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.landing-pill-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: rgba(0, 130, 255, 0.12);
    border: 1px solid rgba(0, 130, 255, 0.3);
    color: #38bdf8;
    margin-bottom: 12px;
}

.landing-section-title {
    font-size: 32px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.25;
}

.landing-section-sub {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 2. Steps Grid */
.landing-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.landing-step-card {
    background: rgba(18, 24, 32, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    position: relative;
    transition: var(--transition);
}

.landing-step-card:hover {
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.step-num-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
}

.step-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.step-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.step-card-text {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 3. Deep Features Grid */
.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.landing-feat-card {
    background: rgba(16, 21, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.landing-feat-card:hover {
    border-color: rgba(0, 130, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 130, 255, 0.15);
}

.feat-card-glow-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0.8;
}

.feat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feat-card-icon svg {
    width: 24px;
    height: 24px;
}

.feat-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 1.35;
}

.feat-card-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 18px;
}

.feat-card-badge {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 600;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

/* 4. Live Preview Terminal Showcase */
.landing-preview-box {
    background: #0d1117;
    border: 1px solid rgba(0, 130, 255, 0.35);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 130, 255, 0.15);
}

.landing-preview-header {
    background: #161b22;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-dots {
    display: flex;
    gap: 8px;
}

.preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.preview-dot.red { background: #ff5f56; }
.preview-dot.yellow { background: #ffbd2e; }
.preview-dot.green { background: #27c93f; }

.preview-title-bar {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-secondary);
}

.preview-status-pill {
    font-size: 10px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    padding: 3px 8px;
    border-radius: 12px;
}

.landing-preview-body {
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: 340px;
}

.preview-left-controls {
    background: #111620;
    padding: 24px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-mini-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #38bdf8;
    margin-bottom: 16px;
}

.preview-field-box {
    margin-bottom: 16px;
}

.preview-field-box label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #8b949e;
    margin-bottom: 4px;
    letter-spacing: 0.06em;
}

.preview-field-box .field-val {
    font-size: 12.5px;
    font-weight: 600;
    color: #f0f6fc;
    background: #161b22;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-right-terminal {
    background: #090d16;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
}

.preview-console-output {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 1.8;
    color: #c9d1d9;
    flex-grow: 1;
}

.term-line.success { color: #34d399; }
.term-line.info { color: #38bdf8; }
.term-line.muted { color: #6e7681; }
.term-line.highlight { color: #fbbf24; font-weight: 700; }

.term-cursor-line {
    margin-top: 10px;
    color: #38bdf8;
}

.term-cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* 5. Comparison Table */
.landing-compare-table-wrapper {
    background: rgba(18, 24, 32, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.landing-compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13.5px;
}

.landing-compare-table th {
    background: #131922;
    padding: 18px 24px;
    font-weight: 700;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-compare-table td {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.landing-compare-table tr:last-child td {
    border-bottom: none;
}

.landing-compare-table .highlight-column {
    background: rgba(0, 130, 255, 0.08);
    color: #ffffff;
}

.badge-bad {
    color: #f87171;
    font-weight: 600;
}

.badge-good {
    color: #34d399;
    font-weight: 700;
}

/* 6. Testimonials */
.landing-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.landing-testi-card {
    background: rgba(18, 24, 32, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.landing-testi-card:hover {
    border-color: rgba(0, 130, 255, 0.35);
    transform: translateY(-3px);
}

.testi-stars {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testi-quote {
    font-size: 13px;
    color: #e2e8f0;
    line-height: 1.65;
    margin-bottom: 20px;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #FFFFFF;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.testi-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #FFFFFF;
}

.testi-role {
    font-size: 11.5px;
    color: var(--text-secondary);
}

/* 7. FAQ Accordion */
.landing-faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(18, 24, 32, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(0, 130, 255, 0.3);
}

.faq-question {
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.faq-icon {
    font-size: 20px;
    font-weight: 400;
    color: #38bdf8;
    transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 22px 20px;
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 14px;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.25s ease-out;
}

/* 8. Final CTA & Footer */
.landing-final-cta-card {
    background: linear-gradient(135deg, rgba(0, 130, 255, 0.2) 0%, rgba(0, 102, 255, 0.08) 100%);
    border: 1px solid rgba(0, 130, 255, 0.4);
    border-radius: var(--radius-xl);
    padding: 60px 30px;
    text-align: center;
    margin: 90px 0 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 130, 255, 0.2);
}

.cta-title {
    font-size: 32px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.cta-sub {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Landing Footer */
.landing-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links-group {
    display: flex;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.footer-col a {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #38bdf8;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

.footer-badges {
    font-size: 11.5px;
    color: #8b949e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .landing-stats-strip { grid-template-columns: repeat(2, 1fr); }
    .landing-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-features-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-preview-body { grid-template-columns: 1fr; }
    .landing-testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .landing-stats-strip { grid-template-columns: 1fr; }
    .landing-steps-grid { grid-template-columns: 1fr; }
    .landing-features-grid { grid-template-columns: 1fr; }
    .landing-section-title { font-size: 24px; }
}

@media (max-width: 900px) {
    .saas-topbar {
        padding: 10px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .saas-nav-links {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .saas-nav-links::-webkit-scrollbar {
        display: none;
    }
    .saas-nav-btn {
        white-space: nowrap;
        padding: 6px 10px;
        font-size: 12px;
    }
    .saas-actions {
        margin-left: auto;
        gap: 6px;
    }
    .btn-upgrade-glow, .btn-license-key, .btn-ref-logout {
        padding: 6px 10px;
        font-size: 11px;
    }
}

@media (max-width: 600px) {
    .televo-slogan {
        display: none;
    }
    .televo-wordmark {
        font-size: 16px;
    }
    .televo-logo-svg {
        width: 28px;
        height: 28px;
    }
    .user-ref-pill {
        padding: 4px 8px;
        font-size: 11px;
    }
    .nav-quota-badge {
        display: none;
    }
}





