:root {
    /* Modern Dark Tech Theme */
    --primary: #10b981;
    --primary-glow: rgba(16, 185, 129, 0.5);
    --secondary: #3b82f6;
    --dark: #ffffff; /* Text is now light */
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --light: #0f172a; /* Background is now dark */
    --gray: #94a3b8;
    --white: #0f172a;
    --text-main: #f1f5f9;
    --gradient: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    --glass: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* ============================================
   CUSTOM SCROLLBAR - Dark Mode
   ============================================ */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    border-radius: 10px;
    border: 2px solid #0f172a;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #059669 0%, #047857 100%);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #10b981 #0f172a;
}

/* ============================================
   CUSTOM SCROLLBAR - Light Mode
   ============================================ */
[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f8fafc;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    border: 2px solid #f8fafc;
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

[data-theme="light"] * {
    scrollbar-color: #10b981 #f8fafc;
}

[data-theme="light"] {
    --primary: #10b981;
    --primary-glow: rgba(16, 185, 129, 0.2);
    --secondary: #3b82f6;
    --dark: #1e293b;
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --light: #f1f5f9;
    --gray: #64748b;
    --white: #ffffff;
    --text-main: #334155;
    --glass: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 10px;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(16,185,129,0.3);
}

.theme-toggle i {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle:active i {
    transform: rotate(360deg) scale(0.8);
}

.theme-toggle:hover i {
    transform: rotate(30deg) scale(1.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

a {
    text-decoration: none !important;
    color: inherit;
    transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08), transparent 25%);
}

/* Scroll Animations */
.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* Navbar Active State */
.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    padding: 15px 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.nav-links a.active {
    color: #10b981;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* Testimonials Carousel */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    pointer-events: all;
    position: relative;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.client-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--primary);
    padding: 3px;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .logo {
    color: #1e293b;
    text-shadow: none;
}

.logo i {
    color: var(--primary);
    font-size: 28px;
    filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.5));
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: #94a3b8;
    position: relative;
    transition: color 0.3s ease;
}

[data-theme="light"] .nav-link {
    color: #64748b;
}

.nav-link:hover {
    color: var(--text-main);
}

[data-theme="light"] .nav-link:hover {
    color: #1e293b;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mobile-buttons {
    display: none;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: transparent;
    position: relative;
    overflow: hidden;
    overflow-x: clip;
}

/* Animated Background Shapes */
.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.4;
    animation: floatShape 10s infinite alternate;
}

.shape-1 {
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
}

.shape-2 {
    bottom: 0%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes floatShape {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: start;
    max-width: 100%;
}

/* Hero H1 lines — replacement for <br>; keeps screen-reader flow clean */
.hero-title-line { display: block; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 41, 59, 0.6);
    color: #10b981;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
    backdrop-filter: blur(5px);
}

[data-theme="light"] .hero-badge {
    background: rgba(240, 253, 244, 0.8);
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
    letter-spacing: -1px;
}

[data-theme="light"] .hero-title {
    color: #1e293b;
}

.text-gradient {
    /* Fallback: if background-clip:text is unsupported, text still reads in brand color */
    color: #10b981;
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.3));
}

/* If background-clip:text is NOT supported, keep the solid fallback visible. */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .text-gradient {
        -webkit-text-fill-color: currentColor;
        background: none;
    }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    0% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
    100% { box-shadow: 0 0 30px rgba(16, 185, 129, 0.6); }
}

.trust-badges {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

.trust-badges i {
    color: var(--primary);
    margin-inline-end: 6px;
}

/* Hero Visual & Dashboard Mockup */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.dashboard-mockup {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 
        0 20px 50px -10px rgba(0, 0, 0, 0.5), 
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 0 1px rgba(0,0,0,0.2);
    overflow: hidden;
    transform: rotateY(-3deg) rotateX(3deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    z-index: 2;
    contain: layout paint;
}

[data-theme="light"] .dashboard-mockup {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 20px 50px -10px rgba(0, 0, 0, 0.15), 
        0 0 0 1px rgba(0, 0, 0, 0.1) inset;
}

.hero-visual:hover .dashboard-mockup,
.hero-visual:focus-within .dashboard-mockup {
    transform: rotateY(0) rotateX(0);
    box-shadow: 
        0 30px 60px -12px rgba(0, 0, 0, 0.6), 
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 0 0 1px rgba(0,0,0,0.2);
}

/* RTL: mirror the 3D tilt so the perspective matches reading direction */
[dir="rtl"] .dashboard-mockup {
    transform: rotateY(3deg) rotateX(3deg);
}

.mockup-header {
    height: 60px;
    background: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 20px;
}

[data-theme="light"] .mockup-header {
    background: rgba(248, 250, 252, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #475569;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}

.mockup-dots span:nth-child(1) { background: #ef4444; box-shadow: 0 0 10px rgba(239, 68, 68, 0.4); }
.mockup-dots span:nth-child(2) { background: #f59e0b; box-shadow: 0 0 10px rgba(245, 158, 11, 0.4); }
.mockup-dots span:nth-child(3) { background: #10b981; box-shadow: 0 0 10px rgba(16, 185, 129, 0.4); }

.mockup-search {
    flex-grow: 1;
    height: 32px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 8px;
    max-width: 240px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .mockup-search {
    background: rgba(241, 245, 249, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.mockup-profile {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

[data-theme="light"] .mockup-profile {
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.mockup-body {
    display: flex;
    height: 420px;
}

.mockup-sidebar {
    width: 80px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: rgba(15, 23, 42, 0.4);
}

[data-theme="light"] .mockup-sidebar {
    background: rgba(248, 250, 252, 0.6);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.sidebar-item {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 18px;
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #10b981;
    transform: translateY(-2px);
}

.sidebar-item.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.mockup-content {
    flex-grow: 1;
    padding: 30px;
    background: rgba(30, 41, 59, 0.4);
    display: flex;
    flex-direction: column;
}

[data-theme="light"] .mockup-content {
    background: rgba(255, 255, 255, 0.4);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.header-title-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

[data-theme="light"] .header-title-text {
    color: #1e293b;
}

.header-subtitle {
    font-size: 12px;
    color: var(--gray);
}

.header-credits {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.stats-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(5px);
}

.stat-card.success-card {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.stat-card.error-card {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}

.stat-card.info-card {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.success-card .stat-icon {
    background: #10b981;
    color: white;
}

.error-card .stat-icon {
    background: #ef4444;
    color: white;
}

.info-card .stat-icon {
    background: #3b82f6;
    color: white;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    font-variant-numeric: tabular-nums;
}

[data-theme="light"] .stat-value {
    color: #1e293b;
}

.live-filtering-area {
    flex-grow: 1;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.2);
    position: relative;
    contain: layout paint;
}

[data-theme="light"] .live-filtering-area {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #10b981, transparent);
    box-shadow: 0 0 15px #10b981;
    z-index: 20;
    animation: scan 3s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes scan {
    0% { top: 45px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.table-header {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    padding: 14px 20px;
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="light"] .table-header {
    background: rgba(241, 245, 249, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #64748b;
}

.scrolling-list-window {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    height: 180px; /* Fixed height for the window */
}

.scrolling-list-window::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(30, 41, 59, 0), rgba(30, 41, 59, 1));
    pointer-events: none;
    z-index: 10;
}

[data-theme="light"] .scrolling-list-window::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

.scrolling-list {
    animation: scrollUp 12s linear infinite;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-288px); /* Adjusted for new row height (48px * 6) */ }
}

.filter-row {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    height: 48px;
    font-size: 13px;
    transition: background 0.2s;
}

[data-theme="light"] .filter-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-row:hover {
    background: rgba(30, 41, 59, 0.8) !important;
}

[data-theme="light"] .filter-row:hover {
    background: rgba(241, 245, 249, 0.9) !important;
}

.filter-row:nth-child(even) {
    background: rgba(30, 41, 59, 0.3);
}

[data-theme="light"] .filter-row:nth-child(even) {
    background: rgba(248, 250, 252, 0.6);
}

.mono {
    font-family: 'Courier New', monospace;
    color: #e2e8f0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="light"] .mono {
    color: #1e293b;
}

.mono img {
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.type {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
}

.type i {
    font-size: 14px;
}

.filter-row.success .type i {
    color: #10b981;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    width: fit-content;
}

.badge-success {
    background: #ecfdf5;
    color: #10b981;
}

.badge-error {
    background: #fef2f2;
    color: #ef4444;
}

.type {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.type i {
    color: #25D366;
    font-size: 12px;
}

/* Floating Icons */
.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    z-index: 3;
    animation: floatIcon 6s infinite ease-in-out;
}

.icon-1 {
    top: -20px;
    inset-inline-end: -20px;
    color: #25D366; /* brand-ish accent for fallback <i> version */
    animation-delay: 0s;
}

.icon-2 {
    bottom: 40px;
    inset-inline-start: -30px;
    color: var(--secondary);
    animation-delay: 2s;
}

.icon-3 {
    top: 40%;
    inset-inline-end: -40px;
    color: #f59e0b;
    width: 50px;
    height: 50px;
    font-size: 22px;
    animation-delay: 4s;
}

.floating-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Mobile Responsive for Hero */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 40px;
        transform: scale(0.9);
    }
}

/* =========================================
   New Modern Features Section (Grid Layout)
   ========================================= */
.features {
    padding: 140px 0;
    background: transparent;
    position: relative;
    overflow: visible;
}

/* Background Decoration */
.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.features-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

/* Header Section (Centered) */
.features-sidebar {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-right: 0;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.features-sidebar .section-title {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .features-sidebar .section-title {
    background: linear-gradient(135deg, #1e293b 0%, #64748b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-sidebar .section-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

/* Grid Cards */
.features-stream {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.stream-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

[data-theme="light"] .stream-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

.stream-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(30, 41, 59, 0.6);
    z-index: 2;
}

[data-theme="light"] .stream-card:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
}

/* Card Icons */
.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stream-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Icon Colors */
.card-icon.speed { color: #10b981; box-shadow: 0 0 20px rgba(16, 185, 129, 0.1); }
.card-icon.security { color: #3b82f6; box-shadow: 0 0 20px rgba(59, 130, 246, 0.1); }
.card-icon.api { color: #8b5cf6; box-shadow: 0 0 20px rgba(139, 92, 246, 0.1); }
.card-icon.formats { color: #f97316; box-shadow: 0 0 20px rgba(249, 115, 22, 0.1); }
.card-icon.bot { color: #0ea5e9; box-shadow: 0 0 20px rgba(14, 165, 233, 0.1); }

.card-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

[data-theme="light"] .card-content h3 {
    color: #1e293b;
}

.card-content p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .features-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .features-sidebar {
        position: relative;
        top: 0;
        padding-right: 0;
        text-align: center;
    }

    .features-sidebar .section-title,
    .features-sidebar .section-subtitle {
        text-align: center;
    }

    .stream-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 80px 0;
    }

    .stream-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
    }

    .card-icon {
        margin-bottom: 16px;
    }
}

/* Modern Stats Section */
.stats {
    padding: 100px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.stats-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    pointer-events: none;
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.stat-widget {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2px; /* For gradient border effect */
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: var(--delay);
    opacity: 0;
    transform: translateY(20px);
}

[data-theme="light"] .stat-widget {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.2);
}

.widget-content {
    background: #0f172a;
    border-radius: 18px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .widget-content {
    background: #ffffff;
}

.widget-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-widget:hover .widget-glow {
    opacity: 1;
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #10b981;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.stat-data h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
    font-family: 'Courier New', monospace; /* Tech feel */
    letter-spacing: -1px;
}

[data-theme="light"] .stat-data h3 {
    color: #1e293b;
}

.stat-data p {
    color: var(--gray);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Visualizations */
.stat-chart {
    height: 40px;
    display: flex;
    align-items: flex-end;
}

/* Line Chart SVG */
.chart-line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawLine 2s ease forwards 0.5s;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

/* Progress Bar */
.progress-line {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    border-radius: 3px;
    width: 0;
    animation: fillProgress 1.5s ease forwards 0.5s;
}

@keyframes fillProgress {
    to { width: var(--width, 99.9%); }
}

/* User Dots */
.user-dots {
    display: flex;
    gap: 6px;
}

.user-dots span {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    opacity: 0.3;
    animation: pulseDot 1.5s infinite alternate;
}

.user-dots span:nth-child(2) { animation-delay: 0.2s; }
.user-dots span:nth-child(3) { animation-delay: 0.4s; }
.user-dots span:nth-child(4) { animation-delay: 0.6s; }
.user-dots span:nth-child(5) { animation-delay: 0.8s; }

@keyframes pulseDot {
    to { opacity: 1; transform: scale(1.2); background: #10b981; }
}

/* Pulse Indicator */
.pulse-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #10b981;
    font-size: 12px;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Modern Reviews Section */
.testimonials {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
    padding: 20px;
}

.review-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatCard 6s ease-in-out infinite;
    animation-delay: var(--delay);
    cursor: pointer;
}

[data-theme="light"] .review-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.review-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(16, 185, 129, 0.1);
}

[data-theme="light"] .review-card:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15),
                0 0 20px rgba(16, 185, 129, 0.15);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.reviewer-img {
    position: relative;
    width: 60px;
    height: 60px;
}

.reviewer-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    border: 2px solid #0f172a;
}

.reviewer-info h4 {
    color: var(--text-main);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

[data-theme="light"] .reviewer-info h4 {
    color: #1e293b;
}

.reviewer-info span {
    color: var(--gray);
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

.stars {
    color: #f59e0b;
    font-size: 12px;
    display: flex;
    gap: 2px;
}

.review-body p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
}

[data-theme="light"] .review-body p {
    color: #64748b;
}

.review-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.review-card:hover .review-glow {
    opacity: 1;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
    background: transparent;
}

.cta-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 80px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .cta-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1e293b;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.1), transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .cta-box h2 {
    text-shadow: none;
}

.cta-box p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    color: #cbd5e1;
}

[data-theme="light"] .cta-box p {
    color: #64748b;
}

.btn-white {
    background: #ffffff;
    color: #0f172a;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
}

.btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background: #020617;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .footer {
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--gray);
    margin-top: 16px;
    max-width: 300px;
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 18px;
    color: var(--text-main);
}

[data-theme="light"] .footer-col h4 {
    color: #1e293b;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #10b981;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card:nth-child(1),
    .feature-card:nth-child(6) {
        grid-column: span 2;
    }
    
    .feature-card:nth-child(3) {
        grid-row: auto;
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-buttons {
        display: none;
    }

    .mobile-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        width: 100%;
    }

    .mobile-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
        padding: 0 20px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 16px auto;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .dashboard-mockup {
        transform: none;
    }

    .hero-visual:hover .dashboard-mockup {
        transform: none;
    }

    .mockup-body {
        height: 300px;
    }

    .mockup-sidebar {
        width: 50px;
    }

    .sidebar-item {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .mockup-content {
        padding: 16px;
    }

    .stats-row {
        flex-direction: column;
        gap: 8px;
    }

    .floating-icon {
        display: none;
    }

    .hero-visual {
        transform: scale(1) !important;
    }

    .stats-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 16px;
    }

    .widget-content {
        padding: 16px;
    }

    .stat-data h3 {
        font-size: 24px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }

    .review-card {
        padding: 24px;
    }

    .testimonials {
        padding: 80px 0;
    }

    .cta {
        padding: 60px 0;
    }

    .cta-box {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .cta-box h2 {
        font-size: 24px;
    }

    .cta-box p {
        font-size: 16px;
    }

    .btn-white {
        padding: 12px 28px;
        font-size: 16px;
    }

    .section-header .section-title {
        font-size: 28px;
    }

    .features-sidebar .section-title {
        font-size: 32px;
    }

    .features-sidebar .section-subtitle {
        font-size: 16px;
    }

    .features {
        padding: 60px 0;
    }

    .stream-card {
        padding: 20px;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .demo-video-section {
        padding: 60px 0;
    }

    .video-mockup {
        min-height: auto;
        border-radius: 12px;
    }

    .demo-dashboard {
        padding: 16px;
    }

    .demo-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .demo-stat-card {
        padding: 12px;
        gap: 10px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .stat-value {
        font-size: 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Extra Small Screens (< 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        letter-spacing: -0.5px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero-buttons {
        padding: 0;
    }

    .hero-buttons .btn {
        font-size: 14px;
        padding: 12px 20px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .trust-badges span {
        font-size: 13px;
    }

    .container {
        padding: 0 16px;
    }

    .splash-title {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .hex-logo-wrap {
        width: 100px;
        height: 100px;
    }

    .hex-ring { width: 100px; height: 100px; }
    .hex-ring-2 { width: 80px; height: 80px; }
    .hex-ring-3 { width: 60px; height: 60px; }

    .hex-core {
        width: 56px;
        height: 56px;
    }

    .hex-core svg {
        width: 32px;
        height: 32px;
    }

    .splash-progress-wrap {
        width: 260px;
    }

    .splash-tagline {
        font-size: 10px !important;
        letter-spacing: 4px !important;
    }

    .stat-icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .cta-box h2 {
        font-size: 22px;
    }

    .table-row {
        grid-template-columns: 1.2fr 0.8fr 0.8fr;
        gap: 6px;
        font-size: 11px;
        padding: 8px 0;
    }

    .download-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .results-header h3 {
        font-size: 14px;
    }

    .progress-header h3 {
        font-size: 14px;
    }

    .badge-pill {
        font-size: 12px;
        padding: 6px 12px;
    }

    .review-body p {
        font-size: 14px;
    }

    .reviewer-info h4 {
        font-size: 16px;
    }

    .footer-col h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }
}

/* ═════════════════════════════════════════
   Splash Screen — Cyberpunk / Holographic
   ═════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════
   Splash Screen — Clean User Panel Style
   ═══════════════════════════════════════════════════ */
.splash-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    height: 100dvh;
    background: #0f172a;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08), transparent 25%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
    overflow: hidden;
    touch-action: none;
}

.splash-screen.hidden {
    opacity: 0;
    transform: scale(1.03);
}

/* Background glow */
.splash-bg-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    pointer-events: none;
    animation: splashGlowPulse 3s ease-in-out infinite;
}

@keyframes splashGlowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* ─── Splash Card ─── */
.splash-card {
    position: relative;
    z-index: 2;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(16, 185, 129, 0.05);
    max-width: 440px;
    width: 90%;
    animation: splashCardIn 0.6s ease forwards;
}

@keyframes splashCardIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Top accent gradient bar */
.splash-card-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 24px 24px 0 0;
}

/* ─── Icon ─── */
.splash-icon-wrap {
    margin-bottom: 4px;
}

.splash-icon {
    width: 80px; height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: white;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
    animation: splashIconPulse 2.5s ease-in-out infinite;
}

@keyframes splashIconPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35); }
    50%      { box-shadow: 0 12px 40px rgba(16, 185, 129, 0.5); }
}

/* ─── Title ─── */
.splash-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    line-height: 1.2;
}

.title-line {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cursor-blink {
    color: #10b981;
    font-weight: 300;
    animation: blinkCursor 0.7s step-end infinite;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

.splash-tagline {
    font-size: 11px;
    color: #94a3b8;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: -8px;
    opacity: 0;
    animation: fadeSlideUp 0.6s ease forwards 1.2s;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Progress Bar ─── */
.splash-progress-wrap {
    width: 100%;
    max-width: 320px;
    opacity: 0;
    animation: fadeSlideUp 0.5s ease forwards 0.6s;
}

.splash-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.splash-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 8px;
    transition: width 0.15s linear;
    position: relative;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.splash-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.splash-status {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.splash-percent {
    font-size: 13px;
    font-weight: 700;
    color: #10b981;
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
    .splash-screen {
        height: 100vh;
        height: 100dvh;
    }

    .splash-card {
        padding: 36px 28px;
        border-radius: 20px;
        gap: 20px;
    }

    .splash-icon {
        width: 64px; height: 64px;
        border-radius: 16px;
        font-size: 1.75rem;
    }

    .splash-title {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .splash-tagline {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .splash-progress-wrap {
        max-width: 260px;
    }

    .splash-bg-glow {
        width: 300px; height: 300px;
    }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    .splash-screen {
        transition: opacity 0.3s ease;
    }

    .splash-screen.hidden {
        transform: none;
    }

    .splash-icon,
    .splash-bg-glow {
        animation: none !important;
    }

    .splash-tagline,
    .splash-progress-wrap {
        opacity: 1;
        animation: none;
    }

    .splash-card {
        animation: none;
        opacity: 1;
    }
}

/* ─── Noscript fallback ─── */
noscript + .splash-screen,
.splash-screen:target {
    display: none;
}

/* =========================================
   Auth Pages (Login/Register)
   ========================================= */
.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08), transparent 25%);
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #10b981;
    margin: 0 auto 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: #94a3b8;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    transition: color 0.3s ease;
}

.form-control {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px 14px 48px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    background: rgba(15, 23, 42, 0.8);
}

.form-control:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
    color: #10b981;
}

.form-control::placeholder {
    color: #475569;
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-block i {
    font-size: 18px;
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.5);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    font-size: 14px;
}

.auth-link {
    color: #10b981;
    font-weight: 600;
    margin-left: 4px;
}

.auth-link:hover {
    text-decoration: underline !important;
    color: #34d399;
}

.alert {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
}

/* Glassmorphism Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    min-width: 300px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: #fff;
}

[data-theme="light"] .toast {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #1e293b;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Success Toast */
.toast.success {
    border-right: 4px solid #10b981;
}
.toast.success .toast-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* Error Toast */
.toast.error {
    border-right: 4px solid #ef4444;
}
.toast.error .toast-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Info/Warning Toast */
.toast.info {
    border-right: 4px solid #3b82f6;
}
.toast.info .toast-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

/* ============================================
   DEMO VIDEO SECTION
   ============================================ */
.demo-video-section {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.demo-video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.video-container {
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.video-mockup {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    position: relative;
    min-height: 600px;
}

[data-theme="light"] .video-mockup {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.15);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.play-overlay:hover .play-button svg {
    transform: scale(1.1);
}

.play-button {
    margin-bottom: 20px;
}

.play-button svg {
    filter: drop-shadow(0 10px 30px rgba(16, 185, 129, 0.5));
    transition: transform 0.3s ease;
}

.play-text {
    color: var(--gray);
    font-size: 18px;
    font-weight: 500;
}

.demo-animation {
    opacity: 0;
    pointer-events: none;
}

.demo-animation.active {
    opacity: 1;
    pointer-events: all;
}

/* Browser Chrome */
.browser-chrome {
    background: #1e293b;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .browser-chrome {
    background: #f8fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.chrome-dots {
    display: flex;
    gap: 8px;
}

.chrome-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.chrome-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="light"] .chrome-url {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.chrome-menu {
    color: var(--gray);
    font-size: 20px;
}

/* Demo Dashboard */
.demo-dashboard {
    padding: 30px;
    background: var(--bg-dark);
}

[data-theme="light"] .demo-dashboard {
    background: #f8fafc;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.demo-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

.demo-logo i {
    color: var(--primary);
}

.demo-balance {
    background: rgba(16, 185, 129, 0.1);
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
}

.demo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.demo-stat-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--glass-border);
}

[data-theme="light"] .demo-stat-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
}

[data-theme="light"] .stat-value {
    color: #1e293b;
}

.demo-progress-section {
    background: var(--bg-card);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid var(--glass-border);
}

[data-theme="light"] .demo-progress-section {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.progress-header h3 {
    font-size: 18px;
    color: var(--text-main);
    margin: 0;
}

[data-theme="light"] .progress-header h3 {
    color: #1e293b;
}

.progress-percentage {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.progress-bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

[data-theme="light"] .progress-bar-container {
    background: #e2e8f0;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--gray);
}

.demo-results {
    background: var(--bg-card);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

[data-theme="light"] .demo-results {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.results-header h3 {
    font-size: 18px;
    color: var(--text-main);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="light"] .results-header h3 {
    color: #1e293b;
}

.download-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

.results-table {
    max-height: 200px;
    overflow-y: auto;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

[data-theme="light"] .table-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.table-header {
    font-weight: 600;
    color: var(--text-main);
    border-bottom-width: 2px;
}

[data-theme="light"] .table-header {
    color: #1e293b;
}

.table-row:not(.table-header) {
    color: var(--gray);
    opacity: 0;
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-badge {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-inactive {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Success Screen */
.demo-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.success-icon {
    font-size: 80px;
    color: var(--primary);
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.demo-success h3 {
    font-size: 32px;
    color: var(--text-main);
    margin-bottom: 12px;
}

.demo-success p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
}

.replay-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.replay-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .demo-stats {
        grid-template-columns: 1fr;
    }
    
    .demo-progress-section,
    .demo-results {
        padding: 16px;
    }
    
    .demo-dashboard {
        padding: 20px;
    }
    
    .table-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 10px;
        font-size: 12px;
    }
}

[data-theme="light"] .auth-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .alert-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

[data-theme="light"] .alert-danger {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

[data-theme="light"] .form-control {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

[data-theme="light"] .form-control:focus {
    background: #ffffff;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

[data-theme="light"] .input-icon {
    color: #64748b;
}

[data-theme="light"] .form-control::placeholder {
    color: #94a3b8;
}

[data-theme="light"] .auth-title {
    color: #0f172a;
}

[data-theme="light"] .auth-subtitle {
    color: #64748b;
}

[data-theme="light"] .auth-footer {
    border-top: 1px solid #e2e8f0;
    color: #64748b;
}

[data-theme="light"] .form-label {
    color: #334155;
}


/* ===========================================
   LOGIN PAGE – Steps, Options, Modals
   =========================================== */

/* Step transitions */
.login-step {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.login-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Password toggle button */
.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 16px;
    padding: 4px 6px;
    transition: color 0.3s ease;
    z-index: 2;
}

.password-toggle-btn:hover {
    color: #10b981;
}

/* Password field needs right padding for toggle */
.form-control-password {
    padding-right: 44px;
}

/* 2FA code input — centered, spaced */
.form-control-2fa {
    text-align: center;
    letter-spacing: 8px;
    font-size: 22px;
    font-weight: 700;
    padding-right: 16px;
}

/* Login options row (Remember me + Forgot) */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

/* Remember Me */
.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    cursor: pointer;
    user-select: none;
}

.remember-me input[type="checkbox"] {
    display: none;
}

.remember-me .checkmark {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.4);
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.remember-me input[type="checkbox"]:checked + .checkmark {
    background: #10b981;
    border-color: #10b981;
}

.remember-me input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

/* Forgot password link (button) */
.forgot-link {
    background: none;
    border: none;
    color: #10b981;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #34d399;
    text-decoration: underline;
}

/* Countdown */
.countdown-wrap {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #64748b;
}

.countdown-timer {
    color: #10b981;
    font-weight: 700;
    transition: color 0.3s ease;
}

.countdown-timer.danger {
    color: #ef4444;
}

/* Resend button */
.resend-btn {
    margin-top: 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 14px;
}

.resend-btn:hover:not(.disabled) {
    border-color: #10b981;
    color: #10b981;
}

.resend-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Auth footer links */
.auth-footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.auth-link-btn {
    background: none;
    border: none;
    color: #10b981;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

/* ========================================
   Trust Bar
   ======================================== */
.trust-bar {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.trust-bar-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}
.trust-bar-item:hover {
    background: rgba(16,185,129,0.06);
    border-color: rgba(16,185,129,0.15);
    transform: translateY(-2px);
}
.trust-bar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(59,130,246,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #10b981;
    flex-shrink: 0;
}
.trust-bar-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color, #f1f5f9);
    margin-bottom: 2px;
}
.trust-bar-text span {
    font-size: 13px;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.4;
}
@media (max-width: 768px) {
    .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
    .trust-bar-grid { grid-template-columns: 1fr; }
}
[data-theme="light"] .trust-bar {
    border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .trust-bar-item {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .trust-bar-item:hover {
    background: rgba(16,185,129,0.06);
}

/* ========================================
   How It Works — Bento Grid
   ======================================== */
.hiw-section {
    padding: 100px 0;
    position: relative;
}
.hiw-bento {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
    max-width: 1040px;
    margin: 0 auto;
}
.hiw-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cards */
.hiw-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 24px;
    padding: 32px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.hiw-card:hover {
    transform: translateY(-5px);
    border-color: rgba(108,60,224,0.35);
    box-shadow: 0 20px 60px rgba(108,60,224,0.08);
}
.hiw-card--main {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-height: 380px;
}
.hiw-card--sm { flex: 1; }

/* Giant watermark number */
.hiw-bg-num {
    position: absolute;
    top: -24px;
    right: -8px;
    font-size: 150px;
    font-weight: 900;
    line-height: 1;
    color: rgba(255,255,255,0.025);
    pointer-events: none;
    user-select: none;
    letter-spacing: -8px;
}

/* Card inner row */
.hiw-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    position: relative;
    z-index: 1;
}

/* Icon wrappers */
.hiw-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(108,60,224,0.25), rgba(108,60,224,0.08));
    border: 1px solid rgba(108,60,224,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #a78bfa;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.hiw-card:hover .hiw-icon-wrap { transform: scale(1.08); }
.hiw-icon-wrap--blue {
    background: linear-gradient(135deg, rgba(59,130,246,0.25), rgba(59,130,246,0.08));
    border-color: rgba(59,130,246,0.25);
    color: #60a5fa;
}
.hiw-icon-wrap--green {
    background: linear-gradient(135deg, rgba(16,185,129,0.25), rgba(16,185,129,0.08));
    border-color: rgba(16,185,129,0.25);
    color: #34d399;
}

/* Text */
.hiw-step-label {
    font-size: 10px;
    font-weight: 800;
    color: #7c3aed;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 5px;
}
.hiw-content h3 {
    font-size: 19px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 6px;
    line-height: 1.3;
}
.hiw-content p {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.65;
    margin: 0;
}

/* Glow blobs */
.hiw-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108,60,224,0.12) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
    pointer-events: none;
}
.hiw-glow--blue  { background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%); }
.hiw-glow--green { background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, transparent 70%); }

/* Upload visual */
.hiw-upload-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 24px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    position: relative;
    z-index: 1;
}
.hiw-file-badge {
    font-size: 12px;
    color: #94a3b8;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
}
.hiw-upload-arrow {
    font-size: 18px;
    color: #7c3aed;
    animation: hiw-pulse-up 1.6s ease-in-out infinite;
}
@keyframes hiw-pulse-up {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50%       { transform: translateY(-5px); opacity: 1; }
}
.hiw-cloud-icon {
    font-size: 30px;
    color: #a78bfa;
}

/* Progress bar */
.hiw-progress-wrap {
    margin-top: 18px;
    position: relative;
    z-index: 1;
}
.hiw-progress-label {
    display: block;
    font-size: 11px;
    color: #475569;
    margin-bottom: 7px;
    letter-spacing: 0.5px;
}
.hiw-progress-track {
    height: 5px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
}
.hiw-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6c3ce0, #3b82f6, #06b6d4);
    border-radius: 10px;
    animation: hiw-fill 3.5s ease-in-out infinite;
}
@keyframes hiw-fill {
    0%   { width: 0%; opacity: 1; }
    65%  { width: 88%; opacity: 1; }
    85%  { width: 88%; opacity: 1; }
    100% { width: 0%;  opacity: 0; }
}

/* Result file chips */
.hiw-files {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 18px;
    position: relative;
    z-index: 1;
}
.hiw-chip {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.03);
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 7px;
    animation: hiw-fadein 3s ease-in-out infinite;
}
.hiw-chip:nth-child(2) { animation-delay: 0.6s; }
.hiw-chip:nth-child(3) { animation-delay: 1.2s; }
.hiw-chip--green {
    color: #34d399;
    background: rgba(16,185,129,0.07);
    border-color: rgba(16,185,129,0.2);
    animation: none;
}
.hiw-chip--red {
    color: #f87171;
    background: rgba(239,68,68,0.07);
    border-color: rgba(239,68,68,0.2);
}
@keyframes hiw-fadein {
    0%, 25%  { opacity: 0.25; }
    55%, 80% { opacity: 1; }
    100%     { opacity: 0.25; }
}

/* Light theme */
[data-theme="light"] .hiw-card {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .hiw-card:hover { box-shadow: 0 20px 60px rgba(108,60,224,0.06); }
[data-theme="light"] .hiw-bg-num { color: rgba(0,0,0,0.035); }
[data-theme="light"] .hiw-content h3 { color: #1e293b; }
[data-theme="light"] .hiw-upload-visual { background: rgba(0,0,0,0.025); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .hiw-file-badge { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); color: #64748b; }
[data-theme="light"] .hiw-progress-track { background: rgba(0,0,0,0.07); }
[data-theme="light"] .hiw-chip { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.07); }

/* Responsive */
@media (max-width: 820px) {
    .hiw-bento { grid-template-columns: 1fr; }
    .hiw-card--main { min-height: auto; }
    .hiw-upload-visual { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .hiw-bg-num { font-size: 110px; }
    .hiw-card { padding: 24px; }
}

/* ========================================
   FAQ Section — Creative Split Layout
   ======================================== */
.faq-section {
    padding: 100px 0;
    overflow: hidden;
}
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}
.faq-left {
    position: sticky;
    top: 120px;
}
.faq-left .section-title {
    margin-top: 20px;
}
.faq-left .section-subtitle {
    margin-top: 12px;
    max-width: 360px;
}
.faq-decoration {
    position: relative;
    margin-top: 40px;
    height: 120px;
}
.faq-deco-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(16,185,129,0.15);
    animation: faqPulse 4s ease-in-out infinite;
}
.faq-deco-circle--sm {
    width: 60px;
    height: 60px;
    left: 70px;
    top: 30px;
    border-color: rgba(59,130,246,0.15);
    animation-delay: 1s;
}
.faq-deco-dots {
    position: absolute;
    left: 160px;
    top: 10px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, rgba(16,185,129,0.2) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
}
@keyframes faqPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* FAQ Items */
.faq-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    opacity: 0;
    transform: translateY(20px);
    animation: faqFadeIn 0.5s ease forwards;
    animation-delay: calc(var(--faq-i) * 0.08s);
}
.faq-section.active .faq-item {
    opacity: 1;
    transform: translateY(0);
}
@keyframes faqFadeIn {
    to { opacity: 1; transform: translateY(0); }
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color, #f1f5f9);
    text-align: left;
    transition: all 0.3s ease;
}
[dir="rtl"] .faq-question { text-align: right; }
.faq-question:hover { color: #10b981; }
.faq-question:hover .faq-num {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: #fff;
    border-color: transparent;
}
.faq-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    transition: all 0.3s ease;
    font-variant-numeric: tabular-nums;
}
.faq-item.open .faq-num {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(16,185,129,0.3);
}
.faq-q-text {
    flex: 1;
    line-height: 1.5;
}
.faq-toggle-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}
.faq-plus {
    position: relative;
    width: 12px;
    height: 12px;
}
.faq-plus::before,
.faq-plus::after {
    content: '';
    position: absolute;
    background: #64748b;
    transition: all 0.3s ease;
}
.faq-plus::before {
    width: 12px;
    height: 1.5px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.faq-plus::after {
    width: 1.5px;
    height: 12px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}
.faq-item.open .faq-toggle-icon {
    border-color: #10b981;
    transform: rotate(45deg);
}
.faq-item.open .faq-plus::before,
.faq-item.open .faq-plus::after {
    background: #10b981;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 0 0 52px;
}
[dir="rtl"] .faq-answer { padding: 0 52px 0 0; }
.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}
.faq-answer p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary, #94a3b8);
    position: relative;
    padding-left: 16px;
    border-left: 2px solid rgba(16,185,129,0.3);
}
[dir="rtl"] .faq-answer p { padding-left: 0; padding-right: 16px; border-left: none; border-right: 2px solid rgba(16,185,129,0.3); }

/* Light theme FAQ */
[data-theme="light"] .faq-item {
    border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .faq-num {
    border-color: rgba(0,0,0,0.1);
    color: #94a3b8;
}
[data-theme="light"] .faq-toggle-icon {
    border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .faq-plus::before,
[data-theme="light"] .faq-plus::after {
    background: #94a3b8;
}

/* FAQ responsive */
@media (max-width: 768px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .faq-left {
        position: static;
        text-align: center;
    }
    .faq-left .section-subtitle { margin: 12px auto 0; }
    .faq-decoration { display: none; }
}

/* ========================================
   Theme Transition Animation
   ======================================== */
.theme-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    clip-path: circle(0% at var(--tx, 50%) var(--ty, 50%));
    transition: clip-path 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}
.theme-transition-overlay.expanding {
    clip-path: circle(150% at var(--tx, 50%) var(--ty, 50%));
    opacity: 1;
}
.theme-transition-overlay.fading {
    opacity: 0;
    transition: opacity 0.45s ease;
}

/* Smooth global theme transition for all elements */
*, *::before, *::after {
    transition-property: background-color, color, border-color, box-shadow, fill, stroke;
    transition-duration: 0s;
}
html.theme-animating *, html.theme-animating *::before, html.theme-animating *::after {
    transition-duration: 0.5s !important;
    transition-timing-function: ease !important;
}

/* ========================================
   Social Proof Notifications
   ======================================== */
.social-proof-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
[dir="rtl"] .social-proof-container { left: auto; right: 24px; }
.sp-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(15,23,42,0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    font-size: 13px;
    color: #e2e8f0;
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), opacity 0.5s ease;
    pointer-events: auto;
    max-width: 360px;
}
[dir="rtl"] .sp-toast {
    transform: translateX(120%);
}
.sp-toast.sp-show {
    transform: translateX(0);
    opacity: 1;
}
.sp-toast.sp-hide {
    transform: translateX(-120%);
    opacity: 0;
}
[dir="rtl"] .sp-toast.sp-hide {
    transform: translateX(120%);
}
.sp-flag { font-size: 20px; flex-shrink: 0; }
.sp-text { flex: 1; line-height: 1.4; }
.sp-time {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    flex-shrink: 0;
}
[data-theme="light"] .sp-toast {
    background: rgba(255,255,255,0.95);
    border-color: rgba(0,0,0,0.08);
    color: #334155;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
[data-theme="light"] .sp-time { color: #94a3b8; }
@media (max-width: 480px) {
    .social-proof-container { left: 12px; right: 12px; bottom: 16px; }
    [dir="rtl"] .social-proof-container { left: 12px; }
    .sp-toast { max-width: 100%; font-size: 12px; padding: 10px 14px; }
}

.auth-link-btn:hover {
    color: #34d399;
    text-decoration: underline;
}


/* ============ Login Modal ============ */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-modal.show {
    display: flex;
}

.login-modal-content {
    background: #1e293b;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: loginModalIn 0.3s ease;
}

@keyframes loginModalIn {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px 0;
}

.login-modal-header h3 {
    font-size: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.login-modal-header h3 i {
    color: #10b981;
}

.login-modal-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s ease;
}

.login-modal-close:hover {
    color: #ffffff;
}

.login-modal-body {
    padding: 24px 28px 28px;
}

/* Activation steps */
.activation-step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.activation-step:last-child {
    margin-bottom: 0;
}

.activation-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.activation-step-content h4 {
    font-size: 15px;
    color: #ffffff;
    margin: 0 0 6px;
}

.activation-step-content p {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
}

.telegram-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0088cc;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
    transition: all 0.2s ease;
}

.telegram-action-btn:hover {
    background: #006da3;
    transform: translateY(-1px);
    color: #ffffff;
}

.command-copy-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 8px;
}

.command-copy-box code {
    flex: 1;
    color: #10b981;
    font-family: 'Hack', monospace;
    font-size: 14px;
}

.copy-command-btn {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-command-btn:hover {
    background: #10b981;
    color: #ffffff;
}

/* ========= Login – Light Theme ========= */
[data-theme="light"] .login-options {
    color: #64748b;
}

[data-theme="light"] .remember-me {
    color: #64748b;
}

[data-theme="light"] .remember-me .checkmark {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

[data-theme="light"] .login-modal-content {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .login-modal-header h3 {
    color: #0f172a;
}

[data-theme="light"] .login-modal-close {
    color: #64748b;
}

[data-theme="light"] .login-modal-close:hover {
    color: #0f172a;
}

[data-theme="light"] .activation-step-content h4 {
    color: #0f172a;
}

[data-theme="light"] .activation-step-content p {
    color: #64748b;
}

[data-theme="light"] .command-copy-box {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

[data-theme="light"] .resend-btn {
    border-color: #e2e8f0;
    color: #64748b;
}

[data-theme="light"] .countdown-wrap {
    color: #94a3b8;
}

[data-theme="light"] .password-toggle-btn {
    color: #94a3b8;
}

[data-theme="light"] .form-control-password {
    padding-right: 44px;
}

/* ==============================
   Password Reset Flow Styles
   ============================== */
.reset-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 20px;
}

.reset-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.reset-step-dot.active {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
    box-shadow: 0 0 12px rgba(16,185,129,0.4);
}

.reset-step-dot.done {
    background: #059669;
    border-color: #059669;
    color: #fff;
}

.reset-step-line {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    transition: background 0.3s ease;
}

.reset-step-line.active {
    background: #10b981;
}

.reset-step {
    display: none;
}

.reset-step.active {
    display: block;
    animation: resetFadeIn 0.3s ease;
}

@keyframes resetFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reset-desc {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.reset-success-wrap {
    text-align: center;
    padding: 20px 0;
}

.reset-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(16,185,129,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: #10b981;
    animation: resetSuccessPulse 1.5s ease infinite;
}

@keyframes resetSuccessPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.3); }
    50%      { box-shadow: 0 0 0 12px rgba(16,185,129,0); }
}

.reset-success-wrap h4 {
    color: #e8edf5;
    font-size: 18px;
    margin-bottom: 8px;
}

.reset-success-wrap p {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.5;
}

/* Light theme overrides */
[data-theme="light"] .reset-step-dot {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
}

[data-theme="light"] .reset-step-line {
    background: #e2e8f0;
}

[data-theme="light"] .reset-desc {
    color: #64748b;
}

[data-theme="light"] .reset-success-wrap h4 {
    color: #0f172a;
}

[data-theme="light"] .reset-success-wrap p {
    color: #64748b;
}

/* ============================================
   Accessibility: prefers-reduced-motion
   Disable all decorative motion for users who
   requested reduced motion. Keeps functional
   transitions (hover focus) snappy but kills
   infinite loops (scan, float, pulse, glow, scroll).
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .scrolling-list,
    .scan-line,
    .floating-icon,
    .hero-bg-shape,
    .btn-glow,
    .pulse-dot {
        animation: none !important;
    }

    .dashboard-mockup {
        transform: none !important;
    }
}

/* Perf: isolate blurred background shapes to their own layer and hide on
   small screens (expensive compositor work with zero visual payoff on mobile). */
.hero-bg-shape {
    will-change: transform;
    contain: layout paint;
}

@media (max-width: 768px) {
    .hero-bg-shape { display: none; }
}


/* ──────────────────────────────────────────────────────────────
   Dashboard mockup — Phase 2 additions (live pill, services strip)
   ────────────────────────────────────────────────────────────── */
.header-credits .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    animation: live-pulse 2s ease-out infinite;
    display: inline-block;
}
@keyframes live-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(16, 185, 129, 0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);   }
    100% { box-shadow: 0 0 0 0   rgba(16, 185, 129, 0);   }
}

.mockup .mono,
.dashboard-mockup .mono,
.dashboard-mockup .counter,
.dashboard-mockup .header-credits {
    font-variant-numeric: tabular-nums;
}

.services-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}
[data-theme="light"] .services-strip {
    background: rgba(248, 250, 252, 0.6);
    border-color: rgba(0, 0, 0, 0.06);
}
.services-strip-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.services-strip-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}
.services-strip-icons img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 2px;
    transition: transform 0.2s ease;
}
.services-strip-icons img:hover {
    transform: translateY(-2px);
}

/* Mockup body grows if services strip is present; remove the rigid 420px */
.dashboard-mockup .mockup-body {
    min-height: 420px;
    height: auto;
}

/* < 480px: the 80px sidebar eats too much space */
@media (max-width: 480px) {
    .dashboard-mockup .mockup-sidebar { display: none; }
    .dashboard-mockup .mockup-content { padding: 18px; }
    .services-strip { flex-direction: column; align-items: flex-start; }
}

/* Reduced motion: kill the tilt, scan-line, live pulse, marquee  */
@media (prefers-reduced-motion: reduce) {
    .dashboard-mockup,
    [dir="rtl"] .dashboard-mockup,
    .hero-visual:hover .dashboard-mockup,
    .hero-visual:focus-within .dashboard-mockup {
        transform: none !important;
        transition: none !important;
    }
    .scan-line { display: none !important; }
    .header-credits .live-dot { animation: none !important; }
    .scrolling-list { animation: none !important; }
}


/* ──────────────────────────────────────────────────────────────
   Splash screen — Phase B fixes
   - Skip on return visit / ?nosplash / reduced-motion via .splash-skip
   - Skip button (always reachable)
   - Lighter paint cost
   - Reduced-motion compliance
   ────────────────────────────────────────────────────────────── */

/* When gated off, never render */
html.splash-skip .splash-screen { display: none !important; }

/* Skip button */
.splash-skip-btn {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    font-family: inherit;
}
.splash-skip-btn:hover,
.splash-skip-btn:focus-visible {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    outline: none;
    transform: translateY(-1px);
}
.splash-skip-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
}

/* Allow scrolling through (don't trap touch) */
.splash-screen { touch-action: auto !important; }

/* Cheaper card backdrop — splash is only visible 1-1.5s, blur(20px) is wasteful */
.splash-card { backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important; }

/* Tabular numerals for the percentage so it doesn't jump */
.splash-percent { font-variant-numeric: tabular-nums; }

/* Reduced motion: kill all splash animations, fade out only */
@media (prefers-reduced-motion: reduce) {
    .splash-bg-glow,
    .splash-icon,
    .splash-card,
    .splash-tagline,
    .splash-progress-wrap,
    .cursor-blink {
        animation: none !important;
    }
    .splash-screen.hidden { transform: none !important; }
}
