/* Modern 2025 Fintech Theme - STRICT 2-COLOR: Blue + Green + White */

/* Import Spacing System */
@import url('./spacing-system.css');

/* Import Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Industry Standard Financial Colors */
:root {
    /* Primary Colors - Professional Fintech */
    --primary: #0B2578;
    --primary-hover: #1A9464;
    --secondary: #1A9464;
    --secondary-hover: #0B2578;
    --success: #16A34A;
    --danger: #DC2626;
    --warning: #F59E0B;
    
    /* Primary Gradients */
    --primary-gradient: linear-gradient(135deg, #0B2578 0%, #1A9464 100%);
    --primary-gradient-hover: linear-gradient(135deg, #1A9464 0%, #0B2578 100%);
    
    /* Backgrounds - ONLY WHITE */
    --bg-white: #FFFFFF;
    --bg-gray-50: #FFFFFF;
    --bg-gray-100: #FFFFFF;
    --bg-gray-200: #FFFFFF;
    
    /* Text Colors - Professional Hierarchy */
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-gray: #6B7280;
    --text-muted: #9CA3AF;
    --text-white: #FFFFFF;
    
    /* Borders - Soft Neutral */
    --border-color: rgba(0, 0, 0, 0.06);
    --border-light: rgba(0, 0, 0, 0.04);
    --border-dark: rgba(0, 0, 0, 0.08);
    
    /* Shadows - Soft Professional */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.06);
    
    /* Responsive Spacing - Mobile First */
    --spacing-xs: clamp(0.25rem, 1vw, 0.5rem);
    --spacing-sm: clamp(0.5rem, 1.5vw, 1rem);
    --spacing-md: clamp(1rem, 2vw, 1.5rem);
    --spacing-lg: clamp(1.5rem, 3vw, 2rem);
    --spacing-xl: clamp(2rem, 4vw, 3rem);
    --spacing-2xl: clamp(3rem, 5vw, 4rem);
    
    /* Border Radius - Modern Soft */
    --radius-sm: 0.375rem;
    --radius: 0.75rem;
    --radius-md: 0.875rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Glass / Trendy 2025 */
    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    --glass-highlight: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 60%);
    --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Motion & depth */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-smooth: 0.35s var(--ease-out-expo);
    --transition-bounce: 0.4s var(--ease-spring);
    --transition-slow: 0.6s var(--ease-out-expo);
    --elevation-1: 0 2px 8px rgba(0, 0, 0, 0.04);
    --elevation-2: 0 8px 24px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0,0,0,0.02);
    --elevation-3: 0 16px 48px -12px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0,0,0,0.02);
    --ring: 0 0 0 3px rgba(11, 37, 120, 0.12);
    --ring-strong: 0 0 0 4px rgba(11, 37, 120, 0.16);
    
    /* Responsive Typography - Fluid Scaling with Mobile First */
    --text-xs: clamp(0.75rem, 2vw, 0.875rem);   /* 12px - 14px */
    --text-sm: clamp(0.875rem, 2.5vw, 1rem);    /* 14px - 16px */
    --text-base: clamp(1rem, 3vw, 1.125rem);     /* 16px - 18px */
    --text-lg: clamp(1.125rem, 3.5vw, 1.25rem);  /* 18px - 20px */
    --text-xl: clamp(1.25rem, 4vw, 1.5rem);      /* 20px - 24px */
    --text-2xl: clamp(1.5rem, 5vw, 2rem);        /* 24px - 32px */
    --text-3xl: clamp(2rem, 6vw, 3rem);          /* 32px - 48px */
    --text-4xl: clamp(2.5rem, 7vw, 4rem);        /* 40px - 64px */
    --text-5xl: clamp(3rem, 8vw, 5rem);          /* 48px - 80px */
    
    /* Display Typography - Hero Sections */
    --text-display-xs: clamp(1.5rem, 5vw, 2rem);
    --text-display-sm: clamp(2rem, 6vw, 3rem);
    --text-display-md: clamp(2.5rem, 7vw, 4rem);
    --text-display-lg: clamp(3rem, 8vw, 5rem);
    --text-display-xl: clamp(4rem, 10vw, 6rem);
    
    /* Line Heights - Responsive */
    --leading-tight: 1.1;
    --leading-normal: 1.5;
    --leading-relaxed: 1.6;
    --leading-loose: 1.8;
}

/* Reset & Base Styles - Mobile First */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Responsive Typography Classes */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }

.display-xs { font-size: var(--text-display-xs); }
.display-sm { font-size: var(--text-display-sm); }
.display-md { font-size: var(--text-display-md); }
.display-lg { font-size: var(--text-display-lg); }
.display-xl { font-size: var(--text-display-xl); }

/* Font Weights */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Line Heights */
.leading-tight { line-height: var(--leading-tight); }
.leading-normal { line-height: var(--leading-normal); }
.leading-relaxed { line-height: var(--leading-relaxed); }
.leading-loose { line-height: var(--leading-loose); }

/* Responsive Container System */
.container,
.responsive-container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--container-padding-md);
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Interactive affordances */
a,
button,
input,
select,
textarea,
.btn {
    transition:
        color var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

a,
button,
.btn {
    cursor: pointer;
}

:focus-visible {
    outline: none;
}

a:focus-visible,
.btn:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    box-shadow: var(--ring);
    border-radius: var(--radius-sm);
}

/* Global input protection - prevent black backgrounds */
input,
textarea,
select {
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

input:focus,
input:active,
textarea:focus,
textarea:active,
select:focus,
select:active {
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

/* ==========================================================================
   HEADING SYSTEM - CONSISTENT STYLING
   ========================================================================== */

/* Base Heading Colors - Consistent Across All Pages */
h1, h2, h3, h4, h5, h6 {
    color: #0B2578;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Heading Sizes */
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 600; }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
h5 { font-size: clamp(1.125rem, 1.5vw, 1.25rem); font-weight: 600; }
h6 { font-size: clamp(1rem, 1.5vw, 1.125rem); font-weight: 600; }

/* Heading Variations */
.heading-primary { color: #0B2578; }
.heading-accent { color: #1A9464; }

/* Remove any conflicting heading styles */
h1 .blue-half, h2 .blue-half, h3 .blue-half, h4 .blue-half, h5 .blue-half, h6 .blue-half {
    color: #0B2578;
}

h1 .green-half, h2 .green-half, h3 .green-half, h4 .green-half, h5 .green-half, h6 .green-half {
    color: #1A9464;
}

/* Global UX Improvements - Consolidated */
.form-control:invalid {
    border-color: #ef4444;
}

.form-control:valid {
    border-color: #10b981;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Explore More Button - Consolidated */
.explore-more-container {
    display: flex;
    justify-content: center;
    margin-top: clamp(2rem, 4vw, 3rem);
    margin-bottom: clamp(1rem, 2vw, 2rem);
    text-align: center;
}

.explore-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2.5rem);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 600;
    color: #FFFFFF;
    background: var(--success, #16A34A);
    border: none;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 44px;
    line-height: 1;
}

.explore-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #15803D;
    transition: left 0.3s ease;
    z-index: 1;
}

.explore-more-btn span,
.explore-more-btn i {
    position: relative;
    z-index: 2;
}

.explore-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
    color: #FFFFFF;
    text-decoration: none;
}

.explore-more-btn:hover::before {
    left: 0;
}

.explore-more-btn .arrow-icon {
    transition: transform 0.3s ease;
}

.explore-more-btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Higher specificity overrides for hero-gradient-text */
body.frontend .hero-gradient-text,
.section-title.hero-gradient-text,
.testimonials-title.hero-gradient-text,
.about-hero-headline.hero-gradient-text {
    color: #111827;
    background: none;
    background-image: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #111827;
}

.hero-gradient-text .blue-half {
    color: #0B2578;
    -webkit-text-fill-color: #0B2578;
}

.hero-gradient-text .green-half {
    color: #16A34A;
    -webkit-text-fill-color: #16A34A;
}

h1, h2, h3, .section-header h2, .dashboard-greeting h1,
.admin-page-header h1, .admin-table-header h2 {
    font-family: var(--font-display);
}

/* Container - Responsive with Improved Width Behavior */
.container {
    max-width: min(1200px, 95%);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* Responsive Container Variants */
.container-fluid {
    max-width: 100%;
    padding: 0 var(--container-padding);
}

.container-sm {
    max-width: min(640px, 95%);
    padding: 0 var(--container-padding);
}

.container-md {
    max-width: min(768px, 95%);
    padding: 0 var(--container-padding);
}

.container-lg {
    max-width: min(1024px, 95%);
    padding: 0 var(--container-padding);
}

.container-xl {
    max-width: min(1280px, 95%);
    padding: 0 var(--container-padding);
}

/* Ultra-wide container optimization */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
    
    .container-xl {
        max-width: 1600px;
    }
}

/* Large desktop optimization */
@media (min-width: 1440px) {
    .container {
        max-width: 1300px;
    }
}

/* Page load: fade + slide up (user-facing only; admin stays static) */
body:not(.admin-layout) main {
    animation: contentSlideUp 0.5s ease-out both;
}

@keyframes contentSlideUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}


/* BUTTON SYSTEM - UNIFIED STYLING */

/* Base Button Class - All buttons inherit from this */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Primary Button - Blue Theme */
.btn-primary {
    background: #0B2578;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(11, 37, 120, 0.2);
}

.btn-primary:hover {
    background: #1A9464;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 148, 100, 0.3);
    text-decoration: none;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(11, 37, 120, 0.2);
}

/* Secondary Button - Outline - Enhanced Visibility */
.btn-outline {
    background: transparent;
    color: #0B2578;
    border: 2px solid #0B2578;
    font-weight: 600;
    min-height: 44px;
}

.btn-outline:hover {
    background: #0B2578;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 37, 120, 0.2);
    text-decoration: none;
}

.btn-outline:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    color: #94A3B8;
    border-color: #E5E7EB;
}

.btn-outline:disabled:hover {
    background: transparent;
    color: #94A3B8;
    border-color: #E5E7EB;
    transform: none;
    box-shadow: none;
}

/* Brand Button - Green Theme */
.btn-brand {
    background: #1A9464;
    color: #FFFFFF;
    border: none;
}

.btn-brand:hover {
    background: #15803D;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 148, 100, 0.3);
    text-decoration: none;
}

/* Hero Button - Larger */
.btn-hero {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Button Sizes */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Button States */
.btn:focus-visible {
    outline: 2px solid #0B2578;
    outline-offset: 2px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* HEADING SYSTEM - UNIFIED STYLING */

/* Base Heading Colors - Consistent Across All Pages */
h1, h2, h3, h4, h5, h6 {
    color: #0B2578;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Heading Sizes */
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 600; }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
h5 { font-size: clamp(1.125rem, 1.5vw, 1.25rem); font-weight: 600; }
h6 { font-size: clamp(1rem, 1.5vw, 1.125rem); font-weight: 600; }

/* Heading Variations */
.heading-primary { color: #0B2578; }
.heading-accent { color: #1A9464; }

/* TEXT VISIBILITY - UNIFIED STYLING */

/* Base Text Colors */
body {
    color: #1F2937;
    background: #FFFFFF;
}

.text-primary { color: #0B2578; }
.text-secondary { color: #64748B; }
.text-muted { color: #94A3B8; }
.text-white { color: #FFFFFF; }

/* FORM INPUTS - UNIFIED STYLING */

input, textarea, select {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #1F2937;
    background: #FFFFFF;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #0B2578;
    box-shadow: 0 0 0 3px rgba(11, 37, 120, 0.1);
}

label {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Flash Messages - Toast Style - Centered Top */
.flash-messages {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.flash-messages .alert {
    pointer-events: all;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 500px;
    width: auto;
    margin: 0;
}

.flash-messages .alert.show {
    opacity: 1;
    transform: translateY(0);
}

.alert {
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
    border-radius: var(--radius-lg);
    margin-bottom: 0;
    border-left: 4px solid;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    border: 1px solid;
    backdrop-filter: blur(8px);
    font-size: clamp(0.875rem, 2.5vw, 1rem);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -10px) scale(0.95);
    }
}

.alert.fade-out {
    animation: toastSlideOut 0.3s ease-in forwards;
}

.alert::before {
    display: none;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(34, 197, 94, 0.92) 100%);
    backdrop-filter: blur(12px);
    border-left-color: var(--success);
    border-color: rgba(16, 185, 129, 0.3);
    color: #FFFFFF;
}

.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.92) 100%);
    backdrop-filter: blur(12px);
    border-left-color: var(--danger);
    border-color: rgba(239, 68, 68, 0.3);
    color: #FFFFFF;
}

.alert-info {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(79, 70, 229, 0.92) 100%);
    backdrop-filter: blur(12px);
    border-left-color: var(--primary);
    border-color: rgba(99, 102, 241, 0.3);
    color: #FFFFFF;
}

/* Hero Section - Modern Gradient Fintech - Responsive */
/* ============================================
   HERO SECTION - 2026 MODERN REDESIGN
   ============================================ */

.hero-section {
    background: #FAFBFC;
    padding: clamp(4rem, 10vw, 6rem) 0 clamp(3rem, 8vw, 4rem);
    position: relative;
    overflow: hidden;
    min-height: 60vh;
}

/* Subtle grid pattern */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 123, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 123, 255, 0.02) 1px, transparent 1px);
    background-size: clamp(30px, 5vw, 60px) clamp(30px, 5vw, 60px);
    pointer-events: none;
    z-index: 0;
}

/* Soft radial glow behind visual */
.hero-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: clamp(200px, 30vw, 500px);
    height: clamp(200px, 30vw, 500px);
    background: radial-gradient(circle, rgba(0, 123, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Split Layout Grid - Responsive */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 50vh;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

/* ============================================
   LEFT SIDE - CONTENT
   ============================================ */

.hero-content-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: heroContentSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes heroContentSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Minimal AI Badge */
.hero-badge-minimal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary);
    background: rgba(0, 123, 255, 0.04);
    margin-bottom: 1.5rem;
    transition: all 0.25s ease;
}

.hero-badge-minimal:hover {
    border-color: rgba(0, 123, 255, 0.4);
    background: rgba(0, 123, 255, 0.08);
}

.hero-badge-minimal i {
    width: 14px;
    height: 14px;
}

/* Modern Headline - Responsive */
.hero-headline-modern {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    max-width: 100%;
    color: var(--text-primary) !important;
}

@media (min-width: 768px) {
    .hero-headline-modern {
        max-width: 520px;
    }
}

/* Minimal Subtext - Responsive */
.hero-subtext-minimal {
    font-size: clamp(1rem, 3vw, 1.0625rem);
    line-height: 1.7;
    color: #6B7280;
    margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
    max-width: 100%;
}

@media (min-width: 768px) {
    .hero-subtext-minimal {
        max-width: 520px;
    }
}

/* CTA Button Group - Responsive */
.hero-cta-group {
    display: flex;
    gap: clamp(0.75rem, 2vw, 1rem);
    margin-top: 0.25rem;
    margin-bottom: clamp(2rem, 5vw, 2.75rem);
    animation: heroCtaFadeIn 0.8s ease-out 0.2s backwards;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 480px) {
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}

@keyframes heroCtaFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Primary CTA */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.9rem;
    background-image: linear-gradient(135deg, #007BFF 0%, #00C853 100%);
    background-size: 150% 150%;
    color: #FFFFFF;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background-position 0.18s ease-out;
    box-shadow: 0 14px 35px rgba(0, 123, 255, 0.35);
    text-decoration: none;
    line-height: 1;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.45), transparent 55%);
    opacity: 0;
    transition: opacity 0.18s ease-out;
    pointer-events: none;
}

.btn-hero-primary:hover {
    background-position: 100% 50%;
    box-shadow: 0 18px 40px rgba(0, 123, 255, 0.45);
    transform: translateY(-2px);
}

.btn-hero-primary:hover::before {
    opacity: 1;
}

.btn-hero-primary:active {
    transform: translateY(0);
    box-shadow: 0 10px 24px rgba(0, 123, 255, 0.35);
}

.btn-hero-primary i {
    width: 18px;
    height: 18px;
    transition: transform 0.18s ease-out;
}

.btn-hero-primary:hover i {
    transform: translateX(4px);
}

/* Ghost CTA */
.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 1.9rem;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.6), rgba(15, 23, 42, 0.04));
    color: #0F172A;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.25);
    cursor: pointer;
    transition: all 0.18s ease-out;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    text-decoration: none;
    line-height: 1;
}

.btn-hero-ghost:hover {
    border-color: rgba(148, 163, 184, 0.95);
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.85), rgba(15, 23, 42, 0.08));
    color: #020617;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.btn-hero-ghost:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

/* Compact Inline Stats */
.hero-stats-inline {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: heroStatsSlideIn 0.8s ease-out 0.4s backwards;
}

@keyframes heroStatsSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748B;
    font-weight: 500;
    line-height: 1;
}

.stat-pill i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* ============================================
   RIGHT SIDE - INTERACTIVE VISUAL
   ============================================ */

.hero-content-right {
    position: relative;
    animation: heroVisualSlideIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

@keyframes heroVisualSlideIn {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.hero-visual-container {
    position: relative;
    height: 500px;
}

/* Glassmorphism Utility */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Dashboard Card */
.dashboard-card {
    position: relative;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.04),
        0 2px 6px rgba(0, 0, 0, 0.02);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0F172A;
}

.dashboard-title i {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(22, 163, 74, 0.12);
    color: #16A34A;
    line-height: 1;
}

.status-badge.active {
    background: rgba(22, 163, 74, 0.12);
    color: #16A34A;
}

.status-badge.profit {
    background: rgba(22, 163, 74, 0.12);
    color: #16A34A;
}

.status-badge.loss {
    background: rgba(220, 38, 38, 0.12);
    color: #DC2626;
}

.status-badge.closed {
    background: rgba(107, 114, 128, 0.12);
    color: #6B7280;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.12);
    color: #F59E0B;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #16A34A;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Signal Preview */
.signal-preview {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.signal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: all 0.25s ease;
}

.signal-row:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(4px);
}

.signal-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.signal-symbol {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0F172A;
}

.signal-type {
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 500;
}

.signal-metrics {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.125rem;
}

.metric-value {
    font-size: 1rem;
    font-weight: 700;
}

.metric-value.success {
    color: #16A34A;
}

.metric-value.loss {
    color: #DC2626;
}

.metric-value.neutral {
    color: #6B7280;
}

.metric-label {
    font-size: 0.6875rem;
    color: #94A3B8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Floating Metric Cards */
.floating-metric {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    animation: floatMetric 6s ease-in-out infinite;
}

@keyframes floatMetric {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.metric-1 {
    top: 60px;
    right: -40px;
    animation-delay: 0s;
}

.metric-2 {
    bottom: 80px;
    right: -30px;
    animation-delay: 1s;
}

.metric-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border-radius: 10px;
    color: var(--primary);
}

.metric-icon i {
    width: 20px;
    height: 20px;
}

.metric-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.metric-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1;
}

.metric-label {
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 500;
    line-height: 1;
}

/* Services Section - Responsive */
.services-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: linear-gradient(180deg, var(--bg-gray-50) 0%, #F8FAFC 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, var(--spacing-2xl));
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.section-subtitle {
    font-size: clamp(1rem, 3vw, 1.125rem);
    color: var(--text-secondary);
    max-width: 100%;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-subtitle {
        max-width: 600px;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1rem, 3vw, var(--spacing-xl));
}

.service-card {
    background: var(--bg-white);
    padding: clamp(1.5rem, 4vw, var(--spacing-2xl));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 300px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .service-icon {
    transition: transform 0.25s ease;
}

.service-card:hover .service-icon {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-card:hover .service-btn {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.service-card-featured {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.service-card-featured::before {
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(11, 37, 120, 0.08);
    border: none;
    color: #0B2578;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon::before {
    display: none;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); box-shadow: var(--shadow-primary); }
    50% { transform: scale(1.05); box-shadow: var(--shadow-glow); }
}

@keyframes iconShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.service-title {
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
    flex-grow: 1;
    font-size: clamp(0.875rem, 2.5vw, 0.9375rem);
}

.service-card:active {
    transform: translateY(-6px) scale(1.01);
}

.service-btn {
    margin-top: auto;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    transition: all var(--transition-smooth);
}

.service-btn .inline-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.service-btn:hover .inline-icon {
    transform: translateX(3px);
}

/* ============================================
   ABOUT SECTION - HERO STYLE WITH CONVERSION FOCUS
   ============================================ */

.about-section {
    padding: 7rem 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, #FAFBFC 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle decorative blur shapes */
.about-section::before {
    content: '';
    position: absolute;
    top: -5%;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: 0;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Container with max-width */
.about-section .container {
    position: relative;
    z-index: 1;
}

/* Two-column layout */
.about-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

/* LEFT SIDE - CONTENT */
.about-content-left {
    animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes heroSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pill badge */
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #F0F3FF 0%, #E8EDFF 100%);
    border: 1px solid #D0D9FF;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.about-badge:hover {
    background: linear-gradient(135deg, #E8EDFF 0%, #DFE6FF 100%);
    border-color: #B8C5FF;
}

.about-badge i {
    width: 16px;
    height: 16px;
}

/* Hero headline */
.about-hero-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary) !important;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.about-hero-headline .gradient-text {
    color: var(--text-primary) !important;
}

/* Short subtext */
.about-subtext {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 95%;
}

/* CTA Group */
.about-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.btn-hero {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero .inline-icon {
    width: 18px;
    height: 18px;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.btn-primary.btn-hero:hover .inline-icon {
    transform: translateX(4px);
}

/* Compact feature list */
.about-features-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    animation: staggerIn 0.8s ease-out 0.3s backwards;
}

@keyframes staggerIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-compact-item {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding: 0.75rem;
    background: transparent;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.feature-compact-item:hover {
    background: rgba(99, 102, 241, 0.03);
    transform: translateX(4px);
}

.feature-compact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #F0F3FF 0%, #E8EDFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-compact-item:hover .feature-compact-icon {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.05);
}

.feature-compact-icon i {
    width: 20px;
    height: 20px;
}

.feature-compact-text h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.feature-compact-text p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* RIGHT SIDE - VISUAL */
.about-content-right {
    animation: imageSlideIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

@keyframes imageSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Clean visual wrapper */
.about-visual-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(99, 102, 241, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #F8F9FF 0%, #F0F3FF 100%);
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-visual-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        #8B5CF6 50%, 
        var(--primary) 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.about-visual-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 30px 80px rgba(99, 102, 241, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
}

.about-visual-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

   /* ============================================
   AUTH PAGES - PREMIUM FINTECH REDESIGN
   ============================================ */

.auth-page {
    padding: 3rem 0;
    background: linear-gradient(135deg, #FAFAFC 0%, var(--bg-gray-50) 100%);
    min-height: calc(100vh - 200px);
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.auth-container {
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    animation: authCardSlideIn 0.5s var(--ease-out-expo) backwards;
    overflow: visible;
    min-height: auto;
    height: auto;
}

@keyframes authCardSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.auth-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-smooth);
}

.auth-icon i {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.auth-card:hover .auth-icon {
    transform: scale(1.05);
}

.auth-header h1 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 0 20px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

.form-group input:active,
.form-group textarea:active,
.form-group select:active {
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

.form-group input:active,
.form-group textarea:active,
.form-group select:active {
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.auth-form {
    animation: authFormFadeIn 0.5s var(--ease-out-expo) backwards 0.1s;
}

/* Form Element Sizing Consistency */
.auth-form .form-control,
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="tel"],
.auth-form input[type="password"],
.auth-form .btn-primary,
.auth-form .btn-block {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Captcha Wrapper for Centering */
.auth-form .recaptcha-group {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.auth-form .g-recaptcha {
    border-radius: 12px;
    overflow: visible;
    transform: scale(0.95);
    max-width: 100%;
    transform-origin: center;
}

/* Ensure consistent button styling */
.auth-form .btn-primary,
.auth-form .btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
}

/* Input with Icon Consistency */
.auth-form .input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-form .input-with-icon input {
    width: 100%;
    height: 48px;
    padding-left: 48px;
    border-radius: 12px;
    font-size: 16px;
}

.auth-form .input-with-icon .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    z-index: 1;
}

.auth-form .password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 2;
    padding: 4px;
}

@keyframes authFormFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Input with Icon */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: var(--spacing-md);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 2;
}

.input-with-icon input {
    padding-left: 2.75rem;
    width: 100%;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: var(--spacing-md);
    background: transparent;
    border: none;
    padding: 0.4rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    z-index: 2;
}

.password-toggle:hover {
    color: var(--primary);
}

.password-toggle i {
    width: 18px;
    height: 18px;
}

/* Label Row (with forgot link) */
.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.label-row label {
    margin-bottom: 0;
}

.forgot-password-link {
    font-size: 0.8125rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.forgot-password-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Auth Trust Badge */
.auth-trust {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--text-muted);
    font-size: 0.8125rem;
    justify-content: center;
    width: 100%;
}

.auth-trust i {
    width: 14px;
    height: 14px;
    color: var(--success);
}

/* Auth Footer - Centered Links */
.auth-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
}

.auth-footer p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.auth-footer a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Auth Message (Toast style) */
.auth-message {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    display: none;
    font-size: 0.9375rem;
    animation: authMessageSlideIn 0.3s var(--ease-out-expo);
}

@keyframes authMessageSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-message.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-left: 4px solid var(--success);
    display: block;
}

.auth-message.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.04) 100%);
    color: #B91C1C;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-left: 4px solid var(--danger);
    display: block;
}

.auth-message.info {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.03) 100%);
    color: var(--primary-dark);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-left: 4px solid var(--primary);
    display: block;
}

/* Step Indicator */
.step-indicator {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, var(--bg-gray-100) 0%, var(--bg-gray-50) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.step-badge-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-color: rgba(16, 185, 129, 0.25);
    color: var(--success);
}

/* Verified Email Display */
.verified-email-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-soft) 0%, #E8ECFF 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-xl);
    font-size: 0.9375rem;
    color: var(--text-primary);
    font-weight: 500;
}

.verified-email-display i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* Captcha Container */
.captcha-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--bg-gray-50);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.captcha-question {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-primary);
    min-width: 5ch;
}

.captcha-container input {
    width: 5rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
}

.captcha-container input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

.captcha-container input:active {
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

.captcha-refresh {
    background: transparent;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-refresh:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: rotate(180deg);
}

.captcha-refresh i {
    width: 18px;
    height: 18px;
}

/* OTP Section */
.otp-section {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    animation: otpSectionSlideIn 0.4s var(--ease-out-expo) backwards;
}

@keyframes otpSectionSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
}

.otp-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%);
    margin-bottom: var(--spacing-xl);
}

.otp-input {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5em;
    padding-left: 2.75rem !important;
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

.otp-input:focus,
.otp-input:active {
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

.otp-timer {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
    text-align: center;
}

.otp-timer.expired {
    color: var(--danger);
    font-weight: 600;
}

.otp-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.otp-actions .btn {
    width: 100%;
}

/* Auth Step Container */
.auth-step {
    animation: authStepFadeIn 0.4s var(--ease-out-expo) backwards;
}

@keyframes authStepFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashboard - Trendy 2025 Enhanced */
.dashboard-container {
    padding: var(--spacing-2xl) 0;
    min-height: 60vh;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 100% 60% at 50% -10%, rgba(99, 102, 241, 0.14), transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 40%, rgba(139, 92, 246, 0.08), transparent 50%),
        radial-gradient(ellipse 60% 45% at 0% 70%, rgba(59, 130, 246, 0.07), transparent 50%),
        var(--bg-gray-50);
}

.dashboard-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.dashboard-container .container {
    position: relative;
    z-index: 1;
}

/* User greeting - premium card */
/* Dashboard Greeting - Compact Modern Header */
.dashboard-greeting {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg) var(--spacing-xl);
    transition: box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.dashboard-greeting:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.15);
}

.greeting-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

.greeting-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

.greeting-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

.greeting-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

/* Dashboard Action Buttons - Enhanced Visibility */
.dashboard-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #FFFFFF;
    border: 2px solid #0B2578;
    border-radius: 12px;
    color: #0B2578;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-height: 44px;
    white-space: nowrap;
}

.dashboard-action-btn i {
    width: 16px;
    height: 16px;
}

.dashboard-action-btn:hover {
    background: #0B2578;
    border-color: #0B2578;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 37, 120, 0.2);
    text-decoration: none;
}

/* Cards - Glass-style panels with depth */
.subscriptions-section,
.signals-table-section,
.admin-table-section {
    background: var(--glass-bg);
    padding: var(--spacing-xl) var(--spacing-2xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--elevation-1), 0 1px 0 0 rgba(255,255,255,0.8) inset;
    border: 1px solid var(--border-light);
    margin-bottom: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
    backdrop-filter: blur(14px);
}

.subscriptions-section::before,
.signals-table-section::before,
.admin-table-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s var(--ease-out-expo);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.subscriptions-section:hover,
.signals-table-section:hover,
.admin-table-section:hover {
    box-shadow: var(--elevation-2), 0 1px 0 0 rgba(255,255,255,0.9) inset;
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateY(-1px);
}

.subscriptions-section:hover::before,
.signals-table-section:hover::before,
.admin-table-section:hover::before {
    transform: scaleX(1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: none;
    position: relative;
}

.section-header::after {
    display: none;
}

.subscriptions-section:hover .section-header::after,
.signals-table-section:hover .section-header::after,
.admin-table-section:hover .section-header::after {
    display: none;
}

.section-header h2 {
    font-size: 1.375rem;
    font-weight: 800;
    color: #0B2578;
    letter-spacing: -0.02em;
}

.section-header .btn-primary {
    box-shadow: var(--elevation-1);
    transition: transform var(--transition-fast), box-shadow var(--transition-smooth);
}

.section-header .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--elevation-2);
}

/* Fix Action Button Alignment - My Subscriptions Table */
.subscriptions-table td:last-child {
    vertical-align: middle;
}

.subscriptions-table td:last-child .d-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    min-height: 40px;
}

.subscriptions-table td:last-child .btn {
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

/* Ensure consistent button heights */
.subscriptions-table .btn-renew,
.subscriptions-table .btn-renew-disabled,
.subscriptions-table .btn-primary,
.subscriptions-table .btn-outline {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Tables - Clean modern look with subtle zebra */
.subscriptions-table,
.signals-table,
.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.subscriptions-table thead,
.signals-table thead,
.admin-table thead {
    background: #F8FAFC;
    border-bottom: 2px solid #E2E8F0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.subscriptions-table th,
.signals-table th,
.admin-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #64748B;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-display);
    white-space: nowrap;
}

.subscriptions-table td,
.signals-table td,
.admin-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.9375rem;
    vertical-align: middle;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.subscriptions-table tbody tr:nth-child(even),
.signals-table tbody tr:nth-child(even),
.admin-table tbody tr:nth-child(even) {
    background: rgba(99, 102, 241, 0.02);
}

.subscriptions-table tbody tr,
.signals-table tbody tr,
.admin-table tbody tr {
    transition: background-color var(--transition-fast);
}

.subscriptions-table tbody tr:nth-child(even),
.signals-table tbody tr:nth-child(even),
.admin-table tbody tr:nth-child(even) {
    background: #FAFBFC;
}

.subscriptions-table tbody tr:hover,
.signals-table tbody tr:hover,
.admin-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.06) 0%, rgba(99, 102, 241, 0.03) 100%) !important;
}

.subscriptions-table tbody tr:hover td:first-child,
.signals-table tbody tr:hover td:first-child,
.admin-table tbody tr:hover td:first-child {
    color: var(--text-primary);
    font-weight: 600;
}

.subscriptions-table tbody tr:last-child td,
.signals-table tbody tr:last-child td,
.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.table-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--elevation-1);
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    align-items: center;
}

.action-buttons .btn {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.action-buttons .btn:hover {
    transform: translateY(-1px);
}

.action-buttons .btn-primary {
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.action-buttons .btn-primary:hover {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

/* Badges - Pill style 2025 with subtle glow */
.badge,
.admin-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: var(--font-display);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.badge-success,
.admin-badge-success {
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.2);
}

.badge-success:hover,
.admin-badge-success:hover {
    background: rgba(16, 185, 129, 0.22);
    transform: scale(1.03);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.badge-warning,
.admin-badge-warning {
    background: rgba(245, 158, 11, 0.14);
    color: #B45309;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-warning:hover,
.admin-badge-warning:hover {
    background: rgba(245, 158, 11, 0.22);
    transform: scale(1.02);
}

.badge-danger,
.admin-badge-danger {
    background: rgba(239, 68, 68, 0.14);
    color: #B91C1C;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-danger:hover,
.admin-badge-danger:hover {
    background: rgba(239, 68, 68, 0.22);
    transform: scale(1.02);
}

.badge-secondary,
.admin-badge-secondary {
    background: rgba(100, 116, 139, 0.1);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}

/* Products Page */
.products-page {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--bg-gray-50) 0%, #F8FAFC 100%);
    position: relative;
    overflow: hidden;
}

.products-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.page-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: #0B2578;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.product-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover .product-icon {
    transform: scale(1.05);
}

.product-card .product-icon {
    transition: transform 0.25s ease;
}

.product-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: productIconFloat 3s ease-in-out infinite;
}

@keyframes productIconFloat {
    0%, 100% { transform: translateY(0); filter: brightness(1); }
    50% { transform: translateY(-5px); filter: brightness(1.2); }
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: #0B2578;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    flex-grow: 1;
}

.product-pricing {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--bg-gray-50);
    border-radius: var(--radius-md);
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    animation: priceGlow 3s ease-in-out infinite;
}

@keyframes priceGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

/* ============================================
   ADMIN PANEL - FULL WIDTH LAYOUT
   ============================================ */

.admin-layout {
    background: var(--bg-gray-50);
}

/* Override container for full-width admin layout */
.admin-layout .container {
    max-width: 100%;
    margin: 0;
    padding: 0 var(--spacing-2xl);
    width: 100%;
}

.admin-layout .admin-dashboard {
    width: 100%;
    max-width: 100%;
    padding: var(--spacing-2xl) 0;
}

.admin-layout .admin-dashboard > .container {
    width: 100%;
    max-width: 100%;
}

.admin-header {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header .container {
    max-width: 100%;
    margin: 0;
    padding: 0 var(--spacing-2xl);
}

.admin-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    width: 100%;
    gap: var(--spacing-xl);
}

.admin-nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: flex-end;
}

.admin-nav-menu li {
    margin: 0;
}

.admin-nav-menu li a {
    display: block;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.admin-brand span:first-child {
    font-size: 1.25rem;
    opacity: 0.8;
}

.admin-brand:hover {
    color: var(--primary);
}

.admin-nav-menu li a {
    color: var(--text-secondary);
}

.admin-nav-menu li a:hover {
    color: var(--text-primary);
    background: var(--bg-gray-50);
}

.admin-nav-menu li a.active {
    color: var(--primary);
    background: var(--primary-soft);
    font-weight: 600;
}

.admin-nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full) var(--radius-full) 0 0;
}

/* Admin Dashboard - Professional & Data-First */
.admin-page-header {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-light);
    width: 100%;
}

.admin-page-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0B2578;
    letter-spacing: -0.01em;
    margin-bottom: var(--spacing-xs);
}

.admin-page-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.admin-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-lg);
    margin: 0 0 var(--spacing-xl) 0;
}

/* Admin Table Section - Full Width */
.admin-table-section {
    width: 100%;
    overflow-x: auto;
    margin-top: var(--spacing-xl);
}

.admin-table-section .table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table {
    min-width: 100%;
    width: 100%;
}

/* Admin Summary Card */
.admin-summary-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    min-height: 140px;
    border-radius: var(--radius-lg);
    transition: box-shadow var(--transition-smooth), border-color var(--transition-fast);
    position: relative;
    overflow: hidden;
}

/* Accent bar - different gradient per card for variety */
.admin-summary-card:nth-child(1)::before {
    background: linear-gradient(90deg, #6366F1, #8B5CF6);
}
.admin-summary-card:nth-child(2)::before {
    background: linear-gradient(90deg, #8B5CF6, #3B82F6);
}
.admin-summary-card:nth-child(3)::before {
    background: linear-gradient(90deg, #10B981, #3B82F6);
}
.admin-summary-card:nth-child(4)::before {
    background: linear-gradient(90deg, #F59E0B, #EF4444);
}

.admin-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--transition-smooth);
    border-radius: 4px 0 0 4px;
}

.admin-summary-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.2);
}

.admin-summary-card:hover::before {
    transform: scaleY(1);
}

.admin-summary-card:hover .admin-summary-value {
    transform: scale(1.02);
}

.admin-summary-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-display);
}

.admin-summary-value {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0B2578;
    line-height: 1.2;
    transition: transform var(--transition-fast);
}

.admin-summary-card:hover .admin-summary-value {
    transform: scale(1.02);
}

.admin-summary-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: var(--spacing-sm);
    padding: 0.25rem 0.65rem;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    background: var(--bg-gray-100);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}

.admin-summary-badge::before {
    content: '↑';
    font-size: 0.75rem;
    color: var(--success);
}

.admin-btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: var(--elevation-1), 0 2px 8px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-smooth);
}

.admin-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: left 0.45s var(--ease-out-expo);
}

.admin-btn-primary:hover {
    background: var(--primary-gradient-hover);
    box-shadow: var(--elevation-2), 0 4px 16px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.admin-btn-primary:hover::before {
    left: 100%;
}

.admin-btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.4), var(--elevation-1);
}

.admin-btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--elevation-1);
    transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.admin-btn-secondary:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateY(-1px);
}

.admin-btn-secondary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* ============================================
   PUBLIC SIGNALS PAGE - MODERN TRADING DASHBOARD
   ============================================ */

/* Signals Hero Section - Match Website Theme */
.signals-hero {
    background: #FFFFFF;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #E2E8F0;
}

.signals-hero::before {
    display: none;
}

.signals-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    color: #111827;
}

.signals-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(11, 37, 120, 0.08);
    color: #0B2578;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(11, 37, 120, 0.12);
}

.signals-hero .hero-badge i {
    width: 16px;
    height: 16px;
    color: #0B2578;
}

.signals-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: #111827;
    letter-spacing: -0.02em;
}

.signals-hero .hero-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Signals Page Container */
.signals-page {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, var(--bg-gray-50) 0%, #F8FAFC 100%);
    min-height: 60vh;
}

/* Signals Table Card - Premium Design */
.signals-table-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 0;
    margin-bottom: var(--spacing-2xl);
    overflow: hidden;
    transition: box-shadow var(--transition-smooth);
}

.signals-table-card:hover {
    box-shadow: var(--shadow-lg);
}

.signals-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xl) var(--spacing-2xl);
    border-bottom: 2px solid var(--border-light);
    background: linear-gradient(135deg, var(--bg-white) 0%, #FAFBFC 100%);
}

.signals-table-header h2 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.375rem;
    font-weight: 700;
    color: #0B2578;
    margin: 0;
}

.signals-table-header h2 i {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Signals Table - Clean Modern Design Matching Screenshot */
.signals-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
}

.signals-table thead {
    background: #F9FAFB;
    position: sticky;
    top: 0;
    z-index: 10;
}

.signals-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 500;
    color: #6B7280;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #E5E7EB;
    white-space: nowrap;
}

.signals-table th i {
    color: #9CA3AF;
    font-size: 12px;
    margin-right: 6px;
}

.signals-table tbody tr {
    background: #FFFFFF;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid var(--border-light);
}

.signals-table tbody tr:hover {
    background: #F9FAFB;
}

.signals-table tbody tr:last-child {
    border-bottom: none;
}

.signals-table td {
    padding: 16px 16px;
    font-size: 14px;
    color: #374151;
    vertical-align: middle;
}

/* Symbol Column - Bold */
.signals-table td:first-child {
    font-weight: 700;
    color: #111827;
}

/* BUY/SELL Type Indicators */
.type-buy {
    color: #10B981;
    font-weight: 500;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #D1FAE5;
    padding: 2px 8px;
    border-radius: 4px;
}

.type-buy i {
    font-size: 12px;
}

.type-sell {
    color: #EF4444;
    font-weight: 500;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FEE2E2;
    padding: 2px 8px;
    border-radius: 4px;
}

.type-sell i {
    font-size: 12px;
}

/* Duration Column - Plain Text Styling */
.signals-table td:nth-child(7) {
    font-weight: 500;
    color: #374151;
    text-align: center;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 16px;
    background: transparent;
    border: none;
}

/* Status Indicators - Pill Shaped */
.status-profit {
    color: #10B981;
    font-weight: 500;
    font-size: 12px;
    background: #D1FAE5;
    padding: 4px 12px;
    border-radius: 9999px;
    display: inline-block;
}

.status-loss {
    color: #EF4444;
    font-weight: 500;
    font-size: 12px;
    background: #FEE2E2;
    padding: 4px 12px;
    border-radius: 9999px;
    display: inline-block;
}

.status-active {
    color: #0EA5E9;
    font-weight: 500;
    font-size: 12px;
    background: #E0F2FE;
    padding: 4px 12px;
    border-radius: 9999px;
    display: inline-block;
}

/* P&L Values */
.profit-value {
    color: #10B981;
    font-weight: 600;
    font-size: 14px;
}

.loss-value {
    color: #EF4444;
    font-weight: 600;
    font-size: 14px;
}

/* Product Link */
.signals-table td:last-child a {
    color: #0EA5E9;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
}

.signals-table td:last-child .subscribe-badge {
    display: inline-block;
    background: #10B981;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

/* Symbol Text */
.symbol-text {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

/* Signal Type Badges */
.signal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform var(--transition-fast);
}

.signal-badge i {
    width: 14px;
    height: 14px;
}

.signal-buy {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(34, 197, 94, 0.08) 100%);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.signal-sell {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(220, 38, 38, 0.08) 100%);
    color: #B91C1C;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.signal-badge:hover {
    transform: scale(1.05);
}

/* Price and Time Values */
.price-value {
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.time-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* Duration Badge */
.duration-badge {
    display: inline-flex;
    padding: 0.3rem 0.7rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.06) 100%);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* P&L Values */
.pnl-value {
    font-weight: 700;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
}

.pnl-profit {
    color: var(--success);
}

.pnl-loss {
    color: var(--danger);
}

.pnl-neutral {
    color: var(--text-muted);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.status-badge i {
    width: 14px;
    height: 14px;
}

.status-profit {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(34, 197, 94, 0.08) 100%);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-loss {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(220, 38, 38, 0.08) 100%);
    color: #B91C1C;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.status-active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(251, 191, 36, 0.08) 100%);
    color: #B45309;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.status-pending {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.08) 0%, rgba(148, 163, 184, 0.06) 100%);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* Product Tag */
.product-tag {
    display: inline-flex;
    padding: 0.3rem 0.7rem;
    background: var(--bg-gray-100);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Locked Signals (for non-authenticated users) */
.signal-locked {
    position: relative;
}

.signal-locked::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(3px);
    pointer-events: none;
}

.signal-locked td {
    filter: blur(4px);
    user-select: none;
}

/* ============================================
   MAXIMUM SPECIFICITY OVERRIDES - FORCE PREMIUM SECTION
   ============================================ */

/* Force CTA banner with maximum specificity */
html body.frontend .signals-cta-banner,
html body.user-layout .signals-cta-banner,
body.frontend .signals-cta-banner,
body.user-layout .signals-cta-banner,
.signals-cta-banner {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    border-radius: var(--radius-xl) !important;
    padding: 3rem 2rem !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Signals Page - Old summary card compatibility */
.summary-card {
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.summary-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.summary-card:hover::after {
    opacity: 0.05;
}

.summary-card > * {
    position: relative;
    z-index: 1;
}

.summary-card .summary-icon {
    transition: transform 0.25s ease;
}

.summary-card:hover .summary-icon {
    transform: scale(1.05);
}

.summary-card.profit {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.summary-card.profit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--success) 0%, var(--success-light) 100%);
    animation: profitBar 2s ease-in-out infinite;
}

@keyframes profitBar {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(1.1); }
}

.summary-card.loss {
    border-color: var(--danger);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.02) 100%);
}

.summary-label {
    color: var(--text-muted);
}

.summary-value {
    color: var(--text-primary);
}

.summary-card.profit .summary-value {
    color: var(--success);
    animation: profitValuePulse 2s ease-in-out infinite;
}

@keyframes profitValuePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.summary-card.loss .summary-value {
    color: var(--danger);
}

/* KPI Stats Bar - Modern Trading Dashboard */
.kpi-stats-bar {
    background: linear-gradient(135deg, var(--bg-white) 0%, #FAFBFC 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-lg) var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    flex-wrap: nowrap;
    overflow-x: auto;
    transition: box-shadow var(--transition-smooth), border-color var(--transition-fast);
    animation: kpiBarSlideIn 0.5s var(--ease-out-expo) backwards;
    position: relative;
}

.kpi-stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.1) 20%, rgba(139, 92, 246, 0.1) 80%, transparent 100%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

@keyframes kpiBarSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kpi-stats-bar:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.12);
}

.kpi-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    position: relative;
    transition: transform var(--transition-fast);
    min-width: fit-content;
}

.kpi-item:not(:last-child)::before {
    content: '';
    position: absolute;
    right: calc(-1 * var(--spacing-xl) / 2);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, transparent 0%, var(--border-light) 20%, var(--border-light) 80%, transparent 100%);
}

.kpi-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width var(--transition-smooth);
    border-radius: var(--radius-full);
}

.kpi-item:hover {
    transform: translateY(-1px);
}

.kpi-item:hover::after {
    width: 100%;
}

.kpi-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.kpi-item:hover .kpi-icon {
    transform: scale(1.12);
    color: var(--primary);
}

.kpi-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.kpi-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0B2578;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
    animation: valuePopIn 0.4s var(--ease-out-expo) backwards;
}

@keyframes valuePopIn {
    from {
        opacity: 0;
        transform: translateY(4px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.kpi-item:nth-child(1) .kpi-value { animation-delay: 0.05s; }
.kpi-item:nth-child(2) .kpi-value { animation-delay: 0.1s; }
.kpi-item:nth-child(3) .kpi-value { animation-delay: 0.15s; }
.kpi-item:nth-child(4) .kpi-value { animation-delay: 0.2s; }
.kpi-item:nth-child(5) .kpi-value { animation-delay: 0.25s; }
.kpi-item:nth-child(6) .kpi-value { animation-delay: 0.3s; }

.kpi-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* KPI Accent Variants */
.kpi-item.kpi-accent .kpi-value {
    color: var(--primary);
}

.kpi-item.kpi-accent .kpi-icon {
    color: var(--primary);
}

.kpi-item.kpi-accent::after {
    background: var(--primary);
}

.kpi-item.kpi-profit .kpi-value {
    color: var(--success);
}

.kpi-item.kpi-profit .kpi-icon {
    color: var(--success);
}

.kpi-item.kpi-profit::after {
    background: linear-gradient(90deg, var(--success), var(--success-light));
}

.kpi-item.kpi-loss .kpi-value {
    color: var(--danger);
}

.kpi-item.kpi-loss .kpi-icon {
    color: var(--danger);
}

.kpi-item.kpi-loss::after {
    background: linear-gradient(90deg, var(--danger), #F87171);
}

/* Contact Page */
.contact-page {
    padding: var(--spacing-2xl) 0;
    min-height: 60vh;
    background: linear-gradient(180deg, var(--bg-gray-50) 0%, #F8FAFC 100%);
    position: relative;
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact-page .page-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.contact-page .page-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #0B2578;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-sm);
}

.contact-page .page-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-section,
.contact-details-section {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    transition: box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.contact-form-section:hover,
.contact-details-section:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.contact-form-section .section-title,
.contact-details-section .section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0B2578;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-light);
}

.contact-details-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--border-light);
    transition: background-color var(--transition-fast);
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item:hover {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.04) 0%, transparent 100%);
    margin: 0 calc(-1 * var(--spacing-md));
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    border-radius: var(--radius-md);
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.contact-icon i {
    width: 22px;
    height: 22px;
    position: relative;
    z-index: 1;
}

.contact-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.contact-item:hover .contact-icon {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.contact-item:hover .contact-icon::before {
    opacity: 1;
}

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-info h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0B2578;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
}

.contact-info p,
.contact-info a {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast), text-decoration var(--transition-fast);
}

.contact-info a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.contact-info p + p {
    margin-top: var(--spacing-xs);
}

.contact-note {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-soft) 0%, #E8ECFF 100%);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.contact-note p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */

/* Tablet - Medium devices (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .about-content {
        gap: 3.5rem;
    }
    
    .about-hero-headline {
        font-size: 2.5rem;
    }
    
    .about-features-compact {
        gap: 0.875rem;
    }
    
    .about-cta-group {
        flex-wrap: wrap;
    }
}

/* Mobile - Small devices (max-width: 768px) */
/* Tablet - Medium devices (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-grid {
        gap: 3rem;
    }
    
    .hero-headline-modern {
        font-size: 3rem;
    }
    
    .hero-visual-container {
        height: 450px;
    }
    
    .floating-metric {
        padding: 0.875rem 1rem;
    }
}

/* Mobile - Small devices (max-width: 768px) */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 2rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content-right {
        order: -1;
    }
    
    .hero-headline-modern {
        font-size: 2.25rem;
    }
    
    .hero-subtext-minimal {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .btn-hero-primary,
    .btn-hero-ghost {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats-inline {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-visual-container {
        height: 400px;
    }
    
    .floating-metric {
        display: none;
    }
    
    .dashboard-card {
        padding: 1.25rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* About Section - Mobile */
    .about-section {
        padding: 4rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Visual on top, content below */
    .about-content-right {
        order: -1;
    }
    
    .about-content-left {
        order: 1;
    }
    
    .about-hero-headline {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .about-subtext {
        max-width: 100%;
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .about-features-compact {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .about-visual-wrapper {
        padding: 1rem;
    }
    
    /* Hide decorative gradients on mobile */
    .about-section::before,
    .about-section::after {
        display: none;
    }
    
    
    .products-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-greeting {
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .greeting-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .greeting-actions {
        width: 100%;
        flex-direction: column;
    }

    .dashboard-action-btn {
        width: 100%;
        justify-content: center;
    }

    .subscriptions-section,
    .admin-table-section {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-summary-cards {
        grid-template-columns: 1fr;
    }

    /* Admin Layout Tablet - Maintain Full Width */
    .admin-layout .container {
        padding: 0 var(--spacing-xl);
    }

    .admin-nav-menu {
        gap: var(--spacing-xs);
        flex-wrap: wrap;
    }

    .admin-nav-menu li a {
        font-size: 0.875rem;
        padding: var(--spacing-xs) var(--spacing-md);
    }

    /* Signals Page Responsive */
    .signals-hero {
        padding: 2rem 0;
    }

    .signals-hero h1 {
        font-size: 1.75rem;
    }

    .signals-table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
        padding: var(--spacing-lg);
    }

    .signals-table-header .btn {
        width: 100%;
    }

    .signals-table th,
    .signals-table td {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.875rem;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .cta-content .btn {
        width: 100%;
    }

    /* Other responsive styles */

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .contact-form-section,
    .contact-details-section {
        padding: var(--spacing-xl);
    }

    /* Subscription & Payment Flow Responsive */
    .plans-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .plan-card.plan-featured {
        transform: scale(1);
    }

    .plan-card.plan-featured:hover {
        transform: translateY(-4px);
    }

    .details-grid,
    .payment-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    /* Mobile: Sticky Payment CTA */
    .payment-page .payment-confirmation {
        position: sticky;
        bottom: 0;
        background: var(--bg-white);
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
        padding: var(--spacing-lg);
        margin: 0 calc(-1 * var(--spacing-lg));
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }

    .payment-page .payment-confirmation .form-group {
        display: none;
    }

    /* Trust Block - Tablet Layout */
    .trust-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .trust-item {
        flex: 1 1 45%;
        min-width: 200px;
    }

    .trust-divider {
        display: block;
        height: 1px;
        width: 100%;
        background: linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%);
    }

    .trust-divider:nth-of-type(2) {
        display: none;
    }

    /* KPI Stats Bar - Tablet Wrap */
    .kpi-stats-bar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .kpi-item {
        flex: 1 1 30%;
        min-width: 140px;
        justify-content: center;
    }

    .kpi-item:not(:last-child)::before {
        display: none;
    }
}

/* Additional Mobile Styles */
@media (max-width: 520px) {
    .plan-badge {
        top: -10px;
        right: var(--spacing-md);
        font-size: 0.6875rem;
        padding: 0.35rem 0.75rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    .payment-method {
        padding: var(--spacing-md);
    }

    .qr-code {
        min-width: 160px;
        min-height: 160px;
        padding: var(--spacing-lg);
    }

    /* Trust Block Responsive */
    .trust-container {
        flex-direction: column;
        padding: var(--spacing-xl) var(--spacing-lg);
        gap: var(--spacing-lg);
    }

    .trust-divider {
        display: none;
    }

    .trust-item {
        width: 100%;
        padding: var(--spacing-md) 0;
        border-bottom: 1px solid var(--border-light);
    }

    .trust-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* KPI Stats Bar Responsive */
    .kpi-stats-bar {
        padding: var(--spacing-md) var(--spacing-lg);
        gap: var(--spacing-md);
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(99, 102, 241, 0.2) transparent;
    }

    .kpi-stats-bar::-webkit-scrollbar {
        height: 4px;
    }

    .kpi-stats-bar::-webkit-scrollbar-track {
        background: transparent;
    }

    .kpi-stats-bar::-webkit-scrollbar-thumb {
        background: rgba(99, 102, 241, 0.2);
        border-radius: var(--radius-full);
    }

    .kpi-item {
        flex-shrink: 0;
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .kpi-item:not(:last-child)::before {
        right: calc(-1 * var(--spacing-md) / 2);
        height: 24px;
    }

    .kpi-value {
        font-size: 1.25rem;
    }

    .kpi-label {
        font-size: 0.625rem;
    }

    /* Signals Page Mobile */
    .signals-hero {
        padding: 2rem 0;
    }

    .signals-hero h1 {
        font-size: 1.5rem;
    }

    .signals-hero .hero-subtitle {
        font-size: 0.9375rem;
    }

    .signals-table-card {
        border-radius: var(--radius-lg);
    }

    .signals-table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }

    .signals-table-header h2 {
        font-size: 1.125rem;
    }

    .signals-table-header .btn {
        width: 100%;
    }

    .signals-table th,
    .signals-table td {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.8125rem;
    }

    .signal-badge,
    .status-badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.625rem;
    }

    .signal-badge i,
    .status-badge i {
        display: none;
    }

    .duration-badge {
        font-size: 0.625rem;
        padding: 0.25rem 0.5rem;
    }

    .pnl-value {
        font-size: 0.875rem;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .cta-text h3 {
        font-size: 1rem;
    }

    .cta-content .btn {
        width: 100%;
    }

    /* Dashboard Greeting Mobile */
    .dashboard-greeting {
        padding: var(--spacing-md);
    }

    .greeting-content {
        gap: var(--spacing-md);
    }

    .greeting-text h1 {
        font-size: 1.25rem;
    }

    .greeting-subtitle {
        font-size: 0.8125rem;
    }

    .dashboard-action-btn span {
        display: none;
    }

    .dashboard-action-btn {
        padding: 0.5rem;
        width: 44px;
        height: 44px;
        justify-content: center;
    }

    .greeting-actions {
        flex-direction: row;
        width: auto;
        gap: var(--spacing-xs);
    }

    /* Auth Pages Mobile */
    .auth-container {
        max-width: 100%;
    }

    .auth-card {
        padding: var(--spacing-xl);
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }

    .captcha-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Admin Layout Mobile */
    .admin-layout .container {
        padding: 0 var(--spacing-md);
    }

    .admin-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .admin-nav-menu {
        width: 100%;
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .admin-nav-menu li {
        width: 100%;
    }

    .admin-nav-menu li a {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.875rem;
        display: block;
    }

    .flash-messages {
        left: var(--spacing-sm);
        right: var(--spacing-sm);
        top: var(--spacing-sm);
        max-width: none;
    }

    .alert {
        border-radius: var(--radius-md);
    }

    .alert {
        font-size: 0.875rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Reveal motion for cards and stats */
.hero-stats .stat-card,
.services-grid .service-card,
.products-grid .product-card,
.admin-summary-cards .admin-summary-card,
.plan-card {
    animation: cardReveal 0.6s var(--ease-out-expo) both;
}

.hero-stats .stat-card:nth-child(2),
.services-grid .service-card:nth-child(2),
.products-grid .product-card:nth-child(2),
.admin-summary-cards .admin-summary-card:nth-child(2) {
    animation-delay: 0.08s;
}

.hero-stats .stat-card:nth-child(3),
.services-grid .service-card:nth-child(3),
.products-grid .product-card:nth-child(3),
.admin-summary-cards .admin-summary-card:nth-child(3) {
    animation-delay: 0.16s;
}

.services-grid .service-card:nth-child(4),
.products-grid .product-card:nth-child(4),
.admin-summary-cards .admin-summary-card:nth-child(4) {
    animation-delay: 0.24s;
}

/* Utility Classes */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* CRITICAL FIX: Ensure admin dashboard is always interactive */
body.admin-layout {
    pointer-events: auto !important;
    overflow: auto !important;
    opacity: 1 !important;
    position: relative !important;
    height: auto !important;
}

body.admin-layout main {
    pointer-events: auto !important;
    opacity: 1 !important;
    position: relative !important;
}

/* Admin fade-in-on-scroll: immediate reveal with subtle animation */
body.admin-layout .fade-in-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    animation: adminFadeIn 0.3s ease-out backwards !important;
}

@keyframes adminFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure all admin elements are always visible and scrollable */
body.admin-layout .admin-page-header,
body.admin-layout .admin-summary-card,
body.admin-layout .admin-table-section,
body.admin-layout .admin-summary-cards {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    position: relative !important;
}

/* Override any animation delays on admin pages */
body.admin-layout * {
    animation-delay: 0s !important;
}

/* Ensure admin container and content are scrollable */
body.admin-layout .container {
    position: relative !important;
    height: auto !important;
    max-height: none !important;
}

body.admin-layout .admin-dashboard {
    position: relative !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
}

body.admin-layout main {
    flex: 1;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Dashboard entrance - staggered reveal */
.dashboard-container .dashboard-greeting {
    animation: dashboardCardIn 0.5s var(--ease-out-expo) both;
}

.dashboard-container .subscriptions-section,
.dashboard-container .signals-table-section {
    animation: dashboardCardIn 0.6s var(--ease-out-expo) both;
}

.dashboard-container .subscriptions-section { animation-delay: 0.08s; }
.dashboard-container .signals-table-section { animation-delay: 0.12s; }

@keyframes dashboardCardIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Admin dashboard entrance */
.admin-dashboard .admin-page-header {
    animation: dashboardCardIn 0.5s var(--ease-out-expo) both;
}

.admin-dashboard .admin-summary-card {
    animation: dashboardCardIn 0.55s var(--ease-out-expo) both;
}

.admin-dashboard .admin-summary-card:nth-child(1) { animation-delay: 0.06s; }
.admin-dashboard .admin-summary-card:nth-child(2) { animation-delay: 0.12s; }
.admin-dashboard .admin-summary-card:nth-child(3) { animation-delay: 0.18s; }
.admin-dashboard .admin-summary-card:nth-child(4) { animation-delay: 0.24s; }

.admin-dashboard .admin-table-section {
    animation: dashboardCardIn 0.55s var(--ease-out-expo) both;
}

.admin-dashboard .admin-table-section:nth-of-type(1) { animation-delay: 0.1s; }
.admin-dashboard .admin-table-section:nth-of-type(2) { animation-delay: 0.18s; }
.admin-dashboard .admin-table-section:nth-of-type(3) { animation-delay: 0.26s; }

/* Empty States - Inviting CTA with icon area */
.empty-state {
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-xl);
    color: var(--text-muted);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.04) 0%, rgba(139, 92, 246, 0.02) 50%, transparent 100%);
    border-radius: var(--radius-xl);
    border: 2px dashed rgba(99, 102, 241, 0.2);
    margin: var(--spacing-md) 0;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-smooth), transform var(--transition-fast);
}

.empty-state::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.2), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.empty-state:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: var(--elevation-1);
}

.empty-state:hover::before {
    opacity: 1;
}

.empty-state p {
    font-size: 1.0625rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-secondary);
    font-weight: 500;
}

.empty-state .btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--elevation-1);
    transition: transform var(--transition-bounce), box-shadow var(--transition-smooth);
}

.empty-state .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--elevation-2);
}

.empty-state i[data-lucide] {
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-muted);
    opacity: 0.5;
}

/* Admin Login */
.admin-login-page {
    background: linear-gradient(135deg, var(--primary-soft) 0%, #E0E7FF 100%);
    position: relative;
    overflow: hidden;
}

.admin-login-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: adminLoginShift 20s ease-in-out infinite;
}

@keyframes adminLoginShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.admin-login-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
}

.admin-icon {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: adminIconPulse 3s ease-in-out infinite;
}

@keyframes adminIconPulse {
    0%, 100% { filter: brightness(1); transform: scale(1); }
    50% { filter: brightness(1.3); transform: scale(1.05); }
}

.label-icon {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Math Captcha - Admin Login Security */
.math-captcha-group {
    margin-top: var(--spacing-lg);
}

.math-captcha-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.math-question {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(99, 102, 241, 0.25);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    margin-bottom: var(--spacing-sm);
}

.math-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: mathShimmer 3s infinite;
    z-index: 0;
}

@keyframes mathShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.math-question:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.16);
    transform: translateY(-1px);
}

.math-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.math-text strong {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 var(--spacing-xs);
    font-family: var(--font-display);
}

.math-input {
    width: 100%;
    padding: 0.75rem var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-fast);
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-display);
}

.math-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), var(--elevation-1);
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

.math-input:active {
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

.math-input:active {
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

.math-input::placeholder {
    color: var(--text-muted);
    font-weight: 500;
}

.form-help-text {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Performance Summary */
/* Old performance-summary styles (replaced by kpi-stats-bar) */

/* Filter Section - Modern Pills */
.filter-section {
    margin: var(--spacing-xl) 0 var(--spacing-lg);
}

.signals-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.signals-filter-label {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.signals-filter-label .filter-icon i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.signals-filter-chips {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
}

.signals-filter-chips::-webkit-scrollbar {
    height: 4px;
}

.signals-filter-chips::-webkit-scrollbar-track {
    background: transparent;
}

.signals-filter-chips::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.6);
    border-radius: 999px;
}

.filter-chip {
    border: none;
    outline: none;
    background: var(--bg-gray-50);
    color: var(--text-secondary);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.8125rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease-out;
}

.filter-chip .chip-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748B;
}

.filter-chip.active {
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 50%, #22C55E 100%);
    color: #FFFFFF;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.25);
    transform: translateY(-1px);
}

.filter-chip.active .chip-count {
    color: #E5E7EB;
}

.filter-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

@media (max-width: 768px) {
    .signals-filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Payment Page */
/* Payment Page - Premium Checkout Design */
.payment-page {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, var(--bg-gray-50) 0%, #F8FAFC 100%);
    min-height: 60vh;
}

.payment-content {
    max-width: 1000px;
    margin: 0 auto;
}

.payment-page .page-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.payment-page .page-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #0B2578;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-sm);
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.payment-section {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-xl);
    transition: box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.payment-section:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.payment-section .section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0B2578;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.payment-section .section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

/* Payment Method Cards - Selectable Design */
.payment-method {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.payment-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.payment-method:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: var(--shadow);
}

.payment-method.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.03) 100%);
    box-shadow: var(--shadow-md), 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.payment-method.active::before {
    opacity: 1;
}

.payment-method.active::after {
    content: '✓';
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 28px;
    height: 28px;
    background: var(--primary-gradient);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.method-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.method-header input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.method-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    flex: 1;
}

.method-content {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-light);
}

/* QR Code Container */
.qr-code-placeholder {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.qr-code {
    background: var(--bg-gray-50);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
    min-width: 200px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.qr-code p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.qr-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Bank Details */
.bank-details {
    background: linear-gradient(135deg, var(--bg-gray-50) 0%, #F8FAFC 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.bank-details p {
    margin: var(--spacing-xs) 0;
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.bank-details p:first-child {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

/* Payment Confirmation Section */
.payment-confirmation {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.payment-confirmation .form-group {
    margin-bottom: var(--spacing-lg);
}

.payment-confirmation textarea {
    resize: vertical;
    min-height: 100px;
}

/* Help Section */
.help-section {
    background: linear-gradient(135deg, var(--primary-soft) 0%, #E8ECFF 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
}

.help-section p {
    margin: var(--spacing-xs) 0;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.help-section p:first-child {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

/* Form Help Text */
.form-help {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Form Labels with Icons */
.form-group label {
    display: inline-flex;
    align-items: center;
}

.form-group label i {
    flex-shrink: 0;
}

/* Button Secondary (Ghost Style) */
.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background-color: var(--bg-gray-100);
    border-color: var(--border-dark);
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Inline Icons in Buttons */
.btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Global Inline Icon Utility */
.inline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

/* Payment Method Content Animation */
.method-content {
    animation: methodSlideIn 0.3s var(--ease-out-expo);
}

@keyframes methodSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 1000px;
    }
}

/* Page Entrance Animations */
.details-section,
.payment-section,
.confirmation-section,
.payment-confirmation {
    animation: cardSlideUp 0.5s var(--ease-out-expo) backwards;
}

.details-grid .details-section:nth-child(1),
.payment-grid .payment-section:nth-child(1) {
    animation-delay: 0.05s;
}

.details-grid .details-section:nth-child(2),
.payment-grid .payment-section:nth-child(2) {
    animation-delay: 0.1s;
}

.confirmation-section,
.payment-confirmation {
    animation-delay: 0.15s;
}

@keyframes cardSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure all text is readable */
.profit-value {
    color: var(--success);
}

.loss-value {
    color: var(--danger);
}

.signal-type-buy {
    background: linear-gradient(135deg, var(--primary-soft) 0%, #E0E7FF 100%);
    color: #4338CA;
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.signal-type-buy:hover {
    background: var(--primary-gradient);
    color: var(--text-white);
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}

.signal-type-sell {
    background: #FEE2E2;
    color: #991B1B;
}

/* Visual Badges */
.visual-badge-top,
.visual-badge-bottom {
    background: var(--bg-white);
    color: var(--text-primary);
    border-color: var(--border-color);
    box-shadow: var(--shadow);
}

.visual-label {
    color: var(--text-muted);
}

/* ============================================
   SUBSCRIPTION & PAYMENT FLOW - PREMIUM REDESIGN
   ============================================ */

/* Product Detail Page */
.product-detail-page {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, var(--bg-gray-50) 0%, #F8FAFC 100%);
    min-height: 60vh;
}

.product-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-lg);
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--primary);
}

.product-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #0B2578;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
}

.product-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing Plans Container */
.pricing-plans {
    max-width: 900px;
    margin: 0 auto var(--spacing-2xl);
}

.pricing-plans .section-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0B2578;
    margin-bottom: var(--spacing-2xl);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    align-items: stretch;
}

/* Plan Cards - Premium Design */
.plan-card {
    background: var(--bg-white);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: visible;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.3);
}

.plan-card.plan-featured {
    border: 2px solid var(--primary);
    transform: scale(1.03);
    box-shadow: var(--shadow-xl), 0 0 0 4px rgba(99, 102, 241, 0.08);
}

.plan-card.plan-featured:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: var(--shadow-xl), 0 0 0 6px rgba(99, 102, 241, 0.1);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: var(--spacing-lg);
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.plan-header {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-light);
}

.plan-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0B2578;
    margin: 0;
}

.plan-price {
    margin-bottom: var(--spacing-xl);
    text-align: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-gray-50) 0%, #F8FAFC 100%);
    border-radius: var(--radius-lg);
}

.price-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: var(--spacing-xs);
}

.price-duration {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-features {
    flex: 1;
    margin-bottom: var(--spacing-xl);
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.plan-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--success) 0%, #34D399 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M10 3L4.5 8.5L2 6' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.plan-card .btn {
    margin-top: auto;
    width: 100%;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
}

/* Subscription Confirmation Page */
.subscription-confirm-page {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, var(--bg-gray-50) 0%, #F8FAFC 100%);
    min-height: 60vh;
}

.confirm-content {
    max-width: 1000px;
    margin: 0 auto;
}

.subscription-confirm-page .page-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.subscription-confirm-page .page-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #0B2578;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-sm);
}

.subscription-confirm-page .page-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

/* Details Section - Premium Cards */
.details-section {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-xl);
    transition: box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.details-section:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.details-section .section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0B2578;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-light);
}

.details-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-light);
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-item.highlight {
    background: linear-gradient(135deg, var(--primary-soft) 0%, #E8ECFF 100%);
    margin: var(--spacing-md) calc(-1 * var(--spacing-md)) 0;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.detail-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    margin-right: var(--spacing-md);
}

.detail-value {
    font-size: 0.9375rem;
    color: var(--text-primary);
    text-align: right;
    font-weight: 500;
    word-break: break-word;
}

.detail-value.amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
}

/* Confirmation Section */
.confirmation-section {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.terms-checkbox {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-light);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: 0.9375rem;
    color: var(--text-primary);
    cursor: pointer;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary);
    border-radius: var(--radius-sm);
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.checkbox-label a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.payment-notice {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.04) 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-left: 4px solid var(--warning);
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.payment-notice p {
    color: #B45309;
    font-size: 0.9375rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.form-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
    flex-wrap: wrap;
}

.form-actions .btn {
    min-width: 140px;
}

/* Confirmation Section */
.confirmation-section {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.checkbox-label {
    color: var(--text-primary);
}

.checkbox-label a {
    color: var(--primary);
}

.help-section {
    background: var(--bg-gray-50);
    border: 1px solid var(--border-color);
}

.help-section p {
    color: var(--text-primary);
}

/* Form Textarea (contact + payment) */
.contact-form textarea,
.payment-confirmation textarea {
    background-color: var(--bg-white);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.contact-form textarea:focus,
.payment-confirmation textarea:focus {
    border-color: var(--primary);
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

.contact-form textarea:active,
.payment-confirmation textarea:active {
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

.contact-form textarea:active,
.payment-confirmation textarea:active {
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

.contact-form textarea:active,
.payment-confirmation textarea:active {
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

.contact-form textarea,
.payment-confirmation textarea {
    background-color: var(--bg-white) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Admin table section header */
.admin-table-header {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-light);
}

.admin-table-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0B2578;
    letter-spacing: -0.02em;
    font-family: var(--font-display);
}

.admin-empty-state {
    padding: var(--spacing-2xl);
    text-align: center;
    color: var(--text-muted);
}

.admin-empty-state p {
    font-size: 0.9375rem;
    margin: 0;
    color: var(--text-secondary);
}

/* Admin User Info */
.admin-username {
    color: var(--text-primary);
}

/* Info Items */
/* Trust & Assurance Block - Premium SaaS Style */
.trust-block {
    max-width: 900px;
    margin: var(--spacing-2xl) auto 0;
    padding: 0 var(--spacing-lg);
}

.trust-container {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-2xl) var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    transition: box-shadow var(--transition-smooth), border-color var(--transition-fast);
    animation: trustBlockFadeIn 0.6s var(--ease-out-expo) backwards 0.2s;
}

@keyframes trustBlockFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trust-container:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.15);
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    flex: 1;
}

.trust-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.06) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-smooth), background var(--transition-fast);
}

.trust-icon i {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.trust-item:hover .trust-icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.trust-content {
    flex: 1;
    min-width: 0;
}

.trust-content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0B2578;
    margin: 0 0 var(--spacing-xs) 0;
    line-height: 1.4;
}

.trust-content p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.trust-divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%);
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    *:not(html):not(body) {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html, body {
        scroll-behavior: auto !important;
    }
}

@media (max-width: 520px) {
    /* Other mobile styles */
}

/* Two-Tone Heading System - Clean Professional Implementation */
.heading-primary {
    color: #0B2578;
}

.heading-accent {
    color: #1A9464;
}

/* ============================================
   HIGH SPECIFICITY OVERRIDES - PUBLIC DASHBOARD
   ============================================ */

/* Force signals hero to use white background */
body.frontend .signals-hero,
body.user-layout .signals-hero,
.signals-hero {
    background: #FFFFFF !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

/* Force hero text colors */
body.frontend .hero-gradient-text,
body.user-layout .hero-gradient-text,
.signals-hero .hero-gradient-text,
.signals-hero h1 {
    color: #111827 !important;
    background: none !important;
    background-image: none !important;
    -webkit-text-fill-color: #111827 !important;
}

/* Force hero badge colors */
.signals-hero .hero-badge {
    background: rgba(11, 37, 120, 0.08) !important;
    color: #0B2578 !important;
    border: 1px solid rgba(11, 37, 120, 0.12) !important;
}

/* Force hero subtitle color */
.signals-hero .hero-subtitle {
    color: #6B7280 !important;
}

/* Force CTA banner to white background */
.signals-cta-banner {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

/* Force brand button to green */
body.frontend .btn-brand {
    background: #16A34A !important;
}

body.frontend .btn-brand:hover {
    background: #15803D !important;
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.3) !important;
}

/* Premium Unlock Section Elements */
.cta-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    color: #111827;
}

.cta-premium-badge i {
    width: 20px;
    height: 20px;
    color: #0B2578;
}

.cta-premium-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0B2578;
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.cta-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.cta-feature:hover {
    background: rgba(22, 163, 74, 0.04);
    border-color: rgba(22, 163, 74, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cta-feature i {
    width: 16px;
    height: 16px;
    color: #0B2578;
}

.cta-feature span {
    font-size: 0.875rem;
    color: #111827;
    font-weight: 500;
}

.cta-trial-info {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.trial-days {
    font-size: 2.5rem;
    font-weight: 700;
    color: #16A34A;
    margin-bottom: 0.5rem;
}

.trial-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1.5rem;
}

.no-credit-required {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #6B7280;
}

/* ============================================
   MAXIMUM SPECIFICITY OVERRIDES - FORCE PREMIUM SECTION
   ============================================ */

/* Force CTA banner with maximum specificity */
html body.frontend .signals-cta-banner,
html body.user-layout .signals-cta-banner,
body.frontend .signals-cta-banner,
body.user-layout .signals-cta-banner,
.signals-cta-banner {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08) !important;
    border-radius: var(--radius-xl) !important;
    padding: 2.5rem 2rem !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Force CTA content with proper alignment */
html body.frontend .cta-content,
html body.user-layout .cta-content,
body.frontend .cta-content,
body.user-layout .cta-content,
.cta-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 3rem !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Left content block - proper vertical centering */
html body.frontend .cta-content > div:first-child,
html body.user-layout .cta-content > div:first-child,
body.frontend .cta-content > div:first-child,
body.user-layout .cta-content > div:first-child,
.cta-content > div:first-child {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Right pricing card - proper vertical centering */
html body.frontend .cta-content > div:last-child,
html body.user-layout .cta-content > div:last-child,
body.frontend .cta-content > div:last-child,
body.user-layout .cta-content > div:last-child,
.cta-content > div:last-child {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Premium badge - content-based width and proper alignment */
html body.frontend .cta-premium-badge,
html body.user-layout .cta-premium-badge,
body.frontend .cta-premium-badge,
body.user-layout .cta-premium-badge,
.cta-premium-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 2rem !important;
    padding: 0.375rem 0.875rem !important;
    margin-bottom: 1rem !important;
    color: #111827 !important;
    width: fit-content !important;
    max-width: none !important;
    align-self: flex-start !important;
}

html body.frontend .cta-premium-badge i,
html body.user-layout .cta-premium-badge i,
body.frontend .cta-premium-badge i,
body.user-layout .cta-premium-badge i,
.cta-premium-badge i {
    width: 20px !important;
    height: 20px !important;
    color: #0B2578 !important;
}

html body.frontend .cta-premium-badge span,
html body.user-layout .cta-premium-badge span,
body.frontend .cta-premium-badge span,
body.user-layout .cta-premium-badge span,
.cta-premium-badge span {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #0B2578 !important;
}

/* Main heading - improved visual hierarchy */
html body.frontend .cta-content h3,
html body.user-layout .cta-content h3,
body.frontend .cta-content h3,
body.user-layout .cta-content h3,
.cta-content h3 {
    font-size: 2.25rem !important;
    font-weight: 800 !important;
    margin: 0 0 0.75rem 0 !important;
    color: #111827 !important;
    line-height: 1.2 !important;
    text-align: left !important;
}

/* Description - proper spacing */
html body.frontend .cta-content p,
html body.user-layout .cta-content p,
body.frontend .cta-content p,
body.user-layout .cta-content p,
.cta-content p {
    font-size: 1.125rem !important;
    margin: 0 0 1.5rem 0 !important;
    color: #6B7280 !important;
    line-height: 1.6 !important;
    max-width: 500px !important;
}

/* Features - consistent spacing */
html body.frontend .cta-features,
html body.user-layout .cta-features,
body.frontend .cta-features,
body.user-layout .cta-features,
.cta-features {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
    margin-bottom: 0 !important;
}

html body.frontend .cta-feature,
html body.user-layout .cta-feature,
body.frontend .cta-feature,
body.user-layout .cta-feature,
.cta-feature {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease !important;
}

html body.frontend .cta-feature:hover,
html body.user-layout .cta-feature:hover,
body.frontend .cta-feature:hover,
body.user-layout .cta-feature:hover,
.cta-feature:hover {
    background: rgba(22, 163, 74, 0.04) !important;
    border-color: rgba(22, 163, 74, 0.1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

html body.frontend .cta-feature i,
html body.user-layout .cta-feature i,
body.frontend .cta-feature i,
body.user-layout .cta-feature i,
.cta-feature i {
    width: 16px !important;
    height: 16px !important;
    color: #0B2578 !important;
}

html body.frontend .cta-feature span,
html body.user-layout .cta-feature span,
body.frontend .cta-feature span,
body.user-layout .cta-feature span,
.cta-feature span {
    font-size: 0.875rem !important;
    color: #111827 !important;
    font-weight: 500 !important;
}

/* Trial info card - balanced padding */
html body.frontend .cta-trial-info,
html body.user-layout .cta-trial-info,
body.frontend .cta-trial-info,
body.user-layout .cta-trial-info,
.cta-trial-info {
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 1rem !important;
    padding: 2rem 2.5rem !important;
    text-align: center !important;
    margin-bottom: 1.5rem !important;
}

html body.frontend .trial-days,
html body.user-layout .trial-days,
body.frontend .trial-days,
body.user-layout .trial-days,
.trial-days {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #16A34A !important;
    margin-bottom: 0.5rem !important;
    line-height: 1 !important;
}

html body.frontend .trial-label,
html body.user-layout .trial-label,
body.frontend .trial-label,
body.user-layout .trial-label,
.trial-label {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
}

/* CTA button - proper width and spacing */
html body.frontend .btn-brand,
html body.user-layout .btn-brand,
body.frontend .btn-brand,
body.user-layout .btn-brand,
.btn-brand {
    background: #16A34A !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 0.75rem !important;
    padding: 1rem 2.5rem !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    min-width: 200px !important;
    justify-content: center !important;
    margin-bottom: 1rem !important;
}

html body.frontend .btn-brand:hover,
html body.user-layout .btn-brand:hover,
body.frontend .btn-brand:hover,
body.user-layout .btn-brand:hover,
.btn-brand:hover {
    background: #15803D !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.35) !important;
}

/* No credit text - closer to button */
html body.frontend .no-credit-required,
html body.user-layout .no-credit-required,
body.frontend .no-credit-required,
body.user-layout .no-credit-required,
.no-credit-required {
    font-size: 0.875rem !important;
    color: #6B7280 !important;
    margin: 0 !important;
    text-align: center !important;
}

/* Responsive design */
@media (max-width: 768px) {
    html body.frontend .cta-content,
    html body.user-layout .cta-content,
    body.frontend .cta-content,
    body.user-layout .cta-content,
    .cta-content {
        flex-direction: column !important;
        gap: 2rem !important;
        text-align: center !important;
    }
    
    html body.frontend .cta-content h3,
    html body.user-layout .cta-content h3,
    body.frontend .cta-content h3,
    body.user-layout .cta-content h3,
    .cta-content h3 {
        font-size: 1.875rem !important;
        text-align: center !important;
    }
    
    html body.frontend .cta-content p,
    html body.user-layout .cta-content p,
    body.frontend .cta-content p,
    body.user-layout .cta-content p,
    .cta-content p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    html body.frontend .cta-features,
    html body.user-layout .cta-features,
    body.frontend .cta-features,
    body.user-layout .cta-features,
    .cta-features {
        justify-content: center !important;
    }
}

/* Final Global Override - Ensure Testimonials Color Scheme Everywhere */
h1, h2, h3, h4, h5, h6,
.hero-gradient-text,
.section-title,
.testimonials-title,
.about-hero-headline,
.page-header h1,
.section-header h2,
.product-header h1,
.plan-header h3,
.contact-form-section h2,
.contact-details-section h2 {
    color: #0B2578 !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #0B2578 !important;
}

.blue-half {
    color: #0B2578 !important;
    -webkit-text-fill-color: #0B2578 !important;
}

.green-half, .title-accent {
    color: #1A9464 !important;
    -webkit-text-fill-color: #1A9464 !important;
}

body.user-layout .heading-primary,
body.user-layout .page-header h1 .heading-primary,
body.user-layout .contact-form-section h2 .heading-primary,
body.user-layout .contact-details-section h2 .heading-primary,
body.user-layout .section-title .heading-primary,
body.user-layout .hero-gradient-text .heading-primary {
    color: #0B2578 !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #0B2578 !important;
}

body.user-layout .heading-accent,
body.user-layout .page-header h1 .heading-accent,
body.user-layout .contact-form-section h2 .heading-accent,
body.user-layout .contact-details-section h2 .heading-accent,
body.user-layout .section-title .heading-accent,
body.user-layout .hero-gradient-text .heading-accent {
    color: #1A9464 !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #1A9464 !important;
}

/* Remove conflicting white colors from headings */
body.user-layout .signals-hero h1,
body.user-layout .page-header h1,
body.user-layout .section-header h2,
body.user-layout .hero-gradient-text {
    color: #0B2578 !important;
    background: none !important;
    -webkit-text-fill-color: #0B2578 !important;
}

/* ULTRA HIGH SPECIFICITY OVERRIDE - Force Blue/Green Colors */
body.user-layout h1,
body.user-layout h2,
body.user-layout h3,
body.user-layout h4,
body.user-layout h5,
body.user-layout h6,
body.user-layout .hero-gradient-text,
body.user-layout .section-title,
body.user-layout .testimonials-title,
body.user-layout .about-hero-headline,
body.user-layout .page-header h1,
body.user-layout .section-header h2,
body.user-layout .product-header h1,
body.user-layout .plan-header h3,
body.user-layout .contact-form-section h2,
body.user-layout .contact-details-section h2,
body.user-layout .blue-half,
body.user-layout .green-half {
    color: #0B2578 !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #0B2578 !important;
}

body.user-layout .blue-half,
body.user-layout .hero-gradient-text .blue-half,
body.user-layout .section-title .blue-half {
    color: #0B2578 !important;
    -webkit-text-fill-color: #0B2578 !important;
}

body.user-layout .green-half,
body.user-layout .title-accent,
body.user-layout .hero-gradient-text .green-half,
body.user-layout .section-title .green-half {
    color: #1A9464 !important;
    -webkit-text-fill-color: #1A9464 !important;
}
