/* ==========================================================================
   facilityUP — PropTech Signal design system
   Redesigned to visually match the executive dashboard template.
   Palette: indigo (#4f46e5) + cyan (#06b6d4) accents, white surfaces,
   blueprint grid background, Space Grotesk / Inter / JetBrains Mono.
   ========================================================================== */

:root {
    --ink: #0b1220;
    --bg: #eef1f8;
    --surface: #ffffff;
    --surface-2: #f5f7fc;
    --border: #dde2ee;
    --border-strong: #c9d1e6;
    --muted: #5b6478;
    --muted-2: #5f6a84;
    --primary: #4f46e5;
    --primary-700: #3730a3;
    --primary-soft: rgba(79, 70, 229, 0.10);
    --accent: #06b6d4;
    --accent-700: #0e7490;
    --success: #0ea5a4;
    --danger: #e0567a;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-card: 0 1px 2px rgba(11,18,32,0.04), 0 8px 24px -16px rgba(11,18,32,0.18);
    --shadow-hover: 0 22px 44px -20px rgba(11,18,32,0.30);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background-color: var(--bg);
    background-image:
        linear-gradient(rgba(79,70,229,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79,70,229,0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(79,70,229,0.12);
    line-height: 1.6;
}
h1, h2, h3, h4, h5, .font-display {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hidden { display: none !important; }
.highlight { color: var(--primary-700); font-weight: 600; }

/* Eyebrow / mono label */
.eyebrow,
.contact-title,
.mockup-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
}

/* ---------- Header ---------- */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.logo-svg {
    height: 38px !important;
    width: 38px !important;
    object-fit: contain;
    filter: none !important;
    padding: 6px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    box-shadow: 0 6px 16px -6px rgba(79,70,229,0.55);
    flex-shrink: 0;
}
.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--muted);
    padding: 8px 11px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.18s ease;
    white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-link.active {
    color: var(--primary-700);
    font-weight: 600;
    background: linear-gradient(135deg, rgba(79,70,229,0.10), rgba(6,182,212,0.08));
    border-color: rgba(79,70,229,0.22);
}
.mobile-menu-btn { display: none; }
.menu-button {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px;
    color: var(--ink);
    display: inline-flex;
}
.menu-icon { width: 24px; height: 24px; }
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 8px 16px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.mobile-menu:not(.hidden) { display: flex; }
.mobile-link {
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--ink);
    font-weight: 500;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.mobile-link:hover { background: var(--surface-2); }

/* ---------- Sections / headers ---------- */
main { display: block; }
section { padding: 72px 0; position: relative; }
.section-header {
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.18rem);
    color: var(--muted);
    font-weight: 400;
    line-height: 1.65;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0;
}
/* neutralize old cyber glow */
.cyber-glow, .cyber-hover, .tech-accent { text-shadow: none !important; }
.tech-accent { color: var(--primary); }

/* ---------- Hero ---------- */
.hero-section {
    padding: 80px 0 72px;
    background:
        radial-gradient(1200px 480px at 80% -10%, rgba(6,182,212,0.10), transparent 60%),
        radial-gradient(900px 420px at 0% 0%, rgba(79,70,229,0.10), transparent 55%);
}
.tech-particles { display: none; }
.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
    max-width: 920px;
}
.hero-text { min-width: 0; }
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 22px;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    font-weight: 400;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
    margin-bottom: 22px;
}
.hero-text .section-subtitle { text-align: left; margin: 0 0 14px; }
.hero-text .contact-title { display: block; margin: 28px 0 10px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 8px; }
.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0 8px; }

.hero-visual { min-width: 0; }
.platform-showcase {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-card);
}
.platform-image {
    border-radius: 12px !important;
    box-shadow: 0 18px 40px -22px rgba(11,18,32,0.4) !important;
    border: 1px solid var(--border) !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
}

/* ---------- Platform modules ---------- */
.platform-section { background: transparent; }
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.platform-module, .module-tile {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 26px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}
.platform-module::after, .module-tile::after {
    content: '';
    position: absolute; left: 0; right: 0; top: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0; transition: opacity 0.2s ease;
}
.platform-module:hover, .module-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(79,70,229,0.4);
}
.platform-module:hover::after, .module-tile:hover::after { opacity: 1; }
.module-icon {
    width: 52px; height: 52px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 13px;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 18px;
    border: 1px solid rgba(79,70,229,0.18);
}
.module-icon svg { width: 26px; height: 26px; }
.module-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.module-description {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.6;
    margin: 0;
}

/* ---------- Tech card (generic content card) ---------- */
.tech-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.tech-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

/* ---------- Demo data disclaimer ---------- */
.demo-disclaimer {
    font-size: 12px;
    color: var(--muted-2);
    margin: 10px 0 0;
    line-height: 1.5;
}

/* ---------- Video ---------- */
.video-container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-card);
    max-width: 1100px;
    margin: 0 auto;
}
.facility-video {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    border: 1px solid var(--border);
    background: #0b1220 !important;
}

/* ---------- Problem ---------- */
.problem-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-card);
    max-width: 1000px;
    margin: 0 auto;
}
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.problem-item {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 26px 22px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.problem-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-bottom: 14px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid rgba(79,70,229,0.18);
}
.problem-icon svg { width: 24px; height: 24px; }
.problem-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.problem-desc { color: var(--muted); font-size: 0.92rem; margin: 0; }
.problem-conclusion {
    margin-top: 28px;
    text-align: center;
}
.risk-message {
    display: inline-block;
    color: var(--danger);
    font-weight: 600;
    font-size: 1.05rem;
    background: rgba(224,86,122,0.08);
    border: 1px solid rgba(224,86,122,0.25);
    border-radius: 999px;
    padding: 10px 22px;
    margin: 0;
}

/* ---------- Transformation ---------- */
.dashboard-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.dashboard-image {
    border-radius: 12px !important;
    box-shadow: 0 18px 40px -22px rgba(11,18,32,0.4) !important;
    border: 1px solid var(--border) !important;
    min-width: 0 !important;
    max-height: none !important;
}
.transformation-content { min-width: 0; }
.nav-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}
.nav-button {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 18px;
    transition: all 0.18s ease;
    position: relative;
    overflow: hidden;
}
.nav-button:hover { color: var(--ink); border-color: var(--border-strong); }
.nav-button.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-700));
    border-color: transparent;
    box-shadow: 0 8px 18px -10px rgba(79,70,229,0.6);
}
.chart-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-card);
    height: 360px;
    position: relative;
}
.chart-section canvas { max-height: 320px; }

/* ---------- Dashboard metrics + comparison ---------- */
.dashboard-metrics-section { padding-top: 0; }
.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 900px;
    margin: 0 auto 32px;
}
.metric-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}
.metric-card::after {
    content: '';
    position: absolute; left: 0; right: 0; top: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.metric-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}
.metric-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.comparison-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    max-width: 1000px;
    margin: 0 auto;
}
.comparison-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.comparison-card.after-card {
    border-color: rgba(14,165,164,0.4);
    background: linear-gradient(180deg, rgba(14,165,164,0.04), var(--surface));
}
.comparison-title { font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; }
.before-title { color: var(--danger); }
.after-title { color: var(--success); }
.comparison-text { color: var(--muted); line-height: 1.65; margin: 0; }

/* ---------- CAPEX demo ---------- */
.demo-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 40px;
}
.chart-wrapper {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-card);
}
.chart-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}
.details-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-card);
}
.details-panel h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--primary-700);
}
.details-panel p { color: var(--muted); line-height: 1.65; margin: 0 0 12px; }
.details-panel strong { color: var(--ink); }

/* report mockup */
.report-showcase, .dubai-showcase { max-width: 1100px; margin: 0 auto; }
.visual-mockup {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-card);
}
.mockup-header { margin-bottom: 18px; }
.mockup-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
}
.report-image, .tech-image {
    border-radius: 12px !important;
    box-shadow: 0 18px 40px -22px rgba(11,18,32,0.4) !important;
    border: 1px solid var(--border) !important;
    min-width: 0 !important;
    max-height: none !important;
    filter: none !important;
    margin: 0 auto 22px;
}
.report-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.report-section {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
}
.report-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--ink);
}
.report-section p { color: var(--muted); font-size: 0.85rem; margin: 10px 0 0; }
.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}
.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding-bottom: 4px;
    min-height: 24px;
}
.energy-gauge {
    position: relative;
    height: 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.gauge-fill {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 999px;
}
.gauge-value {
    position: relative;
    z-index: 1;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink);
    padding-left: 12px;
}
.revenue-indicator { display: flex; align-items: baseline; gap: 10px; }
.revenue-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.revenue-trend { font-weight: 600; font-size: 0.9rem; }
.revenue-trend.positive { color: var(--success); }

/* ---------- Approach ---------- */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.approach-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 28px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.approach-card::after {
    content: '';
    position: absolute; left: 0; right: 0; top: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0; transition: opacity 0.2s ease;
}
.approach-card:hover::after { opacity: 1; }
.approach-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; color: var(--primary-700); }
.approach-text { color: var(--muted); line-height: 1.65; margin: 0; }

/* ---------- Dubai 3D mockup ---------- */
.dubai-visual { margin-top: 6px; }
.cityscape {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.building-3d {
    flex: 1;
    min-width: 150px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    padding: 18px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.building-3d:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -16px rgba(79,70,229,0.5); }
.building-label { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.building-stats { display: flex; flex-direction: column; gap: 4px; font-size: 0.82rem; opacity: 0.92; }
.spatial-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.spatial-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 16px;
    transition: all 0.18s ease;
}
.spatial-btn:hover { color: var(--ink); border-color: var(--border-strong); }
.spatial-btn.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-700));
    border-color: transparent;
}

/* ---------- Insights (Tailwind-classed section) ---------- */
#insights .bg-white {
    background: var(--surface) !important;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card) !important;
}
#insights h2, #insights h3 { color: var(--ink) !important; }
#insights .text-\[\#202124\] { color: var(--ink) !important; }
#insights .text-gray-600 { color: var(--muted) !important; }
#insights .chart-container { height: 300px; }
#insights button {
    background: linear-gradient(135deg, var(--primary), var(--primary-700)) !important;
    color: #fff !important;
    border: none;
    border-radius: 10px;
    font-weight: 600;
}
#insights button:hover { filter: brightness(1.05); }

/* ---------- Outcome ---------- */
.outcome-section { text-align: center; }
.outcome-content {
    max-width: 820px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px 40px;
    box-shadow: var(--shadow-card);
}
.outcome-content .section-title { margin-bottom: 18px; }
.outcome-text { color: var(--muted); font-size: 1.08rem; line-height: 1.7; margin: 0; }
.cta-section { margin-top: 28px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 12px;
    padding: 12px 24px;
    border: 1px solid transparent;
    transition: all 0.18s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.btn--primary, .neon-glow {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-700));
    box-shadow: 0 10px 24px -12px rgba(79,70,229,0.65);
}
.btn--primary:hover, .neon-glow:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn--secondary { background: var(--surface); color: var(--primary-700); border-color: var(--border); }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--lg { padding: 14px 30px; font-size: 1.02rem; }
.btn--sm { padding: 8px 16px; font-size: 0.88rem; }
.btn--full-width { width: 100%; }

/* ---------- Tooltip / alert (JS injected) ---------- */
.tooltip {
    position: absolute;
    z-index: 1000;
    background: rgba(11,18,32,0.96);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    max-width: 260px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    box-shadow: 0 8px 24px -8px rgba(0,0,0,0.4);
}

/* ---------- Contact / footer ---------- */
.contact-section {
    background: linear-gradient(135deg, var(--ink), var(--primary-700));
    color: #fff;
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.contact-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
    pointer-events: none;
}
.contact-content { position: relative; z-index: 1; }
.contact-form {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius);
    padding: 28px;
    backdrop-filter: blur(6px);
    max-width: 520px;
    margin: 0 auto 36px;
}
.contact-form-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 18px;
}
.contact-form-row { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.contact-form-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
}
.contact-form-input, .contact-form-textarea {
    background: rgba(255,255,255,0.94);
    color: var(--ink);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    width: 100%;
}
.contact-form-textarea { resize: vertical; min-height: 96px; }
.contact-form-input:focus, .contact-form-textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}
.contact-form-submit { margin-top: 6px; width: 100%; }
.contact-form-note {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    margin: 12px 0 0;
    line-height: 1.5;
}
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 820px;
    margin: 0 auto 28px;
}
.contact-person {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius);
    padding: 24px;
    backdrop-filter: blur(6px);
}
.person-name { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 600; color: #fff; margin: 0 0 4px; }
.person-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent); margin: 0 0 12px;
}
.person-email a { color: #fff; opacity: 0.92; }
.person-email a:hover { color: var(--accent); }
.person-phone { color: rgba(255,255,255,0.8); margin: 6px 0 0; }
.company-info { text-align: center; color: rgba(255,255,255,0.85); }
.company-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: #fff; font-size: 1.05rem; margin: 0 0 4px; }
.company-address { margin: 0 0 8px; font-size: 0.92rem; }
.company-website { color: var(--accent); font-weight: 600; }
.company-website:hover { text-decoration: underline; }

/* ---------- Animations ---------- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; animation: fadeInSafety 0.6s ease forwards; animation-delay: 1.2s; }
.fade-in.visible { opacity: 1; transform: translateY(0); animation: none; }
@keyframes fadeInSafety { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; animation: none; }
}
.status { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.status--success { background: rgba(14,165,164,0.12); color: var(--success); }
.status--error { background: rgba(224,86,122,0.12); color: var(--danger); }
.status--info { background: var(--primary-soft); color: var(--primary-700); }
.status--warning { background: rgba(247,147,30,0.12); color: #b45309; }

/* utility leftovers used in markup */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; } .gap-8 { gap: 2rem; } .gap-16 { gap: 4rem; }
.mb-8 { margin-bottom: 2rem; } .mt-8 { margin-top: 2rem; }

/* ---------- Nav actions + language switch ---------- */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-switch {
    display: inline-flex;
    align-items: center;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
}
.lang-btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted);
    background: transparent;
    border: none;
    border-radius: 999px;
    padding: 6px 9px;
    cursor: pointer;
    transition: all 0.18s ease;
    min-height: 32px;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 4px 12px -5px rgba(79,70,229,0.6);
}

/* ---------- Savings section ---------- */
.savings-section { background: var(--surface-2); }
.savings-chart-card {
    margin: 0 auto 40px;
    max-width: 940px;
    padding: 28px 28px 22px;
}
.savings-chart-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.savings-chart-unit { font-size: 0.82rem; color: var(--muted); margin: 0 0 18px; }
.savings-chart-container { position: relative; height: 360px; }
.savings-chart-footer { font-size: 0.76rem; color: var(--muted-2); margin: 16px 0 0; line-height: 1.5; }
.savings-grid-head { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.savings-grid-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 8px; }
.savings-grid-desc { color: var(--muted); margin: 0; }
.savings-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    align-items: start;
}
.data-tile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.data-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--tile-accent, var(--primary));
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.18s ease;
    min-height: 60px;
    font-family: 'Inter', sans-serif;
}
.data-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.data-tile.active {
    border-color: var(--tile-accent, var(--primary));
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--tile-accent, var(--primary)) 35%, transparent);
    background: var(--surface-2);
}
.data-tile-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--tile-accent, var(--primary));
    flex-shrink: 0;
}
.data-tile-name { font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.data-tile-detail { padding: 26px 26px; position: sticky; top: 92px; }
.data-tile-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--accent); font-weight: 600; margin: 0 0 10px;
}
.data-tile-title { font-size: 1.3rem; font-weight: 600; margin: 0 0 12px; }
.data-tile-text { color: var(--muted); margin: 0; line-height: 1.65; }

/* ---------- Strategy timeline ---------- */
.strategy-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 980px;
    margin: 0 auto;
}
.strategy-step {
    display: flex;
    gap: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
}
.strategy-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.strategy-step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.strategy-step-title { font-size: 1.08rem; font-weight: 600; margin: 2px 0 8px; }
.strategy-step-text { color: var(--muted); margin: 0; font-size: 0.95rem; line-height: 1.6; }

/* ---------- Future / DLT ---------- */
.future-section { background: var(--surface-2); }
.future-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-700);
    font-size: 10px;
    letter-spacing: 0.12em;
}
.future-hero {
    max-width: 960px;
    margin: 0 auto 34px;
    padding: 30px 32px;
    border-left: 4px solid var(--accent);
}
.future-hero-title { font-size: 1.25rem; font-weight: 600; margin: 0 0 10px; }
.future-hero-desc { color: var(--muted); margin: 0; line-height: 1.65; }
.future-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto 28px;
}
.future-card { padding: 26px 24px; transition: all 0.2s ease; }
.future-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.future-card-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(79,70,229,0.12), rgba(6,182,212,0.10));
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.future-card-icon svg { width: 26px; height: 26px; }
.future-card-title { font-size: 1.08rem; font-weight: 600; margin: 0 0 10px; }
.future-card-text { color: var(--muted); margin: 0; font-size: 0.94rem; line-height: 1.62; }
.future-note {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.82rem;
    color: var(--muted-2);
    line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 1366px) {
    .nav-link { font-size: 12.5px; padding: 8px 8px; }
    .nav-container { gap: 8px; }
}
@media (max-width: 1210px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .future-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
    .platform-grid, .approach-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-content, .dashboard-showcase, .hero-content { grid-template-columns: 1fr; }
    .chart-section { height: 320px; }
    .savings-layout { grid-template-columns: 1fr; }
    .data-tile-detail { position: static; }
}
@media (max-width: 860px) {
    .strategy-timeline { grid-template-columns: 1fr; }
    section { padding: 56px 0; }
    .hero-section { padding: 56px 0; }
}
@media (max-width: 640px) {
    .platform-grid, .approach-grid, .problem-grid,
    .dashboard-metrics, .comparison-cards, .contacts-grid,
    .report-visual { grid-template-columns: 1fr; }
    .container { padding: 0 18px; }
    .outcome-content { padding: 32px 22px; }
    .problem-card { padding: 24px; }
    .chart-section { height: 300px; }
    .building-3d { min-width: 0; }
    .data-tile-grid { grid-template-columns: 1fr; }
    .savings-chart-container { height: 300px; }
    .lang-btn { padding: 5px 7px; font-size: 11px; }
    .lang-switch { padding: 2px; gap: 1px; }
    .nav-actions { gap: 6px; }
    .nav-container { padding: 12px 14px; gap: 10px; }
    .logo-svg { height: 32px !important; width: 32px !important; padding: 5px; }
    .logo-text { font-size: 18px; }
    .logo-link { gap: 9px; }
}
@media (max-width: 400px) {
    .logo-text { display: none; }
    .lang-btn { padding: 5px 6px; font-size: 10.5px; }
}

@media (hover: none) {
    .platform-module:hover, .approach-card:hover, .comparison-card:hover,
    .problem-item:hover, .metric-card:hover, .building-3d:hover {
        transform: none; box-shadow: var(--shadow-card);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
