/* ============================================================
   4DataSuite Corporate Site — Design System
   ============================================================ */

:root {
    --brand-teal: #009E8E;
    --brand-teal-light: #00C4B0;
    --brand-cyan: #00E5FF;
    --brand-slate: #516180;
    --dark-900: #060A10;
    --dark-800: #0B1120;
    --dark-700: #101827;
    --dark-card: #111827;
    --dark-card-2: #1A2540;
    --border: rgba(0, 158, 142, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --text-primary: #F0F6FF;
    --text-secondary: #94A3B8;
    --text-muted: #4B5A6E;
    --gradient-brand: linear-gradient(135deg, #009E8E 0%, #00E5FF 100%);
    --shadow-teal: 0 0 40px rgba(0, 158, 142, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark-900);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

section { padding: 96px 0; }

.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ─────────────────────────────────────────── */

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-teal);
    margin-bottom: 12px;
    display: block;
}

h1, h2, h3 { font-weight: 700; line-height: 1.15; }

/* ── Animations ─────────────────────────────────────────── */

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-18px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 158, 142, 0.3); }
    50%       { box-shadow: 0 0 60px rgba(0, 158, 142, 0.7); }
}

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(25px, -40px) scale(1.08); }
    66%       { transform: translate(-20px, 20px) scale(0.94); }
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}

@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    50%       { top: 20px; opacity: 0.25; }
}

@keyframes blink {
    0%, 100% { border-color: var(--brand-teal); }
    50%       { border-color: transparent; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Buttons ────────────────────────────────────────────── */

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-brand);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}
.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-teal);
    color: white;
}

.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-secondary-custom:hover {
    border-color: var(--brand-teal);
    color: var(--brand-teal-light);
    background: rgba(0, 158, 142, 0.06);
}

/* ── Navbar ─────────────────────────────────────────────── */

.navbar-custom {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.3s ease;
}
.navbar-custom.scrolled {
    background: rgba(6, 10, 16, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    overflow: hidden;
    max-height: 60px;
}
.navbar-logo-img {
    height: 36px;
    max-height: 36px;
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link-custom {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.nav-link-custom:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}
.btn-nav-cta {
    background: var(--gradient-brand);
    color: white;
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-left: 8px;
}
.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-teal);
    color: white;
}

/* Language toggle */
.lang-toggle { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.05em;
}
.lang-btn:hover  { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.lang-btn.active { color: var(--brand-teal-light); background: rgba(0,158,142,0.1); }
.lang-sep { color: var(--text-muted); font-size: 0.7rem; user-select: none; }

.btn-hamburger {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    color: white;
    font-size: 1.3rem;
    line-height: 1;
}

.mobile-nav {
    border-top: 1px solid var(--border);
    padding: 16px 0 8px;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-nav .nav-link-custom {
    display: block;
    padding: 10px 14px;
}

/* ── Hero ───────────────────────────────────────────────── */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 90px;
    padding-bottom: 40px;
}

.hero-bg { position: absolute; inset: 0; overflow: hidden; }

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.14;
    animation: blob 14s ease-in-out infinite;
}
.blob-1 { width: 550px; height: 550px; background: var(--brand-teal); top: -120px; right: -80px; animation-delay: 0s; }
.blob-2 { width: 420px; height: 420px; background: #3B82F6; bottom: -60px; left: -100px; animation-delay: -5s; }
.blob-3 { width: 320px; height: 320px; background: var(--brand-cyan); top: 45%; left: 42%; animation-delay: -9s; }

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 158, 142, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 158, 142, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 158, 142, 0.1);
    border: 1px solid rgba(0, 158, 142, 0.28);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-teal-light);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease forwards;
}
.hero-badge-dot {
    width: 6px; height: 6px;
    background: var(--brand-teal-light);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
    animation: fadeInUp 0.7s ease 0.1s both;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 36px;
    line-height: 1.75;
    animation: fadeInUp 0.7s ease 0.2s both;
}
.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.7s ease 0.3s both;
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
    animation: fadeInUp 0.7s ease 0.4s both;
}
.hero-trust-avatars { display: flex; }
.hero-trust-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid var(--dark-900);
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    margin-left: -8px;
}
.hero-trust-avatar:first-child { margin-left: 0; }

/* Phone mockup */
.phone-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 7s ease-in-out infinite;
}
.phone-glow {
    position: absolute;
    width: 260px; height: 260px;
    background: var(--brand-teal);
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.18;
    animation: pulseGlow 3.5s ease-in-out infinite;
}
.phone-frame {
    width: 230px; height: 470px;
    background: var(--dark-card);
    border-radius: 36px;
    border: 2px solid rgba(0, 158, 142, 0.45);
    padding: 12px;
    position: relative;
    z-index: 1;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65), var(--shadow-teal);
}
.phone-notch {
    width: 72px; height: 18px;
    background: var(--dark-900);
    border-radius: 0 0 14px 14px;
    margin: 0 auto 8px;
}
.phone-screen {
    background: var(--dark-800);
    border-radius: 24px;
    height: calc(100% - 26px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.phone-header {
    background: #009E8E;
    padding: 7px 10px;
    text-align: center;
}
.phone-header-title { font-size: 0.6rem; font-weight: 800; color: white; }
.phone-header-sub   { font-size: 0.52rem; color: rgba(255,255,255,0.75); }

.phone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4px;
    padding: 8px;
    flex: 1;
}
.phone-tile {
    background: var(--dark-card);
    border-radius: 8px;
    padding: 7px 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 1px solid rgba(0, 158, 142, 0.1);
}
.phone-tile-icon { font-size: 0.95rem; }
.phone-tile-text { font-size: 0.38rem; color: var(--text-secondary); text-align: center; line-height: 1.2; }

.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.scroll-dot {
    width: 22px; height: 38px;
    border: 2px solid rgba(255,255,255,0.18);
    border-radius: 11px;
    position: relative;
}
.scroll-dot::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px; height: 7px;
    background: var(--brand-teal);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

/* ── Stats ──────────────────────────────────────────────── */

.stats-section {
    padding: 64px 0;
    background: var(--dark-800);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stat-item { text-align: center; padding: 16px; }
.stat-number {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }

/* ── Cards shared ───────────────────────────────────────── */

.card-glass {
    background: var(--dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 28px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card-glass:hover {
    transform: translateY(-5px);
    border-color: var(--border);
    box-shadow: var(--shadow-card);
}

.icon-box {
    width: 46px; height: 46px;
    background: rgba(0, 158, 142, 0.1);
    border: 1px solid rgba(0, 158, 142, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
    flex-shrink: 0;
}

/* ── About ──────────────────────────────────────────────── */
.about-section { background: var(--dark-900); }

/* ── Modules ────────────────────────────────────────────── */
.modules-section { background: var(--dark-800); }

.module-card {
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.module-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}
.module-card:hover { transform: translateY(-6px); border-color: rgba(0,158,142,0.25); box-shadow: 0 12px 40px rgba(0,0,0,0.35); }
.module-card:hover::before { transform: scaleX(1); }

.module-icon { font-size: 1.7rem; margin-bottom: 12px; display: block; }
.module-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 7px; }
.module-desc  { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.55; margin: 0; }

/* ── Roles ──────────────────────────────────────────────── */
.roles-section { background: var(--dark-900); }

.role-card {
    background: var(--dark-card);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.role-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.role-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--border); }
.role-card:hover::after { transform: scaleX(1); }

.role-emoji { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.role-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }

.role-features { list-style: none; padding: 0; margin: 0; }
.role-features li {
    font-size: 0.83rem;
    color: var(--text-secondary);
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.role-features li::before { content: '✓'; color: var(--brand-teal); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── Platforms ──────────────────────────────────────────── */
.platforms-section { background: var(--dark-800); }

.platform-card {
    background: var(--dark-card);
    border-radius: 24px;
    padding: 44px 36px;
    border: 1px solid var(--border-subtle);
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.platform-card:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,0.45); border-color: var(--border); }

.platform-icon-wrap {
    width: 72px; height: 72px;
    background: rgba(0,158,142,0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    border: 1px solid rgba(0,158,142,0.18);
}

/* ── AI Section ─────────────────────────────────────────── */
.ai-section {
    background: var(--dark-900);
    position: relative;
    overflow: hidden;
}
.ai-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% -10%, rgba(0,158,142,0.13) 0%, transparent 65%);
}

.ai-card {
    background: linear-gradient(135deg, #111827 0%, rgba(0,158,142,0.04) 100%);
    border: 1px solid rgba(0,158,142,0.25);
    border-radius: 28px;
    padding: 56px 48px;
    position: relative;
    z-index: 1;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,229,255,0.08);
    border: 1px solid rgba(0,229,255,0.25);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-cyan);
    margin-bottom: 18px;
}

.ai-feature-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.ai-feature-icon {
    width: 34px; height: 34px;
    background: rgba(0,158,142,0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.ai-feature-title { font-weight: 600; font-size: 0.88rem; margin-bottom: 2px; }
.ai-feature-desc  { font-size: 0.78rem; color: var(--text-secondary); }

/* Fake form for AI visual */
.fake-form-wrap {
    background: var(--dark-700);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(0,158,142,0.18);
}
.fake-form-btn {
    background: var(--gradient-brand);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 0.82rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.03em;
}
.fake-field {
    background: var(--dark-800);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 9px 12px;
    margin-bottom: 8px;
}
.fake-field-label { font-size: 0.62rem; color: var(--brand-teal-light); font-weight: 600; margin-bottom: 2px; }
.fake-field-value { font-size: 0.82rem; color: var(--text-primary); font-weight: 500; }
.fake-field-value.typing { border-right: 2px solid var(--brand-teal); animation: blink 1s step-end infinite; }
.fake-total { font-size: 1.5rem; font-weight: 900; color: var(--brand-teal-light); }
.fake-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ── CTA Section ────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(180deg, var(--dark-800) 0%, var(--dark-900) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0,158,142,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.cta-box {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 72px 48px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.cta-box h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 14px; font-weight: 800; }
.cta-box p { color: var(--text-secondary); max-width: 480px; margin: 0 auto 36px; font-size: 1.05rem; }

/* ── Contact ────────────────────────────────────────────── */
.contact-section { background: var(--dark-800); }

.contact-info-box {
    display: flex;
    gap: 14px;
    align-items: center;
}
.contact-info-icon {
    width: 40px; height: 40px;
    background: rgba(0,158,142,0.1);
    border: 1px solid rgba(0,158,142,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-teal-light);
    flex-shrink: 0;
}
.contact-info-label { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 1px; }
.contact-info-value { font-weight: 600; font-size: 0.9rem; }

.contact-form {
    background: var(--dark-card);
    border-radius: 20px;
    padding: 36px;
    border: 1px solid var(--border-subtle);
}
.form-label-custom {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: block;
}
.form-input {
    width: 100%;
    background: var(--dark-700);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 10px;
    padding: 11px 14px;
    color: var(--text-primary);
    font-size: 0.92rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-input:focus {
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 3px rgba(0,158,142,0.14);
}
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 110px; }

.form-success {
    background: rgba(0,158,142,0.08);
    border: 1px solid rgba(0,158,142,0.28);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    color: var(--brand-teal-light);
    font-weight: 500;
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
    background: var(--dark-900);
    padding: 64px 0 28px;
    border-top: 1px solid var(--border-subtle);
}
.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 16px;
}
.footer-mirai4-img {
    height: 22px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.footer-mirai4-link:hover .footer-mirai4-img { opacity: 1; }
.footer-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.65;
    max-width: 280px;
    margin: 12px 0 18px;
}
.footer-heading {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--brand-teal-light); }

.footer-social {
    display: flex;
    gap: 8px;
}
.footer-social a {
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all 0.2s;
    text-decoration: none;
}
.footer-social a:hover {
    background: rgba(0,158,142,0.15);
    color: var(--brand-teal-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 48px;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }

/* Blazor error UI */
#blazor-error-ui {
    background: #111;
    border-top: 1px solid #333;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #aaa;
    font-size: 0.875rem;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }

/* ── Facial Recognition Section ─────────────────────────── */

.facial-section {
    background: var(--dark-800);
    position: relative;
    overflow: hidden;
}
.facial-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.09) 0%, transparent 65%);
}

.facial-card {
    background: linear-gradient(135deg, var(--dark-card) 0%, rgba(139, 92, 246, 0.04) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 28px;
    padding: 56px 48px;
    position: relative;
    z-index: 1;
}

.facial-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #A78BFA;
    margin-bottom: 18px;
}

/* Fake camera UI */
.face-demo-wrap {
    background: var(--dark-700);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(139, 92, 246, 0.18);
}
.face-camera-view {
    background: #060C18;
    border-radius: 10px;
    height: 175px;
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.face-silhouette {
    font-size: 5rem;
    opacity: 0.25;
    position: absolute;
}
.face-detect-rect {
    width: 90px;
    height: 110px;
    border: 2px solid #22C55E;
    border-radius: 4px;
    position: relative;
    z-index: 1;
}
.face-detect-rect::before {
    content: '';
    position: absolute;
    inset: -7px;
    border: 1px dashed rgba(34, 197, 94, 0.3);
    border-radius: 6px;
    animation: scanPulse 2.2s ease-in-out infinite;
}
.face-scan-line {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.75), transparent);
    animation: scanLine 2.2s linear infinite;
}

@keyframes scanPulse {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50%       { opacity: 0.7;  transform: scale(1.04); }
}
@keyframes scanLine {
    from { top: 8%;  }
    to   { top: 92%; }
}

.face-event-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ADE80;
    border-radius: 4px;
    padding: 1px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.face-result-card {
    background: var(--dark-800);
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(139, 92, 246, 0.12);
}
.face-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.face-result-row:last-child { border-bottom: none; }
.face-result-label { color: var(--text-muted); }
.face-result-value { font-weight: 600; }

/* ── AI Callout ─────────────────────────────────────────── */
.ai-callout-section { padding: 0 0 24px; }
.ai-callout-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, rgba(0,158,142,0.12) 0%, rgba(99,102,241,0.12) 100%);
    border: 1px solid rgba(0,158,142,0.25);
    border-radius: 20px;
    padding: 28px 36px;
    flex-wrap: wrap;
}
.ai-callout-icon {
    font-size: 2.4rem;
    flex-shrink: 0;
}
.ai-callout-content { flex: 1; min-width: 200px; }
.ai-callout-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--text-primary);
}
.ai-callout-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}
.ai-callout-btn { flex-shrink: 0; white-space: nowrap; }

/* ── Coming Soon ─────────────────────────────────────────── */
.coming-soon-section { padding: 0 0 48px; }
.coming-soon-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px 32px;
    flex-wrap: wrap;
}
.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,158,11,0.12);
    border: 1px solid rgba(245,158,11,0.3);
    color: #F59E0B;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 5px 14px;
    border-radius: 50px;
    white-space: nowrap;
}
.coming-soon-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #F59E0B;
    animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}
.coming-soon-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 991px) {
    .nav-links { display: none; }
    .phone-mockup-wrapper { display: none; }
}

@media (max-width: 768px) {
    section { padding: 64px 0; }
    .hero-ctas { flex-direction: column; }
    .btn-primary-custom, .btn-secondary-custom { justify-content: center; }
    .ai-card { padding: 36px 24px; }
    .cta-box { padding: 40px 24px; }
    .contact-form { padding: 24px; }
}
