/* ===== ecoKode Global Styles ===== */
:root {
    --ek-primary: #0f766e;
    --ek-primary-light: #14b8a6;
    --ek-primary-dark: #134e4a;
    --ek-secondary: #1e293b;
    --ek-secondary-light: #334155;
    --ek-accent: #ffb000;
    --ek-accent-light: #fbbf24;
    --ek-white: #ffffff;
    --ek-bg: #f8fafc;
    --ek-bg-light: #f1f5f9;
    --ek-text: #0f172a;
    --ek-text-muted: #64748b;
    --ek-border: #e2e8f0;
    --ek-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    --ek-shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.10);
    --ek-radius: 14px;
    --ek-radius-lg: 24px;
    --ek-transition: all 0.22s ease;
    --ek-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ek-teal: #0d9488;
    --ek-teal-dark: #0f766e;
    --ek-mint: #34d399;
    --ek-mint-light: #6ee7b7;
    /* Themeable surfaces (light values) */
    --ek-surface: #ffffff;
    --ek-surface-2: #f8fafc;
    --ek-nav-bg: rgba(255, 255, 255, 0.92);
    --ek-nav-text: #2c3e50;
    --ek-nav-hover-bg: rgba(0, 96, 57, 0.08);
}

.ek-page-intro {
    color: var(--ek-text-muted);
    font-size: 1.08rem;
    line-height: 1.8;
    margin: 0 auto 3rem;
    max-width: 900px;
}

.ek-card h2,
.ek-card h3,
.ek-card h4 {
    letter-spacing: -0.02em;
}

.ek-card ul {
    color: var(--ek-text-muted);
}

.ek-card li::marker {
    color: var(--ek-primary);
}

.ek-clean-list {
    color: var(--ek-text-muted);
    line-height: 2;
    margin: 1rem 0 1.5rem;
    padding-left: 1.25rem;
}

.ek-contact-card {
    margin-bottom: 1rem;
}

.ek-contact-card h4 {
    align-items: center;
    display: flex;
    gap: 0.5rem;
}

.ek-contact-card .material-icons {
    color: var(--ek-primary);
}

.ek-form-panel {
    background: var(--ek-surface);
    border: 1px solid var(--ek-border);
    border-radius: var(--ek-radius-lg);
    box-shadow: var(--ek-shadow);
    padding: 2rem;
}

.ek-map-frame {
    border: 1px solid var(--ek-border);
    border-radius: var(--ek-radius-lg);
    box-shadow: var(--ek-shadow);
    margin-top: 1.5rem;
    overflow: hidden;
}

.rz-textbox,
.rz-textarea {
    border-radius: 14px !important;
}

/* ===== Dark mode tokens ===== */
[data-theme="dark"] {
    --ek-white: #0f1117;
    --ek-bg: #0f1117;
    --ek-bg-light: #161922;
    --ek-text: #e6e8ee;
    --ek-text-muted: #9aa3b2;
    --ek-border: #262a35;
    --ek-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    --ek-shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.55);

    --ek-surface: #161922;
    --ek-surface-2: #1f2330;
    --ek-nav-bg: rgba(15, 17, 23, 0.85);
    --ek-nav-text: #e6e8ee;
    --ek-nav-hover-bg: rgba(0, 128, 77, 0.18);

    /* Slight brand brightening for contrast on dark */
    --ek-primary: #1aa066;
    --ek-primary-light: #34c084;
    --ek-primary-dark: #0e6b45;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    font-family: var(--ek-font);
    color: var(--ek-text);
    margin: 0;
    padding: 0;
    background: var(--ek-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

a {
    color: var(--ek-primary);
    text-decoration: none;
    transition: var(--ek-transition);
}

a:hover {
    color: var(--ek-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Buttons ===== */
.btn-ek-primary {
    background: var(--ek-primary);
    color: var(--ek-white);
    border: none;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--ek-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-ek-primary:hover {
    background: var(--ek-primary-light);
    color: var(--ek-white);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 118, 110, 0.22);
}

.btn-ek-secondary {
    background: var(--ek-secondary);
    color: var(--ek-white);
    border: none;
    padding: 12px 32px;
    border-radius: var(--ek-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--ek-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-ek-secondary:hover {
    background: var(--ek-secondary-light);
    color: var(--ek-white);
    transform: translateY(-2px);
    box-shadow: var(--ek-shadow);
}

.btn-ek-accent {
    background: var(--ek-accent);
    color: #111827;
    border: none;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--ek-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-ek-accent:hover {
    background: var(--ek-accent-light);
    color: #111827;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.22);
}

.btn-ek-outline {
    background: transparent;
    color: var(--ek-primary);
    border: 1px solid var(--ek-border);
    padding: 11px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--ek-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-ek-outline:hover {
    background: var(--ek-bg-light);
    color: var(--ek-primary-dark);
    border-color: var(--ek-primary-light);
    transform: translateY(-1px);
    box-shadow: none;
}

/* ===== Cards ===== */
.ek-card {
    background: var(--ek-surface);
    border-radius: var(--ek-radius-lg);
    box-shadow: var(--ek-shadow);
    padding: 2rem;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid var(--ek-border);
}

.ek-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ek-shadow-lg);
    border-color: rgba(20, 184, 166, 0.35);
}

/* ===== Sections ===== */
.ek-section {
    padding: 5rem 0;
}

.ek-section-alt {
    padding: 5rem 0;
    background: var(--ek-bg-light);
    color: var(--ek-text);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.ek-section-alt > * {
    position: relative;
    z-index: 1;
}

.ek-section-alt h1,
.ek-section-alt h2,
.ek-section-alt h3,
.ek-section-alt h4,
.ek-section-alt h5,
.ek-section-alt h6 {
    color: var(--ek-text);
}

.ek-section-alt p,
.ek-section-alt li,
.ek-section-alt span:not(.ek-highlight):not([class*="material-icons"]) {
    color: var(--ek-text-muted);
}

.ek-section-alt .text-muted,
.ek-section-alt .ek-text-muted {
    color: var(--ek-text-muted) !important;
}

/* Subtle radial vignette for depth */
.ek-section-alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 0%, rgba(20, 184, 166, 0.08) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

/* Floating green dots layer (animated via background-position) */
.ek-section-alt::after {
    display: none;
}

@keyframes ek-section-dots-drift {
    0%   { background-position: 0 0, 60px 90px, 120px 30px; }
    100% { background-position: 180px -180px, 240px -150px, 320px -290px; }
}

@media (prefers-reduced-motion: reduce) {
    .ek-section-alt::after {
        animation: none;
    }
}

/* ===== Cards inside dark alt section: keep content readable ===== */
.ek-section-alt .ek-card {
    background: var(--ek-surface);
    color: var(--ek-text);
    border: 1px solid var(--ek-border);
    box-shadow: var(--ek-shadow);
}

.ek-section-alt .ek-card:hover {
    border-color: rgba(20, 184, 166, 0.35);
    box-shadow: var(--ek-shadow-lg);
}

.ek-section-alt .ek-card,
.ek-section-alt .ek-card p,
.ek-section-alt .ek-card li,
.ek-section-alt .ek-card span:not(.ek-highlight):not([class*="material-icons"]) {
    color: var(--ek-text-muted);
}

.ek-section-alt .ek-card h1,
.ek-section-alt .ek-card h2,
.ek-section-alt .ek-card h3,
.ek-section-alt .ek-card h4,
.ek-section-alt .ek-card h5,
.ek-section-alt .ek-card h6 {
    color: var(--ek-text);
    font-weight: 700;
}

.ek-section-alt .ek-card .text-muted,
.ek-section-alt .ek-card .ek-text-muted {
    color: var(--ek-text-muted) !important;
}

.ek-section-alt .ek-card a {
    color: var(--ek-primary-dark);
    font-weight: 600;
}

/* Stronger, clearer icon boxes inside alt-section cards */
.ek-section-alt .ek-card .ek-icon-box {
    background: linear-gradient(135deg, var(--ek-primary) 0%, var(--ek-primary-light) 100%);
    color: #ffffff;
    border: 1px solid rgba(0, 96, 57, 0.45);
    box-shadow: 0 6px 18px rgba(0, 96, 57, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ek-section-alt .ek-card:hover .ek-icon-box {
    background: linear-gradient(135deg, var(--ek-primary-dark) 0%, var(--ek-primary) 100%);
    color: #ffffff;
    border-color: rgba(0, 96, 57, 0.7);
    box-shadow: 0 10px 26px rgba(0, 96, 57, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transform: scale(1.05) rotate(-3deg);
}

.ek-section-alt .ek-card .ek-icon-box .material-icons,
.ek-section-alt .ek-card .ek-icon-box i,
.ek-section-alt .ek-card .ek-icon-box svg {
    color: #ffffff;
    fill: #ffffff;
}

.ek-section-dark {
    padding: 5rem 0;
    background: #0f172a;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.ek-section-dark > .ek-container {
    position: relative;
    z-index: 2;
}

.ek-section-dark h2,
.ek-section-dark p {
    text-shadow: none;
}

.ek-section-dark::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(20, 184, 166, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.ek-section-dark::after {
    display: none;
}

.ek-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ek-container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 3rem;
}

.ek-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ek-text);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.ek-section-subtitle {
    font-size: 1.125rem;
    color: var(--ek-text-muted);
    max-width: 720px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

/* ===== Hero (Dark Showcase � reference-inspired) ===== */
.ek-hero {
    background: linear-gradient(135deg, #071817 0%, #0f2f2c 52%, #0f172a 100%);
    color: #ffffff;
    padding: 7rem 2rem 6rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 68vh;
    display: flex;
    align-items: center;
    border-radius: 0 0 40px 40px;
}

.ek-hero .ek-container-wide {
    position: relative;
    z-index: 2;
}

.ek-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.18) 0%, transparent 65%);
    pointer-events: none;
    animation: ek-pulse-slow 8s ease-in-out infinite;
}

.ek-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 45%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(13, 148, 136, 0.18) 0%, transparent 60%);
    pointer-events: none;
    animation: ek-pulse-slow 10s ease-in-out infinite reverse;
}

@keyframes ek-pulse-slow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes ek-fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ek-fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes ek-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes ek-float-particle {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(90deg); }
    50% { transform: translate(0, -25px) rotate(180deg); }
    75% { transform: translate(-10px, -15px) rotate(270deg); }
}

/* Hero Layout */
.ek-hero-row {
    display: flex;
    align-items: center;
    gap: clamp(3rem, 5vw, 6rem);
}

.ek-hero-content {
    flex: 1 1 45%;
    min-width: 0;
    position: relative;
    z-index: 2;
    animation: ek-fadeInUp 0.8s ease-out;
}

.ek-hero-visuals {
    flex: 1 1 50%;
    min-width: 0;
    position: relative;
    aspect-ratio: 1 / 0.9;
    min-height: 450px;
    max-height: 600px;
    animation: ek-fadeInRight 1s ease-out 0.3s both;
}

/* Hero Badge */
.ek-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ek-mint-light);
    margin-bottom: 1.25rem;
    animation: ek-fadeInUp 0.8s ease-out 0.1s both;
}

/* Hero Title */
.ek-hero h1 {
    font-size: clamp(3rem, 6vw, 5.75rem);
    font-weight: 800;
    color: var(--ek-white);
    line-height: 0.98;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
    text-shadow: none;
    animation: ek-fadeInUp 0.8s ease-out 0.2s both;
    border: none;
    outline: none;
    background: transparent;
    box-shadow: none;
}

.ek-hero h1 span {
    display: block;
}

.ek-hero h1 .ek-highlight {
    background: linear-gradient(135deg, var(--ek-mint-light) 0%, var(--ek-mint) 50%, #5eead4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.ek-hero p {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    margin-bottom: 1.75rem;
    max-width: 560px;
    position: relative;
    z-index: 1;
    text-shadow: none;
    animation: ek-fadeInUp 0.8s ease-out 0.3s both;
}

/* Hero Actions */
.ek-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: ek-fadeInUp 0.8s ease-out 0.4s both;
}

.ek-hero .btn-ek-accent {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    padding: 12px 28px;
    border-radius: 50px;
    background: var(--ek-mint);
    color: #062017;
    box-shadow: 0 10px 32px rgba(52, 211, 153, 0.35);
}

.ek-hero .btn-ek-accent:hover {
    background: var(--ek-mint-light);
    color: #062017;
}

.ek-hero .btn-ek-outline {
    border-radius: 50px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--ek-white);
}

.ek-hero .btn-ek-outline:hover {
    border-color: var(--ek-mint);
    color: var(--ek-mint-light);
    background: rgba(255, 255, 255, 0.14);
}

/* Decorative Particles */
.ek-hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.7;
    pointer-events: none;
    box-shadow: 0 0 18px currentColor;
}

.ek-hero-decoration-1 {
    top: 15%;
    left: 8%;
    width: 12px;
    height: 12px;
    background: var(--ek-mint);
    color: var(--ek-mint);
    animation: ek-float-particle 6s ease-in-out infinite;
}

.ek-hero-decoration-2 {
    top: 25%;
    right: 12%;
    width: 8px;
    height: 8px;
    background: var(--ek-accent);
    color: var(--ek-accent);
    animation: ek-float-particle 5s ease-in-out infinite 1s;
}

.ek-hero-decoration-3 {
    bottom: 30%;
    left: 15%;
    width: 6px;
    height: 6px;
    background: #5eead4;
    color: #5eead4;
    animation: ek-float-particle 7s ease-in-out infinite 2s;
}

.ek-hero-decoration-4 {
    top: 60%;
    right: 8%;
    width: 10px;
    height: 10px;
    background: var(--ek-mint-light);
    color: var(--ek-mint-light);
    animation: ek-float-particle 8s ease-in-out infinite 0.5s;
}

/* Dashboard Mockup */
.ek-hero-image-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 520px;
    border-radius: var(--ek-radius-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    overflow: hidden;
    background: rgba(15, 23, 28, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: ek-float 6s ease-in-out infinite;
}

.ek-dashboard-mockup {
    background: transparent;
    padding: 1.25rem;
}

.ek-mockup-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ek-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ek-mockup-dot.red { background: #ff5f57; }
.ek-mockup-dot.yellow { background: #ffbd2e; }
.ek-mockup-dot.green { background: #28c840; }

.ek-mockup-chart {
    height: 150px;
    background: linear-gradient(180deg, rgba(52, 211, 153, 0.18) 0%, rgba(52, 211, 153, 0.02) 100%);
    border-radius: var(--ek-radius);
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ek-mockup-chart-line {
    position: absolute;
    bottom: 20%;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, rgba(52, 211, 153, 0.55) 0%, transparent 100%);
    clip-path: polygon(0 80%, 15% 60%, 30% 70%, 45% 40%, 60% 50%, 75% 20%, 90% 35%, 100% 10%, 100% 100%, 0 100%);
}

.ek-mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.ek-mockup-stat {
    text-align: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.ek-mockup-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ek-mint-light);
    line-height: 1.2;
}

.ek-mockup-stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

/* Floating Cards */
.ek-hero-float {
    position: absolute;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    overflow: hidden;
    background: rgba(15, 23, 28, 0.55);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    color: var(--ek-white);
}

.ek-hero-float.card-1 {
    top: -2%;
    right: -4%;
    width: clamp(180px, 35%, 230px);
    animation: ek-float 5s ease-in-out infinite 0.5s;
}

.ek-hero-float.card-2 {
    bottom: 16%;
    left: -4%;
    width: clamp(210px, 42%, 270px);
    animation: ek-float 7s ease-in-out infinite 1s;
}

.ek-hero-float.card-3 {
    bottom: -2%;
    right: 14%;
    width: clamp(190px, 38%, 240px);
    animation: ek-float 6s ease-in-out infinite 1.5s;
}

.ek-float-card {
    padding: 1rem;
}

.ek-float-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.ek-float-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.ek-float-card-icon.fc-primary {
    background: rgba(52, 211, 153, 0.18);
    color: var(--ek-mint-light);
}

.ek-float-card-icon.fc-success {
    background: rgba(94, 234, 212, 0.18);
    color: #5eead4;
}

.ek-float-card-icon.fc-accent {
    background: rgba(245, 166, 35, 0.18);
    color: var(--ek-accent-light);
}

.ek-float-card-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.ek-float-card-value {
    font-size: 1.55rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.ek-float-card-value.fc-success { color: #5eead4; }
.ek-float-card-value.fc-primary { color: var(--ek-mint-light); }

.ek-float-card-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.45;
}

/* Hero Responsive */
@media (max-width: 1200px) {
    .ek-hero h1 {
        font-size: 3rem;
    }
    .ek-hero-visuals {
        min-height: 400px;
    }
}

@media (max-width: 992px) {
    .ek-hero {
        padding: 3rem 1.5rem;
        min-height: auto;
    }
    .ek-hero-row {
        flex-direction: column;
        gap: 3rem;
    }
    .ek-hero-content {
        text-align: center;
        flex-basis: auto;
    }
    .ek-hero h1 {
        font-size: 2.75rem;
    }
    .ek-hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .ek-hero-actions {
        justify-content: center;
    }
    .ek-hero-visuals {
        flex-basis: auto;
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
        min-height: 380px;
        aspect-ratio: auto;
    }
}

@media (max-width: 768px) {
    .ek-hero {
        padding: 2.5rem 1rem;
    }
    .ek-hero h1 {
        font-size: 2.25rem;
    }
    .ek-hero-visuals {
        display: none;
    }
}

/* ===== Page Hero ===== */
.ek-page-hero {
    background: linear-gradient(135deg, var(--ek-teal-dark) 0%, var(--ek-teal) 40%, var(--ek-mint) 100%);
    color: var(--ek-white);
    padding: 5rem 1.5rem 5rem;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.ek-page-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.ek-page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 30%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.ek-page-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    outline: none;
}

.ek-page-hero h1:focus {
    outline: none;
}

.ek-page-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ===== Feature Icons ===== */
.ek-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(20, 184, 166, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--ek-primary);
    font-size: 1.5rem;
    transition: var(--ek-transition);
    border: 1px solid rgba(20, 184, 166, 0.16);
}

.ek-card:hover .ek-icon-box {
    background: var(--ek-primary);
    color: var(--ek-white);
    border-color: transparent;
    transform: scale(1.03);
}

/* ===== Grid Helpers ===== */
.ek-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.ek-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ek-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .ek-grid-3, .ek-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .ek-page-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .ek-grid-2, .ek-grid-3, .ek-grid-4 {
        grid-template-columns: 1fr;
    }
    .ek-section {
        padding: 3rem 0;
    }
    .ek-section-alt {
        padding: 3rem 0;
    }
    .ek-page-hero {
        padding: 3rem 1rem;
    }
}

/* ===== WhatsApp Floating Button ===== */
.ek-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: var(--ek-transition);
    text-decoration: none;
}

.ek-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* ===== Minimal homepage refresh ===== */
.ek-hero-minimal .ek-hero-row {
    align-items: center;
}

.ek-eyebrow {
    color: var(--ek-primary-light);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.ek-hero-minimal .ek-eyebrow {
    color: #67e8f9;
}

.ek-hero-minimal .ek-hero-content {
    max-width: 780px;
}

.ek-hero-panel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
    color: #ffffff;
    min-width: min(100%, 420px);
    overflow: hidden;
    padding: 1.25rem;
}

.ek-hero-panel-header,
.ek-hero-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.ek-hero-panel-header {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.82rem;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.ek-hero-panel-header span:last-child {
    text-align: right;
}

.ek-hero-panel-main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
}

.ek-hero-panel-main .material-icons {
    background: var(--ek-accent);
    border-radius: 16px;
    color: #111827;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
}

.ek-hero-panel-main h2 {
    color: #ffffff;
    font-size: 1.65rem;
    letter-spacing: -0.03em;
    margin: 0;
}

.ek-hero-panel-grid {
    grid-template-columns: repeat(3, 1fr);
}

.ek-hero-panel-grid div {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 1rem;
}

.ek-hero-panel-grid strong,
.ek-hero-panel-grid span {
    display: block;
}

.ek-hero-panel-grid strong {
    color: #ffffff;
    font-size: 1.45rem;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.ek-hero-panel-grid span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
}

.ek-proof-strip {
    background: var(--ek-surface);
    border-bottom: 1px solid var(--ek-border);
    padding: 1.5rem 0;
}

.ek-proof-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
}

.ek-proof-grid div {
    border-left: 1px solid var(--ek-border);
    padding-left: 1.25rem;
}

.ek-proof-grid strong,
.ek-proof-grid span {
    display: block;
}

.ek-proof-grid strong {
    color: var(--ek-text);
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}

.ek-proof-grid span {
    color: var(--ek-text-muted);
    font-size: 0.92rem;
}

.ek-section-heading-row {
    align-items: end;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.ek-section-heading-row .ek-section-title {
    margin-bottom: 0;
    max-width: 760px;
}

.ek-text-link {
    align-items: center;
    color: var(--ek-primary);
    display: inline-flex;
    font-weight: 800;
    gap: 0.35rem;
    white-space: nowrap;
}

.ek-text-link .material-icons {
    font-size: 1.1rem;
}

.ek-section-soft {
    background: var(--ek-bg-light);
}

.ek-service-list,
.ek-product-list {
    display: grid;
    gap: 1rem;
}

.ek-service-list {
    grid-template-columns: repeat(4, 1fr);
}

.ek-product-list {
    grid-template-columns: repeat(2, 1fr);
}

.ek-service-card,
.ek-product-card {
    background: var(--ek-surface);
    border: 1px solid var(--ek-border);
    border-radius: 28px;
    color: var(--ek-text);
    display: block;
    min-height: 100%;
    padding: 1.5rem;
    text-decoration: none;
    transition: var(--ek-transition);
}

.ek-service-card:hover,
.ek-product-card:hover {
    border-color: rgba(20, 184, 166, 0.42);
    box-shadow: var(--ek-shadow-lg);
    color: var(--ek-text);
    transform: translateY(-3px);
}

.ek-service-card .material-icons {
    background: rgba(20, 184, 166, 0.10);
    border-radius: 14px;
    color: var(--ek-primary);
    font-size: 1.6rem;
    margin-bottom: 1.35rem;
    padding: 0.65rem;
}

.ek-service-card h3,
.ek-product-card h3,
.ek-value-list h3 {
    color: var(--ek-text);
    font-size: 1.1rem;
    margin-bottom: 0.65rem;
}

.ek-service-card p,
.ek-product-card p,
.ek-value-list p {
    color: var(--ek-text-muted);
    margin: 0;
}

.ek-product-card {
    display: grid;
    gap: 0.75rem 1.5rem;
    grid-template-columns: auto 1fr;
}

.ek-product-card p {
    grid-column: 2;
}

.ek-product-index {
    color: var(--ek-primary);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.ek-value-section {
    background: var(--ek-surface);
}

.ek-value-grid {
    display: grid;
    gap: 4rem;
    grid-template-columns: 0.95fr 1.05fr;
}

.ek-value-list {
    display: grid;
    gap: 1.5rem;
}

.ek-value-list > div {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
}

.ek-value-list .material-icons {
    background: var(--ek-bg-light);
    border-radius: 50%;
    color: var(--ek-primary);
    flex: 0 0 auto;
    padding: 0.65rem;
}

.ek-cta-minimal {
    background: #0f172a;
    color: #ffffff;
    padding: 5rem 0;
    text-align: center;
}

.ek-cta-minimal .ek-container {
    max-width: 820px;
}

.ek-cta-minimal h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.04em;
    margin: 0 auto 2rem;
}

@media (max-width: 992px) {
    .ek-service-list,
    .ek-product-list,
    .ek-proof-grid,
    .ek-value-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ek-section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .ek-hero {
        border-radius: 0 0 28px 28px;
        padding: 4.5rem 1rem;
    }

    .ek-hero-panel,
    .ek-proof-grid,
    .ek-service-list,
    .ek-product-list,
    .ek-value-grid {
        grid-template-columns: 1fr;
    }

    .ek-hero-panel-grid {
        grid-template-columns: 1fr;
    }

    .ek-product-card,
    .ek-product-card p {
        display: block;
    }

    .ek-product-index {
        display: block;
        margin-bottom: 0.75rem;
    }
}

/* ===== Form Styles ===== */
.ek-form-group {
    margin-bottom: 1.5rem;
}

.ek-form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--ek-text);
}

/* ===== Validation ===== */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ===== Error Boundary ===== */
.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;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ===== Utility ===== */
.text-primary-ek { color: var(--ek-primary) !important; }
.text-accent-ek { color: var(--ek-accent) !important; }
.bg-primary-ek { background-color: var(--ek-primary) !important; }
.bg-accent-ek { background-color: var(--ek-accent) !important; }

/* ===== Image-Backed Page Hero ===== */
.ek-page-hero-img {
    background:
        linear-gradient(135deg, rgba(7, 24, 23, 0.94) 0%, rgba(15, 47, 44, 0.88) 55%, rgba(15, 23, 42, 0.94) 100%),
        var(--ek-hero-bg) center/cover no-repeat;
    color: #ffffff;
    padding: 7rem 1.5rem 5rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ek-page-hero-img::before,
.ek-page-hero-img::after {
    display: none;
}

.ek-page-hero-img h1 {
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: none;
    letter-spacing: -0.05em;
    max-width: 900px;
    outline: none;
}

.ek-page-hero-img h1:focus {
    outline: none;
}

.ek-page-hero-img p {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 760px;
    margin: 0;
    line-height: 1.7;
    text-shadow: none;
}

@media (max-width: 768px) {
    .ek-page-hero-img { padding: 4.5rem 1rem; min-height: 260px; }
    .ek-page-hero-img h1 { font-size: 2rem; }
    .ek-page-hero-img p { font-size: 1.05rem; }
}

/* ===== Showcase Image (modern hexagonal-ish rounded image for two-column overview) ===== */
.ek-showcase-img {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: var(--ek-shadow-lg);
    transition: var(--ek-transition);
    display: block;
}

.ek-showcase-img:hover {
    transform: translateY(-3px);
    box-shadow: var(--ek-shadow-lg);
}

.ek-showcase-img-wrap {
    display: flex;
    justify-content: center;
    position: relative;
}

.ek-showcase-img-wrap::before {
    display: none;
}

/* ===== Card Cover Image (for product/service cards) ===== */
.ek-card-img-top {
    width: calc(100% + 4rem);
    height: 200px;
    object-fit: cover;
    margin: -2rem -2rem 1.5rem -2rem;
    border-radius: var(--ek-radius-lg) var(--ek-radius-lg) 0 0;
    display: block;
    transition: var(--ek-transition);
}

.ek-card:hover .ek-card-img-top {
    transform: scale(1.03);
}

.ek-card {
    overflow: hidden;
}

/* ===== Image Strip (decorative banner row) ===== */
.ek-image-strip {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--ek-radius-lg);
    box-shadow: var(--ek-shadow);
    margin: 1rem 0 2rem;
}

/* =====================================================================
   DARK MODE — component overrides
   These selectors raise specificity above scoped Razor CSS so they win.
   Only applied when <html data-theme="dark">.
   ===================================================================== */
[data-theme="dark"] body,
[data-theme="dark"] html {
    background: var(--ek-bg);
    color: var(--ek-text);
    color-scheme: dark;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--ek-text);
}

[data-theme="dark"] p { color: var(--ek-text-muted); }

/* Sections that hardcoded a near-white background */
[data-theme="dark"] section,
[data-theme="dark"] .ek-section,
[data-theme="dark"] .ek-section-light,
[data-theme="dark"] .ek-section-alt,
[data-theme="dark"] .ek-feature-section,
[data-theme="dark"] .ek-stats-section,
[data-theme="dark"] .ek-cta-section {
    background: var(--ek-bg) !important;
    color: var(--ek-text);
}

[data-theme="dark"] .ek-section-dark { background: #0a0c12 !important; }

/* Cards & panels */
[data-theme="dark"] .ek-card,
[data-theme="dark"] .ek-feature-card,
[data-theme="dark"] .ek-product-card,
[data-theme="dark"] .ek-service-card,
[data-theme="dark"] .ek-hero-panel,
[data-theme="dark"] .ek-pricing-card,
[data-theme="dark"] .ek-stat-card,
[data-theme="dark"] .ek-testimonial-card,
[data-theme="dark"] .ek-showcase-card {
    background: var(--ek-surface) !important;
    color: var(--ek-text);
    border-color: var(--ek-border);
    box-shadow: var(--ek-shadow);
}

/* Cards inside grid layouts: force white + bold text in dark mode only */
[data-theme="dark"] .ek-grid-2 .ek-card,
[data-theme="dark"] .ek-grid-3 .ek-card,
[data-theme="dark"] .ek-grid-4 .ek-card,
[data-theme="dark"] .ek-grid-2 .ek-card *,
[data-theme="dark"] .ek-grid-3 .ek-card *,
[data-theme="dark"] .ek-grid-4 .ek-card * {
    color: #ffffff !important;
    font-weight: 600;
}

[data-theme="dark"] .ek-grid-2 .ek-card h1,
[data-theme="dark"] .ek-grid-2 .ek-card h2,
[data-theme="dark"] .ek-grid-2 .ek-card h3,
[data-theme="dark"] .ek-grid-2 .ek-card h4,
[data-theme="dark"] .ek-grid-2 .ek-card h5,
[data-theme="dark"] .ek-grid-2 .ek-card h6,
[data-theme="dark"] .ek-grid-3 .ek-card h1,
[data-theme="dark"] .ek-grid-3 .ek-card h2,
[data-theme="dark"] .ek-grid-3 .ek-card h3,
[data-theme="dark"] .ek-grid-3 .ek-card h4,
[data-theme="dark"] .ek-grid-3 .ek-card h5,
[data-theme="dark"] .ek-grid-3 .ek-card h6,
[data-theme="dark"] .ek-grid-4 .ek-card h1,
[data-theme="dark"] .ek-grid-4 .ek-card h2,
[data-theme="dark"] .ek-grid-4 .ek-card h3,
[data-theme="dark"] .ek-grid-4 .ek-card h4,
[data-theme="dark"] .ek-grid-4 .ek-card h5,
[data-theme="dark"] .ek-grid-4 .ek-card h6 {
    color: #ffffff !important;
    font-weight: 800;
}

/* Don't recolor brand-coloured icon glyphs inside the icon box */
[data-theme="dark"] .ek-grid-2 .ek-card .ek-icon-box .material-icons,
[data-theme="dark"] .ek-grid-3 .ek-card .ek-icon-box .material-icons,
[data-theme="dark"] .ek-grid-4 .ek-card .ek-icon-box .material-icons {
    color: #ffffff !important;
}

/* Page hero readable on dark */
[data-theme="dark"] .ek-page-hero {
    background-color: var(--ek-bg);
    color: var(--ek-text);
}

/* Navbar overrides (higher specificity than scoped CSS) */
[data-theme="dark"] .ek-navbar-scrolled {
    background: var(--ek-nav-bg);
    border-bottom-color: var(--ek-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .ek-nav-link { color: var(--ek-nav-text); }
[data-theme="dark"] .ek-nav-link:hover { background: var(--ek-nav-hover-bg); color: var(--ek-primary-light); }
[data-theme="dark"] .ek-dropdown-menu { background: var(--ek-surface); border-color: var(--ek-border); }
[data-theme="dark"] .ek-dropdown-item { color: var(--ek-nav-text); }
[data-theme="dark"] .ek-dropdown-item:hover { background: var(--ek-nav-hover-bg); color: var(--ek-primary-light); }
[data-theme="dark"] .ek-navbar-toggle { color: var(--ek-text); }
[data-theme="dark"] .ek-navbar-toggle:hover { background: rgba(255, 255, 255, 0.06); }

[data-theme="dark"] .ek-proof-strip,
[data-theme="dark"] .ek-section-soft,
[data-theme="dark"] .ek-value-section {
    background: var(--ek-bg) !important;
}

[data-theme="dark"] .ek-theme-toggle {
    background: var(--ek-surface);
    color: var(--ek-text);
    border-color: var(--ek-border);
}

/* Mobile menu surfaces */
@media (max-width: 992px) {
    [data-theme="dark"] .ek-navbar-links { background: var(--ek-surface); }
    [data-theme="dark"] .ek-dropdown-menu { background: var(--ek-surface-2); }
    [data-theme="dark"] .ek-navbar { background: var(--ek-nav-bg); }
}

/* Footer (already dark) — deepen further */
[data-theme="dark"] .ek-footer { background: #0a0c12; }

/* Outlined buttons */
[data-theme="dark"] .btn-ek-outline {
    color: var(--ek-text);
    border-color: var(--ek-border);
}
[data-theme="dark"] .btn-ek-outline:hover {
    background: var(--ek-primary);
    color: #fff;
    border-color: var(--ek-primary);
}

/* Form inputs */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: var(--ek-surface);
    color: var(--ek-text);
    border-color: var(--ek-border);
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder { color: var(--ek-text-muted); }

/* Generic links */
[data-theme="dark"] a:not(.ek-nav-link):not(.ek-dropdown-item):not(.ek-share-btn) {
    color: var(--ek-primary-light);
}

/* Accent buttons & material icons: force white + bold in dark mode only */
[data-theme="dark"] .btn-ek-accent,
[data-theme="dark"] .btn-ek-accent *,
[data-theme="dark"] .btn-ek-accent .material-icons {
    color: #ffffff !important;
    font-weight: 700 !important;
}

[data-theme="dark"] .material-icons {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Smooth color transitions while toggling */
html, body, .ek-card, .ek-navbar, .ek-dropdown-menu, .ek-footer, section {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
