/* ===== GDLSOFT — Neon Dark SaaS Design System ===== */

/* --- CSS Variables / Theme (Dark-first) --- */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1629;
    --bg-card: rgba(15, 23, 42, 0.8);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #818cf8;
    --accent-hover: #a78bfa;
    --accent-light: rgba(129, 140, 248, 0.1);
    --neon-purple: #a855f7;
    --neon-blue: #3b82f6;
    --neon-cyan: #06b6d4;
    --neon-pink: #ec4899;
    --neon-green: #10b981;
    --glow-accent: rgba(129, 140, 248, 0.4);
    --glow-purple: rgba(168, 85, 247, 0.35);
    --glow-cyan: rgba(6, 182, 212, 0.3);
    --glow-pink: rgba(236, 72, 153, 0.3);
    --border: rgba(148, 163, 184, 0.1);
    --border-light: rgba(148, 163, 184, 0.06);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --success: #10b981;
    --danger: #ef4444;
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-card: rgba(255, 255, 255, 0.9);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --accent-light: rgba(99, 102, 241, 0.08);
    --neon-purple: #7c3aed;
    --neon-blue: #2563eb;
    --neon-cyan: #0891b2;
    --neon-pink: #db2777;
    --neon-green: #059669;
    --glow-accent: rgba(99, 102, 241, 0.15);
    --glow-purple: rgba(124, 58, 237, 0.12);
    --glow-cyan: rgba(8, 145, 178, 0.1);
    --glow-pink: rgba(219, 39, 119, 0.1);
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
}

/* --- Light Mode Component Overrides --- */
[data-theme="light"] .hero-badge {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.15);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

[data-theme="light"] .hero h1 .highlight {
    filter: none;
}

[data-theme="light"] .hero::after {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.04) 0%, transparent 60%);
}

[data-theme="light"] .hero-image {
    border-color: #e2e8f0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

[data-theme="light"] .btn-primary {
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

[data-theme="light"] .btn-secondary {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .btn-secondary:hover {
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .card {
    background: #ffffff;
    border-color: #e2e8f0;
    backdrop-filter: none;
}

[data-theme="light"] .card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .card-icon {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .card:hover .card-icon {
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.12);
}

[data-theme="light"] .section-header .badge {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.12);
    box-shadow: none;
}

[data-theme="light"] .section-alt::before {
    opacity: 0.15;
}

[data-theme="light"] .product-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(124, 58, 237, 0.05), rgba(8, 145, 178, 0.04));
    border-color: rgba(99, 102, 241, 0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    backdrop-filter: none;
}

[data-theme="light"] .product-card-large {
    background: #ffffff;
    border-color: #e2e8f0;
    backdrop-filter: none;
}

[data-theme="light"] .product-card-large:hover {
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.1);
}

[data-theme="light"] .product-image-placeholder {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(124, 58, 237, 0.02));
    border-color: #e2e8f0;
}

[data-theme="light"] .tech-tag {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .contact-info {
    background: linear-gradient(135deg, var(--accent), var(--neon-purple));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .contact-info h2,
[data-theme="light"] .contact-info p {
    color: #fff;
}

[data-theme="light"] .contact-info p {
    color: rgba(255,255,255,0.9);
}

[data-theme="light"] .contact-detail {
    color: rgba(255,255,255,0.9);
}

[data-theme="light"] .contact-detail-icon {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.15);
}

[data-theme="light"] .contact-form-card {
    background: #ffffff;
    border-color: #e2e8f0;
    backdrop-filter: none;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .stat-number {
    text-shadow: none;
}

[data-theme="light"] .footer {
    background: #f8f9fc;
}

[data-theme="light"] .footer::before {
    opacity: 0.2;
}

[data-theme="light"] .footer-social a {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .footer-social a:hover {
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .navbar-brand .brand-dot {
    box-shadow: none;
}

[data-theme="light"] .footer-brand .brand-dot {
    box-shadow: none;
}

/* --- Product Showcase Light Mode --- */
[data-theme="light"] .product-showcase-card {
    background: #ffffff;
    border-color: #e2e8f0;
    backdrop-filter: none;
}

[data-theme="light"] .product-showcase-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .product-showcase-card.product-showcase-featured {
    border-color: rgba(99, 102, 241, 0.15);
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.06);
}

[data-theme="light"] .product-showcase-img {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04) 0%, rgba(124, 58, 237, 0.02) 40%, rgba(248, 249, 252, 1) 100%);
    border-bottom-color: #e2e8f0;
}

[data-theme="light"] .product-showcase-emoji {
    filter: none;
}

[data-theme="light"] .product-showcase-tag {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .product-showcase-card:hover .product-showcase-link {
    text-shadow: none;
}

/* --- Product Detail Light Mode --- */
[data-theme="light"] .product-detail-feature {
    background: #ffffff;
    border-color: #e2e8f0;
    backdrop-filter: none;
}

[data-theme="light"] .product-detail-feature:hover {
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
}

[data-theme="light"] .product-detail-cta-card {
    background: #ffffff;
    border-color: rgba(99, 102, 241, 0.15);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
    backdrop-filter: none;
}

[data-theme="light"] .highlight-check {
    text-shadow: none;
}

[data-theme="light"] .feature-list li::before {
    text-shadow: none;
}

/* --- Keyframe Animations --- */
@keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-8px); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}

@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
    20%, 24%, 55% { opacity: 0.6; }
}

@keyframes blob-rotate {
    0%   { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    33%  { transform: translate(-50%, -50%) rotate(120deg) scale(1.1); }
    66%  { transform: translate(-50%, -50%) rotate(240deg) scale(0.9); }
    100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background var(--transition-slow), color var(--transition);
}

/* --- App Root --- */
.app-root {
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: background var(--transition-slow), color var(--transition);
}

/* --- Mouse-Following Gradient Blob --- */
.mouse-blob {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(129, 140, 248, 0.12) 0%,
        rgba(168, 85, 247, 0.08) 30%,
        rgba(6, 182, 212, 0.04) 60%,
        transparent 80%
    );
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: left 0.3s ease-out, top 0.3s ease-out;
    filter: blur(40px);
    will-change: left, top;
}

[data-theme="light"] .mouse-blob {
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.06) 0%,
        rgba(124, 58, 237, 0.04) 30%,
        transparent 70%
    );
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-primary);
}

h1:focus { outline: none; }

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

[data-theme="light"] .navbar {
    background: rgba(255,255,255,0.8);
}

.navbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .brand-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--glow-accent), 0 0 20px var(--glow-accent);
    animation: pulse-glow 2s ease-in-out infinite;
}

/* --- Brand "AI" Badge --- */
.brand-ai {
    background: linear-gradient(135deg, var(--neon-cyan), var(--accent), var(--neon-purple));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
    font-weight: 900;
    font-size: 0.85em;
}

/* Easter egg dot */
.brand-dot-easter {
    cursor: pointer;
    transition: all 0.3s;
}

.brand-dot-easter:hover {
    transform: scale(2);
    box-shadow: 0 0 12px var(--glow-accent), 0 0 30px var(--glow-accent), 0 0 50px var(--glow-purple);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.navbar-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--text-primary);
}

.navbar-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.theme-toggle:hover {
    background: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--neon-purple));
    color: #fff;
    box-shadow: 0 0 15px var(--glow-accent), 0 0 30px var(--glow-purple);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--neon-pink));
    box-shadow: 0 0 20px var(--glow-accent), 0 0 50px var(--glow-purple), 0 0 80px var(--glow-pink);
    transform: translateY(-2px);
    color: #fff;
}

.neon-btn {
    animation: pulse-glow 3s ease-in-out infinite;
}

.btn-secondary {
    background: rgba(255,255,255,0.03);
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--glow-accent);
}

.btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
}

/* --- Hero Section --- */
.hero {
    padding: 8rem 0 5rem;
    text-align: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(
        ellipse at center,
        rgba(129, 140, 248, 0.15) 0%,
        rgba(168, 85, 247, 0.08) 30%,
        rgba(6, 182, 212, 0.05) 50%,
        transparent 70%
    );
    pointer-events: none;
    animation: blob-rotate 20s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(236, 72, 153, 0.08) 0%,
        rgba(168, 85, 247, 0.04) 40%,
        transparent 70%
    );
    pointer-events: none;
    animation: blob-rotate 25s linear infinite reverse;
}

[data-theme="light"] .hero::before {
    background: radial-gradient(
        ellipse at center,
        rgba(99, 102, 241, 0.08) 0%,
        rgba(124, 58, 237, 0.04) 30%,
        transparent 60%
    );
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(129, 140, 248, 0.08);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(129, 140, 248, 0.2);
    box-shadow: 0 0 15px var(--glow-accent), inset 0 0 15px rgba(129, 140, 248, 0.05);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    max-width: 750px;
    margin: 0 auto 1.25rem;
    line-height: 1.1;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent), var(--neon-purple), var(--neon-cyan));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--glow-purple));
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image {
    margin-top: 3.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(129, 140, 248, 0.15);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 30px var(--glow-accent), 0 20px 60px rgba(0,0,0,0.3), inset 0 0 60px rgba(129, 140, 248, 0.03);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(12px);
}

/* --- Sections --- */
.section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.section-alt {
    background: var(--bg-secondary);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--neon-purple), var(--neon-cyan), transparent);
    opacity: 0.3;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem;
}

.section-header .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(129, 140, 248, 0.06);
    color: var(--accent);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(129, 140, 248, 0.15);
    box-shadow: 0 0 10px var(--glow-accent);
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- Cards --- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--neon-purple), var(--neon-cyan));
    opacity: 0;
    transition: opacity 0.35s;
}

.card:hover {
    border-color: rgba(129, 140, 248, 0.3);
    box-shadow: 0 0 20px var(--glow-accent), 0 8px 32px rgba(0,0,0,0.2);
    transform: translateY(-4px);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(129, 140, 248, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(129, 140, 248, 0.12);
    transition: all var(--transition);
}

.card:hover .card-icon {
    box-shadow: 0 0 12px var(--glow-accent);
    border-color: rgba(129, 140, 248, 0.3);
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 650;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* --- Grid Layouts --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* --- Module Section --- */
.module-group {
    margin-bottom: 3rem;
}

.module-group-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.module-group-title .icon {
    color: var(--accent);
}

/* --- Product Hero Card --- */
.product-hero {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.15), rgba(168, 85, 247, 0.1), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: 0 0 40px var(--glow-accent), inset 0 0 60px rgba(129, 140, 248, 0.03);
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--neon-purple), var(--neon-cyan), var(--neon-pink));
    background-size: 300% auto;
    animation: gradient-shift 6s linear infinite;
}

.product-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: blob-rotate 15s linear infinite;
}

.product-hero h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.product-hero p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 550px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* --- Feature List (for cards with bullet items) --- */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

.feature-list li {
    font-size: 0.84rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li::before {
    content: '✓';
    color: var(--neon-green);
    font-weight: 700;
    font-size: 0.75rem;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* --- Other Products Section --- */
.product-card-large {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.product-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--accent), var(--neon-purple));
    opacity: 0;
    transition: opacity 0.35s;
}

.product-card-large:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 25px var(--glow-cyan), 0 8px 32px rgba(0,0,0,0.2);
    transform: translateY(-3px);
}

.product-card-large:hover::before {
    opacity: 1;
}

.product-card-large h3 {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.product-card-large p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.product-image-placeholder {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.05), rgba(168, 85, 247, 0.03), rgba(6, 182, 212, 0.03));
    border: 1px dashed rgba(148, 163, 184, 0.15);
    border-radius: var(--radius-sm);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    position: relative;
    overflow: hidden;
}

.product-image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.04), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

/* --- Custom Dev Section --- */
.custom-dev {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.custom-dev-content {
    flex: 1;
}

.custom-dev-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.custom-dev-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.custom-dev-visual {
    flex: 1;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tech-tag {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    padding: 0.4rem 0.85rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
    backdrop-filter: blur(4px);
}

.tech-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
    box-shadow: 0 0 10px var(--glow-accent);
}

/* --- Contact / Form --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.12), rgba(168, 85, 247, 0.08), rgba(6, 182, 212, 0.06));
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    backdrop-filter: blur(16px);
    box-shadow: 0 0 30px var(--glow-accent);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--neon-purple), var(--neon-pink));
    background-size: 200% auto;
    animation: gradient-shift 4s linear infinite;
}

.contact-info h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    position: relative;
    z-index: 1;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    background: rgba(129, 140, 248, 0.08);
    border: 1px solid rgba(129, 140, 248, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition);
}

.contact-detail:hover .contact-detail-icon {
    box-shadow: 0 0 12px var(--glow-accent);
    border-color: rgba(129, 140, 248, 0.3);
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--accent), var(--neon-purple));
}

.contact-form-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-form-card > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--glow-accent), 0 0 15px var(--glow-accent);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* --- Validation --- */
.validation-message {
    color: var(--danger);
    font-size: 0.78rem;
    margin-top: 0.25rem;
}

.valid.modified:not([type=checkbox]) {
    outline: none;
    border-color: var(--success);
}

.invalid {
    outline: none;
    border-color: var(--danger) !important;
}

/* --- Alert / Success Message --- */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.06);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.06);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
}

/* --- Footer --- */
.footer {
    background: var(--bg-secondary);
    border-top: none;
    padding: 3.5rem 0 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--neon-purple), var(--neon-cyan), transparent);
    opacity: 0.4;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand .brand-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--glow-accent);
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 12px var(--glow-accent);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-game-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 1px solid rgba(0, 217, 255, 0.25);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.footer-game-btn:hover {
    color: #00d9ff;
    border-color: #00d9ff;
    background: rgba(0, 217, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2), 0 0 30px rgba(183, 0, 255, 0.1);
    transform: translateY(-1px);
}

.footer-game-btn:active {
    transform: translateY(0);
}

/* --- Neon Dividers --- */
.section + .section::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--neon-purple), transparent);
    opacity: 0.15;
    margin-bottom: -1px;
}

/* --- Stats Row --- */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    text-shadow: 0 0 20px var(--glow-accent);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- Loading --- */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--text-muted);
}

/* --- Blazor Error UI --- */
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* --- Product Showcase Cards (Home Grid) --- */
.product-showcase-grid {
    gap: 1.75rem;
}

.product-showcase-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(12px);
}

.product-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--neon-purple), var(--neon-cyan));
    background-size: 200% auto;
    opacity: 0;
    transition: opacity 0.4s;
    animation: gradient-shift 4s linear infinite;
}

.product-showcase-card:hover {
    border-color: rgba(129, 140, 248, 0.3);
    box-shadow:
        0 0 25px var(--glow-accent),
        0 0 50px rgba(168, 85, 247, 0.08),
        0 16px 48px rgba(0,0,0,0.25);
    transform: translateY(-6px) scale(1.01);
    color: inherit;
}

.product-showcase-card:hover::before {
    opacity: 1;
}

.product-showcase-card.product-showcase-featured {
    border-color: rgba(129, 140, 248, 0.2);
    box-shadow: 0 0 20px rgba(129, 140, 248, 0.08);
}

.product-showcase-card.product-showcase-featured::before {
    opacity: 0.5;
}

.product-showcase-img {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(
        135deg,
        rgba(129, 140, 248, 0.06) 0%,
        rgba(168, 85, 247, 0.04) 40%,
        rgba(6, 182, 212, 0.03) 70%,
        rgba(236, 72, 153, 0.02) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.product-showcase-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.03), transparent);
    background-size: 200% 100%;
    animation: shimmer 4s linear infinite;
}

.product-showcase-emoji {
    font-size: 3.5rem;
    filter: drop-shadow(0 0 15px var(--glow-accent));
    animation: float 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.product-showcase-img-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.product-showcase-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-showcase-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(129, 140, 248, 0.08);
    color: var(--accent);
    border: 1px solid rgba(129, 140, 248, 0.15);
    margin-bottom: 0.75rem;
}

.product-showcase-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-showcase-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.product-showcase-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    transition: all var(--transition);
}

.product-showcase-card:hover .product-showcase-link {
    color: var(--accent-hover);
    text-shadow: 0 0 10px var(--glow-accent);
    gap: 0.25rem;
}

/* --- Product Detail Page --- */
.product-detail-hero-img {
    flex-direction: column;
    gap: 1rem;
}

.product-detail-hero-emoji {
    font-size: 4rem;
    filter: drop-shadow(0 0 25px var(--glow-accent));
    animation: float 5s ease-in-out infinite;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-detail-info h2 {
    font-size: 2rem;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.product-detail-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-detail-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.product-detail-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}

.product-detail-feature:hover {
    border-color: rgba(129, 140, 248, 0.2);
    box-shadow: 0 0 15px var(--glow-accent);
}

.product-detail-feature .card-icon {
    flex-shrink: 0;
    margin-bottom: 0;
}

.product-detail-feature h4 {
    font-size: 0.95rem;
    font-weight: 650;
    margin-bottom: 0.25rem;
}

.product-detail-feature p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.product-detail-sidebar {
    position: sticky;
    top: 80px;
}

.product-detail-cta-card {
    background: var(--bg-card);
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 0 30px var(--glow-accent);
    position: relative;
    overflow: hidden;
}

.product-detail-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--neon-purple), var(--neon-cyan));
    background-size: 200% auto;
    animation: gradient-shift 4s linear infinite;
}

.product-detail-cta-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-detail-cta-card > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.product-detail-highlights {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.product-detail-highlight-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.highlight-check {
    color: var(--neon-green);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* ===== GESTIÓN DE LLANTAS — Ruedata-style Landing ===== */

/* --- Tire Hero --- */
.tire-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tire-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(
        ellipse at center,
        rgba(16, 185, 129, 0.12) 0%,
        rgba(129, 140, 248, 0.06) 30%,
        rgba(6, 182, 212, 0.04) 50%,
        transparent 70%
    );
    pointer-events: none;
    animation: blob-rotate 20s linear infinite;
}

.tire-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    max-width: 800px;
    margin: 0 auto 1.25rem;
    line-height: 1.1;
}

.tire-hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* --- ROI Stats Bar --- */
.tire-roi-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 3rem;
    padding: 2rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.tire-roi-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-green), var(--accent), var(--neon-cyan));
    background-size: 200% auto;
    animation: gradient-shift 4s linear infinite;
}

.tire-roi-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 0 1rem;
}

.tire-roi-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--neon-green);
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.tire-roi-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.tire-roi-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
    flex-shrink: 0;
}

/* --- Pain / Problem Cards --- */
.tire-pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tire-pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--danger), #f59e0b, var(--danger));
    opacity: 0;
    transition: opacity 0.35s;
}

.tire-pain-card:hover {
    border-color: rgba(239, 68, 68, 0.2);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.08), 0 8px 32px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.tire-pain-card:hover::before {
    opacity: 1;
}

.tire-pain-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tire-pain-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 650;
}

.tire-pain-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- How It Works Steps --- */
.tire-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.tire-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.tire-step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.tire-step-content {
    padding-bottom: 0.5rem;
}

.tire-step-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.tire-step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tire-step-connector {
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, var(--neon-green), rgba(16, 185, 129, 0.15));
    margin-left: 25px;
    position: relative;
    z-index: 0;
}

/* --- Alternating Feature Rows (Ruedata style) --- */
.tire-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.tire-feature-row:last-child {
    margin-bottom: 0;
}

.tire-feature-row-reverse {
    direction: rtl;
}

.tire-feature-row-reverse > * {
    direction: ltr;
}

.tire-feature-visual {
    position: relative;
}

.tire-feature-img-placeholder {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.06) 0%,
        rgba(129, 140, 248, 0.04) 40%,
        rgba(6, 182, 212, 0.03) 100%
    );
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    overflow: hidden;
    position: relative;
}

.tire-feature-img-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.03), transparent);
    background-size: 200% 100%;
    animation: shimmer 4s linear infinite;
}

.tire-feature-emoji {
    font-size: 3rem;
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.3));
    animation: float 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.tire-feature-img-placeholder > span:last-child {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.tire-feature-content {
    display: flex;
    flex-direction: column;
}

.tire-feature-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(16, 185, 129, 0.08);
    color: var(--neon-green);
    border: 1px solid rgba(16, 185, 129, 0.15);
    margin-bottom: 0.75rem;
}

.tire-feature-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.3px;
}

.tire-feature-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* --- ROI Banner --- */
.tire-roi-section {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.tire-roi-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(129, 140, 248, 0.08), rgba(6, 182, 212, 0.06));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.08);
}

.tire-roi-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-green), var(--accent), var(--neon-cyan), var(--neon-green));
    background-size: 300% auto;
    animation: gradient-shift 5s linear infinite;
}

.tire-roi-banner-content {
    flex: 1;
}

.tire-roi-banner-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.tire-roi-banner-content > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tire-roi-banner-content > p strong {
    color: var(--neon-green);
    font-weight: 700;
}

.tire-roi-banner-stats {
    display: flex;
    gap: 2rem;
}

.tire-roi-banner-stat {
    display: flex;
    flex-direction: column;
}

.tire-roi-banner-stat span {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--neon-green);
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.tire-roi-banner-stat small {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.tire-roi-banner-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.tire-roi-banner-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* --- Industry Cards --- */
.tire-industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tire-industry-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
    transform: translateY(-3px);
}

.tire-industry-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tire-industry-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- Video Embed --- */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.1), 0 16px 48px rgba(0,0,0,0.25);
    background: #000;
}

.video-wrapper video,
.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
}

[data-theme="light"] .video-wrapper {
    border-color: #e2e8f0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* --- Feature Video (inline autoplay) --- */
.feature-video-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.08), 0 8px 32px rgba(0,0,0,0.2);
    background: #000;
}

.feature-video-wrapper video {
    display: block;
    width: 100%;
    height: auto;
}

/* --- RFID Dashboard Mockup (Feature Visual) --- */
.rfid-mock {
    background: #0a0e27;
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 16px;
    overflow: hidden;
}

.rfid-mock-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.rfid-mock-brand {
    font-size: 0.6rem;
    font-weight: 700;
    color: #00d9ff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rfid-mock-title {
    font-size: 0.85rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d9ff, #b700ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rfid-mock-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.rfid-mock-kpi {
    background: #1a1f3a;
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
}

.rfid-mock-kpi-val {
    font-size: 1.05rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d9ff, #b700ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.rfid-mock-kpi-lbl {
    font-size: 0.55rem;
    color: #9099a8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.rfid-mock-timeline {
    background: #1a1f3a;
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rfid-mock-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    color: #e0e0e0;
    position: relative;
    padding-left: 4px;
}

.rfid-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00d9ff;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(0, 217, 255, 0.5);
    position: relative;
}

.rfid-dot.last {
    background: #b700ff;
    box-shadow: 0 0 8px rgba(183, 0, 255, 0.5);
}

.rfid-mock-step:not(:last-child) .rfid-dot::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 1.5px;
    height: 10px;
    background: linear-gradient(180deg, #00d9ff, rgba(0, 217, 255, 0.2));
    transform: translateX(-50%);
}

.rfid-mock-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rfid-mock-benefits span {
    font-size: 0.58rem;
    color: #9099a8;
    background: rgba(0, 217, 255, 0.06);
    border: 1px solid rgba(0, 217, 255, 0.1);
    padding: 3px 8px;
    border-radius: 100px;
}

/* --- Cost per KM Mockup (Feature Visual) --- */
.cpk-mock {
    background: #0a0e27;
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 14px;
    overflow: hidden;
}

.cpk-mock-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.cpk-mock-brand {
    font-size: 0.58rem;
    font-weight: 700;
    color: #00d9ff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cpk-mock-title {
    font-size: 0.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d9ff, #b700ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cpk-mock-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.cpk-mock-kpi {
    background: #1a1f3a;
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 8px;
    padding: 8px 6px;
    text-align: center;
}

.cpk-mock-kpi-val {
    font-size: 0.95rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d9ff, #b700ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.cpk-mock-kpi-lbl {
    font-size: 0.5rem;
    color: #9099a8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.cpk-trend {
    display: inline-block;
    font-size: 0.5rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    margin-top: 3px;
}

.cpk-trend-down {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

/* Bar chart */
.cpk-mock-chart {
    background: #1a1f3a;
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
}

.cpk-mock-chart-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: #00d9ff;
    margin-bottom: 8px;
}

.cpk-bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cpk-bar-row {
    display: grid;
    grid-template-columns: 65px 1fr 36px;
    align-items: center;
    gap: 6px;
}

.cpk-bar-label {
    font-size: 0.58rem;
    color: #9099a8;
    text-align: right;
}

.cpk-bar-track {
    height: 10px;
    background: rgba(0, 217, 255, 0.08);
    border-radius: 5px;
    overflow: hidden;
}

.cpk-bar-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s ease;
}

.cpk-bar-fill.cpk-cyan {
    background: linear-gradient(90deg, #00d9ff, rgba(0, 217, 255, 0.6));
    box-shadow: 0 0 6px rgba(0, 217, 255, 0.3);
}

.cpk-bar-fill.cpk-purple {
    background: linear-gradient(90deg, #b700ff, rgba(183, 0, 255, 0.6));
    box-shadow: 0 0 6px rgba(183, 0, 255, 0.3);
}

.cpk-bar-fill.cpk-pink {
    background: linear-gradient(90deg, #ff006e, rgba(255, 0, 110, 0.6));
    box-shadow: 0 0 6px rgba(255, 0, 110, 0.3);
}

.cpk-bar-val {
    font-size: 0.58rem;
    font-weight: 700;
    color: #e0e0e0;
}

/* Mini table */
.cpk-mock-table {
    background: #1a1f3a;
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.cpk-table-row {
    display: grid;
    grid-template-columns: 1fr 0.7fr 0.7fr 0.8fr;
    gap: 4px;
    padding: 5px 8px;
    font-size: 0.55rem;
    color: #e0e0e0;
    border-bottom: 1px solid rgba(0, 217, 255, 0.06);
}

.cpk-table-row:last-child {
    border-bottom: none;
}

.cpk-table-head {
    background: rgba(0, 217, 255, 0.08);
    color: #00d9ff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cpk-st-ok {
    color: #4caf50;
    font-weight: 600;
}

.cpk-st-warn {
    color: #ffc107;
    font-weight: 600;
}

/* --- Alerts Predictive Mockup (Feature Visual) --- */
.alrt-mock {
    background: #0a0e27;
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 14px;
    overflow: hidden;
}

.alrt-mock-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.alrt-mock-brand {
    font-size: 0.58rem;
    font-weight: 700;
    color: #00d9ff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.alrt-mock-title {
    font-size: 0.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d9ff, #b700ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Summary counters */
.alrt-mock-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.alrt-mock-count {
    border-radius: 6px;
    padding: 6px;
    text-align: center;
    border: 1px solid;
}

.alrt-count-crit {
    background: rgba(244, 67, 54, 0.08);
    border-color: rgba(244, 67, 54, 0.3);
}

.alrt-count-warn {
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.3);
}

.alrt-count-info {
    background: rgba(0, 217, 255, 0.08);
    border-color: rgba(0, 217, 255, 0.3);
}

.alrt-count-val {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.alrt-count-crit .alrt-count-val { color: #f44336; }
.alrt-count-warn .alrt-count-val { color: #ffc107; }
.alrt-count-info .alrt-count-val { color: #00d9ff; }

.alrt-count-lbl {
    font-size: 0.5rem;
    color: #9099a8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Alert items */
.alrt-mock-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.alrt-mock-item {
    display: flex;
    gap: 0;
    background: #1a1f3a;
    border-radius: 6px;
    overflow: hidden;
}

.alrt-item-bar {
    width: 3px;
    flex-shrink: 0;
}

.alrt-item-crit .alrt-item-bar { background: #f44336; }
.alrt-item-warn .alrt-item-bar { background: #ffc107; }
.alrt-item-info .alrt-item-bar { background: #00d9ff; }

.alrt-item-crit { background: linear-gradient(90deg, rgba(244,67,54,0.06), #1a1f3a 40%); }
.alrt-item-warn { background: linear-gradient(90deg, rgba(255,193,7,0.06), #1a1f3a 40%); }
.alrt-item-info { background: linear-gradient(90deg, rgba(0,217,255,0.06), #1a1f3a 40%); }

.alrt-item-body {
    padding: 6px 8px;
    flex: 1;
    min-width: 0;
}

.alrt-item-title {
    font-size: 0.6rem;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alrt-item-desc {
    font-size: 0.52rem;
    color: #9099a8;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alrt-item-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.48rem;
    color: #6b7280;
}

.alrt-badge {
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.alrt-badge-crit {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
}

.alrt-badge-warn {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.alrt-badge-info {
    background: rgba(0, 217, 255, 0.15);
    color: #00d9ff;
}

.alrt-badge-conf {
    background: rgba(255, 255, 255, 0.05);
    color: #9099a8;
}

/* --- Purchase Projections Mockup (Feature Visual) --- */
.proj-mock {
    background: #0a0e27;
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 14px;
    overflow: hidden;
}

.proj-mock-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.proj-mock-brand {
    font-size: 0.58rem;
    font-weight: 700;
    color: #00d9ff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.proj-mock-title {
    font-size: 0.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d9ff, #b700ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* KPIs */
.proj-mock-kpis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.proj-mock-kpi {
    background: #1a1f3a;
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
}

.proj-mock-kpi-val {
    font-size: 0.95rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d9ff, #b700ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.proj-mock-kpi-lbl {
    font-size: 0.5rem;
    color: #9099a8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.proj-mock-kpi-meta {
    font-size: 0.48rem;
    color: #6b7280;
    margin-top: 2px;
}

.proj-mock-kpi-meta strong {
    color: #00d9ff;
}

.proj-ai-tag {
    display: inline-block;
    background: rgba(0, 217, 255, 0.15);
    color: #00d9ff;
    font-size: 0.42rem;
    font-weight: 700;
    padding: 1px 3px;
    border-radius: 2px;
    vertical-align: middle;
}

.proj-prog {
    height: 3px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 10px;
    margin-top: 4px;
    overflow: hidden;
}

.proj-prog-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d9ff, #b700ff);
    border-radius: 10px;
    box-shadow: 0 0 4px rgba(0, 217, 255, 0.3);
}

/* Mini bar chart */
.proj-mock-chart {
    background: #1a1f3a;
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 8px;
}

.proj-chart-title {
    font-size: 0.58rem;
    font-weight: 700;
    color: #00d9ff;
    margin-bottom: 6px;
}

.proj-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 50px;
}

.proj-chart-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.proj-chart-col span {
    font-size: 0.42rem;
    color: #6b7280;
    margin-top: 3px;
}

.proj-chart-bar {
    width: 100%;
    border-radius: 2px 2px 0 0;
    min-height: 3px;
}

.proj-bar-cyan {
    background: linear-gradient(180deg, #00d9ff, rgba(0, 217, 255, 0.4));
    box-shadow: 0 0 4px rgba(0, 217, 255, 0.2);
}

.proj-bar-purple {
    background: linear-gradient(180deg, #b700ff, rgba(183, 0, 255, 0.4));
    box-shadow: 0 0 4px rgba(183, 0, 255, 0.2);
}

/* Mini scrap table */
.proj-mock-table {
    background: #1a1f3a;
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.proj-table-row {
    display: grid;
    grid-template-columns: 1fr 0.5fr 0.5fr 0.7fr;
    gap: 4px;
    padding: 4px 8px;
    font-size: 0.52rem;
    color: #e0e0e0;
    border-bottom: 1px solid rgba(0, 217, 255, 0.06);
}

.proj-table-row:last-child {
    border-bottom: none;
}

.proj-table-head {
    background: rgba(0, 217, 255, 0.08);
    color: #00d9ff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.proj-st-high {
    color: #f44336;
    font-weight: 600;
}

.proj-st-med {
    color: #ffc107;
    font-weight: 600;
}

.proj-st-low {
    color: #4caf50;
    font-weight: 600;
}

/* --- Rotation Optimized Mockup (Feature Visual) --- */
.rot-mock {
    background: #0a0e27;
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 14px;
    overflow: hidden;
}

.rot-mock-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.rot-mock-brand {
    font-size: 0.58rem;
    font-weight: 700;
    color: #00d9ff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rot-mock-title {
    font-size: 0.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d9ff, #b700ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rot-mock-alert {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.6rem;
    font-weight: 600;
    color: #ffc107;
    margin-bottom: 10px;
}

/* Vehicle cards */
.rot-mock-vehicles {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.rot-mock-vehicle {
    background: #1a1f3a;
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 8px;
    padding: 8px 10px;
}

.rot-mock-vehicle-urgent {
    border-color: rgba(255, 193, 7, 0.25);
}

.rot-mock-vehicle-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.6rem;
    color: #e0e0e0;
    margin-bottom: 4px;
}

.rot-mock-pct {
    font-weight: 800;
    font-size: 0.75rem;
    background: linear-gradient(135deg, #00d9ff, #b700ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rot-mock-pct-warn {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rot-mock-bar {
    height: 5px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 4px;
}

.rot-mock-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d9ff, #b700ff);
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0, 217, 255, 0.3);
}

.rot-mock-bar-warn {
    background: linear-gradient(90deg, #ffc107, #ff9800);
    box-shadow: 0 0 6px rgba(255, 193, 7, 0.3);
}

.rot-mock-rec {
    font-size: 0.52rem;
    color: #9099a8;
    background: rgba(0, 217, 255, 0.04);
    border-left: 2px solid #00d9ff;
    padding: 3px 6px;
    border-radius: 0 4px 4px 0;
}

.rot-mock-rec-warn {
    border-left-color: #ffc107;
    background: rgba(255, 193, 7, 0.04);
}

/* Reencauche cycle */
.rot-mock-cycle {
    background: #1a1f3a;
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
}

.rot-mock-cycle-title {
    font-size: 0.6rem;
    font-weight: 700;
    color: #00d9ff;
    margin-bottom: 6px;
}

.rot-mock-steps {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rot-mock-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.58rem;
    color: #e0e0e0;
    padding-left: 2px;
}

.rot-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00d9ff;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(0, 217, 255, 0.4);
    position: relative;
}

.rot-dot-last {
    background: #b700ff;
    box-shadow: 0 0 6px rgba(183, 0, 255, 0.4);
}

.rot-mock-step:not(:last-child) .rot-dot::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 1.5px;
    height: 8px;
    background: linear-gradient(180deg, #00d9ff, rgba(0, 217, 255, 0.2));
    transform: translateX(-50%);
}

/* --- Dashboard Preview (Product Screenshot Mockup) --- */
.dash-frame {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 217, 255, 0.2);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.08), 0 20px 60px rgba(0,0,0,0.4);
    background: #0a0e27;
}

.dash-frame-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #111633;
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.dash-frame-dots {
    display: flex;
    gap: 6px;
}

.dash-frame-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2a2f4a;
}

.dash-frame-dots span:first-child { background: #ff5f57; }
.dash-frame-dots span:nth-child(2) { background: #febc2e; }
.dash-frame-dots span:last-child { background: #28c840; }

.dash-frame-url {
    flex: 1;
    text-align: center;
    font-size: 0.72rem;
    color: #6b7280;
    background: rgba(0,0,0,0.3);
    padding: 4px 12px;
    border-radius: 6px;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.dash-frame-body {
    padding: 20px;
}

.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 8px;
}

.dash-brand {
    font-size: 0.65rem;
    color: #00d9ff;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dash-title {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d9ff, #b700ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dash-header-badge {
    font-size: 0.72rem;
    color: #4caf50;
    background: rgba(76, 175, 80, 0.12);
    border: 1px solid rgba(76, 175, 80, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* Metric Cards */
.dash-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.dash-metric {
    background: #1a1f3a;
    border: 1px solid rgba(0, 217, 255, 0.12);
    border-radius: 10px;
    padding: 14px;
    transition: border-color 0.3s;
}

.dash-metric:hover {
    border-color: rgba(0, 217, 255, 0.35);
}

.dash-metric-icon {
    font-size: 1rem;
}

.dash-metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d9ff, #b700ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 4px 0 2px;
    line-height: 1.2;
}

.dash-metric-label {
    font-size: 0.68rem;
    color: #9099a8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.dash-bar {
    height: 5px;
    background: rgba(0, 217, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
}

.dash-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d9ff, #b700ff);
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0, 217, 255, 0.4);
}

.dash-bar-warn {
    background: linear-gradient(90deg, #ffc107, #ff9800);
    box-shadow: 0 0 6px rgba(255, 193, 7, 0.4);
}

.dash-status {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 10px;
}

.dash-status-ok {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.dash-metric-warn {
    border-color: rgba(255, 193, 7, 0.2);
}

/* Charts */
.dash-charts {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 12px;
    margin-bottom: 16px;
}

.dash-chart-card {
    background: #1a1f3a;
    border: 1px solid rgba(0, 217, 255, 0.12);
    border-radius: 10px;
    padding: 14px;
}

.dash-chart-title {
    color: #00d9ff;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Donut Chart */
.dash-donut {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dash-donut svg {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.dash-donut-legend {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-donut-legend span {
    font-size: 0.68rem;
    color: #9099a8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-donut-legend i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Area Chart */
.dash-area-chart {
    position: relative;
}

.dash-area-chart svg {
    width: 100%;
    height: 100px;
    display: block;
}

.dash-area-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: #6b7280;
    margin-top: 4px;
    padding: 0 2px;
}

/* Predictions */
.dash-predictions {
    background: #1a1f3a;
    border: 1px solid rgba(0, 217, 255, 0.12);
    border-radius: 10px;
    padding: 14px;
}

.dash-pred-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dash-pred-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: rgba(0, 217, 255, 0.04);
    border-radius: 6px;
    border-left: 2px solid #00d9ff;
    font-size: 0.75rem;
    color: #e0e0e0;
    gap: 12px;
}

.dash-pred-item.dash-pred-critical {
    border-left-color: #f44336;
    background: rgba(244, 67, 54, 0.04);
}

.dash-pred-conf {
    font-weight: 800;
    background: linear-gradient(135deg, #00d9ff, #b700ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

/* Responsive overrides for dashboard preview are in the responsive blocks below */

/* --- Tire Pillars ("Por qué elegirnos") --- */
.tire-pillars {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.tire-pillar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.25rem;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tire-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
    opacity: 0;
    transition: opacity 0.35s;
}

.tire-pillar:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1), 0 8px 32px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.tire-pillar:hover::before {
    opacity: 1;
}

.tire-pillar-icon {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.tire-pillar-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--neon-green);
    margin-bottom: 0.5rem;
}

.tire-pillar h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.tire-pillar p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* --- Tire Implementation Grid --- */
.tire-impl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.tire-impl-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tire-impl-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
    transform: translateY(-3px);
}

.tire-impl-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.tire-impl-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tire-impl-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Tire Landing Light Mode --- */
[data-theme="light"] .tire-hero::before {
    background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.06) 0%, rgba(99, 102, 241, 0.03) 30%, transparent 60%);
}

[data-theme="light"] .tire-roi-bar {
    background: #ffffff;
    border-color: #e2e8f0;
    backdrop-filter: none;
}

[data-theme="light"] .tire-roi-number {
    text-shadow: none;
}

[data-theme="light"] .tire-pain-card {
    background: #ffffff;
    border-color: #e2e8f0;
    backdrop-filter: none;
}

[data-theme="light"] .tire-pain-card:hover {
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.06);
}

[data-theme="light"] .tire-step-number {
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .tire-feature-img-placeholder {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.04), rgba(99, 102, 241, 0.02), rgba(248, 249, 252, 1));
    border-color: #e2e8f0;
}

[data-theme="light"] .tire-feature-emoji {
    filter: none;
}

[data-theme="light"] .tire-roi-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(99, 102, 241, 0.04));
    border-color: rgba(16, 185, 129, 0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    backdrop-filter: none;
}

[data-theme="light"] .tire-roi-banner-stat span {
    text-shadow: none;
}

[data-theme="light"] .tire-industry-card {
    background: #ffffff;
    border-color: #e2e8f0;
    backdrop-filter: none;
}

[data-theme="light"] .tire-industry-card:hover {
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
}

[data-theme="light"] .tire-pillar {
    background: #ffffff;
    border-color: #e2e8f0;
    backdrop-filter: none;
}

[data-theme="light"] .tire-pillar:hover {
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
}

[data-theme="light"] .tire-impl-card {
    background: #ffffff;
    border-color: #e2e8f0;
    backdrop-filter: none;
}

[data-theme="light"] .tire-impl-card:hover {
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
}

[data-theme="light"] .tire-impl-number {
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .custom-dev {
        flex-direction: column;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .stats-row {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-sidebar {
        position: static;
    }

    .tire-feature-row,
    .tire-feature-row-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tire-feature-row-reverse {
        direction: ltr;
    }

    .tire-roi-banner {
        flex-direction: column;
        text-align: center;
    }

    .tire-roi-banner-stats {
        justify-content: center;
    }

    .tire-pillars {
        grid-template-columns: repeat(3, 1fr);
    }

    .tire-impl-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-charts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0.75rem;
        box-shadow: var(--shadow-lg);
    }

    .navbar-links.open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        padding: 6.5rem 0 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 0;
    }

    .product-hero {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .product-showcase-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .tire-hero {
        padding: 6.5rem 0 3rem;
    }

    .tire-hero h1 {
        font-size: 2rem;
    }

    .tire-roi-bar {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .tire-roi-divider {
        width: 80%;
        height: 1px;
    }

    .tire-roi-banner {
        padding: 2rem;
    }

    .tire-roi-banner-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .tire-roi-banner-stat {
        align-items: center;
        text-align: center;
    }

    .tire-pillars {
        grid-template-columns: 1fr;
    }

    .tire-impl-grid {
        grid-template-columns: 1fr;
    }

    .dash-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .dash-metric-value {
        font-size: 1.2rem;
    }

    .dash-frame-body {
        padding: 12px;
    }

    .dash-donut {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .dash-pred-item {
        font-size: 0.68rem;
    }
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.empty-state p {
    font-size: 1.05rem;
}

/* ===== NEON GAME — Easter Egg Modal ===== */
.neon-game-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.neon-game-overlay.neon-game-visible {
    opacity: 1;
    pointer-events: auto;
}

.neon-game-modal {
    background: #0a0e27;
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 60px rgba(0, 217, 255, 0.15), 0 0 120px rgba(183, 0, 255, 0.08);
    overflow: hidden;
    max-width: 520px;
    width: 95%;
    animation: neon-game-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes neon-game-in {
    from {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.neon-game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 217, 255, 0.15);
    background: #111633;
}

.neon-game-title {
    font-size: 0.85rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d9ff, #b700ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.neon-game-score {
    font-size: 0.78rem;
    font-weight: 700;
    color: #00d9ff;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.neon-game-close {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #9099a8;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.neon-game-close:hover {
    background: rgba(244, 67, 54, 0.2);
    border-color: #f44336;
    color: #f44336;
}

.neon-game-modal canvas {
    display: block;
    width: 100%;
    height: auto;
    background: #0a0e27;
}

.neon-game-footer {
    padding: 8px 16px;
    text-align: center;
    font-size: 0.68rem;
    color: #6b7280;
    border-top: 1px solid rgba(0, 217, 255, 0.08);
    background: #0d1230;
}

/* --- Dashboard Demo (React iframe) --- */
.dashboard-demo-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.dashboard-demo-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 20px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.dashboard-demo-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.dashboard-demo-frame {
    flex: 1;
    width: 100%;
    border: 0;
    background: #0a0e27;
}

/* =============================================
   Blazor Dashboard — GDLSOFT 360 Tires
   ============================================= */
.db-root {
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(0,217,255,0.14), transparent 28%),
                radial-gradient(circle at bottom right, rgba(183,0,255,0.16), transparent 24%),
                linear-gradient(135deg, #060816, #0b1023 52%, #111933);
    color: #f1f5f9;
    padding: 1rem;
    padding-top: 80px;
}

/* Light mode root */
.db-root.db-light {
    background: radial-gradient(circle at top, rgba(56,189,248,0.15), transparent 28%),
                radial-gradient(circle at bottom right, rgba(217,70,239,0.1), transparent 24%),
                linear-gradient(135deg, #f8fbff, #eef4ff 52%, #e7eefb);
    color: #0f172a;
}

/* Top bar */
.db-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(2,6,23,0.7);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 22px;
    padding: 12px 20px;
    backdrop-filter: blur(12px);
    margin-bottom: 16px;
}

.db-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.db-topbar-icon {
    background: rgba(0,217,255,0.1);
    border: 1px solid rgba(0,217,255,0.3);
    border-radius: 16px;
    padding: 10px;
    font-size: 1.1rem;
}

.db-topbar-brand {
    display: block;
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    background: linear-gradient(90deg, #38bdf8, #22d3ee, #d946ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.db-topbar-sub {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
}

.db-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.db-topbar-live {
    font-size: 0.75rem;
    color: #94a3b8;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 4px 12px;
}

.db-topbar-live strong { color: #6ee7b7; }

.db-btn-edit {
    background: linear-gradient(135deg, #22d3ee, #d946ef);
    color: #0f172a;
    border: none;
    border-radius: 16px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.db-btn-edit:hover { opacity: 0.88; }

.db-btn-secondary {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #e2e8f0;
    border-radius: 16px;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.db-btn-secondary:hover { background: rgba(255,255,255,0.08); }

.db-btn-full { width: 100%; text-align: center; }

.db-btn-add {
    width: 100%;
    background: linear-gradient(135deg, #22d3ee, #d946ef);
    color: #0f172a;
    border: none;
    border-radius: 16px;
    padding: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
}

.db-btn-close {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #e2e8f0;
    border-radius: 14px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    cursor: pointer;
}

/* Notice toast */
.db-notice {
    background: rgba(34,211,238,0.1);
    border: 1px solid rgba(34,211,238,0.3);
    border-radius: 14px;
    padding: 10px 20px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #67e8f9;
    text-align: center;
}

/* Canvas info */
.db-canvas-info {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
    border-radius: 24px;
    padding: 16px 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.db-canvas-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: #94a3b8;
}

.db-canvas-title {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-top: 4px;
}

.db-canvas-desc {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Widget grid */
.db-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
}

.db-grid-item.db-grid-kpi { }
.db-grid-item.db-grid-chart { grid-column: span 1; }
.db-grid-item.db-grid-table { grid-column: span 1; }

@media (min-width: 900px) {
    .db-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .db-grid-item.db-grid-chart { grid-column: span 2; }
    .db-grid-item.db-grid-table { grid-column: span 2; }
}

/* Empty state */
.db-empty {
    grid-column: 1 / -1;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(34,211,238,0.3);
    border-radius: 28px;
    background: rgba(34,211,238,0.03);
    text-align: center;
    padding: 2rem;
}

.db-empty p:first-child { font-size: 1.1rem; color: #fff; }
.db-empty p:last-child { font-size: 0.9rem; color: #94a3b8; margin-top: 8px; }

/* Individual widget card */
.db-widget {
    background: rgba(2,6,23,0.45);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 20px;
    backdrop-filter: blur(8px);
    transition: border-color 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.db-widget:hover {
    border-color: rgba(34,211,238,0.3);
    box-shadow: 0 8px 32px rgba(34,211,238,0.06);
}

.db-widget-selected {
    border-color: #22d3ee !important;
    box-shadow: 0 0 0 2px rgba(34,211,238,0.2), 0 12px 40px rgba(34,211,238,0.1) !important;
}

.db-widget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.db-widget-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.db-widget-actions { display: flex; gap: 4px; }

.db-widget-btn {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #94a3b8;
    border-radius: 10px;
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.db-widget-btn-remove:hover { background: rgba(244,63,94,0.2); color: #fb7185; border-color: rgba(244,63,94,0.3); }

.db-widget-body { flex: 1; min-height: 0; }

/* KPI Widget */
.db-kpi { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }

.db-kpi-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

.db-kpi-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: #94a3b8;
}

.db-kpi-value {
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    margin-top: 6px;
}

.db-kpi-trend {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.db-trend-up {
    background: rgba(52,211,153,0.1);
    border: 1px solid rgba(52,211,153,0.3);
    color: #6ee7b7;
}

.db-trend-down {
    background: rgba(251,113,133,0.1);
    border: 1px solid rgba(251,113,133,0.3);
    color: #fda4af;
}

.db-kpi-helper {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 12px;
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-top: 12px;
}

/* Chart Widget */
.db-chart { display: flex; flex-direction: column; height: 100%; }

.db-chart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.db-chart-period {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #94a3b8;
}

.db-chart-helper {
    display: block;
    font-size: 0.82rem;
    color: #cbd5e1;
    margin-top: 4px;
}

.db-chart-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(34,211,238,0.2);
    background: rgba(34,211,238,0.08);
    color: #67e8f9;
    white-space: nowrap;
}

.db-chart-area {
    flex: 1;
    min-height: 0;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 22px;
    background: rgba(255,255,255,0.02);
    padding: 10px;
    overflow: hidden;
}

.db-chart-svg { width: 100%; height: 100%; display: block; }

/* Table Widget */
.db-table { display: flex; flex-direction: column; height: 100%; }

.db-table-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.db-table-period {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #94a3b8;
}

.db-table-helper {
    display: block;
    font-size: 0.82rem;
    color: #cbd5e1;
    margin-top: 4px;
}

.db-table-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: #cbd5e1;
    white-space: nowrap;
}

.db-table-scroll {
    flex: 1;
    overflow: auto;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 22px;
    background: rgba(255,255,255,0.02);
}

.db-table table { width: 100%; border-collapse: collapse; min-width: 400px; }

.db-table thead { position: sticky; top: 0; background: rgba(2,6,23,0.95); backdrop-filter: blur(4px); }

.db-table th {
    padding: 10px 14px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #94a3b8;
    font-weight: 500;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.db-table td {
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.db-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.db-table-status {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.db-st-operativa { background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3); color: #6ee7b7; }
.db-st-atencion { background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.3); color: #fde68a; }
.db-st-critica { background: rgba(251,113,133,0.1); border: 1px solid rgba(251,113,133,0.3); color: #fda4af; }

/* Sidebar (edit mode) */
.db-overlay {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(2,6,23,0.45);
    backdrop-filter: blur(2px);
}

.db-sidebar {
    position: fixed;
    top: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 40;
    width: min(380px, calc(100vw - 2rem));
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(2,6,23,0.98), rgba(15,23,42,0.96));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 24px;
    box-shadow: 0 24px 80px rgba(2,8,23,0.22);
    backdrop-filter: blur(12px);
}

.db-sidebar-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.db-sidebar-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(34,211,238,0.3);
    background: rgba(34,211,238,0.08);
    color: #67e8f9;
}

.db-sidebar-head h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-top: 10px;
}

.db-sidebar-head p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 4px;
}

.db-sidebar-section {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 16px;
}

.db-sidebar-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.db-sidebar-section label {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}

.db-sidebar-section label span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #94a3b8;
}

.db-sidebar-section select {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 16px;
    padding: 10px 14px;
    font-size: 0.85rem;
    outline: none;
}

.db-sidebar-section select:focus { border-color: rgba(34,211,238,0.4); }

.db-sidebar-section select option { background: #0f172a; }

.db-sidebar-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #94a3b8;
}

.db-sidebar-selected {
    border-color: rgba(34,211,238,0.3);
    background: rgba(34,211,238,0.04);
}

.db-sidebar-selected p {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

/* --- Drag & Drop feedback --- */
.db-grid-item[draggable="true"] { cursor: grab; }
.db-grid-item[draggable="true"]:active { cursor: grabbing; }
.db-drag-over {
    outline: 2px dashed #22d3ee;
    outline-offset: -2px;
    border-radius: 24px;
    opacity: 0.7;
}

/* =============================================
   Dashboard — LIGHT MODE overrides
   ============================================= */

.db-light .db-topbar {
    background: rgba(255,255,255,0.8);
    border-color: #e2e8f0;
}

.db-light .db-topbar-icon {
    background: rgba(56,189,248,0.1);
    border-color: rgba(56,189,248,0.3);
}

.db-light .db-topbar-brand {
    background: linear-gradient(90deg, #0284c7, #0891b2, #c026d3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.db-light .db-topbar-sub { color: #64748b; }
.db-light .db-topbar-live { border-color: #e2e8f0; color: #64748b; }
.db-light .db-topbar-live strong { color: #059669; }

.db-light .db-btn-secondary {
    border-color: #e2e8f0;
    background: #f1f5f9;
    color: #334155;
}
.db-light .db-btn-secondary:hover { background: #e2e8f0; }

.db-light .db-btn-close {
    border-color: #e2e8f0;
    background: #f1f5f9;
    color: #334155;
}

.db-light .db-notice {
    background: rgba(14,165,233,0.08);
    border-color: rgba(14,165,233,0.3);
    color: #0369a1;
}

.db-light .db-canvas-info {
    border-color: #e2e8f0;
    background: rgba(248,250,252,0.85);
}
.db-light .db-canvas-title { color: #0f172a; }
.db-light .db-canvas-label, .db-light .db-canvas-desc { color: #64748b; }

/* Widget card light */
.db-light .db-widget {
    background: rgba(255,255,255,0.6);
    border-color: #e2e8f0;
}
.db-light .db-widget:hover {
    border-color: #7dd3fc;
    box-shadow: 0 8px 32px rgba(14,165,233,0.08);
}
.db-light .db-widget-selected {
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 0 2px rgba(14,165,233,0.2), 0 12px 40px rgba(14,165,233,0.08) !important;
}
.db-light .db-widget-title { color: #0f172a; }
.db-light .db-widget-btn { border-color: #e2e8f0; background: #f8fafc; color: #64748b; }

/* KPI light */
.db-light .db-kpi-label { color: #64748b; }
.db-light .db-kpi-value { color: #0f172a; }
.db-light .db-kpi-helper { background: #f8fafc; border-color: #e2e8f0; color: #475569; }
.db-light .db-trend-up { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.3); color: #059669; }
.db-light .db-trend-down { background: rgba(244,63,94,0.08); border-color: rgba(244,63,94,0.3); color: #e11d48; }

/* Chart light */
.db-light .db-chart-period { color: #64748b; }
.db-light .db-chart-helper { color: #475569; }
.db-light .db-chart-badge { border-color: rgba(14,165,233,0.3); background: rgba(14,165,233,0.06); color: #0369a1; }
.db-light .db-chart-area { border-color: #e2e8f0; background: #fff; }

/* Table light */
.db-light .db-table-period { color: #64748b; }
.db-light .db-table-helper { color: #475569; }
.db-light .db-table-badge { border-color: #e2e8f0; background: #f1f5f9; color: #475569; }
.db-light .db-table-scroll { border-color: #e2e8f0; background: #fff; }
.db-light .db-table thead { background: rgba(255,255,255,0.95); }
.db-light .db-table th { color: #64748b; border-bottom-color: #e2e8f0; }
.db-light .db-table td { color: #334155; border-bottom-color: #f1f5f9; }
.db-light .db-table tbody tr:hover { background: #f8fafc; }

/* Status badges light */
.db-light .db-st-operativa { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.3); color: #059669; }
.db-light .db-st-atencion { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.3); color: #d97706; }
.db-light .db-st-critica { background: rgba(244,63,94,0.08); border-color: rgba(244,63,94,0.3); color: #e11d48; }

/* Empty state light */
.db-light .db-empty { border-color: rgba(14,165,233,0.3); background: rgba(14,165,233,0.04); }
.db-light .db-empty p:first-child { color: #0f172a; }
.db-light .db-empty p:last-child { color: #64748b; }

/* Sidebar light */
.db-light .db-overlay { background: rgba(15,23,42,0.15); }
.db-light .db-sidebar {
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(241,245,249,0.98));
    border-color: #e2e8f0;
}
.db-light .db-sidebar-badge { border-color: rgba(14,165,233,0.3); background: rgba(14,165,233,0.06); color: #0369a1; }
.db-light .db-sidebar-head h2 { color: #0f172a; }
.db-light .db-sidebar-head p { color: #64748b; }
.db-light .db-sidebar-section { border-color: #e2e8f0; background: #f8fafc; }
.db-light .db-sidebar-section h3 { color: #0f172a; }
.db-light .db-sidebar-section label span { color: #64748b; }
.db-light .db-sidebar-section select { background: #fff; border-color: #e2e8f0; color: #0f172a; }
.db-light .db-sidebar-section select option { background: #fff; }
.db-light .db-sidebar-stats { color: #64748b; }
.db-light .db-sidebar-selected { border-color: rgba(14,165,233,0.3); background: rgba(14,165,233,0.04); }
.db-light .db-sidebar-selected p { color: #64748b; }

/* Drag over light */
.db-light .db-drag-over { outline-color: #0ea5e9; }

/* --- Widget action buttons (info, export) --- */
.db-widget-btn-info:hover { background: rgba(34,211,238,0.15); color: #67e8f9; border-color: rgba(34,211,238,0.3); }
.db-widget-btn-export:hover { background: rgba(52,211,153,0.15); color: #6ee7b7; border-color: rgba(52,211,153,0.3); }

.db-light .db-widget-btn-info:hover { background: rgba(14,165,233,0.1); color: #0369a1; border-color: rgba(14,165,233,0.3); }
.db-light .db-widget-btn-export:hover { background: rgba(16,185,129,0.1); color: #059669; border-color: rgba(16,185,129,0.3); }

/* --- Detail Modal --- */
.db-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(2,6,23,0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.db-modal {
    background: linear-gradient(180deg, rgba(2,6,23,0.98), rgba(15,23,42,0.96));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 28px;
    padding: 28px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(2,8,23,0.3);
}

.db-modal-light {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border-color: #e2e8f0;
    color: #0f172a;
}

.db-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.db-modal-head h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.db-modal-light .db-modal-head h3 { color: #0f172a; }

.db-modal-source {
    font-size: 0.78rem;
    color: #67e8f9;
    display: block;
    margin-top: 4px;
}

.db-modal-light .db-modal-source { color: #0369a1; }

.db-modal-desc {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 16px;
    line-height: 1.5;
}

.db-modal-light .db-modal-desc { color: #64748b; }

.db-modal-meta {
    display: flex;
    gap: 20px;
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 16px;
}

.db-modal-meta strong { color: #e2e8f0; }
.db-modal-light .db-modal-meta { color: #64748b; }
.db-modal-light .db-modal-meta strong { color: #0f172a; }

.db-modal-table-wrap {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: auto;
    max-height: 300px;
    margin-bottom: 16px;
}

.db-modal-light .db-modal-table-wrap { border-color: #e2e8f0; }

.db-modal-table-wrap table { width: 100%; border-collapse: collapse; }

.db-modal-table-wrap thead { position: sticky; top: 0; background: rgba(2,6,23,0.95); backdrop-filter: blur(4px); }
.db-modal-light .db-modal-table-wrap thead { background: rgba(255,255,255,0.97); }

.db-modal-table-wrap th {
    padding: 8px 12px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #94a3b8;
    font-weight: 500;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.db-modal-light .db-modal-table-wrap th { color: #64748b; border-bottom-color: #e2e8f0; }

.db-modal-table-wrap td {
    padding: 7px 12px;
    font-size: 0.82rem;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.db-modal-light .db-modal-table-wrap td { color: #334155; border-bottom-color: #f1f5f9; }

.db-modal-table-wrap tbody tr:hover { background: rgba(255,255,255,0.02); }
.db-modal-light .db-modal-table-wrap tbody tr:hover { background: #f8fafc; }

.db-modal-note {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    text-align: center;
    padding: 6px;
}

.db-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.db-modal-actions .db-btn-add { flex: 1; }
.db-modal-actions .db-btn-secondary { flex: 0 0 auto; }

/* Always-on drag cursor */
.db-grid-item[draggable="true"] { cursor: grab; }
.db-grid-item[draggable="true"]:active { cursor: grabbing; }
