/* Landing Page Dark Theme Support */

/* Dark Theme Variables for Landing */
[data-theme="dark"] .landing-page {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .landing-page * {
    color: inherit;
}

[data-theme="dark"] body {
    background: #1a1a1a;
}

/* Hero Section */
[data-theme="dark"] .hero {
    background: linear-gradient(135deg,rgba(52,152,219,.2),rgba(215,38,61,.18));
    box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .hero-logo {
    background: #2d2d2d;
    box-shadow: 0 10px 24px -14px rgba(0,0,0,.5);
}

[data-theme="dark"] .hero-sub {
    color: #b0b0b0;
}

[data-theme="dark"] .hero-title h1 {
    color: #e0e0e0;
}

/* CTA Buttons */
[data-theme="dark"] .cta-secondary {
    background: #2d2d2d;
    color: var(--brand-blue);
    border: 1px solid rgba(52,152,219,.4);
}

[data-theme="dark"] .cta-secondary:hover {
    background: #3a3a3a;
}

/* KPI Chips */
[data-theme="dark"] .kpi-chip {
    background: #2d2d2d;
    border: 1px solid rgba(255,255,255,.1);
    color: #e0e0e0;
}

[data-theme="dark"] .kpi-chip em {
    color: var(--brand-blue);
}

/* Product Cards */
[data-theme="dark"] .product-card {
    background: #2d2d2d;
    border: 1px solid #404040;
    box-shadow: 0 30px 60px -45px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .product-card:hover {
    box-shadow: 0 40px 70px -45px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .product-badge {
    border: 1px solid rgba(255,255,255,.1);
}

[data-theme="dark"] .badge-asset {
    background: rgba(215,38,61,.25);
    color: #ff6b7f;
}

[data-theme="dark"] .badge-backoffice {
    background: rgba(108,117,125,.25);
    color: #a0a0a0;
}

[data-theme="dark"] .badge-broker {
    background: rgba(52,152,219,.25);
    color: #8ecbff;
}

[data-theme="dark"] .badge-tadbirpay {
    background: rgba(40,167,69,.25);
    color: #7ddf93;
}

[data-theme="dark"] .badge-dp {
    background: rgba(111,66,193,.25);
    color: #b896ff;
}

[data-theme="dark"] .product-card h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .product-card p {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .product-details span {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .product-features li {
    color: #b0b0b0;
}

[data-theme="dark"] .product-features li::before {
    color: var(--brand-blue);
}

/* Metric Cards */
[data-theme="dark"] .metric-card {
    background: #2d2d2d;
    border: 1px solid #404040;
    box-shadow: 0 24px 45px -38px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .metric-card strong {
    color: var(--brand-blue);
}

[data-theme="dark"] .metric-card span {
    color: #b0b0b0;
}

/* Contact Section */
[data-theme="dark"] .contact {
    background: #2d2d2d;
    color: #e0e0e0;
}

[data-theme="dark"] .contact h4 {
    color: #e0e0e0;
}

[data-theme="dark"] .contact p {
    color: #b0b0b0;
}

[data-theme="dark"] .contact a {
    color: #fff;
}

/* Product Links */
[data-theme="dark"] .product-links a {
    border-color: rgba(52,152,219,.4);
    color: var(--brand-blue);
    background: transparent;
}

[data-theme="dark"] .product-links a:hover {
    background: rgba(52,152,219,.2);
    color: var(--brand-blue);
}

/* Documentation Cards */
[data-theme="dark"] .doc-card {
    background: #2d2d2d;
    border: 1px solid #404040;
    box-shadow: 0 16px 34px -26px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .doc-card:hover {
    box-shadow: 0 20px 42px -28px rgba(0, 0, 0, 0.7);
    border-color: #505050;
}

[data-theme="dark"] .doc-card-content h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .doc-desc {
    color: #b0b0b0;
}

[data-theme="dark"] .doc-tag {
    background: #3a3a3a;
    color: #b0b0b0;
}

[data-theme="dark"] .doc-link {
    color: var(--brand-blue);
}

[data-theme="dark"] .doc-link:hover {
    color: var(--brand-red);
}

/* Resources Section */
[data-theme="dark"] .resource-section {
    background: #2d2d2d;
}

[data-theme="dark"] .resource-section h2 {
    color: #e0e0e0;
}

[data-theme="dark"] .resource-section p {
    color: #b0b0b0;
}

[data-theme="dark"] .resource-item {
    background: #3a3a3a;
    border: 1px solid #505050;
}

[data-theme="dark"] .resource-item:hover {
    background: #404040;
    border-color: #606060;
}

[data-theme="dark"] .resource-item h5 {
    color: #e0e0e0;
}

[data-theme="dark"] .resource-item p {
    color: #b0b0b0;
}

/* Stats Section */
[data-theme="dark"] .stats-section {
    background: #2d2d2d;
}

[data-theme="dark"] .stat-item h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .stat-item p {
    color: #b0b0b0;
}

/* Footer for Landing */
[data-theme="dark"] .landing-footer {
    background: #1a1a1a;
    border-top: 1px solid #404040;
    color: #b0b0b0;
}

/* Text Colors */
[data-theme="dark"] .text-muted {
    color: #808080 !important;
}

/* Links */
[data-theme="dark"] a {
    color: var(--brand-blue);
}

[data-theme="dark"] a:hover {
    color: var(--brand-red);
}
