/* TeliBiz.com - Industrial Minimalist, Trust-Centric Design */
:root {
    /* Primary: Midnight Blue / Carbon Black */
    --color-midnight: #0a0e17;
    --color-carbon: #131a28;
    --color-charcoal: #1e2638;
    --color-slate: #2d3748;
    
    /* Accent: Electric Blue / Emerald Green for CTAs */
    --color-electric: #2563eb;
    --color-electric-hover: #1d4ed8;
    --color-emerald: #059669;
    --color-emerald-hover: #047857;
    
    /* Neutral background & text */
    --color-bg: #f8fafc;
    --color-bg-alt: #f1f5f9;
    --color-text: #0f172a;
    --color-text-muted: #64748b;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing & Layout */
    --max-width: 1200px;
    --section-padding: 5rem 1.5rem;
    --header-height: 72px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1rem, 4vw, 2rem);
    background: rgba(10, 14, 23, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.site-header .logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
}

.logo-tm {
    font-size: 0.75em;
    vertical-align: super;
    opacity: 0.7;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.nav-toggle-icon {
    position: relative;
    display: block;
    width: 1.25rem;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s ease;
}

.nav-toggle-icon::before {
    top: -6px;
}

.nav-toggle-icon::after {
    top: 6px;
}

.site-header.nav-open .nav-toggle-icon {
    background: transparent;
}

.site-header.nav-open .nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.site-header.nav-open .nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

.lang-switcher {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.lang-switcher:hover {
    background: rgba(255, 255, 255, 0.08);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    animation: statusPulse 1.8s ease-out infinite;
}

@keyframes statusPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.0); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--header-height) 2rem 4rem;
    background: linear-gradient(180deg, var(--color-midnight) 0%, var(--color-carbon) 50%, #1a2236 100%);
    overflow: hidden;
}

.hero-visual {
    position: absolute;
    inset: 0;
}

#nodeCanvas {
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-emerald);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-emerald-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
    background: transparent;
    color: var(--color-charcoal);
    border: 2px solid var(--color-slate);
}

.btn-outline:hover {
    border-color: var(--color-electric);
    color: var(--color-electric);
}

/* Section Common */
section {
    padding: var(--section-padding);
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-midnight);
    text-align: center;
    margin: 0 0 3rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    max-width: 840px;
    margin: -2.25rem auto 2.75rem;
    color: var(--color-text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

/* Industry Pillars */
.industries {
    background: var(--color-bg-alt);
}

.pillar-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.pillar-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: all 0.2s;
    min-width: 140px;
}

.pillar-tab:hover {
    border-color: var(--color-slate);
    color: var(--color-text);
}

.pillar-tab.active {
    border-color: var(--color-emerald);
    background: rgba(5, 150, 105, 0.06);
    color: var(--color-midnight);
}

.pillar-icon {
    width: 40px;
    height: 40px;
}

.pillar-icon svg {
    width: 100%;
    height: 100%;
}

.pillar-content {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.pillar-panel {
    display: none;
}

.pillar-panel.active {
    display: block;
}

.pillar-panel h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-electric);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 1.5rem 0 0.5rem;
}

.pillar-panel h3:first-child {
    margin-top: 0;
}

.pillar-panel p {
    margin: 0;
    color: var(--color-text);
}

/* Capabilities */
.capability-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.capability-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.capability-card:hover {
    border-color: var(--color-electric);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.08);
}

.cap-icon {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-emerald);
    margin-bottom: 1rem;
}

.capability-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-midnight);
    margin: 0 0 0.75rem;
}

.capability-card p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.capability-card a {
    color: var(--color-electric);
    text-decoration: none;
}

.capability-card a:hover {
    text-decoration: underline;
}

/* Code Preview */
.code-preview {
    background: var(--color-midnight);
    color: #e2e8f0;
}

.code-preview .section-title {
    color: #fff;
}

.code-window {
    max-width: 640px;
    margin: 0 auto;
    background: var(--color-carbon);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.code-filename {
    margin-left: auto;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.code-body {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-body code {
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #94a3b8;
}

/* Success Stories */
.success-stories {
    background: var(--color-bg-alt);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.case-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    border-left: 4px solid var(--color-emerald);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.case-topline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.7);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.9rem;
}

.case-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-electric);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.case-title {
    margin: -0.4rem 0 1.15rem;
    color: var(--color-midnight);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.case-meta {
    margin: -0.5rem 0 1.15rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.case-meta strong {
    color: var(--color-midnight);
    font-weight: 700;
}

.case-kicker {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-electric);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 1.25rem 0 0.5rem;
}

.case-card p {
    margin: 0;
    color: var(--color-text);
    line-height: 1.7;
}

.case-bullets {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
    color: var(--color-text);
}

.case-bullets li {
    margin: 0.5rem 0;
    line-height: 1.7;
}

.case-bullets strong {
    color: var(--color-midnight);
}

.case-details {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
}

.case-summary {
    cursor: pointer;
    user-select: none;
    font-weight: 700;
    color: var(--color-emerald);
    list-style: none;
}

.case-summary::-webkit-details-marker {
    display: none;
}

.case-summary::after {
    content: " +";
    font-weight: 800;
}

.case-details[open] .case-summary::after {
    content: " −";
}

.case-details-body {
    margin-top: 1rem;
}

.case-cta {
    display: inline-block;
    margin-top: 1.25rem;
}

/* Trust Center - Vault-like design */
.trust-center {
    background: linear-gradient(180deg, #fff 0%, var(--color-bg-alt) 100%);
}

.trust-intro {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: -1.5rem auto 3rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.trust-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.2s;
}

.trust-card:hover {
    border-color: var(--color-emerald);
    box-shadow: 0 8px 32px rgba(5, 150, 105, 0.1);
}

.trust-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.trust-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-midnight);
    margin: 0 0 0.5rem;
}

.trust-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.trust-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.trust-subsection {
    margin-top: 3rem;
    padding-top: 2.25rem;
    border-top: 1px solid #e2e8f0;
}

.trust-subtitle {
    text-align: center;
    margin: 0 0 1.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-midnight);
    letter-spacing: -0.01em;
}

.trust-grid-compact .trust-card {
    padding: 1.75rem;
}

/* Footer */
.site-footer {
    background: var(--color-midnight);
    color: rgba(255, 255, 255, 0.8);
    padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem);
}

.footer-main {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}

.footer-brand .logo {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
}

.footer-brand a.logo:hover {
    color: #fff;
    opacity: 0.9;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-contact a {
    color: var(--color-emerald);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* BFG page */
.bfg-page {
    padding-top: var(--header-height);
    min-height: 100vh;
    background: var(--color-bg);
}

.bfg-hero {
    background: linear-gradient(180deg, var(--color-midnight) 0%, var(--color-carbon) 100%);
    color: #fff;
    padding: 3rem 1.5rem 3.5rem;
    text-align: center;
}

.bfg-hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.bfg-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.bfg-tagline {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Docs placeholder (Under Maintenance / Coming Soon) */
.docs-page .docs-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.docs-hero-inner {
    max-width: 520px;
}

.docs-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    margin-bottom: 1.25rem;
}

.docs-tagline {
    margin-bottom: 0.75rem;
}

.docs-contact {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 1.5rem;
}

.docs-cta {
    margin-top: 0.5rem;
}

.bfg-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.bfg-section {
    margin-bottom: 3rem;
}

.bfg-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-midnight);
    margin: 0 0 1rem;
}

.bfg-lead {
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
}

.bfg-flow-cards {
    margin-top: 1rem;
}

.bfg-compliance-badge {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.bfg-modality-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.bfg-modality-item {
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
}

.bfg-modality-item strong {
    color: var(--color-midnight);
}

.case-subkicker {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-electric);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 1.25rem 0 0.5rem;
}

.case-modalities.case-bullets li {
    margin: 0.4rem 0;
}

.bfg-cta-section {
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.bfg-cta-section p {
    margin: 0 0 1.25rem;
    color: var(--color-text-muted);
    font-size: 0.98rem;
}

.bfg-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* DIAS deep-dive page */
.dias-hero {
    padding: 4rem 1.5rem 4.5rem;
}

.dias-hero .bfg-hero-inner {
    max-width: 720px;
}

.dias-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-emerald);
    background: rgba(5, 150, 105, 0.15);
    border: 1px solid rgba(5, 150, 105, 0.4);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.dias-hero .dias-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 0.5rem;
}

.dias-hero h1 {
    margin: 0 0 0.75rem;
}

.dias-headline {
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    font-weight: 700;
    margin: 0.5rem 0 1rem;
    letter-spacing: -0.01em;
    color: #fff;
}

.dias-intro {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.dias-content .bfg-section {
    margin-bottom: 3.5rem;
}

.dias-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.dias-matrix {
    margin-top: 1.75rem;
}

.dias-matrix-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--color-emerald);
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.dias-matrix-item:hover {
    border-color: rgba(5, 150, 105, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.dias-matrix-item h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--color-midnight);
    margin: 0 0 1rem;
}

.dias-sub {
    font-weight: 500;
    color: var(--color-electric);
    font-size: 0.9em;
}

.dias-logic,
.dias-application {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 0.5rem;
    color: var(--color-text);
}

.dias-application {
    margin-bottom: 0;
}

.dias-compat-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.dias-compat-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.dias-compat-list li:last-child {
    border-bottom: 0;
}

.dias-compat-list strong {
    color: var(--color-midnight);
    margin-right: 0.35rem;
}

.dias-modalities {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.85rem;
}

.dias-modalities li {
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: border-color 0.2s;
}

.dias-modalities li:hover {
    border-color: var(--color-electric);
}

.dias-modalities li strong {
    color: var(--color-midnight);
}

.dias-results {
    margin-top: 1.25rem;
}

.dias-result-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--color-emerald);
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.2s;
}

.dias-result-item:hover {
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.08);
}

.dias-result-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-midnight);
    margin: 0 0 0.5rem;
}

.dias-result-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-text);
}

.dias-cta-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.dias-cta-section .btn:first-child {
    margin-right: 0.25rem;
}

.dias-table-wrap {
    margin-top: 1.25rem;
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.dias-entity-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.dias-entity-table th,
.dias-entity-table td {
    padding: 0.85rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.dias-entity-table th {
    background: var(--color-bg-alt);
    font-weight: 700;
    color: var(--color-midnight);
}

.dias-entity-table tbody tr:last-child td {
    border-bottom: none;
}

.dias-entity-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.03);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 1.5rem;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: visibility 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
        pointer-events: none;
    }

    .site-header.nav-open .nav-links {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links a {
        padding: 0.85rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 1rem;
    }

    .nav-links .status-pill {
        margin: 1rem 0 0.5rem;
        padding: 0.6rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links .lang-switcher {
        margin-top: 1rem;
        align-self: flex-start;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-headline {
        font-size: 1.75rem;
    }
    
    .pillar-tabs {
        flex-direction: column;
    }
    
    .pillar-tab {
        min-width: 100%;
    }

    .dias-hero {
        padding: 2.5rem 1.25rem 3rem;
    }

    .dias-headline {
        font-size: 1.15rem;
    }

    .dias-section h2 {
        font-size: 1.3rem;
    }

    .dias-modalities {
        grid-template-columns: 1fr;
    }

    .dias-cta-section {
        flex-direction: column;
        align-items: stretch;
    }
}
