@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Merriweather:wght@400;700&family=Playfair+Display:wght@600;700;800&family=Poppins:wght@500;600;700;800&display=swap');

:root {
    --font-body: 'Inter', Arial, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-accent: 'Poppins', Arial, sans-serif;
    --font-reading: 'Merriweather', Georgia, serif;
    --bg: #020620;
    --surface: #061033;
    --surface-alt: #0a1a4a;
    --surface-lift: #102b6b;
    --text: #edf6ff;
    --muted: #9ab0c9;
    --line: rgba(109, 213, 237, 0.2);
    --primary: #0b6cff;
    --primary-dark: #0040bf;
    --accent: #e7c873;
    --accent-soft: rgba(231, 200, 115, 0.16);
    --emerald: #28d6a1;
    --rose: #ff6f91;
    --ink: #ffffff;
    --nav-footer-bg: #020620;
    --nav-footer-bg-deep: #000212;
    --nav-footer-text: #f3fbff;
    --nav-footer-muted: rgba(154, 176, 201, 0.9);
    --nav-premium-highlight: rgba(231, 200, 115, 0.28);
    --shadow: 0 24px 60px rgba(0, 5, 18, 0.48);
    --shadow-hover: 0 32px 78px rgba(0, 5, 18, 0.58);
    --radius: 18px;
    --premium-navy: #020620;
    --premium-ink: #000212;
    --premium-teal: #0b6cff;
    --premium-teal-deep: #0040bf;
    --premium-cyan: #24c8ff;
    --premium-cyan-glow: #77ddff;
    --premium-ivory: #f8f3e7;
    --premium-white: #f3fbff;
    --premium-gold: #e7c873;
    --premium-gold-soft: rgba(231, 200, 115, 0.2);
    --premium-jade: #28d6a1;
    --premium-mint: rgba(40, 214, 161, 0.12);
    --section-hero-bg: linear-gradient(180deg, #061033 0%, #020620 100%);
    --section-company-bg: linear-gradient(180deg, #0a1a4a 0%, #030b28 100%);
    --section-ai-bg: linear-gradient(180deg, #03144a 0%, #020620 100%);
    --section-portfolio-bg: linear-gradient(180deg, #061033 0%, #02091f 100%);
    --section-testimonial-bg: linear-gradient(180deg, #071544 0%, #030b28 100%);
    --section-cta-bg: linear-gradient(135deg, #03144a 0%, #000212 100%);
}
* { box-sizing: border-box; }
html, body {
    background:
        radial-gradient(circle at 92% 6%, rgba(36, 200, 255, 0.34), transparent 26%),
        radial-gradient(circle at 2% 92%, rgba(11, 108, 255, 0.3), transparent 34%),
        radial-gradient(circle at 52% 42%, rgba(0, 64, 191, 0.18), transparent 42%),
        linear-gradient(180deg, #020620 0%, #000212 100%);
    min-height: 100vh;
}
/* Prevent white background flashes during fast scrolling */
body {
    background-attachment: fixed;
}
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
body {
    margin: 0;
    font-family: var(--font-body);
    background:
        radial-gradient(circle at 92% 6%, rgba(36, 200, 255, 0.34), transparent 26%),
        radial-gradient(circle at 2% 92%, rgba(11, 108, 255, 0.3), transparent 34%),
        radial-gradient(circle at 52% 42%, rgba(0, 64, 191, 0.18), transparent 42%),
        linear-gradient(180deg, #020620 0%, #000212 100%);
    color: var(--text);
}
body::before { content: ''; position: fixed; inset: 0; background: rgba(5, 13, 26, 0.4); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); opacity: 0; pointer-events: none; transition: opacity 0.25s ease, backdrop-filter 0.25s ease, -webkit-backdrop-filter 0.25s ease; z-index: 18; }
body.nav-open::before { opacity: 1; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
a { color: inherit; text-decoration: none; }
.btn a, a.btn, button a, .button-row a, .button-row button {
    color: inherit !important;
    text-decoration: none !important;
}
.btn a:hover, a.btn:hover, button a:hover, .button-row a:hover, .button-row button:hover {
    color: inherit !important;
}
p { line-height: 1.75; color: var(--muted); }
h1, h2, h3, h4, h5 { color: var(--ink); font-family: var(--font-heading); line-height: 1.08; margin-top: 0; font-weight: 700; letter-spacing: 0; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.ai-lab-container { width: min(1600px, calc(100% - 32px)); }
.section.ai-lab-section {
    padding-top: 18px;
    background:
        radial-gradient(circle at top right, rgba(165, 99, 255, 0.18), transparent 26%),
        radial-gradient(circle at bottom left, rgba(109, 76, 255, 0.12), transparent 24%),
        linear-gradient(180deg, #222438 0%, #1a1c2e 100%);
}
.ai-lab-section .section-heading h2,
.ai-lab-section .section-heading h3,
.ai-lab-section .workspace-mobile-nav .workspace-tab {
    color: #f7f5ff;
}
.ai-lab-section .section-heading .eyebrow {
    color: #c9a9ff;
}
.ai-lab-section .section-heading p:not(.eyebrow) {
    color: rgba(236, 231, 255, 0.78);
}
.ai-lab-section .workspace-mobile-nav {
    background: rgba(248, 247, 255, 0.1);
    border: 1px solid rgba(167, 122, 255, 0.14);
}
.ai-lab-section .workspace-mobile-nav .workspace-tab {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(167, 122, 255, 0.16);
}
.topbar { background: linear-gradient(180deg, var(--nav-footer-bg) 0%, var(--nav-footer-bg-deep) 100%); color: var(--nav-footer-text); font-size: 0.85rem; }
.topbar-inner { display: flex; gap: 20px; padding: 10px 0; flex-wrap: wrap; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(22px) saturate(145%);
    background:
        linear-gradient(180deg, rgba(15, 25, 42, 0.98) 0%, rgba(4, 8, 18, 0.96) 100%);
    border-bottom: 1px solid rgba(231, 200, 115, 0.18);
    box-shadow: 0 16px 38px rgba(0, 5, 18, 0.34);
}
.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0%, var(--nav-premium-highlight) 18%, transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 38%);
    pointer-events: none;
}
.nav-shell { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 15px 0; gap: 18px; }
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--font-accent); flex: 0 0 auto; }
.brand-mark { width: 16px; height: 40px; border-radius: 999px; background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%); box-shadow: var(--shadow); }
.brand-logo { width: 54px; height: 54px; object-fit: contain; -webkit-mask-image: radial-gradient(circle at center, #000 58%, rgba(0, 0, 0, 0.78) 74%, transparent 100%); mask-image: radial-gradient(circle at center, #000 58%, rgba(0, 0, 0, 0.78) 74%, transparent 100%); }
.site-header .brand { color: var(--nav-footer-text); }
.site-header .brand small { display: block; color: var(--nav-footer-muted); }
.nav-scroll-wrapper { display: flex; align-items: center; justify-content: center; gap: 10px; flex: 1 1 auto; min-width: 0; max-width: min(720px, 100%); }
.main-nav { display: flex; align-items: center; gap: 18px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; min-width: 0; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a,
.main-nav button,
.menu-toggle,
.nav-scroll-btn {
    font-family: var(--font-accent);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}
.nav-scroll-btn {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(237, 244, 251, 0.16);
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--nav-footer-text);
    transition: 0.2s ease;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.nav-scroll-btn:hover { background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)); border-color: rgba(237, 244, 251, 0.28); transform: translateY(-1px); }
.nav-scroll-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.nav-home-link { display: inline-flex; white-space: nowrap; flex-shrink: 0; padding: 14px 22px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(237, 244, 251, 0.15); border-radius: 12px; font-weight: 600; font-size: 0.9rem; transition: 0.2s ease; }
.nav-home-link:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(237, 244, 251, 0.25); }
.nav-group { display: flex; align-items: center; gap: 18px; white-space: nowrap; flex-shrink: 0; }
.nav-group-toggle { display: none; }
.nav-group-links { display: none; }

@media (min-width: 961px) {
    .nav-scroll-btn { display: none; }
    .main-nav { overflow: visible; justify-content: center; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(237, 244, 251, 0.15); border-radius: 999px; padding: 10px 18px; gap: 14px; width: 100%; }
    .nav-group { display: flex; align-items: center; gap: 12px; position: relative; z-index: 50; }
    .nav-group:hover { z-index: 100; }
    .nav-group-toggle {
        display: flex !important;
        align-items: center;
        gap: 6px;
        padding: 10px 14px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(237, 244, 251, 0.15);
        border-radius: 12px;
        color: var(--nav-footer-text);
        font: inherit;
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        transition: 0.2s ease;
    }
    .nav-group-toggle:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(237, 244, 251, 0.25);
    }
    .nav-group-toggle::after {
        content: '▼';
        font-size: 0.65rem;
        opacity: 0.7;
    }
    .nav-group-links {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: linear-gradient(180deg, rgba(24, 39, 62, 0.98) 0%, rgba(10, 18, 32, 0.98) 100%);
        border: 1px solid rgba(47, 170, 216, 0.15);
        border-radius: 14px;
        padding: 12px;
        min-width: 180px;
        box-shadow: 0 20px 40px rgba(0, 8, 28, 0.4);
        backdrop-filter: blur(20px);
        z-index: 100;
    }
    .nav-group:hover .nav-group-links,
    .nav-group.is-open .nav-group-links {
        display: flex;
    }
    .nav-group-links a {
        padding: 14px 18px;
        border-radius: 10px;
        width: auto;
        white-space: nowrap;
        color: var(--nav-footer-text);
        transition: 0.2s ease;
    }
    .nav-group-links a:hover {
        background: rgba(47, 170, 216, 0.15);
        color: #ffffff;
    }
}

@media (min-width: 961px) and (max-width: 1120px) {
    .nav-shell {
        gap: 12px;
    }
    .brand {
        gap: 10px;
    }
    .brand-logo {
        width: 46px;
        height: 46px;
    }
    .site-header .brand small {
        display: none;
    }
    .nav-quote-desktop {
        display: none;
    }
    .main-nav {
        gap: 10px;
        padding: 9px 12px;
    }
    .nav-home-link,
    .nav-group-toggle {
        font-size: 0.86rem;
    }
}
.site-header a, .site-header button { color: var(--nav-footer-text); }
.site-header a:hover, .site-header button:hover { color: #ffffff; }
.main-nav a,
.main-nav .nav-group-toggle {
    position: relative;
}
.main-nav a::after,
.main-nav .nav-group-toggle::after {
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.main-nav a::before,
.nav-group-toggle::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(237, 244, 251, 0.7), transparent);
    opacity: 0;
    transform: translateY(3px);
    transition: 0.2s ease;
}
.main-nav a:hover::before,
.nav-group-toggle:hover::before {
    opacity: 1;
    transform: translateY(0);
}
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(237, 244, 251, 0.16);
    padding: 8px;
    border-radius: 14px;
    cursor: pointer;
    color: var(--nav-footer-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.nav-shell .btn-nav { flex: 0 0 auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border-radius: 999px; border: 1px solid transparent; font-family: var(--font-accent); font-weight: 700; letter-spacing: 0.01em; transition: 0.25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, #0a6da4 54%, #07304d 100%); color: white; box-shadow: 0 18px 38px rgba(22, 199, 217, 0.24); }
.btn-secondary { background: rgba(248, 243, 231, 0.08); border-color: rgba(231, 200, 115, 0.34); color: var(--premium-ivory); backdrop-filter: blur(10px); }
.btn-accent, .btn-nav { background: linear-gradient(135deg, var(--accent) 0%, #d6a94b 42%, var(--primary-dark) 100%); color: #07101d; box-shadow: 0 18px 38px rgba(231, 200, 115, 0.22); }
.nav-quote-mobile { display: none; }
.section { padding: 88px 0; }
.home-page {
    background:
        radial-gradient(circle at 92% 2%, rgba(36, 200, 255, 0.32), transparent 28%),
        radial-gradient(circle at 0% 88%, rgba(11, 108, 255, 0.34), transparent 34%),
        radial-gradient(circle at 52% 38%, rgba(0, 64, 191, 0.2), transparent 44%),
        linear-gradient(180deg, #020620 0%, #000212 100%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.home-page > section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(6, 16, 51, 0.9), rgba(2, 6, 32, 0.96));
    border-top: 1px solid rgba(36, 200, 255, 0.12);
    border-bottom: 1px solid rgba(11, 108, 255, 0.14);
}
.home-page > section > .container {
    position: relative;
    z-index: 1;
}
.home-page > section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}
.home-page > section:nth-of-type(4n+1)::before {
    background: linear-gradient(180deg, rgba(6, 16, 51, 0.96), rgba(2, 6, 32, 0.94));
}
.home-page > section:nth-of-type(4n+2)::before {
    background: linear-gradient(180deg, rgba(10, 26, 74, 0.96), rgba(3, 11, 40, 0.94));
}
.home-page > section:nth-of-type(4n+3)::before {
    background: linear-gradient(180deg, rgba(3, 20, 74, 0.96), rgba(2, 6, 32, 0.94));
}
.home-page > section:nth-of-type(4n)::before {
    background: linear-gradient(180deg, rgba(7, 21, 68, 0.96), rgba(0, 2, 18, 0.94));
}
.home-page > section.hero { background-color: transparent; border-top-color: transparent; }
.home-page > section.hero::before { content: none; }
.home-page > section.final-cta { background: var(--section-hero-bg); }
.home-page > section.band { background: var(--section-portfolio-bg); }
.home-page > section.ceo-message-section { background: var(--section-company-bg); }
.home-page > section.ai-orbit-section { background: linear-gradient(135deg, #071b26 0%, #0e596c 45%, #e7c873 145%); position: relative; overflow: hidden; }
.home-page > section.ai-orbit-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-molecule 8s ease-in-out infinite;
}
.home-page > section.ai-orbit-section::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 20%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-molecule 10s ease-in-out infinite reverse;
}
@keyframes float-molecule {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 0.9; }
}
.home-page > section.bleez-ux-section {
    background: linear-gradient(135deg, #071b26 0%, #0e596c 45%, #e7c873 145%);
    position: relative;
    overflow: hidden;
}
.home-page > section.bleez-ux-section::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-molecule 8s ease-in-out infinite;
}
.home-page > section.bleez-ux-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-molecule 10s ease-in-out infinite reverse;
}
.bleez-ux-copy .eyebrow { color: #ffe7a6; font-family: var(--font-accent); }
.bleez-ux-copy h2 { color: #f7fbff; font-family: var(--font-heading); }
.bleez-ux-copy p { color: rgba(237, 246, 255, 0.84); font-family: var(--font-body); }
.bleez-ux-copy .tag-list span { color: #f7fbff; background: rgba(255, 255, 255, 0.12); border-color: rgba(231, 200, 115, 0.24); }
.bleez-ux-copy .btn-primary { background: linear-gradient(135deg, #e7c873 0%, #16c7d9 100%); color: #07101d; box-shadow: 0 12px 30px rgba(231, 200, 115, 0.24); }
.bleez-ux-copy .btn-secondary { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #ffffff; backdrop-filter: blur(10px); }
.home-page > section.bleez-e2-section { background: var(--section-portfolio-bg); }
.bleez-e2-section .bleez-ux-copy .eyebrow { color: #e0f2fe; font-family: var(--font-accent); }
.bleez-e2-section .bleez-ux-copy h2 { color: #f0f9ff; font-family: var(--font-heading); }
.bleez-e2-section .bleez-ux-copy p { color: #bae6fd; font-family: var(--font-body); }
.bleez-e2-section .bleez-ux-copy .tag-list span { color: #e0f2fe; background: rgba(30, 50, 80, 0.6); }
.bleez-e2-section .bleez-ux-copy .btn-primary { background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%); color: white; box-shadow: 0 12px 30px rgba(14, 165, 233, 0.3); }
.home-page > section.logo-cloud-section { background: var(--section-company-bg); }
.home-page > section.home-services-section { background: var(--section-company-bg); }
.home-page > section.why-kelhonic-section { background: var(--section-ai-bg); }
.home-page > section.case-studies-section {
    background: linear-gradient(135deg, #08111f 0%, #0e596c 54%, #e7c873 142%);
    position: relative;
    overflow: hidden;
}
.home-page > section.case-studies-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 25%;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-molecule 9s ease-in-out infinite;
}
.case-studies-section .section-heading .eyebrow { color: #ffe7a6; font-family: var(--font-accent); }
.case-studies-section .section-heading h2 { color: #ffffff; font-family: var(--font-heading); }
.case-studies-section .card { background: rgba(8, 17, 31, 0.86); border-color: rgba(231, 200, 115, 0.22); backdrop-filter: blur(16px); }
.case-studies-section .card h3 { color: #ffffff; font-family: var(--font-heading); }
.case-studies-section .card p { color: rgba(237, 246, 255, 0.82); font-family: var(--font-body); }
.case-studies-section .card small { color: #98f7ff; font-family: var(--font-body); }
.case-studies-section .card a { color: #e7c873; font-weight: 600; }
.home-page > section.customer-journey-section { background: var(--section-portfolio-bg); }
.home-page > section.sharon-message-section { background: var(--section-testimonial-bg); }
.home-page > section.testimonials-section {
    background: linear-gradient(135deg, #08111f 0%, #0e596c 54%, #e7c873 142%);
    position: relative;
    overflow: hidden;
}
.home-page > section.testimonials-section::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 10%;
    width: 55px;
    height: 55px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-molecule 8s ease-in-out infinite;
}
.testimonials-section .section-heading .eyebrow { color: #ffe7a6; font-family: var(--font-accent); }
.testimonials-section .section-heading h2 { color: #ffffff; font-family: var(--font-heading); }
.testimonials-section .quote-card { background: rgba(8, 17, 31, 0.86); border-color: rgba(231, 200, 115, 0.22); backdrop-filter: blur(16px); }
.testimonials-section .quote-card p { color: rgba(237, 246, 255, 0.82); font-family: var(--font-body); }
.testimonials-section .quote-card strong { color: #ffffff; font-family: var(--font-body); }
.testimonials-section .quote-card small { color: #98f7ff; font-family: var(--font-body); }
.home-page > section:first-of-type { background: transparent; }
.home-page > section.final-cta::before,
.home-page > section.why-kelhonic-section::before,
.home-page > section.bleez-ux-section::before,
.home-page > section.home-services-section::before,
.home-page > section.ceo-message-section::before,
.home-page > section.logo-cloud-section::before,
.home-page > section.bleez-e2-section::before,
.home-page > section.band::before,
.home-page > section.customer-journey-section::before,
.home-page > section.sharon-message-section::before {
    background:
        radial-gradient(circle at 12% 16%, rgba(36, 200, 255, 0.14), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(11, 108, 255, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(6, 16, 51, 0.96), rgba(2, 6, 32, 0.94));
}
.home-hero-office {
    position: relative;
    min-height: 100vh;
    padding-top: 96px;
    padding-bottom: 88px;
    color: #f7fbff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    overflow: visible;
    background:
        radial-gradient(circle at 12% 10%, rgba(36, 200, 255, 0.28), transparent 32%),
        radial-gradient(circle at 86% 8%, rgba(11, 108, 255, 0.26), transparent 30%),
        linear-gradient(180deg, #020620 0%, #000212 100%);
}
.home-hero-office::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 2, 18, 0.68) 0%, rgba(2, 6, 32, 0.48) 48%, rgba(2, 6, 32, 0.24) 100%),
        linear-gradient(135deg, rgba(36, 200, 255, 0.24) 0%, rgba(3, 20, 74, 0.2) 48%, rgba(11, 108, 255, 0.22) 100%),
        radial-gradient(circle at 24% 24%, rgba(36, 200, 255, 0.22), transparent 34%),
        radial-gradient(circle at 78% 12%, rgba(11, 108, 255, 0.2), transparent 30%);
}
.home-hero-office::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 180px;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(2, 6, 32, 0.82) 62%, #020620 100%);
}
.home-hero-office .hero-grid {
    position: relative;
    z-index: 1;
    align-items: center;
    min-height: calc(100vh - 184px);
    grid-template-columns: 1.08fr 0.92fr;
    justify-items: stretch;
    gap: 34px;
}
.home-hero-office .hero-copy,
.home-hero-office .hero-card {
    width: min(100%, 920px);
}
.home-hero-office .hero-copy {
    align-self: center;
    padding: 38px 0;
    max-width: 720px;
}
.home-hero-office .hero-copy h1,
.home-hero-office .hero-copy p,
.home-hero-office .hero-copy .eyebrow {
    color: inherit;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.home-hero-office .hero-copy .eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(6, 18, 27, 0.58), rgba(6, 18, 27, 0.28));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    color: #ffffff;
}
.home-hero-office .hero-copy h1 {
    color: #ffffff;
    max-width: none;
    width: 100%;
    font-size: clamp(3.3rem, 6.7vw, 6.8rem);
    line-height: 0.92;
    text-wrap: balance;
}
.home-hero-office .hero-focus-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.7rem;
    width: fit-content;
    padding: 0.55rem 0.9rem;
    margin: 0 0 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(6, 18, 27, 0.66), rgba(6, 18, 27, 0.28));
    border: 1px solid rgba(231, 200, 115, 0.16);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}
.home-hero-office .hero-focus-word {
    font-size: clamp(1.05rem, 2.2vw, 1.45rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}
.home-hero-office .hero-focus-word:first-child {
    color: #f7f2e8;
}
.home-hero-office .hero-focus-word-accent {
    color: #d8be83;
}
.home-hero-office .hero-focus-word:last-child {
    color: #c8d6cb;
}
.home-hero-office .hero-focus-separator {
    color: rgba(241, 229, 205, 0.68);
    font-size: clamp(1.15rem, 2.4vw, 1.65rem);
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.home-hero-office .hero-copy .lead {
    color: rgba(255, 245, 230, 0.92);
    font-size: clamp(1.08rem, 1.5vw, 1.26rem);
    max-width: 58ch;
}
.hero-proof-grid {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 24px;
    max-width: 100%;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(5, 10, 20, 0.58);
    border: 1px solid rgba(231, 200, 115, 0.16);
    box-shadow: 0 18px 42px rgba(0, 5, 18, 0.24);
    backdrop-filter: blur(12px);
}
.hero-proof-grid span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    background: transparent;
    border: 0;
    color: rgba(237, 246, 255, 0.82);
    white-space: nowrap;
}
.hero-proof-grid span + span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 28%;
    bottom: 28%;
    width: 1px;
    background: rgba(231, 200, 115, 0.18);
}
.hero-proof-grid strong {
    color: var(--accent);
    font-size: 0.98rem;
}
.home-hero-office .trust-strip a {
    padding: 7px 11px;
    background: rgba(5, 10, 20, 0.36);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(237, 246, 255, 0.72);
    font-size: 0.86rem;
    backdrop-filter: blur(8px);
}
.home-hero-office .trust-strip a:hover {
    color: #ffffff;
    border-color: rgba(231, 200, 115, 0.3);
    background: rgba(231, 200, 115, 0.1);
}
.home-hero-office .hero-card {
    position: relative;
    align-self: center;
    z-index: 1;
    padding: 24px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(17, 29, 49, 0.92), rgba(5, 10, 20, 0.86)),
        rgba(17, 29, 49, 0.95);
    border-color: rgba(231, 200, 115, 0.2);
    box-shadow: var(--shadow);
}
.home-hero-office .hero-code-right { justify-self: end; margin-top: 28px; }
.hero-delivery-card {
    display: grid;
    gap: 20px;
    width: min(100%, 470px);
    border-radius: 28px;
}
.hero-delivery-card::after {
    content: '';
    position: absolute;
    inset: auto -70px -84px auto;
    width: 190px;
    height: 190px;
    border-radius: 42px;
    transform: rotate(18deg);
    background: linear-gradient(135deg, rgba(231, 200, 115, 0.2), rgba(22, 199, 217, 0.12));
    pointer-events: none;
}
.hero-delivery-top,
.hero-delivery-metrics,
.hero-delivery-stack,
.hero-delivery-status {
    position: relative;
    z-index: 1;
}
.hero-delivery-top {
    display: grid;
    gap: 8px;
}
.hero-delivery-kicker {
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(231, 200, 115, 0.14);
    border: 1px solid rgba(231, 200, 115, 0.22);
    color: #ffe7a6;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.hero-delivery-top strong {
    color: #ffffff;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1;
    letter-spacing: -0.03em;
}
.hero-delivery-top p {
    margin: 0;
    color: rgba(237, 246, 255, 0.78);
}
.hero-delivery-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.hero-delivery-metrics div {
    display: grid;
    gap: 6px;
    padding: 16px 12px;
    border-radius: 18px;
    background: rgba(1, 4, 11, 0.36);
    border: 1px solid rgba(109, 213, 237, 0.16);
    text-align: center;
}
.hero-delivery-metrics strong {
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
}
.hero-delivery-metrics span {
    color: rgba(237, 246, 255, 0.78);
    font-size: 0.88rem;
}
.hero-delivery-stack {
    display: grid;
    gap: 10px;
}
.hero-delivery-stack span {
    padding: 13px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(231, 200, 115, 0.12), rgba(22, 199, 217, 0.08));
    border: 1px solid rgba(231, 200, 115, 0.14);
    color: #f8f3e7;
    font-weight: 700;
}
.hero-delivery-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(40, 214, 161, 0.1);
    border: 1px solid rgba(40, 214, 161, 0.22);
    color: #c9ffed;
    font-weight: 700;
}
.hero-delivery-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 0 8px rgba(40, 214, 161, 0.13);
}
.band { background: rgba(6, 16, 51, 0.82); border-top: 1px solid rgba(36, 200, 255, 0.12); border-bottom: 1px solid rgba(11, 108, 255, 0.14); }
.home-section-divider { position: relative; height: 32px; margin: 0; display: grid; place-items: center; overflow: hidden; pointer-events: none; }
.home-section-divider::before {
    content: '';
    position: absolute;
    inset: 50% 0 auto;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(36, 200, 255, 0.18) 10%,
        rgba(11, 108, 255, 0.38) 34%,
        rgba(0, 64, 191, 0.52) 50%,
        rgba(3, 20, 74, 0.3) 66%,
        rgba(36, 200, 255, 0.18) 90%,
        transparent 100%
    );
    transform: translateY(-50%);
}
.home-section-divider::after { content: none; }
.home-section-divider span { position: relative; width: 48px; height: 4px; border-radius: 999px; background: rgba(11, 108, 255, 0.28); border: 0; box-shadow: none; }
.hero { padding: 88px 0 64px; }
.ai-orbit-section { padding-top: 34px; padding-bottom: 36px; }
.ai-orbit-copy {
    padding: 28px;
    border-radius: 24px;
    background: rgba(5, 10, 20, 0.42);
    border: 1px solid rgba(231, 200, 115, 0.16);
    backdrop-filter: blur(14px);
}
.ai-orbit-copy .eyebrow { color: #ffe7a6; font-family: var(--font-accent); }
.ai-orbit-copy h2 { color: #ffffff; font-family: var(--font-heading); text-shadow: 0 12px 28px rgba(0, 0, 0, 0.24); }
.ai-orbit-copy p { color: rgba(237, 246, 255, 0.86); font-family: var(--font-body); }
.logo-cloud-section { padding-top: 28px; }
.hero-grid, .two-col, .faq-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }
.ai-orbit-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 34px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 6vw, 5.2rem); letter-spacing: 0; max-width: 10ch; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 12ch; }
.page-hero-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: center; }
.page-hero-text-full h1, .page-hero-text-full .lead { max-width: none; }
.page-hero-text-full h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
.page-hero-logo-wrap { display: flex; justify-content: flex-end; }
.page-hero-logo { display: block; width: min(320px, 52vw); height: auto; }
.page-hero-logo-wrap img {
    -webkit-mask-image: radial-gradient(circle at center, #000 58%, rgba(0, 0, 0, 0.78) 72%, transparent 100%);
    mask-image: radial-gradient(circle at center, #000 58%, rgba(0, 0, 0, 0.78) 72%, transparent 100%);
}
.page-hero-logo-circle { width: min(220px, 38vw); aspect-ratio: 1; object-fit: cover; border-radius: 50%; padding: 18px; background: rgba(18, 37, 67, 0.9); box-shadow: var(--shadow); }
.page-hero-image { background-size: cover; background-position: center; color: white; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.page-hero-image h1, .page-hero-image p { color: white; }
.page-hero-image .container { padding-top: 28px; padding-bottom: 28px; }
.services-hero h1 { max-width: none; font-size: clamp(2rem, 5vw, 3.2rem); }
.lead { font-size: 1.08rem; max-width: 60ch; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); font-size: 0.72rem; font-weight: 700; }
.hero-card, .card, .cta-panel, .mini-panel, .metric-card {
    position: relative;
    background:
        linear-gradient(145deg, rgba(22, 36, 58, 0.92), rgba(6, 13, 25, 0.9)),
        rgba(11, 20, 36, 0.92);
    border: 1px solid rgba(231, 200, 115, 0.16);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.hero-card::before,
.card::before,
.cta-panel::before,
.mini-panel::before,
.metric-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%),
        linear-gradient(315deg, rgba(22, 199, 217, 0.08), transparent 42%);
}
.card,
.hero-card,
.metric-card {
    overflow: hidden;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.card:hover,
.hero-card:hover,
.metric-card:hover {
    transform: translateY(-4px);
    border-color: rgba(231, 200, 115, 0.32);
    box-shadow: var(--shadow-hover);
}
.hero-card { padding: 28px; }
.mini-panel { padding: 16px 18px; margin-bottom: 18px; background: rgba(11, 20, 36, 0.9); display: flex; align-items: center; gap: 14px; }
.mini-panel-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid rgba(47, 170, 216, 0.3); box-shadow: 0 10px 24px rgba(0, 8, 28, 0.3); }
.mini-panel-copy span, .mini-panel-copy strong { display: block; }
.mini-panel-copy span { color: #8ba3c4; }
.mini-panel-copy strong { color: #e8f4ff; }
.playground-card { background: linear-gradient(180deg, rgba(17, 29, 49, 0.95) 0%, rgba(5, 10, 20, 0.92) 100%); }
.code-playground { border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #01040b 0%, #071b26 100%); color: #dcecf8; border: 1px solid rgba(231, 200, 115, 0.18); }
.code-playground-header { display: flex; gap: 8px; padding: 14px 16px; background: rgba(255, 255, 255, 0.06); }
.code-playground-header span { width: 11px; height: 11px; border-radius: 50%; background: #32b7e7; }
.code-playground-header span:nth-child(2) { background: #9ea1a6; }
.code-playground-header span:nth-child(3) { background: #22c55e; }
.code-playground-body { padding: 20px; font-family: 'Courier New', monospace; font-size: 0.98rem; line-height: 1.75; }
.code-playground-body p { margin: 0 0 8px; color: inherit; }
.playground-code { margin: 0; white-space: pre-wrap; word-break: break-word; color: #dce7f0; min-height: 172px; }
.code-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 12px; border-radius: 999px; background: rgba(34, 197, 94, 0.12); color: #b6f0c4; }
.code-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12); }
.playground-code code { position: relative; }
.playground-code code::after { content: ''; display: inline-block; width: 1px; height: 1.05em; margin-left: 3px; vertical-align: -0.15em; background: currentColor; animation: blink-caret 1s steps(1) infinite; }
.ai-orbit-copy h2 { max-width: 12ch; margin-bottom: 14px; }
.ai-orbit-copy p { max-width: 56ch; }
.ai-orbit-stage { display: flex; justify-content: center; }
.bleez-ux-section {
    background:
        radial-gradient(circle at top left, rgba(47, 170, 216, 0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(1, 20, 43, 0.14), transparent 36%);
}
.ceo-message-section {
    padding-top: 36px;
    padding-bottom: 42px;
}
.ceo-message-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 30px;
    align-items: center;
}
.ceo-message-copy {
    padding: 36px;
    border-radius: 30px;
    background: linear-gradient(155deg, rgba(22, 199, 217, 0.92) 0%, rgba(7, 27, 38, 0.96) 50%, rgba(1, 4, 11, 0.94) 100%);
    color: #f3fbf8;
    border: 1px solid rgba(231, 200, 115, 0.18);
    box-shadow: var(--shadow);
}
.ceo-message-copy h2,
.ceo-message-copy p,
.ceo-message-copy strong {
    color: inherit;
}
.ceo-message-copy h2 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}
.ceo-message-copy p {
    margin: 0 0 16px;
    max-width: 60ch;
}
.ceo-signature {
    display: grid;
    gap: 4px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(20, 33, 61, 0.12);
}
.ceo-signature strong {
    color: var(--ink);
    font-size: 1.05rem;
}
.ceo-signature span {
    color: var(--muted);
}
.ceo-message-media {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    min-height: 100%;
    background: linear-gradient(135deg, #111d31 0%, #050a14 100%);
    border: 1px solid rgba(231, 200, 115, 0.16);
    box-shadow: var(--shadow);
}
.ceo-message-media::after {
    content: '';
    position: absolute;
    inset: auto 22px 22px auto;
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(50, 183, 231, 0.22), rgba(1, 20, 43, 0.18));
    backdrop-filter: blur(4px);
}
.ceo-message-media img {
    width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: cover;
    display: block;
}
.bleez-ux-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
    align-items: center;
}
.bleez-ux-copy { max-width: 560px; }
.bleez-ux-copy h2 { max-width: none; margin-bottom: 18px; }
.bleez-ux-copy p { max-width: 58ch; }
.bleez-ux-copy .button-row { margin-top: 24px; }
.bleez-ux-showcase {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(20, 33, 61, 0.08);
    background: rgba(6, 10, 28, 0.98);
    box-shadow: 0 24px 52px rgba(0, 8, 28, 0.18);
    width: min(100%, 820px);
    justify-self: end;
}
.bleez-ux-showcase img {
    width: 100%;
    display: block;
    object-fit: cover;
}
.bleez-ux-card { padding: 20px; display: grid; gap: 16px; }
.bleez-ux-preview {
    min-height: 380px;
    border-radius: 24px;
    border: 1px solid rgba(20, 33, 61, 0.1);
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(47, 170, 216, 0.1), rgba(1, 20, 43, 0.08)),
        linear-gradient(180deg, rgba(18, 37, 67, 0.96), rgba(13, 29, 51, 0.96));
    display: grid;
    place-items: center;
}
.bleez-ux-preview img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}
.bleez-a1-analysis-card {
    width: min(100%, 720px);
    padding: 28px;
    display: grid;
    gap: 14px;
}
.bleez-a1-analysis-card p {
    margin: 0;
}
.bleez-a1-analysis-prompt {
    color: var(--muted);
    font-size: 0.92rem;
}
.bleez-a1-analysis-output {
    border-radius: 18px;
    border: 1px solid rgba(47, 170, 216, 0.15);
    background: rgba(10, 22, 40, 0.7);
    padding: 18px;
    overflow: auto;
}
.bleez-a1-analysis-output p,
.bleez-a1-analysis-output ul,
.bleez-a1-analysis-output ol {
    margin: 0 0 10px;
}
.bleez-a1-analysis-output p:last-child,
.bleez-a1-analysis-output ul:last-child,
.bleez-a1-analysis-output ol:last-child {
    margin-bottom: 0;
}
.bleez-ux-placeholder {
    padding: 28px;
    text-align: center;
    max-width: 34ch;
}
.bleez-language-output {
    min-height: 320px;
    border-radius: 20px;
    border: 1px solid rgba(47, 170, 216, 0.12);
    background: linear-gradient(180deg, rgba(18, 37, 67, 0.95), rgba(13, 29, 51, 0.92));
    padding: 22px;
    overflow: auto;
    display: grid;
    align-items: start;
}
.bleez-language-output .bleez-ux-placeholder {
    align-self: center;
    justify-self: center;
}
.bleez-language-result {
    display: grid;
    gap: 12px;
}
.bleez-language-result p,
.bleez-language-result ul,
.bleez-language-result ol {
    margin: 0 0 10px;
}
.bleez-language-result p:last-child,
.bleez-language-result ul:last-child,
.bleez-language-result ol:last-child {
    margin-bottom: 0;
}
.ai-preview-loader {
    width: min(72%, 290px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    position: relative;
}
.ai-preview-loader::before,
.ai-preview-loader::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
}
.ai-preview-loader::before {
    background:
        radial-gradient(circle at center, rgba(232, 244, 255, 0.96) 0 56%, transparent 57%),
        conic-gradient(from 0deg, rgba(47, 170, 216, 0.18), rgba(47, 170, 216, 0.78), rgba(47, 170, 216, 0.22), rgba(47, 170, 216, 0.82), rgba(47, 170, 216, 0.18));
    filter: drop-shadow(0 18px 30px rgba(30, 110, 141, 0.16));
    animation: aiPreviewLoaderSpin 11s linear infinite;
}
.ai-preview-loader::after {
    inset: 16%;
    border: 1px solid rgba(47, 170, 216, 0.24);
    background:
        radial-gradient(circle at center, rgba(232, 244, 255, 0.98) 0 62%, rgba(139, 163, 196, 0.92) 63% 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.ai-preview-loader-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    inset: 0;
    border: 1px solid rgba(47, 170, 216, 0.2);
}
.ai-preview-loader-orbit {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    animation: aiPreviewLoaderSpinReverse 15s linear infinite;
}
.ai-preview-loader-orbit::before,
.ai-preview-loader-orbit::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(50, 183, 231, 0.98), rgba(30, 110, 141, 0.9));
    box-shadow: 0 0 0 6px rgba(47, 170, 216, 0.22);
}
.ai-preview-loader-orbit::before {
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
}
.ai-preview-loader-orbit::after {
    bottom: 18%;
    right: -3px;
}
.ai-preview-loader-center {
    position: relative;
    z-index: 1;
    width: 58%;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding: 18px;
    background: linear-gradient(180deg, rgba(232, 244, 255, 0.98), rgba(139, 163, 196, 0.92));
    color: #1e6e8d;
    text-align: center;
    box-shadow: 0 10px 24px rgba(30, 110, 141, 0.14);
}
.ai-preview-loader-center strong {
    display: block;
    font-size: 0.94rem;
    letter-spacing: 0.02em;
}
.ai-preview-loader-center span {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: rgba(30, 110, 141, 0.82);
}
@keyframes aiPreviewLoaderSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes aiPreviewLoaderSpinReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}
.bleez-ux-form {
    display: grid;
    gap: 12px;
}
.bleez-ux-form label {
    font-weight: 700;
    color: var(--ink);
}
.bleez-ux-form select,
.bleez-ux-form textarea,
.bleez-ux-form input[type="text"] {
    width: 100%;
}
.bleez-ux-form select {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(10, 22, 40, 0.85);
    color: #e8f4ff;
    font: inherit;
}
.bleez-ux-form textarea {
    min-height: 120px;
    resize: vertical;
}
.bleez-ux-form input[type="text"] {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(10, 22, 40, 0.85);
    color: #e8f4ff;
    font: inherit;
}
.bleez-ux-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.bleez-ux-actions .button-row { gap: 10px; }
.bleez-ux-upload {
    display: grid;
    gap: 8px;
}
.bleez-ux-package-nav {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 6px 0 4px;
    margin-bottom: 20px;
    scrollbar-width: thin;
}
.bleez-ux-package-nav button {
    flex: 0 0 auto;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(47, 170, 216, 0.15);
    background: rgba(18, 37, 67, 0.8);
    color: var(--ink);
    font-weight: 700;
    font: inherit;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(0, 8, 28, 0.15);
}
.bleez-ux-package-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(290px, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 4px 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}
.bleez-ux-package-card {
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 20px 14px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(50, 183, 231, 0.12), transparent 35%),
        radial-gradient(circle at bottom left, rgba(1, 20, 43, 0.25), transparent 34%),
        linear-gradient(180deg, rgba(18, 37, 67, 0.95), rgba(13, 29, 51, 0.92));
    border: 1px solid rgba(47, 170, 216, 0.12);
    box-shadow: 0 20px 40px rgba(0, 8, 28, 0.2);
    align-self: stretch;
    min-height: 100%;
}
.bleez-ux-package-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
}
.bleez-ux-package-card strong {
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.03em;
}
.bleez-ux-package-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(47, 170, 216, 0.15);
    pointer-events: none;
}
.bleez-ux-package-card-lilac {
    background:
        radial-gradient(circle at top right, rgba(168, 85, 247, 0.18), transparent 34%),
        radial-gradient(circle at bottom left, rgba(244, 114, 182, 0.1), transparent 32%),
        linear-gradient(180deg, rgba(28, 20, 45, 0.95), rgba(20, 15, 35, 0.92));
    border-color: rgba(168, 85, 247, 0.2);
}
.bleez-ux-package-card-featured {
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.2), transparent 34%),
        radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.16), transparent 32%),
        linear-gradient(180deg, rgba(11, 18, 32, 0.96), rgba(20, 33, 61, 0.94));
    color: rgba(247, 250, 252, 0.96);
    border-color: rgba(96, 165, 250, 0.28);
    box-shadow: 0 24px 48px rgba(9, 17, 31, 0.18);
}
.bleez-ux-package-ribbon {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    padding: 8px 14px;
    background: linear-gradient(135deg, #32b7e7, #1e6e8d);
    color: #f3fbff;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    border: 1px solid rgba(243, 251, 255, 0.22);
    box-shadow: 0 14px 30px rgba(30, 110, 141, 0.26);
}
.bleez-ux-package-card-sunset {
    background:
        radial-gradient(circle at top right, rgba(251, 146, 60, 0.25), transparent 34%),
        radial-gradient(circle at bottom left, rgba(239, 68, 68, 0.2), transparent 32%),
        linear-gradient(180deg, rgba(45, 25, 20, 0.98), rgba(35, 18, 15, 0.95));
    border-color: rgba(251, 146, 60, 0.25);
}
.bleez-ux-package-card-featured .eyebrow,
.bleez-ux-package-card-featured strong,
.bleez-ux-package-card-featured .bleez-ux-package-validity,
.bleez-ux-package-card-featured .bleez-ux-package-price p,
.bleez-ux-package-card-featured .bleez-ux-package-feature-list li,
.bleez-ux-package-card-sunset .eyebrow,
.bleez-ux-package-card-sunset strong,
.bleez-ux-package-card-sunset .bleez-ux-package-validity,
.bleez-ux-package-card-sunset .bleez-ux-package-price p,
.bleez-ux-package-card-sunset .bleez-ux-package-feature-list li {
    color: rgba(247, 250, 252, 0.96);
}
.bleez-ux-package-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.bleez-ux-package-top .eyebrow {
    margin: 0;
}
.bleez-ux-package-chip {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(47, 170, 216, 0.15);
    border: 1px solid rgba(47, 170, 216, 0.2);
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.bleez-ux-package-chip-hot {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.22), rgba(96, 165, 250, 0.22));
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 247, 237, 0.98);
}
.bleez-ux-package-price {
    display: grid;
    gap: 6px;
}
.bleez-ux-package-price p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}
.bleez-ux-package-original {
    width: fit-content;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: line-through;
}
.bleez-ux-package-offer {
    margin: 0;
    color: #047857;
    font-size: 0.88rem;
    font-weight: 800;
}
.bleez-ux-package-offer-title {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
}
.bleez-ux-package-offer-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}
.bleez-ux-package-card-featured .bleez-ux-package-original,
.bleez-ux-package-card-featured .bleez-ux-package-offer,
.bleez-ux-package-card-featured .bleez-ux-package-offer-title,
.bleez-ux-package-card-featured .bleez-ux-package-offer-note {
    color: rgba(247, 250, 252, 0.92);
}
.bleez-ux-package-credit-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(59, 130, 246, 0.16));
    color: var(--ink);
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
.bleez-ux-package-card-featured .bleez-ux-package-credit-pill {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.24), rgba(34, 197, 94, 0.22));
    color: rgba(247, 250, 252, 0.98);
}
.bleez-ux-package-card-lilac .bleez-ux-package-credit-pill {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(244, 114, 182, 0.16));
}
.bleez-ux-package-card-sunset .bleez-ux-package-credit-pill {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.5), rgba(239, 68, 68, 0.4));
    color: #fff5f0;
}
.bleez-ux-package-validity {
    margin: -2px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}
.bleez-ux-package-feature-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1 1 auto;
    align-content: start;
}
.bleez-ux-package-cta {
    display: flex;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 0;
    min-height: 52px;
}
.bleez-ux-package-cta .btn {
    width: 100%;
}
.bleez-ux-package-feature-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text);
}
.bleez-ux-package-feature-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-size: 0.9rem;
}
.bleez-ux-package-card-featured .bleez-ux-package-feature-list li::before {
    color: #60a5fa;
}
.bleez-ux-package-payg {
    background:
        linear-gradient(155deg, rgba(47, 170, 216, 0.12), rgba(30, 110, 141, 0.16)),
        rgba(13, 29, 51, 0.9);
}
.bleez-e2-preview {
    min-height: 180px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(47, 170, 216, 0.14), transparent 42%),
        radial-gradient(circle at bottom left, rgba(30, 110, 141, 0.12), transparent 38%),
        rgba(13, 29, 51, 0.94);
    border: 1px solid rgba(20, 33, 61, 0.08);
}
.bleez-e2-audio-card {
    width: 100%;
    display: grid;
    gap: 10px;
    padding: 20px;
}
.bleez-music-cover {
    width: 100%;
    max-width: min(100%, 220px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 22px;
    display: block;
    background: rgba(9, 17, 31, 0.08);
    box-shadow: 0 18px 42px rgba(9, 17, 31, 0.14);
    justify-self: start;
}
.bleez-e2-video-shell {
    position: relative;
    width: 100%;
}
.bleez-e2-video-shell::after {
    content: 'Bleez AI';
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(9, 17, 31, 0.56);
    color: rgba(255, 253, 249, 0.96);
    font: 700 0.86rem/1 Georgia, serif;
    letter-spacing: 0.04em;
    pointer-events: none;
    box-shadow: 0 10px 24px rgba(9, 17, 31, 0.18);
    z-index: 1;
}
.bleez-e2-audio-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}
.bleez-e2-audio-card audio,
.bleez-e2-audio-card video {
    width: 100%;
    border-radius: 16px;
    background: rgba(9, 17, 31, 0.08);
}
.bleez-e2-meta-grid {
    gap: 12px;
}
.bleez-e2-meta-grid > div {
    display: grid;
    gap: 8px;
}
.ai-orbit-shell {
    position: relative;
    width: min(480px, 100%);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(248, 243, 231, 0.88) 0 24%, transparent 24.5%),
        radial-gradient(circle at center, rgba(22, 199, 217, 0.18) 0 46%, transparent 46.5%),
        radial-gradient(circle at center, rgba(231, 200, 115, 0.16) 0 70%, transparent 70.5%);
}
.ai-orbit-shell::before {
    content: '';
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    border: 1px dashed rgba(231, 200, 115, 0.38);
}
.ai-orbit-shell::after {
    content: '';
    position: absolute;
    inset: 26%;
    border-radius: 50%;
    border: 1px solid rgba(109, 213, 237, 0.18);
}
.ai-orbit-node {
    position: absolute;
    display: grid;
    place-items: center;
    text-align: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    background:
        linear-gradient(145deg, rgba(17, 29, 49, 0.96), rgba(5, 10, 20, 0.92));
    border: 1px solid rgba(231, 200, 115, 0.28);
    box-shadow: var(--shadow);
}
.ai-orbit-node span { max-width: 8ch; line-height: 1.2; }
.ai-node-top { top: 4%; left: 50%; transform: translateX(-50%); }
.ai-node-left { left: 3%; top: 56%; transform: translateY(-50%); }
.ai-node-right { right: 3%; top: 56%; transform: translateY(-50%); }
.ai-node-bottom { bottom: 2%; left: 50%; transform: translateX(-50%); }
.ai-orbit-core {
    position: absolute;
    inset: 50%;
    --orbit-size: 232px;
    --orbit-dot-size: 18px;
    --orbit-dot-radius: calc((var(--orbit-size) / 2) - 1px);
    width: var(--orbit-size);
    height: var(--orbit-size);
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
}
.ai-orbit-rotor {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(231, 200, 115, 0.22);
    border-top-color: var(--primary);
    border-right-color: var(--accent);
    animation: spin-orbit 14s linear infinite;
}
.ai-orbit-rotor::before,
.ai-orbit-rotor::after {
    content: '';
    position: absolute;
    top: calc(50% - (var(--orbit-dot-size) / 2));
    left: calc(50% - (var(--orbit-dot-size) / 2));
    width: var(--orbit-dot-size);
    height: var(--orbit-dot-size);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.65);
}
.ai-orbit-rotor::before { transform: rotate(0deg) translateY(calc(-1 * var(--orbit-dot-radius))); }
.ai-orbit-rotor::after { transform: rotate(180deg) translateY(calc(-1 * var(--orbit-dot-radius))); }
.ai-orbit-center {
    position: relative;
    z-index: 1;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 18px;
    color: white;
    background: linear-gradient(155deg, #e7c873 0%, #16c7d9 44%, #071b26 100%);
    box-shadow: 0 24px 54px rgba(0, 8, 28, 0.22);
}
.ai-orbit-center strong { line-height: 1.1; }
.stat-cluster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-cluster article, .metric-card { padding: 22px; background: rgba(18, 37, 67, 0.8); }
.stat-cluster strong, .metric-card strong { display: block; font-size: 2rem; margin-bottom: 8px; }
.logo-cloud { display: flex; gap: 14px; flex-wrap: wrap; }
.tag-list { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.logo-cloud span, .chip, .tag-list span { padding: 9px 13px; border-radius: 999px; background: rgba(18, 37, 67, 0.8); border: 1px solid rgba(47, 170, 216, 0.15); color: #e8f4ff; }
.logo-cloud span { display: inline-flex; align-items: center; gap: 10px; }
.logo-cloud i { font-size: 1.1rem; color: var(--primary-dark); }
.section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 20px; }
.customer-journey-section { padding-top: 54px; padding-bottom: 54px; }
.sharon-message-section {
    position: relative;
    overflow: hidden;
    padding-top: 52px;
    padding-bottom: 52px;
}
.sharon-message-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(47, 170, 216, 0.18), transparent 26%),
        radial-gradient(circle at 88% 78%, rgba(1, 20, 43, 0.16), transparent 28%);
    pointer-events: none;
}
.sharon-message-shell {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 30px;
    align-items: center;
    padding: 30px;
    border-radius: 28px;
    border: 1px solid rgba(47, 170, 216, 0.1);
    background: linear-gradient(135deg, rgba(18, 37, 67, 0.96) 0%, rgba(13, 29, 51, 0.92) 100%);
    box-shadow: var(--shadow);
}
.sharon-message-shell::after { content: none; }
.sharon-message-copy {
    position: relative;
    z-index: 1;
    max-width: 60ch;
    background: linear-gradient(155deg, rgba(22, 199, 217, 0.92) 0%, rgba(7, 27, 38, 0.96) 50%, rgba(1, 4, 11, 0.94) 100%);
    color: #f3fbf8;
    padding: 36px;
    border-radius: 30px;
    border: 1px solid rgba(231, 200, 115, 0.18);
    box-shadow: var(--shadow);
}
.sharon-message-copy h2,
.sharon-message-copy p,
.sharon-message-copy strong {
    color: inherit;
}
.sharon-message-copy h2 {
    margin-bottom: 18px;
    max-width: 100%;
}
.sharon-message-copy p {
    margin: 0 0 16px;
}
.sharon-message-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.sharon-message-highlights span {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(18, 37, 67, 0.92);
    border: 1px solid rgba(47, 170, 216, 0.15);
    color: #e8f4ff;
    font-size: 0.92rem;
    font-weight: 700;
}
.sharon-message-signature {
    display: grid;
    gap: 4px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(47, 170, 216, 0.12);
}
.sharon-message-signature strong {
    color: #e8f4ff;
    font-size: 1.06rem;
}
.sharon-message-signature span {
    color: #e8f4ff;
}
.sharon-message-media {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: end;
}
.sharon-message-photo-card {
    width: min(100%, 430px);
    padding: 12px;
    border-radius: 28px;
    background: rgba(18, 37, 67, 0.92);
    border: 1px solid rgba(47, 170, 216, 0.15);
    box-shadow: 0 26px 60px rgba(9, 17, 31, 0.16);
    transform: none;
}
.sharon-message-photo-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 26px;
}
.sharon-message-note {
    width: min(280px, 86%);
    margin-top: -34px;
    margin-right: 18px;
    padding: 16px 16px 18px;
    border-radius: 20px;
    background: rgba(1, 20, 43, 0.94);
    color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 40px rgba(9, 17, 31, 0.2);
}
.sharon-message-note p {
    margin: 0;
    color: inherit;
    font-size: 0.96rem;
}
.sharon-message-note-label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(47, 170, 216, 0.18);
    color: #0f4f6a;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.why-kelhonic-media {
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(135deg, #e6f3fc 0%, #dbeaf7 100%);
    border: 1px solid rgba(20, 33, 61, 0.08);
    box-shadow: var(--shadow);
    min-height: 100%;
    margin-top: 20px;
}
.why-kelhonic-media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}
.why-kelhonic-copy h2 { margin-bottom: 18px; }
.why-kelhonic-section .feature-list { margin-top: 112px; }
.journey-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
}
.journey-track::before {
    content: '';
    position: absolute;
    top: 34px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, rgba(47, 170, 216, 0.2) 0%, rgba(9, 40, 71, 0.35) 100%);
    z-index: 0;
}
.journey-track::after { content: none; }
.journey-step {
    position: relative;
    z-index: 1;
    padding: 72px 22px 24px;
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(22, 36, 58, 0.94), rgba(6, 13, 25, 0.92)),
        rgba(11, 20, 36, 0.96);
    border: 1px solid rgba(231, 200, 115, 0.16);
    box-shadow: var(--shadow);
    filter: none;
    opacity: 1;
    transform: none;
    animation: none;
}
.journey-step::after {
    content: '';
    position: absolute;
    inset: 16px;
    border-radius: 16px;
    border: 1px solid rgba(109, 213, 237, 0.14);
    opacity: 1;
    animation: none;
}
.journey-step-number {
    position: absolute;
    top: 0;
    left: 22px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: white;
    background: linear-gradient(155deg, #e7c873 0%, #16c7d9 44%, #071b26 100%);
    box-shadow: 0 14px 28px rgba(0, 8, 28, 0.16);
}
.journey-step-number { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.journey-step h3 { margin-bottom: 10px; color: #e8f4ff; }
.journey-step p { margin: 0; color: #e8f4ff; }
.card-grid { display: grid; gap: 28px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card { padding: 32px; }
.home-horizontal-carousel {
    position: relative;
}
.home-horizontal-carousel::before,
.home-horizontal-carousel::after {
    content: '';
    position: absolute;
    top: 56px;
    bottom: 10px;
    width: 68px;
    pointer-events: none;
    z-index: 2;
}
.home-horizontal-carousel::before {
    left: 0;
    background: linear-gradient(90deg, rgba(237, 243, 248, 0.96), rgba(237, 243, 248, 0));
}
.home-horizontal-carousel::after {
    right: 0;
    background: linear-gradient(270deg, rgba(237, 243, 248, 0.96), rgba(237, 243, 248, 0));
}
.home-services-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 14px;
    position: relative;
    z-index: 3;
}
.home-services-control {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(47, 170, 216, 0.1);
    border-radius: 50%;
    background: rgba(18, 37, 67, 0.98);
    color: #e8f4ff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(9, 17, 31, 0.08);
}
.home-services-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(620px, 720px);
    gap: 18px;
    justify-content: start;
    overflow-x: auto;
    overflow-y: hidden;
    align-items: stretch;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(47, 170, 216, 0.58) rgba(20, 33, 61, 0.08);
    scroll-behavior: smooth;
}
.home-services-grid::-webkit-scrollbar {
    height: 10px;
}
.home-services-grid::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(20, 33, 61, 0.08);
}
.home-services-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(47, 170, 216, 0.9), rgba(9, 40, 71, 0.82));
}
.home-services-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(30, 110, 141, 0.94), rgba(1, 20, 43, 0.9));
}
.service-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    width: 100%;
    align-items: stretch;
    overflow: hidden;
    padding: 0;
    background: rgba(11, 20, 36, 0.98);
}
.services-list-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0;
    background:
        linear-gradient(145deg, rgba(22, 36, 58, 0.96), rgba(6, 13, 25, 0.95)),
        rgba(11, 20, 36, 0.98);
    border: 1px solid rgba(231, 200, 115, 0.16);
    border-radius: var(--radius);
    box-shadow: 0 20px 48px rgba(0, 5, 18, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.services-list-card:hover {
    box-shadow: var(--shadow-hover), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
    border-color: rgba(231, 200, 115, 0.32);
}
.services-list-card .services-list-media {
    width: 100%;
    margin: 0;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #16c7d9 0%, #071b26 100%);
}
.services-list-card .services-list-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(50, 183, 231, 0.14), rgba(1, 20, 43, 0.08));
    pointer-events: none;
}
.services-list-card .services-list-media img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.services-list-card:hover .services-list-media img {
    transform: scale(1.08);
}
.services-list-card .chip {
    display: inline-flex;
    padding: 10px 16px;
    margin: 18px 18px 0 18px;
    background: linear-gradient(135deg, rgba(231, 200, 115, 0.16), rgba(40, 214, 161, 0.1));
    border: 1px solid rgba(231, 200, 115, 0.25);
    border-radius: 999px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.services-list-card h3 {
    padding: 0;
    margin: 16px 18px 10px 18px;
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
}
.services-list-card p {
    padding: 0;
    margin: 0 18px 16px 18px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.services-list-card a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    padding: 8px 0;
    margin: 8px 18px 18px 18px;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}
.services-list-card a::after {
    content: '→';
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s ease;
}
.services-list-card a:hover::after {
    opacity: 1;
    transform: translateX(0);
}
.services-list-card a:hover {
    color: var(--primary-dark);
}
.home-services-section .service-card {
    min-height: 0;
}
.service-card-copy,
.service-card-media {
    padding: 18px;
}
.service-card .chip {
    display: inline-flex;
    margin-bottom: 14px;
}
.service-card-copy {
    position: relative;
    background: linear-gradient(180deg, rgba(17, 29, 49, 0.98), rgba(6, 13, 25, 0.94));
}
.service-card-copy > a {
    text-decoration: none;
}
.service-card-copy::after {
    content: '';
    position: absolute;
    inset: auto -20px -40px auto;
    width: 90px;
    height: 90px;
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.18), rgba(15, 118, 110, 0.18));
    border-radius: 22px;
    transform: rotate(18deg);
}
.service-card-spine {
    position: relative;
    background:
        linear-gradient(90deg, rgba(231, 200, 115, 0.08), rgba(255, 255, 255, 0.7) 28%, rgba(231, 200, 115, 0.92) 50%, rgba(255, 255, 255, 0.7) 72%, rgba(22, 199, 217, 0.08));
    box-shadow:
        inset 1px 0 0 rgba(120, 98, 72, 0.16),
        inset -1px 0 0 rgba(120, 98, 72, 0.16);
}
.service-card-spine::before {
    content: '';
    position: absolute;
    inset: 10px 9px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(146, 118, 86, 0.28), rgba(255, 255, 255, 0.05), rgba(146, 118, 86, 0.22));
}
.service-card-media {
    display: grid;
    place-items: stretch;
    padding: 0;
    background: transparent;
    min-height: 0;
    flex-shrink: 0;
}
.service-media {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 0;
    overflow: hidden;
    background: rgba(9, 17, 31, 0.06);
}
.service-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.service-media-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(249, 115, 22, 0.16));
}
.service-media-fallback span {
    padding: 20px;
    text-align: center;
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 700;
}
.home-services-section .service-media {
    margin-bottom: 0;
    border-radius: 0;
    background: rgba(9, 17, 31, 0.06);
}
.home-services-section .service-media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}
.service-media, .service-detail-media { overflow: hidden; border-radius: 20px; margin-bottom: 18px; background: linear-gradient(135deg, #e6f3fc 0%, #dbeaf7 100%); }
.service-media img, .service-detail-media img { width: 100%; height: 240px; object-fit: cover; display: block; }
.service-detail-media img { height: 340px; }
.home-services-section .service-card-media {
    min-height: 0;
    padding: 0;
    background: transparent;
}
.home-services-section .service-media {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin-bottom: 0;
    border-radius: 0;
    background: rgba(9, 17, 31, 0.06);
}
.home-services-section .service-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    display: block;
}
.service-pricing-grid { display: grid; gap: 14px; margin-bottom: 18px; }
.pricing-tier { padding: 18px; border-radius: 16px; background: rgba(17, 29, 49, 0.82); border: 1px solid rgba(231, 200, 115, 0.16); }
.pricing-tier strong { display: block; font-size: 1.5rem; color: var(--ink); margin-bottom: 10px; }
.pricing-tier ul { margin: 0; padding-left: 18px; }
.blog-media, .blog-detail-media { overflow: hidden; border-radius: 20px; margin-bottom: 18px; background: linear-gradient(135deg, #122543 0%, #0d1d33 100%); }
.blog-media img, .blog-detail-media img { width: 100%; object-fit: cover; display: block; }
.blog-media img { height: 220px; }
.blog-detail-media img { height: 340px; }
.blog-detail-layout { grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr); align-items: start; }
.blog-detail-content { min-width: 0; }
.blog-detail-sidebar { grid-column: 2; position: sticky; top: 110px; }
.insights-list {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    align-items: stretch;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
}
.blog-card { display: flex; flex-direction: column; height: 100%; }
.blog-card-home {
    display: flex;
    flex-direction: row;
    flex: 0 0 min(560px, calc(100vw - 40px));
    gap: 22px;
    align-items: stretch;
    padding: 22px 26px;
    scroll-snap-align: start;
}
.blog-card-home-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blog-card-home-copy h3 {
    margin-bottom: 12px;
}
.blog-card-home-copy small {
    margin-bottom: 10px;
}
.blog-card-home-media {
    flex: 0 0 260px;
    margin-bottom: 0;
    height: 100%;
    align-self: stretch;
}
.blog-card-home .blog-media {
    margin-bottom: 0;
}
.blog-card-home-media img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}
.blog-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    min-height: calc(1.7em * 4);
}
.blog-card small { display: block; margin-top: 6px; }
.blog-card a { display: inline-flex; margin-top: auto; padding-top: 14px; }
.home-motion-item {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: blur(6px);
    transition:
        opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 720ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--motion-delay, 0ms);
    will-change: opacity, transform, filter;
}
.home-motion-item.home-motion-left {
    transform: translate3d(-34px, 16px, 0);
}
.home-motion-item.home-motion-right {
    transform: translate3d(34px, 16px, 0);
}
.home-motion-item.home-motion-scale {
    transform: translate3d(0, 24px, 0) scale(0.96);
}
.home-motion-item.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}
.hero-grid > .home-motion-item.is-visible {
    animation: homeHeroFloatIn 920ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
    animation-delay: var(--motion-delay, 0ms);
}
.team-member-card { position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 18px; row-gap: 10px; align-items: start; overflow: hidden; }
.team-member-card::after { content: ''; position: absolute; inset: auto -18px -28px auto; width: 82px; height: 82px; background: linear-gradient(180deg, rgba(50, 183, 231, 0.18), rgba(1, 20, 43, 0.16)); border-radius: 50%; }
.team-member-copy { position: relative; z-index: 1; }
.team-member-socials { grid-column: 1 / 2; display: flex; gap: 10px; align-items: center; position: relative; z-index: 1; margin-top: -4px; }
.team-social-link { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(47, 170, 216, 0.12), rgba(9, 40, 71, 0.14)); border: 1px solid rgba(20, 33, 61, 0.08); color: var(--ink); font-size: 0.78rem; font-weight: 700; text-transform: lowercase; }
.team-member-bio { grid-column: 1 / -1; position: relative; z-index: 1; margin: 2px 0 0; }
.team-member-media { position: relative; z-index: 1; width: 112px; height: 124px; overflow: hidden; border-radius: 20px 20px 54px 54px; background: linear-gradient(135deg, #122543 0%, #0d1d33 100%); border: 4px solid rgba(47, 170, 216, 0.3); box-shadow: 0 16px 30px rgba(0, 8, 28, 0.25); }
.team-member-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.affiliation-card { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start; }
.affiliation-copy { min-width: 0; }
.affiliation-logo { width: 82px; height: 82px; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, #122543 0%, #0d1d33 100%); display: grid; place-items: center; justify-self: end; }
.affiliation-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(22, 199, 217, 0.16), transparent 30%),
        radial-gradient(circle at 82% 12%, rgba(231, 200, 115, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(11, 20, 36, 0.98), rgba(5, 10, 20, 0.96));
    border-bottom: 1px solid rgba(231, 200, 115, 0.12);
}
.about-hero-grid { align-items: center; }
.about-hero-copy {
    display: grid;
    gap: 16px;
}
.about-hero-copy .lead {
    margin: 0;
}
.about-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}
.about-hero-stats span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(231, 200, 115, 0.14), rgba(22, 199, 217, 0.08));
    border: 1px solid rgba(231, 200, 115, 0.18);
    color: rgba(237, 246, 255, 0.86);
}
.about-hero-stats strong {
    color: var(--accent);
}
.about-hero-media {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(231, 200, 115, 0.16);
    box-shadow: var(--shadow);
    background: rgba(13, 29, 51, 0.95);
}
.about-hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(22, 199, 217, 0.18), transparent 42%),
        linear-gradient(0deg, rgba(1, 4, 11, 0.18), transparent 58%);
    pointer-events: none;
}
.about-hero-media img { width: 100%; height: 420px; object-fit: cover; display: block; }
.about-story-section {
    padding-top: 54px;
    padding-bottom: 54px;
}
.about-story-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    align-items: stretch;
}
.about-story-card,
.about-story-copy {
    border-radius: 24px;
    border: 1px solid rgba(231, 200, 115, 0.16);
    box-shadow: var(--shadow);
}
.about-story-card {
    padding: 30px;
    background:
        radial-gradient(circle at top right, rgba(231, 200, 115, 0.16), transparent 34%),
        linear-gradient(155deg, rgba(22, 199, 217, 0.9) 0%, rgba(7, 27, 38, 0.96) 50%, rgba(1, 4, 11, 0.96) 100%);
}
.about-story-card h2,
.about-story-card .eyebrow {
    color: #ffffff;
}
.about-story-copy {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: 30px;
    background:
        linear-gradient(145deg, rgba(22, 36, 58, 0.92), rgba(6, 13, 25, 0.9)),
        rgba(11, 20, 36, 0.92);
}
.about-story-copy p {
    margin: 0;
    color: rgba(237, 246, 255, 0.84);
}
.what-we-do-section {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.what-we-do-section > .container {
    position: relative;
    z-index: 1;
}
.what-we-do-section h2,
.what-we-do-section p,
.what-we-do-section .eyebrow,
.what-we-do-section strong {
    color: #ffffff;
}
.what-we-do-section .stack-list {
    background: rgba(9, 17, 31, 0.52);
    border-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}
.what-we-do-section .stack-list p {
    color: rgba(255, 255, 255, 0.82);
}
.what-we-do-section .card-grid.three .card:nth-child(6) {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
}
.about-service-card {
    min-height: 230px;
}
.about-service-card strong {
    display: block;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 1.08rem;
}
.about-service-card::after {
    content: '';
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 38px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    opacity: 0.78;
}
.feature-list { display: grid; gap: 16px; }
.industry-intro-section { padding-top: 42px; padding-bottom: 42px; }
.industry-intro-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 26px; align-items: start; }
.industry-intro-card { padding: 32px; }
.industry-reading-panel { display: grid; gap: 16px; }
.industry-reading-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(249, 115, 22, 0.14));
    border: 1px solid rgba(20, 33, 61, 0.08);
    color: var(--primary-dark);
    font-weight: 700;
    width: fit-content;
}
.button-row { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-strip { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.trust-strip a { background: rgba(18, 37, 67, 0.7); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); color: #e8f4ff; transition: all 0.2s ease; }
.form-layout p { margin: 0 0 14px; }
.form-layout label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--ink); }
.form-control, select, textarea, input[type='text'], input[type='email'], input[type='date'], input[type='file'], input[type='password'] { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(109, 213, 237, 0.18); background: rgba(5, 10, 20, 0.78); color: #edf6ff; font: inherit; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.form-control:hover, select:hover, textarea:hover, input[type='text']:hover, input[type='email']:hover, input[type='date']:hover, input[type='file']:hover, input[type='password']:hover { border-color: rgba(231, 200, 115, 0.34); background: rgba(8, 17, 31, 0.88); }
.form-control:focus, select:focus, textarea:focus, input[type='text']:focus, input[type='email']:focus, input[type='date']:focus, input[type='file']:focus, input[type='password']:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(231, 200, 115, 0.18); }
.form-control-multiselect { min-height: 170px; }
.form-error { display: block; margin-top: 8px; color: #b42318; font-size: 0.88rem; }
.form-help { display: block; margin-top: 8px; color: var(--muted); font-size: 0.84rem; }
.ai-payment-selected-package {
    display: grid;
    gap: 10px;
    margin: 14px 0 22px;
    padding: 16px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 12px;
    background: rgba(15, 118, 110, 0.06);
}
.ai-payment-selected-package p {
    margin: 0;
}
.ai-payment-package-list {
    display: grid;
    gap: 10px;
    padding-left: 18px;
}
.ai-payment-package-list li {
    padding: 8px 10px;
    border-radius: 10px;
}
.ai-payment-package-list li.is-selected {
    background: rgba(15, 118, 110, 0.08);
    color: var(--ink);
}
.filter-bar, .search-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.blog-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}
.blog-filters select {
    min-width: 0;
}
.blog-filters .btn {
    white-space: nowrap;
}
.blog-list-section {
    padding-top: 28px;
}
.blog-list-section .blog-filters {
    margin-bottom: 18px;
}
.auth-form {
    display: grid;
    gap: 16px;
}
.auth-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.auth-field {
    display: grid;
    gap: 8px;
}
.auth-field label {
    font-weight: 700;
    color: var(--ink);
    font-size: 0.92rem;
}
.auth-input-shell {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input-shell .auth-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: var(--accent);
    pointer-events: none;
}
.auth-input-shell .auth-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}
.auth-input-shell input {
    width: 100%;
    padding: 12px 46px 12px 42px;
    border-radius: 14px;
    border: 1px solid rgba(109, 213, 237, 0.18);
    background: rgba(5, 10, 20, 0.78);
    color: #edf6ff;
    font: inherit;
    font-size: 0.96rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.auth-input-shell input:focus {
    outline: none;
    border-color: rgba(231, 200, 115, 0.5);
    box-shadow: 0 0 0 4px rgba(231, 200, 115, 0.15);
}
.auth-password-toggle {
    position: absolute;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.auth-password-toggle:hover {
    background: rgba(15, 118, 110, 0.08);
    color: var(--primary-dark);
    transform: translateY(-1px);
}
.auth-password-toggle.is-visible {
    color: var(--primary-dark);
}
.auth-password-toggle svg {
    width: 18px;
    height: 18px;
}
.auth-google {
    width: 100%;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}
.auth-google-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    color: #1a73e8;
    font-weight: 800;
    font-family: Arial, sans-serif;
    line-height: 1;
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}
.auth-submit {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}
.auth-field .errorlist {
    margin: 0;
    padding-left: 18px;
    color: #b42318;
    font-size: 0.84rem;
}
.auth-field .errorlist li {
    margin-top: 4px;
}
.auth-card .top-gap {
    margin-top: 18px;
}
.faq-item { background: rgba(17, 29, 49, 0.85); border: 1px solid rgba(231, 200, 115, 0.14); border-radius: 16px; padding: 18px 20px; margin-bottom: 14px; transition: background-color 0.2s ease, border-color 0.2s ease; }
.faq-item:hover { border-color: rgba(231, 200, 115, 0.3); background: rgba(22, 36, 58, 0.92); }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.site-footer { padding: 64px 0; background: linear-gradient(180deg, var(--nav-footer-bg) 0%, var(--nav-footer-bg-deep) 100%); color: var(--nav-footer-text); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
.site-footer h4, .site-footer h5, .site-footer p, .site-footer a { color: var(--nav-footer-text); }
.site-footer p { color: var(--nav-footer-muted); }
.footer-grid a { display: block; margin-bottom: 10px; transition: color 0.2s ease; }
.footer-grid a:hover { color: #ffffff; }
.floating-cta { position: fixed; right: 20px; bottom: 20px; padding: 14px 18px; border-radius: 999px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.floating-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(0, 8, 28, 0.45); }
.site-assistant {
    position: fixed;
    right: 20px;
    bottom: 84px;
    z-index: 30;
    display: grid;
    justify-items: end;
    gap: 14px;
}
.assistant-toggle {
    border: 0;
    padding: 14px 18px;
    border-radius: 999px;
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(155deg, #2faad8 0%, #01142b 58%, #00081c 100%);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.assistant-toggle:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(0, 8, 28, 0.45); }
.assistant-panel {
    width: min(380px, calc(100vw - 24px));
    height: min(78vh, 720px);
    max-height: min(78vh, 720px);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
    border: 1px solid rgba(47, 170, 216, 0.15);
    border-radius: 22px;
    background: rgba(13, 29, 51, 0.98);
    box-shadow: 0 22px 48px rgba(0, 8, 28, 0.35);
}
.assistant-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px 10px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(18, 37, 67, 0.95) 0%, rgba(13, 29, 51, 0.98) 100%);
}
.assistant-panel-header h3 {
    margin-bottom: 0;
    font-size: 1.05rem;
}
.assistant-panel-header .eyebrow {
    margin-bottom: 4px;
    font-size: 0.68rem;
}
.assistant-close {
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}
.assistant-messages {
    padding: 14px 14px 10px;
    overflow-y: auto;
    display: grid;
    gap: 12px;
    background:
        radial-gradient(circle at top right, rgba(47, 170, 216, 0.15) 0, transparent 34%),
        linear-gradient(180deg, rgba(13, 29, 51, 0.98) 0%, rgba(10, 22, 40, 0.95) 100%);
}
.assistant-message {
    max-width: 88%;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid rgba(47, 170, 216, 0.15);
}
.assistant-message.is-speaking {
    border-color: rgba(47, 170, 216, 0.38);
    box-shadow: 0 0 0 3px rgba(47, 170, 216, 0.12);
}
.assistant-message.is-speaking strong::after {
    content: ' speaking';
    margin-left: 6px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}
.assistant-message strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
}
.assistant-message p {
    margin: 0;
    color: inherit;
}
.assistant-message-copy p,
.assistant-message-copy ul,
.assistant-message-copy ol {
    margin: 0;
    color: inherit;
}
.assistant-message-copy p + p,
.assistant-message-copy p + ul,
.assistant-message-copy p + ol,
.assistant-message-copy ul + p,
.assistant-message-copy ol + p,
.assistant-message-copy ul + ul,
.assistant-message-copy ol + ol {
    margin-top: 10px;
}
.assistant-message-copy ul,
.assistant-message-copy ol {
    padding-left: 20px;
}
.assistant-message-copy li + li {
    margin-top: 6px;
}
.assistant-message-copy a {
    color: var(--primary-dark);
    text-decoration: underline;
}
.assistant-message-copy code {
    padding: 2px 6px;
    border-radius: 8px;
    background: rgba(47, 170, 216, 0.2);
    color: #e8f4ff;
    font-family: 'Courier New', monospace;
    font-size: 0.92em;
}
.assistant-speaking-wave {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 22px;
}
.assistant-speaking-wave span {
    width: 4px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #2faad8 0%, #01142b 100%);
    animation: assistantSpeakingWave 1s ease-in-out infinite;
    transform-origin: center;
}
.assistant-speaking-wave span:nth-child(2) {
    animation-delay: 0.12s;
}
.assistant-speaking-wave span:nth-child(3) {
    animation-delay: 0.24s;
}
.assistant-speaking-wave span:nth-child(4) {
    animation-delay: 0.36s;
}
.assistant-message-bot {
    justify-self: start;
    background: rgba(18, 37, 67, 0.9);
    color: #e8f4ff;
}
.assistant-message-user {
    justify-self: end;
    background: linear-gradient(135deg, rgba(47, 170, 216, 0.14), rgba(9, 40, 71, 0.14));
}
.assistant-message-waiting {
    min-width: 148px;
}
.assistant-email-capture {
    min-width: min(280px, 100%);
}
.assistant-message-copy-waiting {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.assistant-email-helper {
    margin-bottom: 10px;
    font-size: 0.92rem;
    color: rgba(139, 163, 196, 0.9);
}
.assistant-inline-email-form {
    display: flex;
    align-items: center;
    gap: 10px;
}
.assistant-inline-email-form input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 9px 11px;
    border-radius: 12px;
    border: 1px solid var(--line);
    font: inherit;
    background: rgba(10, 22, 40, 0.85);
    color: #e8f4ff;
}
.assistant-inline-email-form .btn {
    flex: 0 0 auto;
    padding: 10px 14px;
}
.assistant-inline-email-note {
    margin-top: 8px;
    font-size: 0.78rem;
    color: #1e6e8d;
}
.assistant-waiting-label {
    font-size: 0.92rem;
    color: rgba(139, 163, 196, 0.9);
}
.assistant-typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.assistant-typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, #2faad8 0%, #01142b 100%);
    opacity: 0.35;
    animation: assistantTypingPulse 1.1s ease-in-out infinite;
}
.assistant-typing-dots span:nth-child(2) {
    animation-delay: 0.16s;
}
.assistant-typing-dots span:nth-child(3) {
    animation-delay: 0.32s;
}
@keyframes assistantTypingPulse {
    0%, 80%, 100% {
        opacity: 0.28;
        transform: translateY(0) scale(0.92);
    }
    40% {
        opacity: 1;
        transform: translateY(-2px) scale(1);
    }
}
@keyframes assistantSpeakingWave {
    0%, 100% {
        opacity: 0.45;
        transform: scaleY(0.75);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.8);
    }
}
@keyframes homeHeroFloatIn {
    0% {
        opacity: 0;
        transform: translate3d(0, 38px, 0) scale(0.98);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}
.assistant-form {
    display: grid;
    gap: 8px;
    padding: 8px 12px 10px;
    border-top: 1px solid var(--line);
    background: rgba(10, 22, 40, 0.98);
}
.assistant-label {
    display: none;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    font-weight: 700;
}
.assistant-voice-field {
    display: grid;
    grid-template-columns: auto minmax(120px, 1fr);
    align-items: center;
    gap: 8px;
}
.assistant-voice-field label {
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--primary);
}
.assistant-voice-field select {
    width: 100%;
    padding: 7px 10px;
    border-radius: 12px;
    border: 1px solid var(--line);
    font: inherit;
    background: rgba(10, 22, 40, 0.85);
    color: #e8f4ff;
}
.assistant-form select {
    padding: 7px 10px;
    border-radius: 12px;
    border: 1px solid var(--line);
    font: inherit;
    background: rgba(10, 22, 40, 0.85);
    color: #e8f4ff;
}
.assistant-form textarea {
    width: 100%;
    resize: none;
    min-height: 38px;
    height: 38px;
    max-height: 72px;
    padding: 7px 10px;
    border-radius: 12px;
    border: 1px solid var(--line);
    font: inherit;
    background: rgba(10, 22, 40, 0.85);
    color: #e8f4ff;
    line-height: 1.35;
}
.assistant-form input[type='email'] {
    width: 100%;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid var(--line);
    font: inherit;
    background: rgba(10, 22, 40, 0.85);
    color: #e8f4ff;
}
.assistant-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.assistant-form-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.assistant-status {
    margin: 0;
    font-size: 0.76rem;
}
.assistant-form .btn {
    padding: 10px 14px;
}
.assistant-form-actions .btn {
    min-width: 78px;
}
.assistant-form-actions .btn[aria-pressed='true'] {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.assistant-inline-email-form .btn:disabled,
.assistant-form .btn:disabled {
    opacity: 0.65;
    cursor: wait;
}
.portfolio-index-section {
    padding-top: 28px;
}
.portfolio-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(260px, 0.75fr);
    gap: 20px;
    margin-bottom: 28px;
    align-items: stretch;
}
.portfolio-overview-copy,
.portfolio-overview-metrics {
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(47, 170, 216, 0.15);
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.15) 0, transparent 34%),
        linear-gradient(180deg, rgba(18, 37, 67, 0.96) 0%, rgba(13, 29, 51, 0.94) 100%);
}
.portfolio-brand-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.portfolio-brand-row img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(10, 22, 40, 0.85);
    border: 1px solid rgba(47, 170, 216, 0.15);
    padding: 8px;
}
.portfolio-brand-row strong {
    display: block;
    font-size: 1rem;
    color: var(--ink);
}
.portfolio-overview-copy h2 {
    max-width: none;
}
.portfolio-overview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}
.portfolio-overview-metrics {
    display: grid;
    gap: 16px;
    align-content: center;
}
.portfolio-overview-metrics span {
    display: block;
    color: var(--muted);
    margin-bottom: 4px;
}
.portfolio-overview-metrics strong {
    font-size: 2rem;
    color: var(--ink);
}
.portfolio-filter-bar {
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(47, 170, 216, 0.15);
    background: rgba(18, 37, 67, 0.96);
}
.portfolio-company-profile {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}
.portfolio-profile-card {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(47, 170, 216, 0.15);
    background: rgba(18, 37, 67, 0.96);
}
.portfolio-conversion-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}
.portfolio-conversion-card {
    padding: 24px;
    border-radius: 26px;
    border: 1px solid rgba(47, 170, 216, 0.15);
    background:
        radial-gradient(circle at top right, rgba(47, 170, 216, 0.12) 0, transparent 30%),
        linear-gradient(180deg, rgba(18, 37, 67, 0.96) 0%, rgba(13, 29, 51, 0.85) 100%);
}
.portfolio-selling-points {
    margin: 14px 0 0;
    padding-left: 20px;
}
.portfolio-selling-points li + li {
    margin-top: 10px;
}
.portfolio-capability-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.portfolio-capability-grid span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(47, 170, 216, 0.12);
    border: 1px solid rgba(47, 170, 216, 0.2);
    font-weight: 700;
    color: var(--ink);
}
.portfolio-showcase {
    margin-bottom: 28px;
}
.portfolio-showcase-grid {
    display: grid;
    gap: 18px;
}
.portfolio-showcase-card {
    display: grid;
    grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.2fr);
    gap: 0;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(47, 170, 216, 0.15);
    background: rgba(18, 37, 67, 0.96);
    box-shadow: 0 18px 36px rgba(0, 8, 28, 0.2);
}
.portfolio-showcase-image img,
.portfolio-card-image img,
.portfolio-detail-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.portfolio-showcase-image {
    min-height: 280px;
    background: linear-gradient(135deg, #122543 0%, #0d1d33 100%);
}
.portfolio-showcase-copy {
    display: grid;
    gap: 12px;
    padding: 28px;
    align-content: center;
}
.portfolio-metrics-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.portfolio-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.portfolio-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(47, 170, 216, 0.15);
    background:
        linear-gradient(180deg, rgba(18, 37, 67, 0.96) 0%, rgba(13, 29, 51, 0.85) 100%);
    box-shadow: 0 18px 36px rgba(0, 8, 28, 0.2);
}
.portfolio-card-image {
    overflow: hidden;
    border-radius: 20px;
    min-height: 180px;
    background: linear-gradient(135deg, #122543 0%, #0d1d33 100%);
}
.portfolio-card-image img {
    height: 100%;
}
.portfolio-card-top {
    display: grid;
    gap: 10px;
}
.portfolio-card-meta {
    margin: 0;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
}
.portfolio-card h3 {
    margin-bottom: 0;
}
.portfolio-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.portfolio-detail-section {
    padding-top: 28px;
}
.portfolio-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
    gap: 24px;
    align-items: start;
}
.portfolio-detail-story {
    display: grid;
    gap: 18px;
}
.portfolio-detail-visual {
    overflow: hidden;
    border-radius: 30px;
    min-height: 320px;
    border: 1px solid rgba(47, 170, 216, 0.1);
    background: linear-gradient(135deg, #122543 0%, #0d1d33 100%);
}
.portfolio-detail-block {
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(47, 170, 216, 0.15);
    background: rgba(18, 37, 67, 0.96);
}
.portfolio-detail-block h2 {
    margin-bottom: 10px;
}
.portfolio-detail-block h1 {
    margin-bottom: 10px;
}
.portfolio-detail-summary {
    font-size: 1.02rem;
    color: rgba(139, 163, 196, 0.9);
}
.portfolio-detail-sidebar {
    position: sticky;
    top: 108px;
}
.portfolio-demo-callout {
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(47, 170, 216, 0.12), rgba(30, 110, 141, 0.14));
    border: 1px solid rgba(47, 170, 216, 0.12);
}
.portfolio-demo-callout p {
    margin: 8px 0 14px;
}
.portfolio-testimonials {
    margin-top: 34px;
}
.portfolio-cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) auto;
    gap: 20px;
    align-items: center;
    margin-top: 34px;
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(47, 170, 216, 0.14), rgba(30, 110, 141, 0.16));
    border: 1px solid rgba(47, 170, 216, 0.15);
}
.portfolio-cta-actions {
    display: grid;
    gap: 12px;
    justify-items: start;
}
.td2-generator { padding: 28px; }
.td2-generator-form,
.td2-output-wrap {
    display: grid;
    gap: 14px;
    align-content: start;
}
.td2-field {
    margin: 0;
}
.td2-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--ink);
}
.td2-field select,
.td2-field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(10, 22, 40, 0.85);
    color: #e8f4ff;
    font: inherit;
}
.td2-field textarea {
    min-height: 210px;
    resize: vertical;
}
.td2-output-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.td2-output-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.td2-output-buttons .btn {
    padding: 8px 12px;
    font-size: 0.84rem;
    min-height: 36px;
}
.td2-output-buttons .btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}
.td2-live-preview {
    border-radius: 20px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(18, 37, 67, 0.96) 0%, rgba(13, 29, 51, 0.8) 100%);
    overflow: hidden;
}
.td2-live-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 10px;
    border-bottom: 1px solid var(--line);
}
.td2-live-preview-header .eyebrow {
    margin: 0;
}
.td2-preview-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
}
.td2-preview-toolbar .btn {
    padding: 6px 10px;
    min-height: 32px;
    min-width: 32px;
}
.td2-preview-status {
    font-size: 0.88rem;
    color: var(--muted);
    min-width: 48px;
    text-align: center;
}
.td2-preview-canvas {
    min-height: 260px;
    padding: 18px;
    overflow: auto;
}
.td2-preview-placeholder {
    margin: 0;
    color: var(--muted);
}
.td2-preview-canvas svg {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.15s ease;
}
.td2-output {
    margin: 0;
    min-height: 240px;
    max-height: 540px;
    overflow: auto;
    padding: 18px;
    border-radius: 20px;
    background: #09111f;
    color: #dce7f0;
    border: 1px solid rgba(9, 17, 31, 0.2);
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    word-break: break-word;
}
.flash-stack { padding-top: 18px; }
.flash { background: var(--accent-soft); border: 1px solid rgba(249, 115, 22, 0.2); padding: 14px 16px; border-radius: 18px; }
.narrow { width: min(760px, calc(100% - 32px)); }
.center { text-align: center; }
.top-gap { margin-top: 24px; }
.prose p,
.blog-detail-content p {
    color: var(--text);
    font-family: var(--font-reading);
}
.list-link { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
.map-box { margin-top: 18px; min-height: 180px; border-radius: 18px; background: linear-gradient(135deg, #122543 0%, #0d1d33 100%); display: grid; place-items: center; color: var(--primary-dark); font-weight: 700; }
.trust-image { overflow: hidden; border-radius: 18px; margin-bottom: 12px; background: linear-gradient(135deg, #122543 0%, #0d1d33 100%); }
.trust-image img { width: 100%; height: 220px; object-fit: cover; display: block; }
.trust-image-credit { margin: 0 0 16px; font-size: 0.85rem; }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.workspace-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.workspace-sidebar {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 16px;
}
.workspace-sidebar-card {
    padding: 20px;
}
.workspace-mobile-nav {
    display: block;
    margin-bottom: 18px;
    padding: 14px;
}

/* Hide AI lab sidebar on mobile */
@media (max-width: 960px) {
    .ai-workspace-sidebar {
        display: none;
    }

    .ai-workspace-main {
        margin-left: 0;
        padding-left: 0;
    }
}

/* Hide AI lab mobile dropdown on desktop */
@media (min-width: 961px) {
    .workspace-mobile-nav {
        display: none !important;
    }
}

.workspace-mobile-nav-dropdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.workspace-mobile-label {
    font-weight: 700;
    color: #f7f5ff;
    font-size: 0.9rem;
}

.workspace-mobile-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(167, 122, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #f7f5ff;
    font-size: 0.9rem;
    font-family: inherit;
}

.workspace-mobile-select:focus {
    outline: none;
    border-color: rgba(167, 122, 255, 0.4);
    box-shadow: 0 0 0 2px rgba(167, 122, 255, 0.2);
}

.workspace-mobile-select option {
    background: rgba(11, 22, 39, 0.98);
    color: #f7f5ff;
}
.workspace-mobile-nav-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.workspace-mobile-nav .workspace-tab {
    white-space: nowrap;
    flex: 0 0 auto;
}
.workspace-nav {
    display: grid;
    gap: 10px;
}
.workspace-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(109, 76, 255, 0.06);
    border: 1px solid rgba(109, 76, 255, 0.12);
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}
.workspace-tab.is-active {
    background: linear-gradient(135deg, rgba(109, 76, 255, 0.16), rgba(201, 107, 233, 0.14));
    border-color: rgba(109, 76, 255, 0.28);
}
.workspace-tab-alert {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #f97316;
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.45);
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 180ms ease, transform 180ms ease;
}
.workspace-tab.has-alert {
    border-color: rgba(249, 115, 22, 0.4);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(15, 118, 110, 0.1));
}
.workspace-tab.has-alert .workspace-tab-alert {
    opacity: 1;
    transform: scale(1);
    animation: workspaceChatAlertPulse 1.4s ease-out infinite;
}
.workspace-tab.is-active .workspace-tab-alert {
    opacity: 0;
    animation: none;
}
@keyframes workspaceChatAlertPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.46);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}
.workspace-panel { display: none; }
.workspace-panel.is-active { display: block; }
.workspace-sidebar-actions {
    display: grid;
    gap: 10px;
}
.workspace-sidebar-actions form {
    margin: 0;
}
.workspace-sidebar-actions .btn {
    width: 100%;
}
.workspace-sidebar-metrics {
    display: grid;
    gap: 14px;
}
.workspace-sidebar-metrics span {
    display: block;
    color: var(--muted);
    margin-bottom: 4px;
}
.workspace-sidebar-metrics strong {
    font-size: 1.45rem;
    color: var(--ink);
}
.workspace-main {
    min-width: 0;
}
.staff-chat-inbox {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}
.staff-chat-list {
    display: grid;
    gap: 10px;
}
.staff-chat-list-item {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid rgba(20, 33, 61, 0.08);
    border-radius: 18px;
    background: rgba(15, 118, 110, 0.05);
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.staff-chat-list-item:hover {
    border-color: rgba(15, 118, 110, 0.24);
    transform: translateY(-1px);
}
.staff-chat-list-item.is-active {
    border-color: rgba(249, 115, 22, 0.34);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(15, 118, 110, 0.08));
}
.staff-chat-list-item strong,
.staff-chat-list-item span {
    display: block;
}
.staff-chat-list-item span {
    margin-top: 6px;
    font-size: 0.84rem;
    color: var(--muted);
}
.staff-chat-owner-note {
    color: #b45309;
    font-weight: 700;
}
.staff-chat-detail-wrap {
    min-width: 0;
}
.staff-chat-detail {
    display: none;
}
.staff-chat-detail.is-active {
    display: block;
}
.staff-chat-thread {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 6px;
}
.staff-chat-owner-warning {
    border-color: rgba(249, 115, 22, 0.22);
    background: rgba(255, 247, 237, 0.92);
}
.ai-workspace-shell {
    grid-template-columns: 272px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    padding: 20px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(167, 122, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}
.ai-workspace-sidebar {
    position: sticky;
    top: 108px;
    width: 272px;
    height: calc(100vh - 124px);
    align-self: start;
    overflow: hidden;
}
.ai-sidebar-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 16px;
    height: 100%;
    padding: 18px;
    background: rgba(18, 25, 45, 0.96);
    border: 1px solid rgba(100, 80, 180, 0.2);
    backdrop-filter: blur(10px);
    overflow: hidden;
}
.ai-sidebar-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.ai-sidebar-panel-top h3,
.ai-sidebar-note h3 {
    margin: 0;
}
.ai-sidebar-panel-body {
    display: grid;
    gap: 16px;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}
.ai-nav-card,
.ai-sidebar-note {
    margin: 0;
}
.ai-sidebar-note {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.ai-sidebar-note p {
    margin: 0;
}
.ai-workspace-main {
    display: grid;
    gap: 28px;
    padding-left: 0;
    min-width: 0;
}
.ai-workspace-section {
    padding: 0;
}
.ai-feature-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 20px;
    align-items: start;
}
.ai-feature-shell > * {
    min-width: 0;
}
.ai-history-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    max-height: 820px;
    overflow: hidden;
    min-height: 0;
    min-width: 0;
}
.ai-history-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.ai-history-header h3 {
    margin: 4px 0 0;
}
.ai-history-list {
    display: grid;
    gap: 12px;
    overflow-y: auto;
    padding-right: 4px;
    min-height: 0;
    overscroll-behavior: contain;
}
.ai-history-item {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(100, 80, 180, 0.2);
    background: linear-gradient(180deg, rgba(30, 35, 55, 0.98), rgba(20, 25, 45, 0.85));
    min-width: 0;
}
.ai-history-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.ai-history-item strong,
.ai-history-item a,
.ai-history-item span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.ai-history-status {
    font-weight: 700;
    color: var(--ink);
}
.ai-history-item audio,
.ai-history-item video {
    width: 100%;
    border-radius: 14px;
    background: rgba(9, 17, 31, 0.08);
}
.ai-history-image {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: rgba(9, 17, 31, 0.08);
}
.bleez-inline-ai-panel {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(18, 37, 67, 0.96), rgba(13, 29, 51, 0.7));
    margin-bottom: 10px;
}
.bleez-inline-ai-panel input,
.bleez-inline-ai-panel textarea,
.bleez-inline-ai-panel select {
    width: 100%;
}
.two-col-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
#bleezUpscaleGenerator {
    align-self: start;
}
#bleezUpscaleGenerator .bleez-e2-preview {
    min-height: 280px;
}
#bleezUpscaleGenerator .bleez-ux-placeholder {
    padding: 20px;
}
#bleezUpscaleGenerator .bleez-inline-ai-panel {
    gap: 8px;
    padding: 12px;
}
#bleezUpscaleGenerator .two-col-field-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
#bleezUpscaleGenerator .bleez-ux-actions {
    margin-top: 4px;
}
.upload-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}
.ai-history-item a {
    font-weight: 700;
}
.ai-history-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
.ai-history-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(13, 82, 76, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
    text-decoration: none;
    max-width: 100%;
    text-align: center;
}
.ai-history-action:hover,
.ai-history-action:focus-visible {
    transform: translateY(-1px);
    background: rgba(232, 245, 241, 0.95);
}
.ai-history-action:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}
.ai-history-clear {
    white-space: nowrap;
}
.ai-history-empty {
    margin: 0;
}
.ai-nav-card a {
    text-decoration: none;
}
.bleez-kt1-preview {
    min-height: 260px;
}
.bleez-kt1-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.bleez-kt1-item {
    margin: 0;
    display: grid;
    gap: 10px;
}
.bleez-kt1-image-shell {
    position: relative;
}
.bleez-kt1-image-shell::after {
    content: 'Bleez AI';
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(9, 17, 31, 0.56);
    color: rgba(255, 253, 249, 0.96);
    font: 700 0.82rem/1 Georgia, serif;
    letter-spacing: 0.04em;
    pointer-events: none;
    box-shadow: 0 10px 24px rgba(9, 17, 31, 0.18);
}
.bleez-kt1-item img {
    width: 100%;
    border-radius: 18px;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: rgba(9, 17, 31, 0.08);
}
.bleez-kt1-item a {
    font-weight: 700;
}
.bleez-kt1-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}
.bleez-kt1-checkbox input {
    width: auto;
}
.workspace-assistant-card {
    display: grid;
    gap: 16px;
}
.workspace-assistant-messages {
    min-height: 280px;
    max-height: 480px;
    overflow-y: auto;
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(18, 37, 67, 0.98) 0%, rgba(13, 29, 51, 0.85) 100%);
    border: 1px solid var(--line);
}
.workspace-assistant-form {
    display: grid;
    gap: 10px;
}
.workspace-assistant-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(10, 22, 40, 0.85);
    color: #e8f4ff;
    font: inherit;
    resize: vertical;
}
.portal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.portal-actions form { margin: 0; }
.marketing-portal-section { padding-top: 72px; }
.marketing-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 28px;
}
.marketing-hero-panel {
    padding: 22px 24px;
    border-radius: 28px;
    color: #ecf6f4;
    background: linear-gradient(155deg, #0d524c 0%, #10233d 58%, #f97316 140%);
    box-shadow: var(--shadow);
}
.marketing-hero-panel p { color: inherit; margin-bottom: 0; }
.marketing-primary-grid { align-items: start; }
.marketing-checklist {
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(249, 115, 22, 0.1));
    border: 1px solid rgba(20, 33, 61, 0.08);
}
.marketing-checklist p { margin: 0; }
.marketing-checklist p + p { margin-top: 8px; }
.marketing-work-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--line);
}
.marketing-work-card p { margin: 8px 0 0; }
.marketing-work-card-done {
    grid-template-columns: 1fr;
    background: linear-gradient(135deg, rgba(217, 242, 237, 0.65), rgba(255, 240, 226, 0.65));
}
.portal-list-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
}
.portal-list-item:first-child { padding-top: 0; }
.portal-list-item:last-child { padding-bottom: 0; border-bottom: 0; }
.portal-list-item p { margin: 0; }
.client-project-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.client-project-item:first-of-type { padding-top: 0; }
.client-project-item:last-child { padding-bottom: 0; border-bottom: 0; }
.client-project-head,
.client-progress-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.client-project-head h3 { margin: 0 0 6px; }
.client-project-head p { margin: 0; }
.client-project-head > strong {
    font-size: 1.35rem;
    color: var(--ink);
}
.client-status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(18, 37, 67, 0.8); color: var(--muted); }
.client-progress-row { margin-top: 14px; }
.client-progress-track {
    height: 10px;
    margin-top: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(20, 33, 61, 0.1);
}
.client-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0f766e, #f97316);
}
.client-installment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}
.client-installment {
    min-height: 132px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(47, 170, 216, 0.25);
    background: linear-gradient(145deg, #0d2944 0%, #0a1d33 100%);
    color: #e5faff;
}
.client-installment strong,
.client-installment span,
.client-installment small { display: block; }
.client-installment p { margin: 8px 0; }
.client-installment-paid {
    border-color: rgba(15, 118, 110, 0.28);
    background: rgba(217, 242, 237, 0.62);
}
.workspace-report-card {
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(145deg, #0d2944 0%, #0a1d33 100%);
    border: 1px solid rgba(47, 170, 216, 0.25);
    color: #e5faff;
}
.workspace-report-card p { margin: 8px 0 0; }
.workspace-report-copy { margin-top: 10px; }
.workspace-report-copy:first-of-type { margin-top: 8px; }
.workspace-report-copy p,
.workspace-report-copy ul,
.workspace-report-copy ol { margin: 8px 0 0; }
.workspace-report-copy ul,
.workspace-report-copy ol { padding-left: 20px; color: var(--muted); }
.workspace-report-copy li + li { margin-top: 6px; }
.workspace-report-copy code {
    padding: 2px 6px;
    border-radius: 8px;
    background: rgba(20, 33, 61, 0.08);
    font-size: 0.92em;
}
.report-ai-field {
    margin: 0 0 14px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    background: linear-gradient(135deg, rgba(217, 242, 237, 0.34), rgba(255, 240, 226, 0.34));
}
.report-ai-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.report-ai-label-row label { margin-bottom: 0; }
.report-ai-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(155deg, #0d524c 0%, #10233d 58%, #f97316 140%);
    color: white;
    font: inherit;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform 180ms ease, opacity 180ms ease;
}
.report-ai-button:hover,
.report-ai-button:focus-visible {
    transform: translateY(-1px);
}
.report-ai-button:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}
.report-ai-help {
    margin: 10px 0 0;
    font-size: 0.84rem;
    color: var(--muted);
}
.payment-card { border-left: 5px solid rgba(20, 33, 61, 0.12); }
.payment-status-cleared { border-left-color: rgba(34, 197, 94, 0.72); }
.payment-status-pending { border-left-color: rgba(249, 115, 22, 0.72); }
.payment-status-overdue { border-left-color: rgba(220, 38, 38, 0.72); }
.marketing-work-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}
.marketing-work-actions .btn { min-width: 132px; }
.cta-panel {
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(180deg, rgba(18, 37, 67, 0.95) 0%, rgba(13, 29, 51, 0.92) 100%);
    border: 1px solid rgba(47, 170, 216, 0.15);
    box-shadow: 0 24px 60px rgba(0, 8, 28, 0.35);
}
.cta-panel h2, .cta-panel p { color: var(--ink); }
.cta-panel .btn-secondary { border-color: rgba(47, 170, 216, 0.25); color: var(--ink); }
.stack-list { display: grid; gap: 16px; }
.register-shell { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 28px; align-items: stretch; }
.register-intro { position: relative; padding: 34px; color: #ecf6f4; background: linear-gradient(155deg, #2faad8 0%, #01142b 58%, #00081c 100%); box-shadow: var(--shadow); clip-path: polygon(0 0, 100% 0, 100% 84%, 87% 100%, 0 100%); min-height: 100%; }
.register-intro h1, .register-intro p, .register-intro strong { color: inherit; }
.register-intro::before { content: ''; position: absolute; inset: 16px 16px auto auto; width: 110px; height: 110px; border: 1px solid rgba(255, 255, 255, 0.18); transform: rotate(18deg); border-radius: 24px; }
.register-badges { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.register-badges span { padding: 10px 14px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.08); border-radius: 999px; }
.register-note { margin-top: 26px; padding: 18px 20px; background: rgba(9, 17, 31, 0.24); border-left: 4px solid #32b7e7; border-radius: 18px 18px 18px 4px; }
.register-form-wrap { position: relative; padding: 18px; background: linear-gradient(135deg, rgba(47, 170, 216, 0.14), rgba(9, 40, 71, 0.14)); clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%); }
.register-form-card { padding: 30px; background: rgba(248, 250, 252, 0.98); box-shadow: var(--shadow); clip-path: polygon(0 0, 100% 0, 100% 88%, 94% 100%, 0 100%); color: #1a202c; }
.register-form-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}
.register-step-indicator {
    width: 32px;
    height: 4px;
    background: rgba(203, 213, 225, 0.8);
    border-radius: 999px;
    transition: background 0.3s ease;
}
.register-step-indicator.active {
    background: #2faad8;
}
.register-form-step {
    display: none;
}
.register-form-step.active {
    display: block;
}
.register-form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(203, 213, 225, 0.5);
}
.register-form-navigation .btn {
    min-width: 120px;
}

/* Hide auth overlay badges on mobile to reduce space */
@media (max-width: 768px) {
    .register-badges {
        display: none;
    }
    
    .auth-overlay-dialog {
        overflow-y: auto !important;
    }
}
.auth-register-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}
.auth-register-buttons .btn {
    min-width: 140px;
    flex: 1;
    max-width: 200px;
}
.account-type-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}
.account-type-option {
    padding: 24px;
    border: 2px solid rgba(203, 213, 225, 0.5);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(248, 250, 252, 0.5);
}
.account-type-option:hover {
    border-color: #2faad8;
    background: rgba(47, 170, 216, 0.05);
    transform: translateY(-2px);
}
.account-type-option.selected {
    border-color: #2faad8;
    background: rgba(47, 170, 216, 0.1);
    box-shadow: 0 0 0 3px rgba(47, 170, 216, 0.1);
}
.account-type-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: #2faad8;
}
.account-type-icon svg {
    width: 100%;
    height: 100%;
}
.account-type-content h4 {
    margin: 0 0 8px 0;
    color: #1a202c;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Fix account type heading visibility */
.register-form-step h3 {
    color: #1a202c;
    font-weight: 700;
    margin-bottom: 20px;
}
.account-type-content p {
    margin: 0 0 12px 0;
    color: #4a5568;
    font-size: 0.9rem;
}
.account-type-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.account-type-content li {
    margin: 4px 0;
    color: #4a5568;
    font-size: 0.85rem;
    position: relative;
    padding-left: 16px;
}
.account-type-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2faad8;
    font-weight: bold;
}
.register-form-card h2 { margin-bottom: 20px; font-size: clamp(1.9rem, 3vw, 2.6rem); color: #1a202c; }
.register-form-card p label { display: block; margin-bottom: 8px; font-weight: 700; color: #2d3748; }
.register-form-card p { color: #4a5568; }
.register-submit { width: 100%; justify-content: center; margin-top: 10px; }
.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 24px;
}
.auth-overlay[hidden] { display: none; }
.auth-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 10, 24, 0.74);
    backdrop-filter: blur(16px);
}
.auth-overlay-dialog {
    position: relative;
    width: min(1080px, 100%);
    max-height: min(90vh, 920px);
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(140deg, rgba(240, 245, 249, 0.98), rgba(241, 245, 249, 0.98));
    box-shadow: 0 32px 90px rgba(0, 8, 28, 0.36);
}
.auth-overlay-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(9, 40, 71, 0.1);
    color: var(--ink);
    font-size: 1.6rem;
    cursor: pointer;
}
.auth-overlay-shell {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    min-height: 100%;
}
.auth-overlay-intro {
    padding: 44px 36px;
    background: linear-gradient(155deg, #2faad8 0%, #01142b 58%, #00081c 100%);
    color: #eff8ff;
}
.auth-overlay-intro h2,
.auth-overlay-intro p,
.auth-overlay-intro .eyebrow,
.auth-overlay-intro span { color: inherit; }
.auth-overlay-panel {
    padding: 32px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.98));
    color: #1a202c;
}
.auth-overlay-panel h2,
.auth-overlay-panel p,
.auth-overlay-panel label,
.auth-overlay-panel .eyebrow {
    color: inherit;
}
.auth-overlay-panel label {
    color: #2d3748;
    font-weight: 700;
}
.auth-overlay-switcher {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(9, 40, 71, 0.08);
    margin-bottom: 24px;
}
.auth-overlay-tab {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.auth-overlay-tab.is-active {
    background: linear-gradient(135deg, #32b7e7, #092847);
    color: white;
    box-shadow: 0 14px 30px rgba(9, 40, 71, 0.18);
}
.auth-overlay-view { display: none; }
.auth-overlay-view.is-active { display: block; }
body.auth-overlay-open { overflow: hidden; }
.programs-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: stretch;
}
.programs-hero .lead {
    max-width: 62ch;
}
.programs-highlight {
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(155deg, rgba(47, 170, 216, 0.96) 0%, rgba(1, 20, 43, 0.95) 58%, rgba(0, 8, 28, 0.92) 100%);
    color: #f3fbf8;
    box-shadow: var(--shadow);
}
.programs-highlight h2,
.programs-highlight p,
.programs-highlight li,
.programs-highlight strong {
    color: inherit;
}
.program-quick-list {
    margin: 18px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
}
.programs-section {
    position: relative;
}
.programs-section.subtle-band {
    background: linear-gradient(135deg, rgba(13, 82, 76, 0.04), rgba(249, 115, 22, 0.06));
}
.programs-grid {
    align-items: stretch;
}
.program-card {
    display: grid;
    gap: 14px;
}
.program-card-media {
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(249, 115, 22, 0.12));
    border: 1px solid rgba(20, 33, 61, 0.08);
}
.program-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.program-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.program-card-top .eyebrow {
    margin: 0;
}
.program-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: var(--primary-dark);
    border: 1px solid rgba(15, 118, 110, 0.18);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.program-card .tag-list {
    margin-top: 4px;
}
.program-slot-carousel {
    display: grid;
    gap: 12px;
}
.program-slot-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 4px;
}
.program-slot-track::-webkit-scrollbar {
    height: 8px;
}
.program-slot-track::-webkit-scrollbar-thumb {
    background: rgba(15, 118, 110, 0.35);
    border-radius: 999px;
}
.program-slot {
    scroll-snap-align: start;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(217, 242, 237, 0.34), rgba(255, 240, 226, 0.34));
    border: 1px solid rgba(20, 33, 61, 0.08);
    display: grid;
    gap: 8px;
    align-content: start;
    min-height: 100%;
}
.program-slot-week {
    margin: 0;
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.program-slot p {
    margin: 0;
}
.program-slot-note {
    color: var(--muted);
    font-size: 0.9rem;
}
.program-slot-link {
    margin-top: 4px;
    width: fit-content;
}
.program-slot-dots {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.program-slot-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(20, 33, 61, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.program-slot-dot:hover {
    transform: scale(1.15);
}
.program-slot-dot.is-active {
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(15, 118, 110, 0.14);
}
.program-slot-empty {
    margin: 0;
}
.student-portal-section {
    padding-top: 72px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.stat-card {
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(145deg, #0d2944 0%, #0a1d33 100%);
    border: 1px solid rgba(47, 170, 216, 0.25);
    color: #e5faff;
    text-align: center;
}
.stat-card span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #32b7e7;
    margin-bottom: 6px;
}
.stat-card small {
    display: block;
    font-size: 0.85rem;
    color: #8ba3c4;
}
.student-course-grid {
    align-items: start;
}
.student-course-card {
    display: grid;
    gap: 14px;
}
.student-course-card-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}
.student-registration-form {
    display: grid;
    gap: 14px;
    margin-top: 4px;
}
.student-registration-form .auth-input-shell {
    min-height: 52px;
}
.student-registration-form select,
.student-registration-form textarea {
    width: 100%;
}
.student-portal-section,
.student-course-card,
.student-registration-form,
.student-course-card-head {
    min-width: 0;
}
.student-portal-section h1,
.student-course-card h3,
.student-course-card p,
.student-registration-form label {
    overflow-wrap: anywhere;
}
.student-class-room-layout {
    align-items: start;
}
.student-class-room-stage {
    display: grid;
    gap: 16px;
}
.student-class-room-video-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.student-class-room-tile {
    min-height: 260px;
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(11, 79, 74, 0.12), rgba(20, 33, 61, 0.08));
    border: 1px solid rgba(20, 33, 61, 0.12);
    position: relative;
}
.student-class-room-tile video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.student-class-room-tile .placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--muted);
    text-align: center;
    padding: 24px;
}
.student-class-room-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.student-class-room-log {
    min-height: 84px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 33, 61, 0.08);
}
.student-class-room-meta {
    display: grid;
    gap: 10px;
}
.student-class-room-meta p {
    margin: 0;
}
@keyframes blink-caret {
    50% { opacity: 0; }
}
@keyframes spin-orbit {
    to { transform: rotate(360deg); }
}
@keyframes journey-step-focus {
    0%, 24%, 100% {
        filter: blur(3px);
        opacity: 0.5;
        transform: scale(0.98);
    }
    8%, 20% {
        filter: blur(0);
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes journey-step-glow {
    0%, 24%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    8%, 20% {
        opacity: 0.85;
        transform: scale(1.02);
    }
}
@keyframes journey-step-badge {
    0%, 24%, 100% {
        transform: scale(1);
        box-shadow: 0 18px 40px rgba(9, 17, 31, 0.18);
    }
    8%, 20% {
        transform: scale(1.08);
        box-shadow: 0 22px 46px rgba(15, 118, 110, 0.28);
    }
}
@keyframes journey-flow {
    0%, 8% { transform: translateX(0); opacity: 1; }
    25%, 33% { transform: translateX(233%); opacity: 1; }
    50%, 58% { transform: translateX(466%); opacity: 1; }
    75%, 83% { transform: translateX(700%); opacity: 1; }
    100% { transform: translateX(0); opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
    .home-motion-item,
    .hero-grid > .home-motion-item.is-visible {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
        animation: none;
    }
    .services-list-card,
    .services-list-card:hover,
    .services-list-card .services-list-media img,
    .services-list-card:hover .services-list-media img {
        transition: none;
        transform: none;
    }
}
@media (max-width: 960px) {
    .nav-scroll-wrapper { display: flex; gap: 16px; }
    .nav-scroll-btn { display: none; }
    .site-header { box-shadow: 0 12px 34px rgba(9, 17, 31, 0.18); }
    .home-page > section {
        background-color: rgba(13, 29, 51, 0.95);
    }
    .home-page {
        background-attachment: scroll;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 84px;
        right: 16px;
        width: min(340px, calc(100vw - 32px));
        background: linear-gradient(180deg, rgba(18, 31, 50, 0.98) 0%, rgba(11, 22, 39, 0.98) 100%);
        border: 1px solid rgba(237, 244, 251, 0.12);
        border-radius: 24px;
        padding: 20px;
        margin-top: 10px;
        flex-direction: column;
        align-items: start;
        box-shadow: var(--shadow);
        overflow-x: visible;
        scrollbar-width: auto;
    }
    .main-nav.is-open { display: flex; }
    .nav-home-link { width: 100%; padding-bottom: 10px; border-bottom: 1px solid rgba(237, 244, 251, 0.12); }
    .nav-group { display: block; width: 100%; border-bottom: 1px solid rgba(237, 244, 251, 0.12); padding: 8px 0; white-space: normal; }
    .nav-group:last-of-type { margin-bottom: 4px; }
    .nav-group-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 6px 0; background: none; border: 0; color: var(--nav-footer-text); font: inherit; font-weight: 700; }
    .nav-group-toggle::after { content: '+'; font-size: 1.1rem; color: var(--nav-footer-muted); }
    .nav-group.is-open .nav-group-toggle::after { content: '-'; }
    .nav-group-links { display: none; width: 100%; padding-top: 8px; }
    .nav-group.is-open .nav-group-links { display: grid; gap: 10px; }
    .nav-group-links a { padding-left: 8px; }
    .menu-toggle { display: inline-flex; }
    .nav-quote-desktop { display: none; }
    .nav-quote-mobile { display: inline-flex; width: 100%; margin-top: 16px; margin-left: 0; justify-content: center; }
    .home-section-divider {
        height: 48px;
        margin: -2px 0;
    }
    .home-section-divider span {
        width: 64px;
        height: 16px;
    }
    .blog-filters {
        grid-template-columns: 1fr;
    }
    .auth-grid-2 {
        grid-template-columns: 1fr;
    }
    .auth-input-shell input {
        font-size: 16px;
    }
    .blog-list-section {
        padding-top: 18px;
    }
    .home-hero-office {
        min-height: auto;
        padding-top: 48px;
        padding-bottom: 56px;
    }
    .home-hero-office .hero-grid {
        grid-template-columns: 1fr;
    }
    .home-hero-office .hero-copy {
        padding: 12px 0 4px;
    }
    .home-hero-office .hero-copy h1 {
        font-size: clamp(2.25rem, 10vw, 3.4rem);
        line-height: 0.98;
    }
    .home-hero-office .hero-code-right {
        margin-top: 0;
        justify-self: stretch;
    }
    .hero-proof-grid,
    .hero-delivery-metrics {
        grid-template-columns: 1fr;
    }
    .hero-proof-grid {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        border-radius: 18px;
        overflow: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
        gap: 8px;
    }
    .hero-proof-grid span {
        justify-content: center;
        border-radius: 14px;
        background: rgba(5, 10, 20, 0.54);
        border: 1px solid rgba(231, 200, 115, 0.16);
    }
    .hero-proof-grid span + span::before {
        content: none;
    }
    .home-hero-office .trust-strip {
        gap: 8px;
    }
    .home-hero-office .trust-strip a {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
    }
    .hero-delivery-card {
        width: 100%;
        border-radius: 22px;
        padding: 20px;
    }
    .hero-delivery-top strong {
        font-size: clamp(1.55rem, 8vw, 2.05rem);
    }
    .hero { padding: 48px 0 56px; }
    .ai-orbit-section { padding-top: 18px; padding-bottom: 22px; }
    .logo-cloud-section { padding-top: 18px; }
    .hero h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
    .page-hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
    .hero-grid, .two-col, .faq-grid, .ai-orbit-grid, .bleez-ux-grid, .industry-intro-grid, .about-story-grid, .journey-track, .card-grid.three, .card-grid.two, .footer-grid, .dashboard-grid, .marketing-hero, .workspace-shell, .ceo-message-grid, .sharon-message-shell, .client-installment-grid { grid-template-columns: 1fr; }
    .hero-grid > div:first-child,
    .page-hero-split > div:first-child,
    .page-hero .container > div:first-child { width: 100%; }
    .hero h1, .page-hero h1, .lead { max-width: none; }
    .article-hero h1 { width: 100%; max-width: none; }
    .page-hero-split { grid-template-columns: 1fr; }
    .page-hero-split > div:first-child { text-align: center; }
    .page-hero-logo-wrap { justify-content: center; }
    .page-hero-logo-wrap { order: -1; margin: 14px 0 8px; }
    .ceo-message-copy { padding: 28px; }
    .ceo-message-media img { min-height: 360px; }
    .why-kelhonic-media img { min-height: 320px; }
    .why-kelhonic-section .feature-list { margin-top: 0; }
    .blog-card-home { gap: 16px; }
    .blog-card-home-media { flex-basis: 180px; }
    .blog-card-home-media img { min-height: 180px; }
    .service-card {
        grid-template-columns: 1fr;
        width: min(100%, 560px);
    }
    .services-list-card {
        width: min(100%, 560px);
    }
    .services-list-card .services-list-media img {
        height: 200px;
    }
    .services-list-card h3 {
        font-size: 1.2rem;
    }
    .services-list-card:hover {
        transform: translateY(-4px);
    }
    .home-horizontal-carousel::before,
    .home-horizontal-carousel::after,
    .home-services-controls {
        display: none;
    }
    .service-card-spine {
        display: none;
    }
    .home-services-grid {
        grid-auto-flow: row;
        grid-auto-columns: unset;
        justify-items: center;
        overflow-x: visible;
    }
    .service-media {
        min-height: auto;
    }
    .register-shell,
    .auth-overlay-shell { grid-template-columns: 1fr; }
    .programs-hero-grid { grid-template-columns: 1fr; }
    .student-course-card-head { flex-direction: column; }
    .team-member-card { grid-template-columns: 1fr auto; }
    .affiliation-card { grid-template-columns: 1fr auto; }
    .about-hero-stats {
        display: grid;
        grid-template-columns: 1fr;
    }
    .about-hero-stats span {
        justify-content: center;
    }
    .about-story-section {
        padding-top: 36px;
        padding-bottom: 36px;
    }
    .about-story-card,
    .about-story-copy {
        padding: 24px;
    }
    .ai-orbit-copy { text-align: center; }
    .ai-orbit-copy h2, .ai-orbit-copy p { max-width: none; }
    .ai-orbit-shell { width: min(360px, 100%); }
    .ai-orbit-node {
        width: clamp(82px, 25vw, 92px);
        height: clamp(82px, 25vw, 92px);
        min-height: 0;
        padding: 10px;
        font-size: clamp(0.72rem, 2.5vw, 0.82rem);
    }
    .ai-node-top { top: 0; }
    .ai-node-left { left: 0; top: 50%; }
    .ai-node-right { right: 0; top: 50%; }
    .ai-node-bottom { bottom: 0; }
    .ai-orbit-core { --orbit-size: clamp(144px, 42vw, 164px); --orbit-dot-radius: calc((var(--orbit-size) / 2) - 1px); }
    .ai-orbit-center { width: clamp(92px, 28vw, 104px); height: clamp(92px, 28vw, 104px); font-size: 0.86rem; }
    .industry-intro-section { padding-top: 28px; padding-bottom: 28px; }
    .industry-reading-pill { width: 100%; }
    .customer-journey-section { padding-top: 34px; padding-bottom: 34px; }
    .sharon-message-shell {
        padding: 26px;
    }
    .sharon-message-shell::after {
        top: auto;
        right: 22px;
        bottom: 116px;
        font-size: clamp(2.8rem, 13vw, 4.6rem);
    }
    .sharon-message-copy h2 {
        max-width: none;
    }
    .sharon-message-media {
        justify-items: center;
    }
    .sharon-message-photo-card {
        transform: none;
    }
    .sharon-message-note {
        width: min(100%, 320px);
        margin-top: -36px;
        margin-right: 0;
    }
    .journey-track::before, .journey-track::after { display: none; }
    .journey-step { padding-top: 82px; }
    .journey-step::after { inset: 14px; }
    .journey-step,
    .journey-step::after,
    .journey-step .journey-step-number {
        animation: none;
        filter: none;
        opacity: 1;
        transform: none;
    }
    .marketing-portal-section { padding-top: 48px; }
    .workspace-sidebar {
        position: static;
        order: 2;
    }
    .ai-workspace-shell {
        grid-template-columns: 1fr;
    }
    .ai-workspace-sidebar {
        min-height: auto;
        overflow: visible;
        position: static;
        width: auto;
        height: auto;
    }
    .ai-workspace-main {
        padding-left: 0;
    }
    .workspace-mobile-nav {
        display: block;
        margin-bottom: 18px;
        padding: 14px;
        position: sticky;
        top: 78px;
        z-index: 8;
        background: rgba(255, 253, 249, 0.92);
        backdrop-filter: blur(10px);
    }
    .ai-feature-shell {
        grid-template-columns: 1fr;
    }
    .workspace-sidebar-card.workspace-nav,
    .workspace-sidebar-card.workspace-sidebar-metrics {
        display: none;
    }
    .portfolio-overview,
    .portfolio-company-profile,
    .portfolio-conversion-grid,
    .portfolio-showcase-card,
    .portfolio-metrics-strip,
    .portfolio-cta-panel,
    .portfolio-detail-layout,
    .portfolio-card-grid { grid-template-columns: 1fr; }
    .portfolio-detail-sidebar { position: static; }
    .staff-chat-inbox { grid-template-columns: 1fr; }
    .staff-chat-thread { max-height: none; }
    .portal-actions { justify-content: flex-start; }
    .portal-list-item { grid-template-columns: 1fr; }
    .marketing-work-card { grid-template-columns: 1fr; }
    .marketing-work-actions { flex-direction: row; flex-wrap: wrap; }
    .site-assistant { right: 12px; bottom: 78px; }
    .assistant-panel { height: min(72vh, 680px); max-height: min(72vh, 680px); }
    .assistant-toggle { padding: 12px 16px; font-size: 0.9rem; }
    .assistant-form-row { flex-direction: column; align-items: stretch; }
    .td2-generator { padding: 18px; }
    .td2-output { min-height: 200px; }
    .register-intro, .register-form-wrap, .register-form-card { clip-path: none; border-radius: 28px; }
    .auth-overlay { padding: 14px; }
    .auth-overlay-dialog { border-radius: 24px; }
    .auth-overlay-intro, .auth-overlay-panel { padding: 24px 20px; }
    .programs-highlight, .student-course-card { border-radius: 24px; }
    .auth-input-shell input {
        font-size: 16px;
    }
    .cta-panel, .section-heading { flex-direction: column; align-items: start; }
    .mini-panel { align-items: flex-start; }
    .code-playground-body { font-size: 0.88rem; }
}

@media (max-width: 640px) {
    .topbar {
        font-size: 0.75rem;
    }
    .topbar-inner {
        justify-content: center;
        gap: 8px;
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .topbar-inner::-webkit-scrollbar {
        display: none;
    }
    .sharon-message-section {
        padding-top: 34px;
        padding-bottom: 34px;
    }
    .sharon-message-shell {
        padding: 22px 18px;
        border-radius: 28px;
    }
    .sharon-message-copy h2 {
        font-size: clamp(1.9rem, 8vw, 2.5rem);
    }
    .sharon-message-highlights {
        gap: 10px;
    }
    .sharon-message-highlights span {
        width: 100%;
        justify-content: center;
    }
    .sharon-message-note {
        width: 100%;
        margin-top: 16px;
    }
    .blog-card-home { gap: 14px; }
    .blog-card-home-media { flex-basis: 140px; }
    .blog-card-home-media img { min-height: 140px; }
    .services-list-card {
        width: 100%;
        border-radius: 20px;
    }
    .services-list-card .services-list-media img {
        height: 180px;
    }
    .services-list-card h3 {
        font-size: 1.15rem;
        margin: 14px 16px 8px 16px;
    }
    .services-list-card p {
        font-size: 0.9rem;
        margin: 0 16px 12px 16px;
    }
    .services-list-card .chip {
        margin: 14px 16px 0 16px;
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    .services-list-card a {
        margin: 6px 16px 14px 16px;
        font-size: 0.9rem;
    }
    .services-list-card:hover {
        transform: translateY(-2px);
    }
    .workspace-mobile-nav {
        top: 70px;
        margin-bottom: 14px;
        padding: 10px;
        border-radius: 18px;
    }
    .workspace-mobile-nav-track {
        gap: 8px;
        padding-bottom: 2px;
    }
    .workspace-mobile-nav .workspace-tab {
        min-height: 40px;
        padding: 9px 12px;
        border-radius: 12px;
        font-size: 0.88rem;
    }
    .student-portal-section {
        padding-top: 44px;
    }
    .student-portal-section .portal-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 22px;
    }
    .student-portal-section .portal-actions .btn,
    .student-registration-form .btn,
    .student-course-card .btn,
    .student-course-card a.btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
        white-space: normal;
        text-align: center;
    }
    .student-portal-section .section-heading h1 {
        font-size: clamp(2rem, 9vw, 2.7rem);
        line-height: 1.08;
    }
    .student-course-grid {
        gap: 16px;
    }
    .student-course-card,
    .student-registration-card {
        padding: 18px;
    }
    .student-course-card-head {
        align-items: stretch;
        gap: 10px;
    }
    .student-course-card-head .chip {
        width: fit-content;
    }
    .student-course-card .tag-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .student-course-card .tag-list span {
        width: 100%;
    }
    .student-course-card .program-slot-list {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(220px, 86%);
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }
    .student-course-card .program-slot {
        scroll-snap-align: start;
    }
    .student-registration-form .auth-input-shell {
        min-height: 48px;
        width: 100%;
    }
    .student-registration-form select,
    .student-registration-form textarea,
    .student-registration-form input {
        min-width: 0;
        width: 100%;
    }
    .bleez-ux-card,
    .bleez-ux-showcase,
    .ai-history-card,
    .td2-generator {
        padding: 14px;
    }
    .bleez-ux-preview,
    .bleez-ux-showcase,
    .bleez-e2-preview {
        min-height: 240px;
        border-radius: 18px;
    }
    .bleez-ux-preview img,
    .bleez-ux-showcase img {
        min-height: 240px;
    }
    .bleez-ux-placeholder {
        padding: 18px;
        max-width: 26ch;
    }
    .ai-preview-loader {
        width: min(80%, 220px);
    }
    .ai-preview-loader-center {
        width: 62%;
        padding: 14px;
    }
    .ai-preview-loader-center strong {
        font-size: 0.84rem;
    }
    .ai-preview-loader-center span {
        font-size: 0.72rem;
    }
    .bleez-ux-form {
        gap: 10px;
    }
    .bleez-ux-form select,
    .bleez-ux-form textarea,
    .bleez-ux-form input[type="text"],
    .bleez-ux-form input[type="url"],
    .bleez-ux-form input[type="number"],
    .bleez-ux-form input[type="file"] {
        font-size: 16px;
    }
    .bleez-ux-actions {
        gap: 10px;
    }
    .bleez-ux-actions .button-row,
    .td2-output-actions,
    .td2-output-buttons,
    .button-row {
        flex-direction: column;
        align-items: stretch;
    }
    .bleez-ux-actions .btn,
    .td2-output-buttons .btn,
    .button-row .btn,
    .button-row a.btn,
    .button-row button,
    .ai-history-action {
        width: 100%;
        justify-content: center;
    }
    .report-ai-label-row {
        align-items: stretch;
        gap: 8px;
        flex-wrap: wrap;
    }
    .report-ai-label-row .report-ai-button {
        align-self: flex-start;
    }
    .upload-input-row,
    .two-col-field-grid {
        grid-template-columns: 1fr;
    }
    #bleezUpscaleGenerator .two-col-field-grid {
        grid-template-columns: 1fr;
    }
    .upload-input-row .report-ai-button {
        width: 100%;
        min-height: 42px;
    }
    .bleez-inline-ai-panel {
        padding: 12px;
        border-radius: 14px;
    }
    .ai-history-header,
    .td2-live-preview-header {
        flex-direction: column;
        align-items: stretch;
    }
    .ai-history-list {
        max-height: none;
        overflow: visible;
    }
    .ai-history-actions {
        display: grid;
        gap: 8px;
    }
    .ai-history-item {
        padding: 12px;
    }
    .bleez-e2-audio-card audio,
    .bleez-e2-audio-card video {
        width: 100%;
    }
    .td2-preview-canvas,
    .td2-output {
        min-height: 180px;
        padding: 14px;
    }
    .assistant-toggle {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    .site-assistant {
        left: 16px;
        right: 16px;
    }
    .assistant-panel { width: 100%; }
}

/* Premium finish layer */
.portfolio-overview-copy,
.portfolio-overview-metrics,
.portfolio-filter-bar,
.portfolio-profile-card,
.portfolio-conversion-card,
.portfolio-showcase-card,
.portfolio-card,
.portfolio-detail-block,
.portfolio-demo-callout,
.portfolio-cta-panel,
.programs-highlight,
.program-card,
.student-course-card,
.student-registration-form,
.assistant-panel,
.workspace-sidebar-card,
.workspace-report-card,
.marketing-work-card,
.auth-card,
.payment-card {
    background:
        linear-gradient(145deg, rgba(22, 36, 58, 0.94), rgba(6, 13, 25, 0.92)),
        rgba(11, 20, 36, 0.94);
    border: 1px solid rgba(231, 200, 115, 0.16);
    box-shadow: 0 22px 52px rgba(0, 5, 18, 0.32);
}

.portfolio-card,
.portfolio-showcase-card,
.program-card,
.student-course-card,
.marketing-work-card,
.services-list-card {
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.portfolio-card:hover,
.portfolio-showcase-card:hover,
.program-card:hover,
.student-course-card:hover,
.marketing-work-card:hover {
    transform: translateY(-4px);
    border-color: rgba(231, 200, 115, 0.32);
    box-shadow: var(--shadow-hover);
}

.portfolio-card-image,
.portfolio-showcase-image,
.portfolio-detail-visual,
.program-card-media,
.blog-media,
.blog-detail-media,
.service-media,
.service-detail-media,
.about-hero-media,
.why-kelhonic-media {
    border: 1px solid rgba(231, 200, 115, 0.14);
    background: linear-gradient(135deg, #0a1a4a 0%, #020620 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.logo-cloud span,
.chip,
.tag-list span,
.portfolio-capability-grid span,
.program-card-badge,
.bleez-ux-package-chip,
.trust-strip a {
    background: linear-gradient(135deg, rgba(231, 200, 115, 0.14), rgba(22, 199, 217, 0.08));
    border-color: rgba(231, 200, 115, 0.2);
    color: #f8f3e7;
}

.stat-card,
.stat-cluster article,
.metric-card {
    background:
        radial-gradient(circle at top right, rgba(36, 200, 255, 0.18), transparent 36%),
        linear-gradient(145deg, #0a1a4a 0%, #020620 100%);
    border: 1px solid rgba(231, 200, 115, 0.18);
    border-radius: 16px;
}

.stat-card span,
.metric-card strong,
.stat-cluster strong {
    color: var(--accent);
}

.cta-panel,
.register-intro,
.auth-overlay-intro,
.programs-highlight {
    background:
        radial-gradient(circle at 12% 8%, rgba(231, 200, 115, 0.18), transparent 30%),
        linear-gradient(155deg, rgba(22, 199, 217, 0.9) 0%, rgba(7, 27, 38, 0.96) 50%, rgba(1, 4, 11, 0.96) 100%);
    border-color: rgba(231, 200, 115, 0.22);
}

.floating-cta,
.assistant-toggle {
    background: linear-gradient(135deg, #e7c873 0%, #16c7d9 50%, #07304d 100%);
    color: #07101d;
    box-shadow: 0 20px 48px rgba(22, 199, 217, 0.26);
}

.site-footer {
    border-top: 1px solid rgba(231, 200, 115, 0.14);
    background:
        radial-gradient(circle at 20% 0%, rgba(22, 199, 217, 0.12), transparent 32%),
        linear-gradient(180deg, var(--nav-footer-bg) 0%, var(--nav-footer-bg-deep) 100%);
}
