/* ================================================================
   Smart Innovation — ClickUp-Inspired Design System 2026
   ================================================================ */

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main, sans-serif);
    color: var(--text-primary);
    background-color: var(--bg-main);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.025em;
    line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 99px; }

/* ── Animated Gradient Keyframes ──────────────────────────────── */
@keyframes gradientShift {
    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(-16px); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* ── Brand Colors & Gradients ────────────────────────────────── */
.bg-violet { background: var(--gradient-violet) !important; }
.bg-teal   { background: var(--gradient-teal) !important; }
.bg-pink   { background: var(--gradient-pink) !important; }
.bg-primary { background: var(--gradient-brand) !important; }

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); }
    50%       { box-shadow: 0 0 0 8px rgba(14, 165, 233, 0); }
}
@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ── Navbar ───────────────────────────────────────────────────── */
.navbar {
    background: var(--bg-nav) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 0;
    transition: var(--transition);
    z-index: 1050;
}
.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-premium);
    background: var(--bg-nav) !important;
}
/* ── Brand Vault (Logo) ────────────────────────────────────────── */
.brand-wrapper {
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.brand-wrapper img {
    height: 40px !important;
    width: auto;
    object-fit: contain;
}

/* Ensure Logo visibility in Dark Mode on the public site */
html[data-theme='dark'] .brand-wrapper {
    background: #ffffff;
    padding: 6px 16px;
    border-radius: 12px;
}
html[data-theme='dark'] .brand-wrapper img {
    height: 32px !important;
}

.navbar-brand { padding: 0 !important; }
.navbar-brand img {
    height: 42px;
}

/* Brand Text Logo Styles */
.brand-text-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 1.5rem;
}
.brand-smart {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.brand-innovation {
    color: var(--text);
}

.scrolled .brand-text-logo {
    font-size: 1.35rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text) !important;
    padding: 0.45rem 0.9rem !important;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    position: relative;
    transition: var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-brand);
    transition: var(--transition);
    transform: translateX(-50%);
}
.nav-link:hover::after,
.nav-link.active::after { width: 70%; }

.nav-link:hover { color: var(--primary) !important; background: rgba(124,58,237,0.06); }
.nav-link.active { color: var(--primary) !important; font-weight: 600; }

/* Language switch */
.lang-switch a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.04em;
}
.lang-switch a.active,
.lang-switch a:hover { color: var(--primary); background: rgba(124,58,237,0.08); }

/* CTA Login button */
.btn-login {
    background: var(--gradient-violet) !important;
    border: none !important;
    border-radius: var(--radius-pill) !important;
    padding: 0.45rem 1.25rem !important;
    font-weight: 600;
    font-size: 0.88rem;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(124,58,237,0.35);
    transition: var(--transition);
    letter-spacing: 0.02em;
}
.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124,58,237,0.45);
    opacity: 0.95;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
    border-radius: var(--radius-pill);
    padding: 0.6rem 1.6rem;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-primary {
    background: var(--gradient-violet);
    border: none;
    color: #fff;
    box-shadow: 0 4px 14px rgba(124,58,237,0.30);
}
.btn-primary:hover, .btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: var(--gradient-violet);
    color: #fff;
}
.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.btn-light {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    backdrop-filter: blur(8px);
}
.btn-light:hover {
    background: rgba(255,255,255,0.15);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Action buttons in tables */
.btn-action-table {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(124, 58, 237, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.1);
    color: var(--primary);
    transition: var(--transition);
}
.btn-action-table:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}
.btn-action-table.btn-delete {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
.btn-action-table.btn-delete:hover {
    background: #ef4444;
    border-color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

html[data-theme='dark'] .btn-action-table {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}
html[data-theme='dark'] .btn-action-table:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white !important;
}
html[data-theme='dark'] .btn-action-table.btn-delete {
    color: #f87171;
}
html[data-theme='dark'] .btn-action-table.btn-delete:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white !important;
}

/* ── Hero Section ─────────────────────────────────────────────── */
.hero {
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
    color: #fff;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(2, 132, 199, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg-main));
    pointer-events: none;
}
.hero-float {
    position: absolute;
    border-radius: 50%;
    opacity: 0.10;
    animation: float 6s ease-in-out infinite;
}
.hero-float-1 {
    width: 300px; height: 300px;
    background: var(--gradient-teal);
    top: -60px; right: 10%;
    animation-delay: 0s;
}
.hero-float-2 {
    width: 200px; height: 200px;
    background: var(--gradient-pink);
    bottom: 20px; right: 30%;
    animation-delay: 2s;
}

.hero h1, .hero h2 { color: #fff; }
.hero .lead { color: rgba(255,255,255,0.82); }

/* ── Page Hero Banner (non-home) ──────────────────────────────── */
.page-hero {
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    color: #fff;
    padding: 72px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 70% at 80% 50%, rgba(124,58,237,0.3) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.78); }

/* ── Cards ────────────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    overflow: hidden;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-subtle);
}
.card-body { padding: 2rem; }

/* ── Product Card ─────────────────────────────────────────────── */
.product-card {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--bg-card);
    padding: 2.2rem 2rem;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    opacity: 0;
    transition: var(--transition);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); border-color: var(--border-subtle); }
.product-card:hover::before { opacity: 1; }

.product-card.c-violet::before  { background: var(--gradient-violet); }
.product-card.c-teal::before    { background: var(--gradient-teal); }
.product-card.c-pink::before    { background: var(--gradient-pink); }
.product-card.c-green::before   { background: var(--gradient-green); }

.product-icon {
    width: 60px; height: 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    color: #fff;
}
/* Standard BGs moved to top */
.bg-green   { background: var(--gradient-green); }

/* ── Stat Block ───────────────────────────────────────────────── */
.stat-strip {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 3rem 0;
    position: relative;
    z-index: 2;
}
.stat-block { text-align: center; position: relative; }
.stat-block + .stat-block::before {
    content: '';
    position: absolute;
    left: 0; top: 15%; height: 70%;
    width: 1px;
    background: var(--border-subtle);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.9rem; color: var(--text-secondary); font-weight: 600; letter-spacing: 0.02em; }

/* ── Feature Cards (home) ─────────────────────────────────────── */
.feature-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-subtle);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(14, 165, 233, 0.2);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon-wrap {
    width: 72px; height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}
.feature-card:hover .feature-icon-wrap {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* ── Badge / Chip ─────────────────────────────────────────────── */
/* Refining Badges to be more distinct and beautiful */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    border: 1px solid transparent;
}
.badge-violet { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; border-color: rgba(139, 92, 246, 0.2); }
.badge-teal   { background: rgba(20, 184, 166, 0.1); color: #14b8a6; border-color: rgba(20, 184, 166, 0.2); }
.badge-pink   { background: rgba(236, 72, 153, 0.1); color: #ec4899; border-color: rgba(236, 72, 153, 0.2); }
.badge-green  { background: rgba(34, 197, 94, 0.1); color: #22c55e; border-color: rgba(34, 197, 94, 0.2); }
.badge-sky    { background: rgba(14, 165, 233, 0.1); color: #0ea5e9; border-color: rgba(14, 165, 233, 0.2); }
.badge-orange { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border-color: rgba(245, 158, 11, 0.2); }
.badge-indigo { background: rgba(99, 102, 241, 0.1); color: #6366f1; border-color: rgba(99, 102, 241, 0.2); }
.badge-red    { background: rgba(239, 68, 68, 0.1); color: #ef4444; border-color: rgba(239, 68, 68, 0.2); }
.badge-gray   { background: rgba(107, 114, 128, 0.1); color: #6b7280; border-color: rgba(107, 114, 128, 0.2); }

/* High contrast for dark mode */
html[data-theme='dark'] .badge-red    { background: rgba(239, 68, 68, 0.15); color: #f87171; }
html[data-theme='dark'] .badge-violet { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
html[data-theme='dark'] .badge-teal   { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
html[data-theme='dark'] .badge-pink   { background: rgba(236, 72, 153, 0.15); color: #f472b6; }
html[data-theme='dark'] .badge-green  { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
html[data-theme='dark'] .badge-sky    { background: rgba(14, 165, 233, 0.15); color: #38bdf8; }
html[data-theme='dark'] .badge-orange { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
html[data-theme='dark'] .badge-indigo { background: rgba(99, 102, 241, 0.15); color: #818cf8; }

/* Customer chip */
.customer-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    transition: var(--transition);
    line-height: 1.4;
}
.customer-chip:hover {
    border-color: var(--primary-light);
    background: rgba(124,58,237,0.05);
    color: var(--primary);
}
.customer-chip i { color: var(--primary-light); font-size: 0.75rem; }

/* ── Category header ──────────────────────────────────────────── */
.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
}
.category-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Timeline ─────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0.6rem;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-dark));
    border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 0.2rem;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 0.7rem;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

/* ── Staff / Avatar ───────────────────────────────────────────── */
.avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 1.25rem;
}
.avatar-circle {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: var(--gradient-card);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}
.avatar-gradient-border {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--gradient-brand);
    z-index: -1;
}
.avatar-small .avatar-circle { width: 80px; height: 80px; font-size: 1.75rem; }
.role-badge {
    position: absolute;
    bottom: 4px; right: -4px;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-pill);
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* ── Glassmorphism Card ───────────────────────────────────────── */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* ── Vision Card ──────────────────────────────────────────────── */
.vision-card {
    background: var(--gradient-violet);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    color: #fff;
    box-shadow: var(--shadow-glow-lg);
    position: relative;
    overflow: hidden;
}
.vision-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.vision-card::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -10%;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

/* ── Section Titles ───────────────────────────────────────────── */
.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}
.section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}
.section-title span {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Premium Footer ───────────────────────────────────────────── */
.site-footer {
    background: #020408 !important;
    padding: 6rem 0 0;
    font-family: 'Plus Jakarta Sans', 'Prompt', sans-serif;
    color: rgba(255,255,255,0.7);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.brand-title-full {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}
.brand-tagline {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.3);
}
.footer-address {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    line-height: 1.7;
}
.site-footer .footer-heading {
    color: #ffffff !important; /* Force visibility - Green Box fix */
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.site-footer .footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--brand-primary);
    border-radius: 2px;
}
.footer-links li a {
    color: rgba(255,255,255,0.45);
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    padding: 4px 0;
}
.footer-links li a:hover {
    color: var(--brand-primary);
    transform: translateX(4px);
}
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-card-v2 {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.contact-icon-v2 {
    width: 20px;
    color: var(--brand-primary);
    font-size: 0.95rem;
    text-align: center;
}
.contact-content-v2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.contact-label-v2 {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
    font-weight: 600;
}
.contact-content-v2 a, 
.contact-content-v2 span {
    color: rgba(255,255,255,0.8);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.contact-content-v2 a:hover {
    color: var(--brand-primary);
}
.social-cluster {
    display: flex;
    gap: 0.75rem;
}
.social-pill {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    transition: var(--transition);
    background: rgba(255,255,255,0.05);
    text-decoration: none;
}
.social-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.social-pill.facebook:hover { background: #1877F2; }
.social-pill.line:hover { background: #06C755; }
.social-pill.linkedin:hover { background: #0A66C2; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem 0;
    margin-top: 3rem;
}
.copy-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}
.solution-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Utilities ────────────────────────────────────────────────── */
.text-primary   { color: var(--primary) !important; }
.text-gradient  {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.bg-light { background-color: var(--bg) !important; }
.section  { position: relative; }

/* Animation helper */
.animate-fade-up { animation: fadeUp 0.6s ease both; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero { padding: 70px 0 60px; }
    .page-hero { padding: 50px 0 40px; }
    .section-title { font-size: 1.6rem; }
    .stat-number { font-size: 2rem; }
    .stat-block + .stat-block::before { display: none; }
}

/* ── Definitive Dark Mode Beauty Enforcement ──────────────────────── */
html[data-theme='dark'] body {
    background-color: var(--bg-main) !important;
}

html[data-theme='dark'] .stat-strip, 
html[data-theme='dark'] .feature-card,
html[data-theme='dark'] .card,
html[data-theme='dark'] .glass-card,
html[data-theme='dark'] .section,
html[data-theme='dark'] section,
html[data-theme='dark'] .timeline-item {
    background-color: #0d1117 !important;
    background: #0d1117 !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #cbd5e1; /* Removed !important to allow badges to show colors */
}

/* Corporate Typography Polish */
body {
    font-family: 'Inter', 'Prompt', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Prompt', sans-serif;
}

html[data-theme='dark'] .section-title,
html[data-theme='dark'] h1, 
html[data-theme='dark'] h2, 
html[data-theme='dark'] h3, 
html[data-theme='dark'] h4, 
html[data-theme='dark'] h5, 
html[data-theme='dark'] h6 {
    color: var(--text-primary) !important;
}

html[data-theme='dark'] .text-muted,
html[data-theme='dark'] p {
    color: var(--text-secondary) !important;
}

html[data-theme='dark'] .stat-number {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme='dark'] .feature-card:hover {
    border-color: var(--brand-primary) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4) !important;
}

html[data-theme='dark'] .stat-label {
    color: var(--brand-primary) !important;
    opacity: 0.8 !important;
}

html[data-theme='dark'] .glass-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(20px) !important;
}