/**
 * SwiftPay Portal - Clean Fintech Theme v4.0
 * 
 * Design System: Light-first, minimal, professional fintech
 * Typography: Plus Jakarta Sans (body) + DM Serif Display (headlines)
 */

/* ============================================
   CSS Variables - Clean Fintech Tokens
   ============================================ */
:root {
    /* === TYPOGRAPHY === */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* === PRIMARY COLOR PALETTE (Fintech Blue) === */
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-primary-light: #dbeafe;
    --color-primary-dark: #1e40af;
    
    /* === NEUTRAL PALETTE === */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* === SEMANTIC COLORS === */
    --success: #059669;
    --success-light: #d1fae5;
    --success-dark: #047857;
    --error: #dc2626;
    --error-light: #fee2e2;
    --error-dark: #b91c1c;
    --warning: #d97706;
    --warning-light: #fef3c7;
    --warning-dark: #b45309;
    --info: #0284c7;
    --info-light: #e0f2fe;
    --info-dark: #0369a1;
    
    /* === WHATSAPP GREEN === */
    --whatsapp: #25D366;
    --whatsapp-hover: #128C7E;
    --whatsapp-light: #dcfce7;
    
    /* === LIGHT THEME (Default) === */
    --bg-base: #f8fafc;
    --bg-elevated: #ffffff;
    --bg-surface: #ffffff;
    --bg-muted: #f1f5f9;
    
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-tertiary: #64748b;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    
    --border-light: #e2e8f0;
    --border-default: #cbd5e1;
    --border-strong: #94a3b8;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* === SPACING SCALE === */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    
    /* === BORDER RADIUS === */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* === TRANSITIONS === */
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 150ms;
    --duration-normal: 200ms;
    --duration-slow: 300ms;
    
    /* === COMPATIBILITY ALIASES (for legacy inline styles) === */
    --space-xs: var(--space-1);
    --space-sm: var(--space-2);
    --space-md: var(--space-4);
    --space-lg: var(--space-6);
    --space-xl: var(--space-8);
    
    --neon-primary: var(--color-primary);
    --neon-cyan: var(--color-primary);
    --neon-purple: #7c3aed;
    --neon-gold: var(--warning);
    --neon-coral: var(--error);
    --neon-green: var(--success);
    --neon-accent: var(--color-primary);
    --navy-primary: var(--color-primary);
    
    --border-glass: var(--border-light);
    --border-subtle: var(--border-light);
    --border-default: var(--border-default);
    
    --bg-alt: var(--bg-muted);
    --glass-bg: var(--bg-surface);
    --glass-bg-hover: var(--bg-muted);
    --glass-border: var(--border-light);
    --glass-border-hover: var(--border-default);
    --glass-blur: 0px;
    
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, #7c3aed 100%);
}

/* === DARK THEME === */
[data-theme="dark"] {
    --bg-base: #0f172a;
    --bg-elevated: #1e293b;
    --bg-surface: #1e293b;
    --bg-muted: #334155;
    
    --text-primary: #f8fafc;
    --text-secondary: #e2e8f0;
    --text-tertiary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #0f172a;
    
    --border-light: #334155;
    --border-default: #475569;
    --border-strong: #64748b;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    
    --color-primary-light: #1e3a5f;
    --success-light: #064e3b;
    --error-light: #7f1d1d;
    --warning-light: #78350f;
    --info-light: #0c4a6e;
    --whatsapp-light: #064e3b;
    
    --bg-alt: var(--bg-muted);
    --glass-bg: var(--bg-surface);
    --glass-bg-hover: var(--bg-muted);
    --glass-border: var(--border-light);
    --glass-border-hover: var(--border-default);
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg-base);
    min-height: 100vh;
    transition: background-color var(--duration-normal), color var(--duration-normal);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-6);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
}

h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-3);
}

h5 {
    font-size: 1rem;
    margin-bottom: var(--space-2);
}

h6 {
    font-size: 0.875rem;
    margin-bottom: var(--space-2);
}

p {
    margin-bottom: var(--space-4);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--duration-fast);
}

a:hover {
    color: var(--color-primary-hover);
}

code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: 0.125em 0.375em;
    border-radius: var(--radius-sm);
}

/* Text utilities */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-error { color: var(--error); }

/* Metric displays */
.metric-number {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
}

.metric-label {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-top: var(--space-2);
}

/* ============================================
   Layout System
   ============================================ */
.sp-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.sp-main {
    flex: 1;
    padding: var(--space-8) 0;
}

.sp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.sp-container-narrow {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Grid utilities */
.sp-grid {
    display: grid;
    gap: var(--space-6);
}

.sp-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.sp-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.sp-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Page header */
.sp-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.sp-page-header h2 {
    margin-bottom: var(--space-1);
}

.sp-page-header p {
    margin-bottom: 0;
    color: var(--text-muted);
}

/* ============================================
   Navigation Bar
   ============================================ */
.sp-navbar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-4) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sp-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.sp-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.sp-logo:hover {
    color: var(--text-primary);
}

.sp-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
}

.logo-text {
    color: var(--text-primary);
}

.sp-nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
}

.sp-nav-link {
    color: var(--text-tertiary);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast);
}

.sp-nav-link:hover,
.sp-nav-link.active {
    color: var(--color-primary);
    background: var(--color-primary-light);
}

/* Theme Toggle */
.sp-theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-muted);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--text-tertiary);
    font-size: 1rem;
    transition: all var(--duration-fast);
}

.sp-theme-toggle:hover {
    background: var(--bg-base);
    color: var(--text-primary);
    border-color: var(--border-default);
}

.sp-theme-toggle .fa-sun { display: none; }
.sp-theme-toggle .fa-moon { display: block; }

[data-theme="dark"] .sp-theme-toggle .fa-sun { display: block; }
[data-theme="dark"] .sp-theme-toggle .fa-moon { display: none; }

.sp-nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-2);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sp-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sp-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-surface);
        padding: var(--space-4);
        gap: var(--space-1);
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
    }
    
    .sp-nav-links.active {
        display: flex;
    }
    
    .sp-nav-link {
        width: 100%;
        padding: var(--space-3) var(--space-4);
    }
}

/* ============================================
   Dashboard Layout
   ============================================ */
.sp-dashboard-layout {
    display: flex;
    min-height: calc(100vh - 65px);
}

/* Sidebar */
.sp-sidebar {
    width: 260px;
    background: var(--bg-surface);
    border-right: 1px solid var(--border-light);
    padding: var(--space-6) 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.sp-sidebar-nav {
    list-style: none;
    flex: 1;
}

.sp-sidebar-section {
    padding: var(--space-6) var(--space-5) var(--space-2);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.sp-sidebar-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all var(--duration-fast);
    position: relative;
}

.sp-sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.sp-sidebar-link:hover {
    color: var(--text-primary);
    background: var(--bg-muted);
}

.sp-sidebar-link.active {
    color: var(--color-primary);
    background: var(--color-primary-light);
    font-weight: 600;
}

.sp-sidebar-link.active i {
    color: var(--color-primary);
}

/* Sidebar Balance Widget */
.sp-sidebar-balance {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    margin: 0 var(--space-4) var(--space-4);
    background: var(--bg-muted);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.sp-sidebar-balance-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.sp-sidebar-balance-info {
    flex: 1;
    min-width: 0;
}

.sp-sidebar-balance-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.sp-sidebar-balance-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.sp-sidebar-topup {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 0.75rem;
    transition: all var(--duration-fast);
    flex-shrink: 0;
}

.sp-sidebar-topup:hover {
    background: var(--color-primary-hover);
    color: #fff;
    transform: scale(1.05);
}

/* Sidebar Active Indicator */
.sp-sidebar-active-indicator {
    position: absolute;
    right: 12px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* Sidebar Badge */
.sp-sidebar-badge {
    padding: 2px 8px;
    background: var(--bg-muted);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-left: auto;
}

/* Sidebar Trust Badge */
.sp-sidebar-trust {
    margin: auto var(--space-4) var(--space-4);
    padding: var(--space-4);
    background: var(--success-light);
    border: 1px solid var(--success);
    border-radius: var(--radius-lg);
    text-align: center;
}

[data-theme="dark"] .sp-sidebar-trust {
    background: rgba(5, 150, 105, 0.1);
}

.sp-sidebar-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    background: var(--bg-surface);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
    margin-bottom: var(--space-2);
}

.sp-sidebar-trust-badge i {
    font-size: 0.6875rem;
}

.sp-sidebar-trust p {
    font-size: 0.75rem;
    color: var(--success-dark);
    margin: 0;
    line-height: 1.4;
}

[data-theme="dark"] .sp-sidebar-trust p {
    color: var(--success);
}

/* Dashboard Content */
.sp-dashboard-content {
    flex: 1;
    padding: var(--space-6);
    overflow-x: auto;
    background: var(--bg-base);
}

@media (max-width: 992px) {
    .sp-sidebar {
        position: fixed;
        left: -280px;
        top: 65px;
        height: calc(100vh - 65px);
        z-index: 1000;
        transition: left var(--duration-normal) var(--ease-out);
        box-shadow: none;
    }
    
    .sp-sidebar.active {
        left: 0;
        box-shadow: var(--shadow-xl);
    }
    
    .sp-dashboard-content {
        padding: var(--space-4);
    }
}

/* ============================================
   Cards
   ============================================ */
.sp-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--duration-normal);
}

.sp-card:hover {
    box-shadow: var(--shadow-md);
}

.sp-card-accent {
    /* Compatibility class - same as regular card now */
}

.sp-card-header {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-muted);
}

.sp-card-header h3,
.sp-card-header h4 {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.sp-card-header h4 i {
    color: var(--color-primary);
}

.sp-card-body {
    padding: var(--space-5);
}

.sp-card-footer {
    padding: var(--space-4) var(--space-5);
    border-top: 1px solid var(--border-light);
    background: var(--bg-muted);
}

/* Metric Cards */
.sp-metric-card {
    padding: var(--space-5);
    text-align: center;
}

.sp-metric-card .metric-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    background: var(--color-primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform var(--duration-fast);
}

.sp-metric-card:hover .metric-icon {
    transform: scale(1.05);
}

.sp-metric-card.accent .metric-icon {
    background: var(--warning-light);
    color: var(--warning);
}

[data-theme="dark"] .sp-metric-card.accent .metric-icon {
    background: rgba(217, 119, 6, 0.1);
}

/* ============================================
   Buttons
   ============================================ */
.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.625rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-fast);
}

.sp-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Primary */
.sp-btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.sp-btn-primary:hover:not(:disabled) {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: #fff;
}

/* Secondary */
.sp-btn-secondary {
    background: var(--bg-surface);
    border-color: var(--border-default);
    color: var(--text-secondary);
}

.sp-btn-secondary:hover:not(:disabled) {
    background: var(--bg-muted);
    border-color: var(--border-strong);
    color: var(--text-primary);
}

/* WhatsApp */
.sp-btn-whatsapp {
    background: var(--whatsapp);
    border-color: var(--whatsapp);
    color: #fff;
}

.sp-btn-whatsapp:hover:not(:disabled) {
    background: var(--whatsapp-hover);
    border-color: var(--whatsapp-hover);
    color: #fff;
}

/* Success */
.sp-btn-success {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.sp-btn-success:hover:not(:disabled) {
    background: var(--success-dark);
    border-color: var(--success-dark);
    color: #fff;
}

/* Gold (compatibility) */
.sp-btn-gold {
    background: var(--warning);
    border-color: var(--warning);
    color: #fff;
}

.sp-btn-gold:hover:not(:disabled) {
    background: var(--warning-dark);
    border-color: var(--warning-dark);
    color: #fff;
}

/* Button sizes */
.sp-btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.sp-btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.sp-btn-block {
    width: 100%;
    display: flex;
}

/* ============================================
   Form Elements
   ============================================ */
.sp-form-group {
    margin-bottom: var(--space-5);
}

.sp-form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.sp-form-label.required::after {
    content: ' *';
    color: var(--error);
}

.sp-form-input,
.sp-form-select,
.sp-form-textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast);
}

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

.sp-form-input:focus,
.sp-form-select:focus,
.sp-form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.sp-form-input.error,
.sp-form-select.error,
.sp-form-textarea.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px var(--error-light);
}

.sp-form-hint {
    margin-top: var(--space-1);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.sp-form-error {
    margin-top: var(--space-1);
    font-size: 0.8125rem;
    color: var(--error);
}

.sp-form-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--duration-fast) var(--ease-out);
}

.sp-form-link:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

/* Input with icon */
.sp-input-icon-wrapper {
    position: relative;
}

.sp-input-icon-wrapper .sp-form-input {
    padding-left: 2.5rem;
}

.sp-input-icon-wrapper > i {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 1;
}

.sp-input-icon-wrapper:focus-within > i {
    color: var(--color-primary);
}

/* ============================================
   Tables
   ============================================ */
.sp-table-wrapper {
    overflow-x: auto;
}

.sp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.sp-table th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-align: left;
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-muted);
}

.sp-table td {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
    color: var(--text-secondary);
}

.sp-table tbody tr {
    transition: background-color var(--duration-fast);
}

.sp-table tbody tr:hover {
    background: var(--bg-muted);
}

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

/* ============================================
   Badges & Status
   ============================================ */
.sp-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: var(--radius-full);
}

.sp-badge-success {
    background: var(--success-light);
    color: var(--success-dark);
}

[data-theme="dark"] .sp-badge-success {
    background: rgba(5, 150, 105, 0.15);
    color: var(--success);
}

.sp-badge-error {
    background: var(--error-light);
    color: var(--error-dark);
}

[data-theme="dark"] .sp-badge-error {
    background: rgba(220, 38, 38, 0.15);
    color: var(--error);
}

.sp-badge-warning {
    background: var(--warning-light);
    color: var(--warning-dark);
}

[data-theme="dark"] .sp-badge-warning {
    background: rgba(217, 119, 6, 0.15);
    color: var(--warning);
}

.sp-badge-info {
    background: var(--info-light);
    color: var(--info-dark);
}

[data-theme="dark"] .sp-badge-info {
    background: rgba(2, 132, 199, 0.15);
    color: var(--info);
}

.sp-badge-neutral {
    background: var(--bg-muted);
    color: var(--text-muted);
}

/* ============================================
   Alerts
   ============================================ */
.sp-alert {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    margin-bottom: var(--space-4);
    border: 1px solid transparent;
}

.sp-alert i {
    flex-shrink: 0;
    margin-top: 2px;
}

.sp-alert-error {
    background: var(--error-light);
    color: var(--error-dark);
    border-color: var(--error);
}

[data-theme="dark"] .sp-alert-error {
    background: rgba(220, 38, 38, 0.1);
    color: var(--error);
}

.sp-alert-success {
    background: var(--success-light);
    color: var(--success-dark);
    border-color: var(--success);
}

[data-theme="dark"] .sp-alert-success {
    background: rgba(5, 150, 105, 0.1);
    color: var(--success);
}

.sp-alert-warning {
    background: var(--warning-light);
    color: var(--warning-dark);
    border-color: var(--warning);
}

[data-theme="dark"] .sp-alert-warning {
    background: rgba(217, 119, 6, 0.1);
    color: var(--warning);
}

.sp-alert-info {
    background: var(--info-light);
    color: var(--info-dark);
    border-color: var(--info);
}

[data-theme="dark"] .sp-alert-info {
    background: rgba(2, 132, 199, 0.1);
    color: var(--info);
}

/* ============================================
   Auth Pages
   ============================================ */
.sp-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    background: var(--bg-base);
}

.sp-auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.sp-auth-header {
    padding: var(--space-8) var(--space-6);
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-muted);
}

.sp-auth-header .sp-logo {
    justify-content: center;
    margin-bottom: var(--space-4);
}

.sp-auth-header p {
    color: var(--text-tertiary);
    margin: 0;
}

.sp-auth-body {
    padding: var(--space-6);
}

.sp-auth-footer {
    padding: var(--space-4) var(--space-6);
    text-align: center;
    border-top: 1px solid var(--border-light);
    background: var(--bg-muted);
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.sp-auth-footer a {
    font-weight: 600;
}

/* ============================================
   User Menu (Dashboard Nav)
   ============================================ */
.sp-user-menu {
    position: relative;
}

.sp-user-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-muted);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--duration-fast);
}

.sp-user-btn:hover {
    background: var(--bg-surface);
    border-color: var(--border-default);
    color: var(--text-primary);
}

.sp-user-avatar {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}

.sp-user-name {
    font-weight: 500;
    font-size: 0.875rem;
}

.sp-chevron {
    font-size: 0.625rem;
    opacity: 0.6;
    transition: transform var(--duration-fast);
}

.sp-user-menu.active .sp-chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.sp-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 240px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--duration-fast);
}

.sp-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sp-dropdown-header {
    padding: var(--space-4);
    background: var(--bg-muted);
    border-bottom: 1px solid var(--border-light);
}

.sp-dropdown-user-info {
    display: flex;
    flex-direction: column;
}

.sp-dropdown-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.sp-dropdown-email {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.sp-dropdown-divider {
    height: 1px;
    background: var(--border-light);
}

.sp-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all var(--duration-fast);
}

.sp-dropdown-item i {
    width: 16px;
    text-align: center;
    color: var(--text-muted);
}

.sp-dropdown-item:hover {
    background: var(--bg-muted);
    color: var(--text-primary);
}

.sp-dropdown-item:hover i {
    color: var(--color-primary);
}

.sp-dropdown-item-danger:hover {
    color: var(--error);
}

.sp-dropdown-item-danger:hover i {
    color: var(--error);
}

/* ============================================
   Utility Classes
   ============================================ */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--space-2) !important; }
.mb-2 { margin-bottom: var(--space-4) !important; }
.mb-3 { margin-bottom: var(--space-6) !important; }
.mb-4 { margin-bottom: var(--space-8) !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--space-2) !important; }
.mt-2 { margin-top: var(--space-4) !important; }
.mt-3 { margin-top: var(--space-6) !important; }
.mt-4 { margin-top: var(--space-8) !important; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.gap-1 { gap: var(--space-2); }
.gap-2 { gap: var(--space-4); }
.gap-3 { gap: var(--space-6); }

.hidden { display: none !important; }

/* Mobile visibility */
.hidden-mobile {
    display: inline;
}

@media (max-width: 576px) {
    .hidden-mobile {
        display: none;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    
    .metric-number {
        font-size: 1.5rem;
    }
    
    .sp-auth-card {
        max-width: 100%;
    }
    
    .sp-auth-header,
    .sp-auth-body {
        padding: var(--space-5);
    }
}

/* ============================================
   Focus States (Accessibility)
   ============================================ */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ============================================
   Scrollbar Styling
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: var(--border-default);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-strong);
}

/* ============================================
   Selection Styling
   ============================================ */
::selection {
    background: var(--color-primary-light);
    color: var(--text-primary);
}

/* ============================================
   Animation Utilities (Simplified)
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Scroll-triggered animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll[data-delay="1"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="4"] { transition-delay: 0.4s; }
.animate-on-scroll[data-delay="5"] { transition-delay: 0.5s; }

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .sp-navbar,
    .sp-sidebar {
        display: none !important;
    }
    
    .sp-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* ============================================
   Landing Page Styles
   ============================================ */

/* Hero Section */
.sp-hero {
    padding: var(--space-16) 0;
    background: var(--bg-base);
}

.sp-hero .sp-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.sp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-primary-light);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-6);
}

.sp-hero-badge i {
    font-size: 0.75rem;
}

.sp-hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.sp-hero-gradient {
    display: block;
    color: var(--color-primary);
}

.sp-hero-description {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    max-width: 520px;
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.sp-hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

.sp-hero-trust {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.sp-hero-trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.sp-trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

.sp-trust-dot-cyan {
    background: var(--color-primary);
}

.sp-trust-dot-gold {
    background: var(--warning);
}

/* Hero Visual - Simplified Phone Mock */
.sp-hero-visual {
    display: flex;
    justify-content: center;
}

.sp-hero-phone {
    width: 280px;
    height: 560px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
}

.sp-hero-phone-screen {
    width: 100%;
    height: 100%;
    background: #111b21;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* WhatsApp Header */
.sp-wa-header {
    background: #1f2c33;
    padding: 40px 12px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-wa-header-back {
    color: #aebac1;
    font-size: 0.875rem;
}

.sp-wa-avatar {
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.875rem;
}

.sp-wa-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sp-wa-name {
    color: #e9edef;
    font-size: 0.875rem;
    font-weight: 500;
}

.sp-wa-status {
    color: #8696a0;
    font-size: 0.75rem;
}

.sp-wa-header-actions {
    display: flex;
    gap: 16px;
    color: #aebac1;
    font-size: 0.875rem;
}

/* Chat Area */
.sp-chat-preview {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
}

.sp-chat-message {
    max-width: 80%;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.8125rem;
    display: flex;
    flex-direction: column;
}

.sp-chat-text {
    line-height: 1.4;
}

.sp-chat-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 2px;
}

.sp-chat-meta i {
    font-size: 0.625rem;
    color: #53bdeb;
}

.sp-chat-sent {
    background: #005c4b;
    color: #e9edef;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.sp-chat-received {
    background: #202c33;
    color: #e9edef;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.sp-chat-time {
    font-size: 0.625rem;
    color: rgba(233, 237, 239, 0.6);
}

/* WhatsApp Input */
.sp-wa-input {
    padding: 8px 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.sp-wa-input-field {
    flex: 1;
    background: #2a3942;
    border-radius: 20px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8696a0;
    font-size: 0.8125rem;
}

.sp-wa-input-field span {
    flex: 1;
}

.sp-wa-input-mic {
    width: 40px;
    height: 40px;
    background: #00a884;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.875rem;
}

/* Features Section */
.sp-features {
    padding: var(--space-16) 0;
    background: var(--bg-surface);
}

.sp-section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.sp-section-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--color-primary-light);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.sp-section-header h2 {
    font-size: 2rem;
    margin-bottom: var(--space-3);
}

.sp-section-header p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
}

/* Timeline */
.sp-timeline {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
}

.sp-timeline-item {
    flex: 1;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sp-timeline-marker {
    width: 48px;
    height: 48px;
    background: var(--color-primary-light);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
}

.sp-timeline-marker-green {
    background: var(--whatsapp-light);
    border-color: var(--whatsapp);
}

.sp-timeline-marker-success {
    background: var(--success-light);
    border-color: var(--success);
}

.sp-timeline-number {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
}

.sp-timeline-marker-green .sp-timeline-number {
    color: var(--whatsapp);
}

.sp-timeline-marker-success .sp-timeline-number {
    color: var(--success);
}

.sp-timeline-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
}

.sp-timeline-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-3);
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-primary);
}

.sp-timeline-icon-green {
    background: var(--whatsapp-light);
    color: var(--whatsapp);
}

.sp-timeline-icon-success {
    background: var(--success-light);
    color: var(--success);
}

.sp-timeline-content h4 {
    margin-bottom: var(--space-2);
    font-size: 1rem;
}

.sp-timeline-content p {
    color: var(--text-muted);
    margin-bottom: var(--space-3);
    font-size: 0.875rem;
    line-height: 1.5;
}

.sp-timeline-example {
    background: var(--bg-muted);
    border-radius: var(--radius-sm);
    padding: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    justify-content: center;
}

.sp-example-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.sp-timeline-example code {
    font-size: 0.8125rem;
}

/* CTA Section */
.sp-cta-section {
    padding: var(--space-16) 0;
}

.sp-cta-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-12) var(--space-8);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.sp-cta-content {
    position: relative;
    z-index: 1;
}

/* Social proof */
.sp-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.sp-avatar-stack {
    display: flex;
}

.sp-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    border: 2px solid var(--bg-surface);
    margin-left: -10px;
    background: var(--color-primary);
}

.sp-avatar:first-child {
    margin-left: 0;
}

.sp-avatar:nth-child(2) { background: var(--whatsapp); }
.sp-avatar:nth-child(3) { background: var(--warning); }
.sp-avatar:nth-child(4) { background: var(--error); }

.sp-avatar-count {
    background: var(--bg-muted) !important;
    color: var(--text-primary);
    font-size: 0.6875rem;
    border-color: var(--border-light);
}

.sp-social-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.sp-social-text strong {
    color: var(--text-primary);
}

.sp-cta-card h3 {
    font-size: 2rem;
    margin-bottom: var(--space-3);
}

.sp-cta-card > .sp-cta-content > p {
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto var(--space-6);
}

.sp-cta-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.sp-cta-features {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.sp-cta-features span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.sp-cta-features i {
    color: var(--success);
    font-size: 0.75rem;
}

/* Benefits Section */
.sp-benefits {
    padding: var(--space-16) 0;
    background: var(--bg-surface);
}

.sp-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-5);
}

.sp-bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--duration-normal);
}

.sp-bento-card:hover {
    box-shadow: var(--shadow-md);
}

.sp-bento-content {
    padding: var(--space-5);
    height: 100%;
}

.sp-bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.sp-bento-wide {
    grid-column: span 2;
}

.sp-bento-small {
    grid-column: span 1;
}

.sp-bento-icon-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.sp-bento-icon {
    width: 44px;
    height: 44px;
    background: var(--success-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--success);
}

.sp-bento-icon-cyan {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.sp-bento-icon-coral {
    background: var(--error-light);
    color: var(--error);
}

.sp-bento-icon-purple {
    background: #f3e8ff;
    color: #7c3aed;
}

[data-theme="dark"] .sp-bento-icon-purple {
    background: rgba(124, 58, 237, 0.15);
}

.sp-bento-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--success);
    background: var(--success-light);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

[data-theme="dark"] .sp-bento-tag {
    background: rgba(5, 150, 105, 0.15);
}

.sp-bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-3);
}

.sp-bento-card h4 {
    font-size: 1rem;
    margin-bottom: var(--space-2);
}

.sp-bento-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Speed indicator */
.sp-speed-indicator {
    margin-top: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.sp-speed-bar {
    flex: 1;
    height: 4px;
    background: var(--bg-muted);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.sp-speed-bar::after {
    content: "";
    display: block;
    height: 100%;
    width: 70%;
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

.sp-speed-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
}

/* Easy demo */
.sp-bento-row {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    margin-bottom: var(--space-4);
}

.sp-bento-row .sp-bento-icon {
    flex-shrink: 0;
}

.sp-bento-text {
    flex: 1;
}

.sp-easy-demo {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-muted);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}

.sp-easy-message {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.sp-easy-arrow {
    color: var(--text-muted);
}

.sp-easy-result {
    font-size: 0.875rem;
    color: var(--success);
    font-weight: 600;
}

/* Mini chart */
.sp-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 50px;
    margin-top: var(--space-4);
}

.sp-mini-chart span {
    flex: 1;
    background: var(--color-primary-light);
    border-radius: 3px;
}

[data-theme="dark"] .sp-mini-chart span {
    background: rgba(37, 99, 235, 0.3);
}

/* Security dots */
.sp-security-dots {
    display: flex;
    gap: 8px;
    margin-top: var(--space-4);
}

.sp-security-dots span {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 992px) {
    .sp-hero .sp-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .sp-hero-content {
        order: 1;
    }
    
    .sp-hero-visual {
        order: 0;
        margin-bottom: var(--space-8);
    }
    
    .sp-hero-phone {
        width: 240px;
        height: 480px;
    }
    
    .sp-hero-title {
        font-size: 2.25rem;
    }
    
    .sp-hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .sp-hero-actions,
    .sp-hero-trust {
        justify-content: center;
    }
    
    .sp-timeline {
        flex-direction: column;
        align-items: center;
    }
    
    .sp-timeline-item {
        max-width: 400px;
    }
    
    .sp-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sp-bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 600px) {
    .sp-hero {
        padding: var(--space-10) 0;
    }
    
    .sp-hero-title {
        font-size: 1.75rem;
    }
    
    .sp-hero-phone {
        width: 200px;
        height: 400px;
    }
    
    .sp-bento-grid {
        grid-template-columns: 1fr;
    }
    
    .sp-bento-large,
    .sp-bento-wide {
        grid-column: span 1;
    }
    
    .sp-cta-card {
        padding: var(--space-8) var(--space-5);
    }
    
    .sp-cta-card h3 {
        font-size: 1.5rem;
    }
    
    .sp-social-proof {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .sp-cta-features {
        flex-direction: column;
        gap: var(--space-3);
    }
}

/* ============================================
   Footer Styles
   ============================================ */
.sp-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    padding: var(--space-8) 0;
}

.sp-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.sp-footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.sp-footer-links {
    display: flex;
    gap: var(--space-6);
}

.sp-footer-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.sp-footer-links a:hover {
    color: var(--color-primary);
}
