﻿/* ========================================
   LANDING PAGE - MAIN STYLES
   Full marketing/public landing page
   Used in: Views/Home/Landing.cshtml
   ======================================== */

:root {
    --landing-primary: #3b82f6;
    --landing-primary-dark: #2563eb;
    --landing-accent: #8b5cf6;
    --landing-success: #22c55e;
    --landing-warning: #f59e0b;
    --landing-danger: #ef4444;
    --landing-bg-dark: #0f172a;
    --landing-bg-darker: #0b1220;
    --landing-bg-card: #1e293b;
    --landing-bg-card-hover: #283548;
    --landing-text-primary: #f8fafc;
    --landing-text-secondary: #94a3b8;
    --landing-text-muted: #64748b;
}

/* Light Theme Variables */
.landing-page[data-theme="light"] {
    --landing-bg-dark: #f8fafc;
    --landing-bg-darker: #f1f5f9;
    --landing-bg-card: #ffffff;
    --landing-bg-card-hover: #f8fafc;
    --landing-text-primary: #0f172a;
    --landing-text-secondary: #475569;
    --landing-text-muted: #64748b;
}

.landing-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.landing-page body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(145deg, var(--landing-bg-dark) 0%, var(--landing-bg-darker) 100%);
    color: var(--landing-text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========================================
   ANIMATED BACKGROUND
   ======================================== */

.landing-page .bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.landing-page .bg-animation .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: landingFloat 25s infinite ease-in-out;
}

.landing-page .orb:nth-child(1) {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
    animation-delay: 0s;
}

.landing-page .orb:nth-child(2) {
    width: 500px;
    height: 500px;
    bottom: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 70%);
    animation-delay: 8s;
}

.landing-page .orb:nth-child(3) {
    width: 350px;
    height: 350px;
    top: 40%;
    left: 30%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08), transparent 70%);
    animation-delay: 15s;
}

@keyframes landingFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-40px) scale(1.05); opacity: 0.9; }
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.landing-page .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   HEADER
   ======================================== */

.landing-page header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    position: relative;
}

.landing-page .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--landing-text-primary);
}

.landing-page .logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.landing-page .logo span {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.landing-page .logo .logo-accent {
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-page .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.landing-page .nav-links a {
    color: var(--landing-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s;
    position: relative;
}

.landing-page .nav-links a:hover {
    color: var(--landing-text-primary);
}

.landing-page .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--landing-primary);
    transition: width 0.2s;
}

.landing-page .nav-links a:hover::after {
    width: 100%;
}

.landing-page .header-buttons {
    display: flex;
    gap: 12px;
}

/* ========================================
   BUTTONS
   ======================================== */

.landing-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.landing-page .btn-primary {
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-accent));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
}

.landing-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.45);
}

.landing-page .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.landing-page .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.landing-page .btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

/* ========================================
   HERO SECTION
   ======================================== */

.landing-page .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 60px 0 100px;
    min-height: calc(100vh - 84px);
}

.landing-page .hero-content {
    max-width: 560px;
}

.landing-page .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--landing-accent);
    margin-bottom: 24px;
}

.landing-page .hero-badge i {
    font-size: 0.75rem;
}

.landing-page .hero-content h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.landing-page .hero-content h1 .gradient {
    background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-accent) 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-page .hero-content > p {
    font-size: 1.125rem;
    color: var(--landing-text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.landing-page .hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.landing-page .hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.landing-page .hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--landing-text-secondary);
}

.landing-page .hero-feature i {
    width: 20px;
    height: 20px;
    background: rgba(34, 197, 94, 0.2);
    color: var(--landing-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
}

/* ========================================
   HERO VISUAL / CARD
   ======================================== */

.landing-page .hero-visual {
    position: relative;
}

.landing-page .hero-card {
    background: var(--landing-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.landing-page .hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--landing-primary), var(--landing-accent), var(--landing-success));
}

.landing-page .card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-page .card-header-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.landing-page .card-header-text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.landing-page .card-header-text span {
    font-size: 0.8125rem;
    color: var(--landing-text-muted);
}

.landing-page .live-indicator {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--landing-success);
}

.landing-page .live-indicator .dot {
    width: 8px;
    height: 8px;
    background: var(--landing-success);
    border-radius: 50%;
    animation: landingPulse 2s infinite;
}

@keyframes landingPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.9); }
}

/* ========================================
   DASHBOARD MOCKUP
   ======================================== */

.landing-page .dashboard-mockup {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.landing-page .mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.landing-page .mockup-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.landing-page .mockup-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.landing-page .mockup-stat-value.blue { color: var(--landing-primary); }
.landing-page .mockup-stat-value.green { color: var(--landing-success); }
.landing-page .mockup-stat-value.purple { color: var(--landing-accent); }

.landing-page .mockup-stat-label {
    font-size: 0.75rem;
    color: var(--landing-text-muted);
}

.landing-page .mockup-chart {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 20px;
    height: 140px;
    position: relative;
    overflow: hidden;
}

.landing-page .chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    gap: 8px;
    padding-top: 20px;
}

.landing-page .chart-bar {
    flex: 1;
    border-radius: 6px 6px 0 0;
    animation: landingGrowBar 1.5s ease-out forwards;
    opacity: 0;
}

.landing-page .chart-bar:nth-child(1) { background: linear-gradient(180deg, var(--landing-primary), rgba(59, 130, 246, 0.3)); animation-delay: 0.1s; }
.landing-page .chart-bar:nth-child(2) { background: linear-gradient(180deg, var(--landing-accent), rgba(139, 92, 246, 0.3)); animation-delay: 0.2s; }
.landing-page .chart-bar:nth-child(3) { background: linear-gradient(180deg, var(--landing-success), rgba(34, 197, 94, 0.3)); animation-delay: 0.3s; }
.landing-page .chart-bar:nth-child(4) { background: linear-gradient(180deg, var(--landing-primary), rgba(59, 130, 246, 0.3)); animation-delay: 0.4s; }
.landing-page .chart-bar:nth-child(5) { background: linear-gradient(180deg, var(--landing-accent), rgba(139, 92, 246, 0.3)); animation-delay: 0.5s; }
.landing-page .chart-bar:nth-child(6) { background: linear-gradient(180deg, var(--landing-success), rgba(34, 197, 94, 0.3)); animation-delay: 0.6s; }
.landing-page .chart-bar:nth-child(7) { background: linear-gradient(180deg, var(--landing-primary), rgba(59, 130, 246, 0.3)); animation-delay: 0.7s; }

@keyframes landingGrowBar {
    from { height: 0; opacity: 0; }
    to { opacity: 1; }
}

.landing-page .mockup-progress {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.landing-page .progress-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-page .progress-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.landing-page .progress-icon.blue { background: rgba(59, 130, 246, 0.15); color: var(--landing-primary); }
.landing-page .progress-icon.green { background: rgba(34, 197, 94, 0.15); color: var(--landing-success); }
.landing-page .progress-icon.purple { background: rgba(139, 92, 246, 0.15); color: var(--landing-accent); }

.landing-page .progress-bar-container {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.landing-page .progress-bar-fill {
    height: 100%;
    border-radius: 4px;
    animation: landingFillBar 2s ease-out forwards;
}

.landing-page .progress-bar-fill.blue { background: linear-gradient(90deg, var(--landing-primary), #60a5fa); }
.landing-page .progress-bar-fill.green { background: linear-gradient(90deg, var(--landing-success), #4ade80); }
.landing-page .progress-bar-fill.purple { background: linear-gradient(90deg, var(--landing-accent), #a78bfa); }

@keyframes landingFillBar {
    from { width: 0; }
}

.landing-page .progress-value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--landing-text-secondary);
    min-width: 40px;
    text-align: right;
}

/* ========================================
   STATS SECTION
   ======================================== */

.landing-page .stats-section {
    padding: 60px 0;
    position: relative;
}

.landing-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.landing-page .stat-card {
    background: var(--landing-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.landing-page .stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.landing-page .stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-page .stat-card p {
    font-size: 0.9375rem;
    color: var(--landing-text-secondary);
    margin: 0;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.landing-page .features-section {
    padding: 100px 0;
}

.landing-page .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.landing-page .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.landing-page .section-header p {
    font-size: 1.125rem;
    color: var(--landing-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.landing-page .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.landing-page .feature-card {
    background: var(--landing-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.landing-page .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--landing-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.landing-page .feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.15);
}

.landing-page .feature-card:hover::before {
    opacity: 1;
}

.landing-page .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.landing-page .feature-icon.purple { background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1)); color: var(--landing-accent); }
.landing-page .feature-icon.blue { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1)); color: var(--landing-primary); }
.landing-page .feature-icon.green { background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1)); color: var(--landing-success); }
.landing-page .feature-icon.orange { background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1)); color: var(--landing-warning); }
.landing-page .feature-icon.red { background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1)); color: var(--landing-danger); }
.landing-page .feature-icon.cyan { background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.1)); color: #06b6d4; }

.landing-page .feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.landing-page .feature-card p {
    color: var(--landing-text-secondary);
    line-height: 1.65;
    font-size: 0.9375rem;
}

/* ========================================
   TECHNOLOGY SECTION
   ======================================== */

.landing-page .tech-section {
    padding: 80px 0;
}

.landing-page .tech-card {
    background: linear-gradient(135deg, var(--landing-bg-card) 0%, rgba(59, 130, 246, 0.08) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.landing-page .tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--landing-primary), var(--landing-accent), var(--landing-success));
}

.landing-page .tech-header {
    text-align: center;
    margin-bottom: 48px;
}

.landing-page .tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--landing-primary);
    margin-bottom: 20px;
}

.landing-page .tech-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.landing-page .tech-header h2 .gradient {
    background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-page .tech-header p {
    font-size: 1.125rem;
    color: var(--landing-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.landing-page .tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.landing-page .tech-item {
    text-align: center;
    padding: 24px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.landing-page .tech-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-4px);
}

.landing-page .tech-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--landing-primary);
}

.landing-page .tech-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.landing-page .tech-item p {
    font-size: 0.875rem;
    color: var(--landing-text-secondary);
    line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */

.landing-page .cta-section {
    padding: 100px 0;
}

.landing-page .cta-card {
    background: linear-gradient(135deg, var(--landing-bg-card) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.landing-page .cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    animation: landingRotateBg 30s linear infinite;
}

@keyframes landingRotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.landing-page .cta-content {
    position: relative;
    z-index: 1;
}

.landing-page .cta-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.landing-page .cta-content p {
    font-size: 1.125rem;
    color: var(--landing-text-secondary);
    max-width: 550px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.landing-page .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ========================================
   FOOTER
   ======================================== */

.landing-page footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-page .footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-page .footer-content p {
    font-size: 0.875rem;
    color: var(--landing-text-muted);
}

.landing-page .footer-links {
    display: flex;
    gap: 24px;
}

.landing-page .footer-links a {
    font-size: 0.875rem;
    color: var(--landing-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.landing-page .footer-links a:hover {
    color: var(--landing-text-primary);
}

/* ========================================
   HEADER ICON BUTTON & THEME TOGGLE
   ======================================== */

.landing-page .btn-icon-header {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--landing-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: all 0.25s ease;
}

.landing-page .btn-icon-header:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--landing-text-primary);
}

.landing-page .theme-toggle .fa-sun {
    display: none;
}

.landing-page .theme-toggle .fa-moon {
    display: block;
}

.landing-page[data-theme="light"] .theme-toggle .fa-sun {
    display: block;
    color: #f59e0b;
}

.landing-page[data-theme="light"] .theme-toggle .fa-moon {
    display: none;
}

/* ========================================
   WELCOME LOADING SCREEN
   ======================================== */

.landing-page .welcome-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.landing-page .welcome-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.landing-page .welcome-content {
    text-align: center;
    animation: landingWelcomeFadeIn 0.8s ease-out;
}

@keyframes landingWelcomeFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.landing-page .welcome-logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
}

.landing-page .welcome-logo {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-accent));
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
    animation: landingWelcomeLogoPulse 2s ease-in-out infinite;
    overflow: hidden;
}

.landing-page .welcome-logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

@keyframes landingWelcomeLogoPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 25px 70px rgba(139, 92, 246, 0.5); }
}

.landing-page .welcome-logo-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid transparent;
    border-top-color: var(--landing-primary);
    border-radius: 32px;
    animation: landingWelcomeRingSpin 1.5s linear infinite;
}

@keyframes landingWelcomeRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.landing-page .welcome-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--landing-text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.landing-page .welcome-text-animate {
    display: inline-block;
    animation: landingWelcomeTextFade 0.8s ease-out 0.3s both;
}

@keyframes landingWelcomeTextFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.landing-page .welcome-brand {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    animation: landingWelcomeBrandFade 0.8s ease-out 0.5s both;
}

@keyframes landingWelcomeBrandFade {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.landing-page .brand-seam {
    color: var(--landing-text-primary);
}

.landing-page .brand-stats {
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-page .welcome-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.landing-page .welcome-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--landing-primary), var(--landing-accent));
    border-radius: 2px;
    animation: landingWelcomeProgress 2s ease-out forwards;
}

@keyframes landingWelcomeProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ========================================
   LIGHT THEME OVERRIDES
   ======================================== */

.landing-page[data-theme="light"] body {
    background: linear-gradient(145deg, var(--landing-bg-dark) 0%, var(--landing-bg-darker) 100%);
}

.landing-page[data-theme="light"] .bg-animation .orb {
    opacity: 0.3;
}

.landing-page[data-theme="light"] .orb:nth-child(1) {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 70%);
}

.landing-page[data-theme="light"] .orb:nth-child(2) {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06), transparent 70%);
}

.landing-page[data-theme="light"] .orb:nth-child(3) {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.05), transparent 70%);
}

.landing-page[data-theme="light"] .hero-card {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.08);
}

.landing-page[data-theme="light"] .mockup-stat,
.landing-page[data-theme="light"] .mockup-chart {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

.landing-page[data-theme="light"] .progress-bar-container {
    background: rgba(0, 0, 0, 0.06);
}

.landing-page[data-theme="light"] .stat-card {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.landing-page[data-theme="light"] .stat-card:hover {
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.landing-page[data-theme="light"] .tech-card {
    border-color: rgba(59, 130, 246, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.landing-page[data-theme="light"] .tech-item {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

.landing-page[data-theme="light"] .tech-item:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(139, 92, 246, 0.15);
}

.landing-page[data-theme="light"] .feature-card {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.landing-page[data-theme="light"] .feature-card:hover {
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.1);
}

.landing-page[data-theme="light"] .cta-card {
    border-color: rgba(139, 92, 246, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.landing-page[data-theme="light"] .btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--landing-text-primary);
}

.landing-page[data-theme="light"] .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.2);
}

.landing-page[data-theme="light"] .nav-links a::after {
    background: var(--landing-primary);
}

.landing-page[data-theme="light"] .hero-badge {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

.landing-page[data-theme="light"] .tech-badge {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.landing-page[data-theme="light"] .live-indicator {
    background: rgba(34, 197, 94, 0.1);
}

.landing-page[data-theme="light"] .card-header {
    border-color: rgba(0, 0, 0, 0.06);
}

.landing-page[data-theme="light"] footer {
    border-color: rgba(0, 0, 0, 0.08);
}

.landing-page[data-theme="light"] .btn-icon-header {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
}

.landing-page[data-theme="light"] .btn-icon-header:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.2);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1024px) {
    .landing-page .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 0 80px;
        gap: 60px;
    }

    .landing-page .hero-content {
        max-width: 100%;
    }

    .landing-page .hero-content h1 {
        font-size: 2.5rem;
    }

    .landing-page .hero-buttons,
    .landing-page .hero-features {
        justify-content: center;
    }

    .landing-page .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .landing-page .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-page .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-page .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .landing-page .nav-links {
        display: none;
    }

    .landing-page .hero-content h1 {
        font-size: 2rem;
    }

    .landing-page .hero-content > p {
        font-size: 1rem;
    }

    .landing-page .hero-buttons {
        flex-direction: column;
    }

    .landing-page .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .landing-page .stats-grid,
    .landing-page .features-grid,
    .landing-page .tech-grid {
        grid-template-columns: 1fr;
    }

    .landing-page .tech-card {
        padding: 32px 20px;
    }

    .landing-page .tech-header h2 {
        font-size: 1.75rem;
    }

    .landing-page .cta-card {
        padding: 40px 24px;
    }

    .landing-page .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
