/* ============================================================
   AUTOMATION SECTION 2 — NAVBAR & HERO CSS (ProsperLion Brand)
   All hero effects STRICTLY scoped. Canvas/blobs are position:absolute
   inside .hero-section — NOT fixed, NOT global.
   ============================================================ */

/* Navbar variables only — minimal :root additions */
:root {
    --nav-bg-hero: rgba(255, 255, 255, 0.82);
    --nav-border-hero: rgba(15, 76, 129, 0.12);
    --card-bg-hero: rgba(255, 255, 255, 0.85);
    --card-border-hero: rgba(15, 76, 129, 0.12);
    --shadow-sm-hero: 0 4px 6px -1px rgba(15, 76, 129, 0.06);
    --shadow-md-hero: 0 10px 25px -5px rgba(15, 76, 129, 0.08);
    --shadow-lg-hero: 0 20px 50px -12px rgba(15, 76, 129, 0.14);
    --hero-accent: #0F4C81;
    --hero-accent-rgb: 15, 76, 129;
    --hero-accent2: #5687B7;
}

[data-theme="dark"] {
    --nav-bg-hero: rgba(4, 11, 24, 0.88);
    --nav-border-hero: rgba(86, 135, 183, 0.20);
    --card-bg-hero: rgba(7, 18, 36, 0.88);
    --card-border-hero: rgba(86, 135, 183, 0.18);
    --shadow-sm-hero: 0 4px 6px -1px rgba(0, 0, 0, 0.35);
    --shadow-md-hero: 0 10px 25px -5px rgba(0, 0, 0, 0.45);
    --shadow-lg-hero: 0 20px 50px -12px rgba(0, 0, 0, 0.55);
    --hero-accent: #5687B7;
    --hero-accent-rgb: 86, 135, 183;
    --hero-accent2: #C2D5E8;
}

/* LOGO SWITCHING */
.logo-for-light { display: block; }
.logo-for-dark  { display: none; }
[data-theme="dark"] .logo-for-light { display: none; }
[data-theme="dark"] .logo-for-dark  { display: block; }
.site-logo { height: 36px; width: auto; }

/* ============================================================
   HERO SECTION — contains ALL visual effects
   Everything below is scoped to .hero-section
   ============================================================ */

.hero-section {
    position: relative; /* establishes containing block for absolute children */
    overflow: hidden;   /* clips canvas + blobs to hero bounds */
    padding-top: 140px;
    padding-bottom: 80px;
    display: flex;
    justify-content: center;
}

/* PARTICLE CANVAS — absolute inside hero, not fixed */
.hero-section #bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* GLOW BLOBS — absolute inside hero, not fixed */
.hero-section .glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-section .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.28;
    mix-blend-mode: multiply;
    animation: heroBlobFloat 12s infinite alternate ease-in-out;
}

[data-theme="dark"] .hero-section .blob {
    opacity: 0.20;
    mix-blend-mode: screen;
    filter: blur(130px);
}

.hero-section .blob-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #0F4C81 0%, rgba(15,76,129,0) 70%);
    top: -10%; left: 10%;
}
.hero-section .blob-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #5687B7 0%, rgba(86,135,183,0) 70%);
    top: 20%; right: 5%;
    animation-delay: 2s;
}
.hero-section .blob-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #C2D5E8 0%, rgba(194,213,232,0) 70%);
    bottom: 10%; left: 20%;
    animation-delay: 4s;
}

@keyframes heroBlobFloat {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(40px, -60px) scale(1.1); }
    100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Hero container must sit above canvas/blobs */
.hero-section .hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ANNOUNCEMENT BADGE — scoped to hero */
.hero-section .announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: var(--card-bg-hero);
    border: 1px solid var(--card-border-hero);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm-hero);
    cursor: default;
}

.hero-section .badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background-color: var(--hero-accent);
    flex-shrink: 0;
}

.hero-section .badge-text { color: var(--text-secondary); font-size: 0.8rem; font-weight: 500; }

.hero-section .badge-tag {
    background: linear-gradient(135deg, var(--hero-accent) 0%, var(--hero-accent2) 100%);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* HERO TITLE — scoped */
.hero-section .hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* H1 gradient — EXACTLY matches the site's .text-gradient used for "AI Automation Solution" */
.hero-section .gradient-text {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-section .hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 760px;
}

.hero-section .desktop-only { display: block; }

/* HERO CTA BUTTONS — scoped, use glass-btn system */
.hero-section .hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-section .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-pill, 9999px);
    border: none;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(var(--hero-accent-rgb), 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.hero-section .btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: 0.5s;
}
.hero-section .btn-primary:hover::before { left: 100%; }
.hero-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(var(--hero-accent-rgb), 0.50);
    color: #ffffff;
}

.hero-section .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-pill, 9999px);
    border: 1px solid rgba(var(--hero-accent-rgb), 0.22);
    background: var(--glass-bg, rgba(255,255,255,0.45));
    color: var(--text-primary);
    text-decoration: none !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--glass-shadow);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.hero-section .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: 0.5s;
}
.hero-section .btn-secondary:hover::before { left: 100%; }
.hero-section .btn-secondary:hover {
    background: var(--glass-bg-hover, rgba(255,255,255,0.65));
    border-color: rgba(var(--hero-accent-rgb), 0.35);
    box-shadow: 0 8px 24px rgba(var(--hero-accent-rgb), 0.12);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.hero-section .play-icon-wrapper {
    width: 22px; height: 22px;
    border-radius: 50%;
    background-color: var(--hero-accent);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s, background-color 0.3s;
    flex-shrink: 0;
}
.hero-section .btn-secondary:hover .play-icon-wrapper {
    transform: scale(1.1);
    background-color: var(--hero-accent2);
}

/* HERO DIAGRAM */
.hero-section .diagram-wrapper {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 460px;
    overflow: visible;
    z-index: 2;
}

/* FLOATING BADGES */
.hero-section .floating-badge { position: absolute; width: 52px; height: 52px; z-index: 10; }
.hero-section .floating-badge-inner {
    width: 100%; height: 100%;
    border-radius: 16px;
    background-color: var(--card-bg-hero);
    border: 1.5px solid var(--card-border-hero);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md-hero);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.hero-section .floating-badge-inner:hover {
    border-color: var(--hero-accent);
    box-shadow: 0 0 15px rgba(var(--hero-accent-rgb), 0.25);
}
.hero-section .badge-left  { left: 0; top: 50%; transform: translateY(-50%); }
.hero-section .badge-right { right: 0; top: 25%; }
.hero-section .float-animation .floating-badge-inner {
    animation: heroFloat 4s infinite ease-in-out;
}
.hero-section .float-animation-delayed .floating-badge-inner {
    animation: heroFloat 4.5s infinite ease-in-out;
    animation-delay: 1.5s;
}
@keyframes heroFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* DIAGRAM CANVAS ELEMENT */
.hero-section .diagram-canvas { position: relative; width: 100%; height: 100%; }
.hero-section .diagram-lines  { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-section foreignObject   { overflow: visible; pointer-events: auto; }

/* NODE CARDS */
.hero-section .node-card {
    width: 100%; height: 100%;
    background-color: var(--card-bg-hero);
    border: 1.5px solid var(--card-border-hero);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: var(--shadow-sm-hero);
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), border-color 0.4s, box-shadow 0.4s;
    position: relative;
    box-sizing: border-box;
}
.hero-section .node-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--shadow-lg-hero);
}

.hero-section .node-indicator {
    position: absolute; top: -8px; right: 20px;
    width: 20px; height: 20px; border-radius: 50%;
    color: #fff; font-size: 0.8rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.hero-section .ind-plus  { background-color: #10b981; }
.hero-section .ind-minus { background-color: #ef4444; }

.hero-section .node-icon {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-section .node-icon svg {
    stroke: currentColor !important;
    color: inherit !important;
}
.hero-section .icon-orange { background-color: rgba(249, 115, 22, 0.1) !important; color: #f97316 !important; }
.hero-section .icon-yellow { background-color: rgba(234, 179, 8, 0.1) !important; color: #eab308 !important; }
.hero-section .icon-pink   { background-color: rgba(236, 72, 153, 0.1) !important; color: #ec4899 !important; }
.hero-section .icon-teal   { background-color: rgba(20, 184, 166, 0.1) !important; color: #14b8a6 !important; }
.hero-section .icon-blue   { background-color: rgba(59, 130, 246, 0.1) !important; color: #3b82f6 !important; }
.hero-section .icon-purple { background-color: rgba(139, 92, 246, 0.1) !important; color: #8b5cf6 !important; }
.hero-section .icon-red    { background-color: rgba(239, 68, 68, 0.1) !important; color: #ef4444 !important; }

.hero-section .node-content { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.hero-section .node-content h4 { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); margin: 0; }
.hero-section .node-content p  { font-size: 0.7rem; color: var(--text-secondary); margin: 0; }

/* CENTER HUB */
.hero-section .center-hub {
    position: relative; width: 100%; height: 100%;
    border-radius: 14px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    cursor: pointer;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s;
}
.hero-section .center-hub:hover {
    transform: translateY(-6px) scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.6);
}
.hero-section .hub-ripple {
    position: absolute; width: 100%; height: 100%;
    border-radius: 14px;
    border: 2px solid #6366f1;
    animation: heroRipple 2s infinite ease-out;
    pointer-events: none;
}
@keyframes heroRipple {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}
.hero-section .hub-icon { display: flex; align-items: center; justify-content: center; }

/* MOBILE DIAGRAM */
.hero-section .mobile-diagram {
    display: none;
    width: 100%; max-width: 340px;
    margin: 0 auto; padding: 20px 0;
}
.hero-section .mobile-diagram .node-card { height: 72px; }

/* ============================================================
   NAVBAR STYLES — pill navbar, desktop only
   ============================================================ */
.navbar-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    overflow: visible; /* MUST be visible so dropdown escapes pill shape */
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background-color: var(--nav-bg-hero);
    border: 1px solid var(--nav-border-hero);
    border-radius: 100px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(var(--hero-accent-rgb), 0.08);
    overflow: visible; /* MUST be visible — pill shape must not clip dropdown */
    transition: all 0.3s ease;
}

.nav-logo {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
}

/* Nav links — remove ALL underlines globally in navbar */
.nav-links {
    display: flex; align-items: center; list-style: none;
    gap: 4px; margin: 0; padding: 0;
    overflow: visible; /* critical: must not clip the dropdown */
}

.nav-links li { list-style: none; }

.nav-links .nav-link,
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none !important;
    border-bottom: none !important;
    outline: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 20px;
    transition: all 0.2s ease;
    display: inline-flex; align-items: center; gap: 4px;
    position: relative;
}

/* Remove ALL pseudo-element lines in navbar */
.nav-links .nav-link::after,
.nav-links .nav-link::before,
.nav-links a::after,
.nav-links a::before,
.navbar a::after,
.navbar a::before { display: none !important; content: none !important; }

/* Hover & active: circular highlight only */
.nav-links .nav-link:hover,
.nav-links .nav-link.active,
.nav-links a:hover {
    color: var(--text-primary);
    background-color: rgba(var(--hero-accent-rgb), 0.07);
    text-decoration: none !important;
    border-bottom: none !important;
}

[data-theme="dark"] .nav-links .nav-link:hover,
[data-theme="dark"] .nav-links .nav-link.active {
    background-color: rgba(86, 135, 183, 0.12);
}

/* Dropdown caret — supports both class names */
.nav-links .dropdown-caret {
    width: 14px; height: 14px; transition: transform 0.2s; flex-shrink: 0;
}
.nav-links li.dropdown:hover .dropdown-caret,
.nav-links li.nav-item.dropdown:hover .dropdown-caret,
.nav-links .nav-item.dropdown:hover .dropdown-caret { transform: rotate(180deg); }

/* SERVICES DROPDOWN — hover triggered, gap-bridged */
/* Both class variants supported: li.dropdown AND li.nav-item.dropdown */
.nav-links li.dropdown,
.nav-links li.nav-item.dropdown {
    position: relative;
    overflow: visible;
}

/* The dropdown menu itself */
.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;         /* flush to bottom of li — no gap */
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    background: var(--nav-bg-hero) !important;
    border: 1px solid var(--nav-border-hero) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 16px 40px rgba(var(--hero-accent-rgb), 0.14) !important;
    list-style: none;
    /* Bridge the gap with padding-top so mouse doesn't leave hover zone */
    padding: 10px 8px 8px 8px;
    margin: 0;
    z-index: 2000;
    pointer-events: auto;
    /* Use opacity+visibility (smooth) instead of display:none (instant flicker) */
    display: block !important;   /* always in DOM */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(6px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
    /* Override original theme which uses same class */
    pointer-events: none;
    flex-direction: column;
    gap: 2px;
}

/* Show on hover — works for BOTH class variants */
.nav-links li.dropdown:hover > .dropdown-menu,
.nav-links li.dropdown:focus-within > .dropdown-menu,
.nav-links li.nav-item.dropdown:hover > .dropdown-menu,
.nav-links li.nav-item.dropdown:focus-within > .dropdown-menu,
.nav-links .nav-item.dropdown:hover > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

.nav-links .dropdown-menu li { list-style: none; }

.nav-links .dropdown-menu .dropdown-item {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    border-bottom: none !important;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    background: transparent;
}
.nav-links .dropdown-menu .dropdown-item::after,
.nav-links .dropdown-menu .dropdown-item::before { display: none !important; content: none !important; }
.nav-links .dropdown-menu .dropdown-item:hover {
    color: var(--text-primary) !important;
    background-color: rgba(var(--hero-accent-rgb), 0.08) !important;
    text-decoration: none !important;
    padding-left: 18px;
}
[data-theme="dark"] .nav-links .dropdown-menu .dropdown-item:hover {
    background-color: rgba(86, 135, 183, 0.12) !important;
}

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* THEME TOGGLE */
.theme-toggle {
    background: var(--card-bg-hero);
    border: 1px solid var(--nav-border-hero);
    cursor: pointer;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    position: relative; overflow: hidden;
    transition: all 0.2s ease;
}
.theme-toggle:hover {
    color: var(--text-primary);
    border-color: var(--hero-accent);
    transform: scale(1.05);
}
.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    position: absolute;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
}
.theme-toggle .moon-icon { opacity: 0; transform: translateY(20px) rotate(45deg); }
[data-theme="dark"] .theme-toggle .sun-icon  { opacity: 0; transform: translateY(-20px) rotate(-45deg); }
[data-theme="dark"] .theme-toggle .moon-icon { opacity: 1; transform: translateY(0) rotate(0); }
.toggle-slider { display: none; }

/* GET STARTED BUTTON */
.btn-getstarted {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.9rem; font-weight: 600;
    border-radius: var(--radius-pill, 9999px);
    border: none;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #fff;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(var(--hero-accent-rgb), 0.30);
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    white-space: nowrap;
    position: relative; overflow: hidden;
}
.btn-getstarted::before {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: 0.5s;
}
.btn-getstarted:hover::before { left: 100%; }
.btn-getstarted:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--hero-accent-rgb), 0.45);
    color: #fff;
}

/* MOBILE HAMBURGER */
.mobile-menu-btn {
    display: none; flex-direction: column; gap: 4px;
    background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001;
}
.mobile-menu-btn span {
    width: 20px; height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s; border-radius: 2px; display: block;
}

/* OFFCANVAS DRAWER */
.offcanvas-menu {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
    background-color: var(--bg-primary);
    border-left: 1px solid var(--nav-border-hero);
    box-shadow: -10px 0 40px rgba(var(--hero-accent-rgb), 0.10);
    z-index: 2000; padding: 30px 24px;
    display: flex; flex-direction: column; gap: 32px;
    transition: right 0.4s cubic-bezier(0.16,1,0.3,1);
}
.offcanvas-menu.active { right: 0; }
.offcanvas-header { display: flex; align-items: center; justify-content: space-between; }
.offcanvas-title { font-weight: 700; font-size: 1.25rem; color: var(--text-primary); }
.offcanvas-close { background: none; border: none; font-size: 2rem; color: var(--text-secondary); cursor: pointer; line-height: 1; }
.offcanvas-links { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; }
.offcanvas-link {
    color: var(--text-secondary);
    text-decoration: none !important;
    border-bottom: none !important;
    font-size: 1rem; font-weight: 500;
    padding: 8px 0; display: block; transition: color 0.2s;
}
.offcanvas-link:hover, .offcanvas-link.active { color: var(--hero-accent); }
.offcanvas-links .divider { height: 1px; background-color: var(--nav-border-hero); margin: 4px 0; }
.offcanvas-getstarted { display: block !important; text-align: center; width: 100%; margin-top: 8px; }
.offcanvas-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: rgba(6,17,43,0.45);
    backdrop-filter: blur(4px); z-index: 1999;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.offcanvas-overlay.active { opacity: 1; pointer-events: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .nav-links { display: none !important; }
    .mobile-menu-btn { display: flex; }
}

@media (max-width: 768px) {
    .hero-section .desktop-only { display: none; }
    .hero-section { padding-top: 124px; padding-left: 16px; padding-right: 16px; }
    .hero-section .hero-title { font-size: 2.2rem; }
    .hero-section .floating-badge { display: none; }
    .hero-section .announcement-badge { margin-bottom: 12px; }
    .hero-section .hero-ctas {
        flex-direction: column; width: 100%; max-width: 320px; gap: 12px; margin-bottom: 40px;
    }
    .hero-section .btn-primary,
    .hero-section .btn-secondary { width: 100%; justify-content: center; }
    .hero-section .desktop-diagram { display: none !important; }
    .hero-section .mobile-diagram { display: flex; width: 90vw; max-width: none; }
    .navbar { padding: 10px 16px; }
    .btn-getstarted { display: none !important; }
    .theme-toggle { width: 36px; height: 36px; }
    .nav-logo { font-size: 1rem; }
}
/* ============================================================
   END — Automation Section 2 CSS (Hero-scoped, Brand-corrected)
   ============================================================ */
/* ==========================================
   DESIGN TOKENS & SYSTEM VARIABLES
   ========================================== */
:root {
  /* Fonts */
  --font-heading: 'Oxygen', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Oxygen', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Theme: Light (Default) */
  --bg-primary: #EEF3F8;
  --bg-secondary: #C2D5E8;
  --bg-tertiary: #d0e1ef;
  
  --text-primary: #06112B;
  --text-secondary: #2f2f2f;
  --text-tertiary: #5687B7;
  
  --accent-primary: #0F4C81;      /* ProsperLion Blue */
  --accent-primary-rgb: 15, 76, 129;
  --accent-secondary: #5687B7;    /* ProsperLion Accent */
  --accent-secondary-rgb: 86, 135, 183;
  --accent-tertiary: #C2D5E8;     /* ProsperLion Soft */
  
  /* Glassmorphism Light */
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-bg-hover: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(15, 76, 129, 0.12);
  --glass-border-hover: rgba(15, 76, 129, 0.25);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04),
                  0 1px 3px 0 rgba(0, 0, 0, 0.02),
                  inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
  --glass-shadow-hover: 0 16px 48px 0 rgba(31, 38, 135, 0.08),
                        0 2px 8px 0 rgba(0, 0, 0, 0.04),
                        inset 0 1px 0 0 rgba(255, 255, 255, 0.95);
  
  /* Gradient Meshes */
  --mesh-gradient: radial-gradient(circle at 15% 15%, rgba(244, 63, 94, 0.04) 0%, transparent 60%),
                    radial-gradient(circle at 85% 10%, rgba(6, 182, 212, 0.04) 0%, transparent 60%),
                    radial-gradient(circle at 50% 80%, rgba(79, 70, 229, 0.05) 0%, transparent 70%);

  /* Cards Backgrounds */
  --card-bg: rgba(255, 255, 255, 0.78);
  --glow-color: rgba(15, 76, 129, 0.15);
  --badge-bg: rgba(15, 76, 129, 0.08);
  --badge-text: #0F4C81;
  --timeline-line-color: rgba(6, 17, 43, 0.15);
  
  /* Transition Speeds */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
  
  /* Layout Bounds */
  --max-width: 1280px;
  --header-height: 80px;

  /* Code Block Colors (Light Theme) */
  --code-bg: #C2D5E8;
  --code-color: #0F4C81;

  /* Form Input Colors (Light Theme) */
  --input-bg: rgba(255, 255, 255, 0.85);
  --input-bg-focus: #ffffff;
  --input-border: rgba(15, 76, 129, 0.18);
  --input-border-focus: var(--accent-primary);
}

/* Dark Theme Override */
[data-theme="dark"] {
  --bg-primary: #040b18;
  --bg-secondary: #071224;
  --bg-tertiary: #0d1e38;
  
  --text-primary: #EEF3F8;
  --text-secondary: #C2D5E8;
  --text-tertiary: #8aafcf;
  
  --accent-primary: #5687B7;      /* ProsperLion Accent Light */
  --accent-primary-rgb: 86, 135, 183;
  --accent-secondary: #C2D5E8;    /* ProsperLion Soft */
  --accent-secondary-rgb: 194, 213, 232;
  --accent-tertiary: #0F4C81;
  
  /* Glassmorphism Dark */
  --glass-bg: rgba(13, 18, 30, 0.45);
  --glass-bg-hover: rgba(18, 25, 41, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.16);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37),
                  0 1px 3px 0 rgba(0, 0, 0, 0.1),
                  inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  --glass-shadow-hover: 0 16px 48px 0 rgba(0, 0, 0, 0.5),
                        0 2px 8px 0 rgba(0, 0, 0, 0.2),
                        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  
  /* Gradient Meshes Dark */
  --mesh-gradient: radial-gradient(circle at 15% 15%, rgba(244, 63, 94, 0.06) 0%, transparent 60%),
                    radial-gradient(circle at 85% 10%, rgba(6, 182, 212, 0.06) 0%, transparent 60%),
                    radial-gradient(circle at 50% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
                    
  --card-bg: rgba(13, 18, 30, 0.6);
  --glow-color: rgba(86, 135, 183, 0.25);
  --badge-bg: rgba(86, 135, 183, 0.15);
  --badge-text: #C2D5E8;
  --timeline-line-color: var(--glass-border);

  /* Code Block Colors (Dark Theme) */
  --code-bg: rgba(6, 17, 43, 0.5);
  --code-color: #C2D5E8;

  /* Form Input Colors (Dark Theme) */
  --input-bg: rgba(255, 255, 255, 0.03);
  --input-bg-focus: rgba(255, 255, 255, 0.06);
  --input-border: var(--glass-border);
  --input-border-focus: var(--accent-primary);
}

/* ==========================================
   RESET & SYSTEM STYLES
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  background-image: var(--mesh-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==========================================
   TYPOGRAPHY UTILITIES
   ========================================== */
.font-display {
  font-family: var(--font-heading);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-pink {
  background: linear-gradient(135deg, var(--accent-tertiary) 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--badge-bg);
  color: var(--badge-text);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
  margin-bottom: 16px;
  width: fit-content;
  backdrop-filter: blur(5px);
  transition: all var(--transition-fast);
}

.badge:hover {
  border-color: rgba(var(--accent-primary-rgb), 0.3);
  transform: translateY(-1px);
}

/* ==========================================
   GLASSMORPHISM SYSTEM
   ========================================== */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
  transition: background var(--transition-normal), 
              border var(--transition-normal), 
              box-shadow var(--transition-normal);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px) saturate(170%);
  -webkit-backdrop-filter: blur(15px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: background var(--transition-normal), 
              border var(--transition-normal), 
              box-shadow var(--transition-normal),
              transform var(--transition-normal);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
}

.glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.glass-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.glass-btn:hover::before {
  left: 100%;
}

.glass-btn:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-2px);
}

.glass-btn.primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 20px rgba(var(--accent-primary-rgb), 0.35);
}

.glass-btn.primary:hover {
  box-shadow: 0 8px 30px rgba(var(--accent-primary-rgb), 0.5);
  transform: translateY(-3px);
}

.glass-btn.secondary {
  border: 1px solid rgba(var(--accent-primary-rgb), 0.25);
  background: rgba(var(--accent-primary-rgb), 0.03);
}

.glass-btn.secondary:hover {
  background: rgba(var(--accent-primary-rgb), 0.08);
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal-on-scroll {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-on-scroll.fade-in {
  transform: translateY(0);
}

.reveal-on-scroll.slide-up {
  transform: translateY(40px);
}

.reveal-on-scroll.slide-down {
  transform: translateY(-40px);
}

.reveal-on-scroll.slide-left {
  transform: translateX(40px);
}

.reveal-on-scroll.slide-right {
  transform: translateX(-40px);
}

.reveal-on-scroll.scale-up {
  transform: scale(0.9);
}

/* Animation active states */
.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Delay modifiers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }

/* Micro-animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-primary-rgb), 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(var(--accent-primary-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-primary-rgb), 0); }
}

@keyframes wave {
  0%, 100% { height: 10px; }
  50% { height: 45px; }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* ==========================================
   NAVIGATION (HEADER)
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  height: 70px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.header-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-circle {
  fill: none;
  stroke: url(#logo-grad);
  stroke-width: 3;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-pill);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  width: 100%;
}

/* ==========================================
   NAVIGATION DROPDOWN MENU
   ========================================== */
.nav-item.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-caret {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav-item.dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 280px;
  background: rgba(13, 18, 30, 0.95);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1100;
}

[data-theme="light"] .dropdown-menu {
  background: rgba(255, 255, 255, 0.96);
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(var(--accent-primary-rgb), 0.08);
  color: var(--text-primary);
  padding-left: 20px;
}

/* Mobile Responsive Dropdown Styles */
@media (max-width: 768px) {
  .nav-item.dropdown {
    width: 100%;
    text-align: center;
  }
  
  .dropdown-toggle {
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
  }

  .nav-item.dropdown.active .dropdown-menu {
    max-height: 200px;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    padding: 8px 0;
  }

  .dropdown-item {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
  
  .dropdown-item:hover {
    padding-left: 12px;
    background: transparent;
    color: var(--accent-primary);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  transform: rotate(15deg) scale(1.05);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
}

.theme-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Sun/Moon Toggle Anim styling */
[data-theme="dark"] .sun-icon {
  transform: rotate(180deg) scale(0);
  opacity: 0;
}

.moon-icon {
  position: absolute;
  transform: rotate(-180deg) scale(0);
  opacity: 0;
}

[data-theme="dark"] .moon-icon {
  transform: rotate(0) scale(1);
  opacity: 1;
}

/* Hamburger mobile nav toggle */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all var(--transition-fast);
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   HERO SECTION (ProsperLion Modern AI Platform)
   ========================================== */
:root {
  --bg-dark-card: rgba(13, 17, 39, 0.45);
  --bg-diagram: linear-gradient(135deg, rgba(6, 8, 20, 0.65) 0%, rgba(13, 17, 39, 0.45) 100%);
  --node-bg: #0f142e;
  --border-color: rgba(255, 255, 255, 0.07);
  --border-color-hover: rgba(255, 255, 255, 0.15);
  --inner-bg: #090d22;
  --inner-folder-bg: #0e163d;
  --text-main: #ffffff;
  --text-muted: #C2D5E8;
  --text-muted-dark: #586799;
  --color-purple: #7f00ff;
  --color-cyan: #00f2fe;
  --color-green: #10b981;
  --grad-primary: linear-gradient(135deg, #7f00ff 0%, #00f2fe 100%);
  --grad-primary-hover: linear-gradient(135deg, #9122ff 0%, #2bf7ff 100%);
  --card-grad-start: #0d1127;
  --card-grad-opacity-start: 0.8;
  --card-grad-end: #151a3a;
  --card-grad-opacity-end: 0.55;
  --card-border-glow: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] {
  --bg-dark-card: rgba(255, 255, 255, 0.7);
  --bg-diagram: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(225, 235, 255, 0.3) 50%, rgba(240, 245, 255, 0.45) 100%);
  --node-bg: #ffffff;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-hover: rgba(0, 0, 0, 0.16);
  --inner-bg: #e2e8f0;
  --inner-folder-bg: #cbd5e1;
  --text-main: #0a0e24;
  --text-muted: #2f2f2f;
  --text-muted-dark: #7c88a8;
  --card-grad-start: #ffffff;
  --card-grad-opacity-start: 0.85;
  --card-grad-end: #e2ecff;
  --card-grad-opacity-end: 0.55;
  --card-border-glow: rgba(255, 255, 255, 0.7);
}

.card-grad-stop1 {
  stop-color: var(--card-grad-start);
  stop-opacity: var(--card-grad-opacity-start);
}
.card-grad-stop2 {
  stop-color: var(--card-grad-end);
  stop-opacity: var(--card-grad-opacity-end);
}

.node-card-bg {
  fill: url(#cardThemeGrad) !important;
  stroke: var(--card-border-glow) !important;
  stroke-width: 1.5px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.04));
  transition: var(--transition-normal);
}

.mini-server {
  transition: var(--transition-normal) !important;
}

.node-aitalk text,
#workflow_llm text,
#workflow_kb text {
  fill: var(--text-main) !important;
}

.automation-svg path[stroke*="255,255,255"] {
  stroke: var(--border-color) !important;
}

/* Hero Section Base */
.hero-section {
  padding: calc(var(--header-height) + 40px) 0 100px 0;
  position: relative;
  overflow: hidden;
  z-index: 5;
}

.hero-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.09) 0%, rgba(127, 0, 255, 0.05) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(55px);
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
  will-change: transform, opacity;
}

[data-theme="light"] .hero-spotlight {
  background: radial-gradient(circle, rgba(0, 242, 254, 0.06) 0%, rgba(127, 0, 255, 0.04) 45%, transparent 70%);
  mix-blend-mode: normal;
  filter: blur(65px);
}

.hero-header {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 48px auto;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(127, 0, 255, 0.1);
  border: 1px solid rgba(127, 0, 255, 0.25);
  border-radius: 100px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: var(--transition-normal);
}

.announcement-badge:hover {
  background: rgba(127, 0, 255, 0.18);
  border-color: rgba(127, 0, 255, 0.4);
  transform: translateY(-1px);
}

.badge-tag {
  background: var(--grad-primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
}

.badge-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.badge-arrow {
  color: var(--color-cyan);
  transition: transform 0.3s ease;
}

.announcement-badge:hover .badge-arrow {
  transform: translateX(3px);
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--text-main);
  margin-bottom: 24px;
}

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

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 36px auto;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.btn-secondary {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
}

[data-theme="light"] .btn-secondary {
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

/* Premium 2-Card Layout Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
  width: 100%;
}

.grid-card {
  position: relative;
  background: var(--bg-dark-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 36px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(127, 0, 255, 0.08);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.grid-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-hover);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 50px rgba(127, 0, 255, 0.12);
}

.card-glass-shine {
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(115deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0) 60%);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: var(--transition-normal);
}

.grid-card:hover .card-glass-shine {
  left: 100%;
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0;
}

.card-description {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* SVG Automation Diagrams Styles */
.diagram-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
  position: relative;
  background: radial-gradient(circle at 15% 20%, rgba(0, 242, 254, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 85% 80%, rgba(127, 0, 255, 0.08) 0%, transparent 50%),
              var(--bg-diagram);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .diagram-container {
  background: radial-gradient(circle at 15% 20%, rgba(0, 242, 254, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 85% 80%, rgba(127, 0, 255, 0.05) 0%, transparent 50%),
              linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(225, 235, 255, 0.3) 50%, rgba(240, 245, 255, 0.45) 100%) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.4), 0 8px 32px rgba(31, 38, 135, 0.04) !important;
}

.automation-svg {
  width: 100%;
  height: auto;
  max-height: 380px;
  overflow: visible;
}

/* Interactive SVG Node Transitions */
.clickable-node {
  cursor: pointer;
}

.clickable-node circle, 
.clickable-node rect {
  transition: var(--transition-normal);
}

/* Specific Brand Colors for Hover States */
#channel0:hover rect { stroke: #229ED9 !important; stroke-width: 3px !important; }
#channel1:hover rect { stroke: #25D366 !important; stroke-width: 3px !important; }
#channel2:hover rect { stroke: #E01E5A !important; stroke-width: 3px !important; }
#channel3:hover rect { stroke: #00B2FF !important; stroke-width: 3px !important; }
#node_user:hover rect { stroke: #7f00ff !important; stroke-width: 3px !important; }

#workflow_question:hover rect { stroke: #00f2fe !important; stroke-width: 3px !important; }

#workflow_llm:hover rect { stroke: #7f00ff !important; stroke-width: 3px !important; }
#workflow_llm:hover .mini-server { stroke: #7f00ff !important; stroke-width: 1.5px !important; }

#workflow_kb:hover rect { stroke: #7f00ff !important; stroke-width: 3px !important; }
#workflow_answer:hover rect { stroke: #10b981 !important; stroke-width: 3px !important; }

.box-glow, .ring-glow {
  transition: opacity 0.5s ease, stroke-width 0.5s ease;
}

.grid-card:hover .box-glow {
  opacity: 0.15 !important;
}

/* SVG Spin Animations */
.spin-ring-slow {
  transform-origin: 20px 20px;
  animation: rotateCW 20s infinite linear;
}

.spin-ring-fast {
  transform-origin: 20px 20px;
  animation: rotateCCW 10s infinite linear;
}

@keyframes rotateCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Server LEDs breathing animation */
.server-led {
  animation: ledBreathe 2.5s infinite ease-in-out;
}

.server-led:nth-child(2) {
  animation-delay: 0.6s;
}

.server-led:nth-child(3) {
  animation-delay: 1.2s;
}

@keyframes ledBreathe {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; filter: brightness(1.2); }
}

/* Card Header Elements */
.card-header-premium {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  width: 100%;
  gap: 16px;
}

.card-header-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 30px;
  background: var(--node-bg);
  border: 1px solid var(--border-color);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.status-dot.pulsing {
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

.status-dot.pulsing-purple {
  background: #7f00ff;
  box-shadow: 0 0 0 0 rgba(127, 0, 255, 0.7);
  animation: pulsePurple 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes pulsePurple {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(127, 0, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(127, 0, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(127, 0, 255, 0); }
}

.card-divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--border-color) 0%, rgba(255, 255, 255, 0.02) 100%);
  margin-bottom: 24px;
}

[data-theme="light"] .card-divider-line {
  background: linear-gradient(90deg, var(--border-color) 0%, rgba(0, 0, 0, 0.02) 100%);
}

.mac-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.mac-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.mac-dot.red { background: #ff5f56; }
.mac-dot.yellow { background: #ffbd2e; }
.mac-dot.green { background: #27c93f; }

.hero-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Responsive Rules */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-title {
    font-size: 44px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: calc(var(--header-height) + 20px) 0 60px 0;
  }
  .hero-header {
    margin-bottom: 32px;
  }
  .hero-title {
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: -0.5px;
  }
  .hero-subtitle {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: center;
  }
  .hero-cta-group .btn-large,
  .hero-cta-group .btn-secondary {
    width: 100%;
    max-width: 320px;
    padding: 14px 28px;
    display: inline-flex;
    justify-content: center;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .grid-card {
    padding: 24px 16px;
  }
  .card-title {
    font-size: 20px;
  }
  .card-description {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .diagram-container {
    min-height: auto;
    aspect-ratio: 700 / 480;
    padding: 0 !important;
  }
  .automation-svg {
    width: 100%;
    height: 100%;
  }
}

/* ==========================================
   PARTNERS / TRUST LOGOS
   ========================================== */
.trust-section {
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.trust-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.trust-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
}

.logo-marquee {
  display: flex;
  width: 100%;
  gap: 60px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
  display: flex;
  gap: 80px;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.trust-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-tertiary);
  opacity: 0.55;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.trust-logo svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.trust-logo:hover {
  opacity: 1;
  color: var(--text-primary);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
  padding: 80px 0;
  position: relative;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(var(--accent-primary-rgb), 0.08);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 24px;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--accent-primary);
  color: white;
  transform: scale(1.05) rotate(5deg);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
}

.service-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.bullet-chk {
  width: 16px;
  height: 16px;
  color: var(--accent-secondary);
}

.service-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link {
  color: var(--accent-secondary);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* Glow gradient behind hover */
.service-card::after {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
  z-index: -1;
}

.service-card:hover::after {
  opacity: 1;
}

/* ==========================================
   INTERACTIVE SHOWCASE (DASHBOARD HUB)
   ========================================== */
.showcase-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.showcase-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--accent-primary) 0%, rgba(var(--accent-primary-rgb), 0.8) 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(var(--accent-primary-rgb), 0.3);
}

.tab-btn:hover:not(.active) {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.showcase-viewscreen {
  min-height: 520px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.showcase-view-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.view-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--text-tertiary);
  opacity: 0.2;
}

.window-dot.active-red { background-color: #ef4444; opacity: 0.85; }
.window-dot.active-yellow { background-color: #f59e0b; opacity: 0.85; }
.window-dot.active-green { background-color: #10b981; opacity: 0.85; }

.view-title-display {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.view-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.view-indicator-pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
}

.view-content-pane {
  flex-grow: 1;
  padding: 40px;
  display: none;
  width: 100%;
  min-height: 440px;
}

.view-content-pane.active {
  display: flex;
  flex-direction: column;
}

/* Tab 1: Live Chat simulator styles */
.pane-chat-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  width: 100%;
  min-height: 400px;
}

.sidebar-stats-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-min-card {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
}

.stat-min-header {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.stat-min-num {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  display: block;
  text-align: right; /* Right align metrics inside mini stats card */
}

.stat-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  margin-top: 10px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-pill);
}

.chat-viewport-module {
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  max-height: 420px;
}

.chat-messages-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Custom modern premium scrollbar design */
.chat-messages-container::-webkit-scrollbar {
  width: 6px;
}

.chat-messages-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-pill);
}

.chat-messages-container::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-primary-rgb), 0.25);
  border-radius: var(--radius-pill);
  transition: background var(--transition-fast);
}

.chat-messages-container::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-primary-rgb), 0.45);
}

.chat-input-bar-module {
  padding: 16px 20px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 10px;
}

.chat-input-bar-module input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  outline: none;
  font-size: 0.9rem;
}

/* Tab 2: Voice Dashboard styles */
.pane-voice-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  min-height: 400px;
}

.voice-left-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.audio-wavelength-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 80px;
}

.audio-bar {
  width: 6px;
  height: 10px;
  background: linear-gradient(to top, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-pill);
  animation: wave 1.2s ease-in-out infinite;
}

.audio-bar:nth-child(2) { animation-delay: 0.1s; }
.audio-bar:nth-child(3) { animation-delay: 0.2s; }
.audio-bar:nth-child(4) { animation-delay: 0.3s; }
.audio-bar:nth-child(5) { animation-delay: 0.4s; }
.audio-bar:nth-child(6) { animation-delay: 0.5s; }
.audio-bar:nth-child(7) { animation-delay: 0.6s; }
.audio-bar:nth-child(8) { animation-delay: 0.7s; }
.audio-bar:nth-child(9) { animation-delay: 0.8s; }
.audio-bar:nth-child(10) { animation-delay: 0.9s; }

.call-control-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.voice-pulse-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(var(--accent-primary-rgb), 0.4);
  animation: pulse-glow 2s infinite;
}

.call-timer {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}

.voice-right-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.transcript-log-screen {
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.15);
  padding: 24px;
  flex-grow: 1;
  font-family: monospace;
  font-size: 0.85rem;
  overflow-y: auto;
  max-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transcript-line {
  line-height: 1.4;
  color: var(--text-secondary);
}

.transcript-line.agent {
  color: var(--accent-secondary);
}

.transcript-line.user {
  color: var(--text-primary);
}

/* Tab 3: Custom Node agent Builder styles */
.pane-flow-wrapper {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.flow-node {
  position: absolute;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-hover);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
}

.flow-node-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-primary);
}

.flow-node-info {
  display: flex;
  flex-direction: column;
}

.flow-node-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
}

.flow-node-status {
  font-size: 0.65rem;
  font-weight: 600;
  color: #10b981;
}

.node-trigger { top: 20%; left: 10%; }
.node-processor-1 { top: 15%; right: 15%; }
.node-processor-2 { bottom: 20%; left: 20%; }
.node-output { bottom: 25%; right: 10%; }

.svg-connections-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.connection-path {
  fill: none;
  stroke: var(--accent-primary);
  stroke-width: 2;
  stroke-dasharray: 8 4;
  opacity: 0.3;
  animation: strokeDash 15s linear infinite;
}

.connection-path.active {
  stroke: var(--accent-secondary);
  stroke-width: 3;
  opacity: 0.8;
}

@keyframes strokeDash {
  to {
    stroke-dashoffset: -200;
  }
}

/* ==========================================
   HOW IT WORKS (TIMELINE)
   ========================================== */
.timeline-section {
  padding: 80px 0;
  overflow: hidden; /* Bulletproof overflow fix for translated timeline nodes on mobile */
}

.pipeline-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.pipeline-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, 
    var(--accent-primary) 0%, 
    var(--accent-secondary) 50%, 
    var(--accent-tertiary) 100%
  );
  border-radius: var(--radius-pill);
  opacity: 0.2;
}

.timeline-item {
  width: 100%;
  margin-bottom: 60px;
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
}

.timeline-dot {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--accent-primary);
  z-index: 10;
  box-shadow: 0 0 0 4px var(--bg-primary);
  transition: all var(--transition-normal);
}

.timeline-item:nth-child(2) .timeline-dot { border-color: var(--accent-secondary); }
.timeline-item:nth-child(3) .timeline-dot { border-color: var(--accent-primary); }
.timeline-item:nth-child(4) .timeline-dot { border-color: var(--accent-tertiary); }

.timeline-item.in-view .timeline-dot {
  background: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary);
}

.timeline-item:nth-child(2).in-view .timeline-dot {
  background: var(--accent-secondary);
  box-shadow: 0 0 15px var(--accent-secondary);
}

.timeline-item:nth-child(4).in-view .timeline-dot {
  background: var(--accent-tertiary);
  box-shadow: 0 0 15px var(--accent-tertiary);
}

.timeline-card {
  width: 45%;
}

.timeline-step {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================
   INDUSTRIES SECTION
   ========================================== */
.industries-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.01);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-card {
  text-align: center;
  position: relative;
}

.ind-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(var(--accent-secondary-rgb), 0.08);
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
  margin: 0 auto 20px auto;
  transition: all var(--transition-normal);
}

.industry-card:hover .ind-icon-box {
  background: var(--accent-secondary);
  color: white;
  transform: translateY(-4px) rotate(360deg);
}

.ind-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.ind-metric {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
  padding: 80px 0;
  position: relative;
}

.premium-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.premium-stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.premium-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 45px rgba(var(--accent-primary-rgb), 0.12);
}

.stat-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(var(--accent-primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 20px;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
}

.premium-stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(var(--accent-primary-rgb), 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  font-family: var(--font-heading);
  margin-bottom: 8px;
  display: block;
  z-index: 2;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  z-index: 2;
}

/* ==========================================
   WHY CHOOSE US SECTION
   ========================================== */
.why-section {
  padding: 80px 0;
  position: relative;
  background: rgba(255, 255, 255, 0.005);
  overflow: hidden; /* Prevent horizontal overflow from translated scroll-reveal child cards */
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.why-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition-normal);
  position: relative;
}

.why-card.premium-glass {
  background: rgba(var(--accent-primary-rgb), 0.02);
  border: 1px solid rgba(16, 185, 129, 0.3); /* Green to match the checkmark check icon */
  box-shadow: 0 8px 32px 0 rgba(79, 70, 229, 0.03);
}

.why-card.premium-glass:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 16px 48px 0 rgba(79, 70, 229, 0.08);
}

.why-card.generic-glass {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(239, 68, 68, 0.25); /* Red/orange to match the cross icons */
  opacity: 0.85;
  transition: all var(--transition-normal);
}

.why-card.generic-glass:hover {
  border-color: rgba(239, 68, 68, 0.5);
}

.why-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.why-icon {
  color: #10b981; /* Green */
  width: 28px;
  height: 28px;
}

.why-icon-cross {
  color: #ef4444; /* Red */
  width: 28px;
  height: 28px;
}

.why-title {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.why-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.why-check {
  color: #10b981;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.why-cross {
  color: #ef4444;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================
   FLOATING CHATTY WIDGETS (WHATSAPP & PHONE)
   ========================================== */

/* 1. WhatsApp Widget — Fixed Bottom-Right */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  pointer-events: none; /* Disables outer wrapper hover area */
}

.whatsapp-icon-box {
  pointer-events: auto; /* Only the circular icon responds to pointer */
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: pulse-glow-green 2s infinite;
  transition: transform var(--transition-fast, 0.2s ease);
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.whatsapp-icon-box:hover {
  transform: scale(1.1) rotate(10deg);
}

.whatsapp-badge {
  background: var(--glass-bg, rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.2));
  padding: 10px 18px;
  border-radius: var(--radius-pill, 9999px);
  box-shadow: var(--glass-shadow, 0 8px 32px rgba(0, 0, 0, 0.1));
  color: var(--text-primary, #0f172a);
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity var(--transition-normal, 0.3s ease), transform var(--transition-normal, 0.3s ease);
  pointer-events: none;
  white-space: nowrap;
}

/* Tooltip appears strictly when directly hovering the icon */
.whatsapp-icon-box:hover + .whatsapp-badge,
.whatsapp-widget:hover:has(.whatsapp-icon-box:hover) .whatsapp-badge {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-glow-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* 2. Phone Widget — Fixed Bottom-Left (Brand Colors) */
.phone-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  pointer-events: none; /* Disables outer wrapper hover area */
}

.phone-icon-box {
  pointer-events: auto; /* Only the circular icon responds to pointer */
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-secondary, #5687b7) 0%, var(--accent-primary, #0f4c81) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(15, 76, 129, 0.45);
  animation: pulse-glow-brand 2s infinite;
  transition: transform var(--transition-fast, 0.2s ease);
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.phone-icon-box:hover {
  transform: scale(1.1) rotate(-10deg);
}

.phone-badge {
  background: var(--glass-bg, rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.2));
  padding: 10px 18px;
  border-radius: var(--radius-pill, 9999px);
  box-shadow: var(--glass-shadow, 0 8px 32px rgba(0, 0, 0, 0.1));
  color: var(--text-primary, #0f172a);
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity var(--transition-normal, 0.3s ease), transform var(--transition-normal, 0.3s ease);
  pointer-events: none;
  white-space: nowrap;
}

/* Tooltip appears strictly when directly hovering the icon */
.phone-icon-box:hover + .phone-badge,
.phone-widget:hover:has(.phone-icon-box:hover) .phone-badge {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-glow-brand {
  0% { box-shadow: 0 0 0 0 rgba(86, 135, 183, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(86, 135, 183, 0); }
  100% { box-shadow: 0 0 0 0 rgba(86, 135, 183, 0); }
}

/* ==========================================
   CLIENT TESTIMONIALS
   ========================================== */
.reviews-section {
  padding: 80px 0;
}
.reviews-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 20px 0;
}

.reviews-marquee-wrapper::before,
.reviews-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 10;
  pointer-events: none;
}

.reviews-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.reviews-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll-marquee 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 15px));
  }
}

.review-card {
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 16px;
}

.review-star {
  width: 20px;
  height: 20px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.6;
}

.review-client {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--glass-border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  object-fit: cover;
}

.client-info {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.client-company {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 600;
}

/* ==========================================
   CLOSING CTA BANNER
   ========================================== */
.cta-section {
  padding: 80px 0;
  position: relative;
}

.cta-banner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.cta-glass-box {
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius-xl);
}

/* Background mesh glow inside CTA banner */
.cta-glass-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--accent-primary-rgb), 0.15) 0%, transparent 80%);
  z-index: -1;
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
  max-width: 800px;
}

.cta-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: var(--bg-secondary);
  padding: 80px 0 30px 0;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 320px;
}

.footer-status-pill {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: #10b981;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-link {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-primary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-btn:hover {
  border-color: var(--glass-border-hover);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-features {
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .premium-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pane-chat-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  /* Reduce and lock section padding on mobile */
  .services-section,
  .why-section,
  .showcase-section,
  .timeline-section,
  .industries-section,
  .stats-section,
  .reviews-section,
  .cta-section {
    padding: 60px 0;
  }

  /* Responsive header */
  .header-cta-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .mobile-menu-toggle {
    display: flex;
    border: none;
    background: transparent;
    padding: 4px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-primary);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid var(--glass-border);
    padding: 40px;
    display: none;
    justify-content: center;
    z-index: 999;
  }

  .main-nav.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Showcase Sandbox mobile optimization */
  .showcase-tabs {
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 10px;
  }

  .tab-btn {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.78rem;
    white-space: nowrap; /* Prevent double-line wrapping on mobile */
  }

  .tab-btn:last-child {
    flex: 1 1 100%;
  }

  .view-content-pane {
    padding: 20px 16px;
  }

  /* Truncate long header titles inside showcase screen on mobile */
  .view-title-display {
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .view-indicator-pill {
    white-space: nowrap; /* Prevent Sandbox Mode from wrapping to 2 lines */
  }

  /* Prevent floats from overflowing body horizontally on mobile */
  .float-card-1 {
    top: 5% !important;
    left: 10px !important;
  }

  .float-card-2 {
    bottom: 5% !important;
    right: 10px !important;
  }

  /* Stack nodes vertically and hide connectors on mobile */
  .pane-flow-wrapper {
    height: auto;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 10px 0;
  }

  .flow-node {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100%;
    margin: 0;
  }

  .svg-connections-layer {
    display: none;
  }

  /* Rest of mobile grid layouts */
  .pipeline-timeline::before {
    left: 15px;
  }

  .timeline-item {
    display: block; /* Convert from flex to block to prevent layout offsets pushing past edges */
    width: 100%;
    margin-bottom: 40px;
  }

  .timeline-item:nth-child(even) {
    display: block;
  }

  .timeline-dot {
    left: 15px;
    top: 24px;
  }

  .timeline-card {
    width: calc(100% - 35px);
    margin-left: 35px;
    margin-right: 0;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .premium-stats-grid {
    grid-template-columns: 1fr;
  }

  .pane-voice-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* CTA responsive styling */
  .cta-glass-box {
    padding: 30px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cta-buttons .glass-btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer styling on mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  /* WhatsApp support widget placement on mobile */
  .whatsapp-widget {
    bottom: 18px;
    right: 18px;
  }
  .whatsapp-icon-box {
    width: 50px;
    height: 50px;
  }
  .whatsapp-badge {
    display: none;
  }
  .phone-widget {
    bottom: 18px;
    left: 18px;
  }
  .phone-icon-box {
    width: 50px;
    height: 50px;
  }
  .phone-badge {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-cta-btn {
    display: none;
  }

  /* Optimize showcase layout for small screens (below 480px) */
  .showcase-container {
    padding: 0 12px;
  }

  .showcase-view-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
  }

  .view-controls {
    width: 100%;
    justify-content: space-between;
  }

  .view-title-display {
    max-width: none; /* Do not truncate when stacked */
  }

  .view-content-pane {
    padding: 16px 12px;
  }

  /* Make sure figures in stats cards don't cut off */
  .stat-min-card {
    padding: 12px;
  }

  .stat-min-num {
    font-size: 1.35rem; /* Allow numbers to scale down on smaller widths */
  }

  /* Allow the chat input box to shrink dynamically without overflowing */
  .chat-viewport-module {
    max-width: 100%;
  }

  .chat-input-bar-module {
    padding: 12px 14px;
    gap: 8px;
  }

  .chat-input-bar-module input {
    min-width: 0;
    width: 100%;
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .chat-input-bar-module button {
    padding: 8px 14px !important;
    font-size: 0.8rem;
  }
}

/* ==========================================
   PORTFOLIO PAGE STYLING
   ========================================== */
.portfolio-hero {
  padding: calc(var(--header-height) + 60px) 0 60px 0;
  text-align: center;
  position: relative;
}

.portfolio-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 24px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.portfolio-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.portfolio-section {
  padding: 80px 0;
  position: relative;
}

.portfolio-section.case-studies-section {
  background: rgba(255, 255, 255, 0.005);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
}

/* Portfolio Cards general */
.portfolio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Agent Demos styling */
.agent-status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5;
}

.agent-name {
  font-size: 1.35rem;
  text-align: left;
  margin-bottom: 4px;
}

.agent-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.agent-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: left;
  margin-bottom: 24px;
  line-height: 1.5;
  flex-grow: 1;
}

.agent-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
}

.agent-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.agent-bullets .bullet-chk {
  width: 16px;
  height: 16px;
  color: var(--accent-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.agent-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* Custom Case Studies styling */
.case-image-wrapper {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--glass-border);
  background: var(--bg-secondary);
  position: relative;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.portfolio-card:hover .case-img {
  transform: scale(1.05);
}

.case-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-secondary);
  margin-bottom: 8px;
}

.case-card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.case-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Case Study Detail Popup Lightbox Modal */
.case-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2000;
  padding: 20px;
}

.case-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.case-modal-content {
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--bg-primary);
  border: 1px solid var(--bg-tertiary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-modal-overlay.active .case-modal-content {
  transform: scale(1) translateY(0);
}

.case-modal-content::-webkit-scrollbar {
  width: 6px;
}

.case-modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-pill);
}

.case-modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
}

.case-modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.modal-body-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-secondary);
}

.modal-title {
  font-size: 1.8rem;
  margin-top: -8px;
  margin-bottom: 8px;
}

.case-detail-row {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-detail-row strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.case-flow-box {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--glass-border);
  padding: 16px;
  border-radius: var(--radius-sm);
}

.case-flow-box h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.case-flow-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-flow-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.case-flow-list .bullet-chk {
  width: 14px;
  height: 14px;
  color: var(--accent-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.case-footer {
  display: flex;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
}

.case-toggle-btn {
  flex: 1;
  font-size: 0.85rem;
  justify-content: center;
  padding: 10px 12px;
  white-space: nowrap;
}

.case-cta-btn {
  flex: 1;
  font-size: 0.85rem;
  justify-content: center;
  padding: 10px 16px;
}

/* ==========================================
   PORTFOLIO RESPONSIVE BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .portfolio-hero {
    padding: calc(var(--header-height) + 40px) 0 40px 0;
  }
  
  .portfolio-section {
    padding: 60px 0;
  }
  
  .case-footer {
    flex-direction: column;
    gap: 10px;
  }
  
  .case-toggle-btn, .case-cta-btn {
    width: 100%;
  }
}

/* ==========================================
   ABOUT PAGE CUSTOM STYLES
   ========================================== */
.about-hero {
  padding: calc(var(--header-height) + 80px) 0 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.1;
  margin-top: 16px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.about-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-section {
  padding: 80px 0;
  position: relative;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-card {
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
}

.about-card-icon-box {
  width: 56px;
  height: 56px;
  background: var(--badge-bg);
  color: var(--accent-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
}

.about-card-icon-box svg {
  width: 28px;
  height: 28px;
}

.about-card-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-weight: 800;
}

.about-card-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pillar-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.15), rgba(var(--accent-secondary-rgb), 0.15));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.pillar-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-container {
  max-width: 800px;
  margin: 40px auto 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.timeline-container::before {
  display: none;
}

.timeline-container .timeline-step {
  display: flex;
  gap: 30px;
  position: relative;
}

.timeline-container .timeline-step::after {
  content: '';
  position: absolute;
  top: 29px; /* center of step-num circle */
  left: 28px;
  width: 2px;
  height: calc(100% + 40px); /* spans down to next circle center */
  background: var(--timeline-line-color);
  z-index: 1;
}

.timeline-container .timeline-step:last-child::after {
  display: none;
}

.step-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-primary);
  color: var(--text-primary);
  font-weight: 800;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.step-content {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px;
  flex-grow: 1;
  box-shadow: var(--glass-shadow);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: none;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
  text-transform: none;
}

.stats-section {
  padding: 60px 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-stat-item {
  text-align: center;
  padding: 32px;
}

.about-stat-item .stat-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 8px;
}

.about-stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .mission-vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  .about-card {
    padding: 32px;
  }
  .timeline-container .timeline-step::after {
    left: 20px;
    top: 21px;
  }
  .step-num {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }
  .timeline-container .timeline-step {
    gap: 16px;
  }
  .step-content {
    padding: 20px;
  }
}

/* ==========================================
   BLOG PAGE STYLES
   ========================================== */
.blog-hero {
  padding: 140px 0 60px 0;
  text-align: center;
  position: relative;
  z-index: 10;
}

.blog-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.filter-btn.active {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(var(--accent-primary-rgb), 0.4);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.blog-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.premium-3d {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.premium-3d:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--glass-border-hover);
}

.blog-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

.mesh-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.blog-card:hover .mesh-placeholder {
  transform: scale(1.08);
}
.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.blog-card:hover .blog-img {
  transform: scale(1.08);
}

/* Mesh gradients for placeholders */
.mesh-blue { background: radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.4) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(14, 165, 233, 0.4) 0px, transparent 50%), var(--bg-tertiary); }
.mesh-purple { background: radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.4) 0px, transparent 50%), radial-gradient(at 0% 100%, rgba(99, 102, 241, 0.4) 0px, transparent 50%), var(--bg-tertiary); }
.mesh-emerald { background: radial-gradient(at 0% 100%, rgba(16, 185, 129, 0.4) 0px, transparent 50%), radial-gradient(at 100% 0%, rgba(20, 184, 166, 0.4) 0px, transparent 50%), var(--bg-tertiary); }
.mesh-sunset { background: radial-gradient(at 100% 100%, rgba(244, 63, 94, 0.4) 0px, transparent 50%), radial-gradient(at 0% 0%, rgba(249, 115, 22, 0.4) 0px, transparent 50%), var(--bg-tertiary); }
.mesh-ocean { background: radial-gradient(at 50% 50%, rgba(6, 182, 212, 0.4) 0px, transparent 50%), radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.4) 0px, transparent 50%), var(--bg-tertiary); }
.mesh-dark { background: radial-gradient(at 0% 0%, rgba(100, 116, 139, 0.4) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(15, 23, 42, 0.8) 0px, transparent 50%), var(--bg-secondary); }

.blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--badge-bg);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--badge-text);
}

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.dot-separator {
  color: var(--accent-primary);
  font-weight: 800;
}

.blog-title {
  font-size: 1.3rem;
  font-family: var(--font-heading);
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-title {
  color: var(--accent-primary);
}

.blog-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.read-more-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: gap var(--transition-fast);
}

.read-more-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.blog-card:hover .read-more-link {
  gap: 12px;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.page-num-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-primary);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-num-btn:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--glass-border);
}

.page-num-btn.active {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(var(--accent-primary-rgb), 0.3);
}

.page-nav-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

.page-nav-btn svg {
  width: 20px;
  height: 20px;
}

.page-ellipsis {
  color: var(--text-secondary);
  font-weight: 700;
}

/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */
.contact-section {
  padding: 140px 0 80px 0;
  position: relative;
  z-index: 10;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: flex-start;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-radius: var(--radius-lg);
}

.info-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--accent-primary-rgb), 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon-box svg {
  width: 24px;
  height: 24px;
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-title {
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

.info-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.info-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.info-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.info-link:hover svg {
  transform: translateX(4px) translateY(-4px);
}

.live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.map-placeholder {
  width: 100%;
  height: 100px;
  margin-top: 12px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%), var(--bg-tertiary);
  border: 1px dashed var(--glass-border);
  position: relative;
  overflow: hidden;
}

.map-placeholder::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(var(--accent-primary-rgb), 0.2);
  animation: pulse-glow 2s infinite;
}

.contact-form-wrapper {
  padding: 48px;
}

.form-heading {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  margin-bottom: 12px;
}

.form-subheading {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.liquid-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.liquid-input-group {
  position: relative;
}

.liquid-input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
}

.liquid-textarea {
  resize: vertical;
  min-height: 120px;
}

.liquid-input:focus {
  outline: none;
  border-color: var(--input-border-focus);
  background: var(--input-bg-focus);
  box-shadow: 0 0 0 4px rgba(var(--accent-primary-rgb), 0.1);
}

.liquid-label {
  position: absolute;
  left: 20px;
  top: 16px;
  color: var(--text-secondary);
  font-size: 1rem;
  pointer-events: none;
  transition: all var(--transition-fast);
}

/* Float label on focus or when valid (has input) */
.liquid-input:focus ~ .liquid-label,
.liquid-input:valid ~ .liquid-label {
  top: -10px;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--bg-secondary);
  padding: 0 8px;
  border-radius: 4px;
}

.static-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.radio-card input {
  display: none;
}

.radio-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.radio-content svg {
  width: 28px;
  height: 28px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.radio-card:hover .radio-content {
  background: var(--input-bg-focus);
  border-color: var(--accent-primary);
}

.radio-card input:checked + .radio-content {
  background: rgba(var(--accent-primary-rgb), 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.radio-card input:checked + .radio-content svg {
  color: var(--accent-primary);
}

.form-submit-btn {
  width: fit-content;
  padding: 14px 32px;
  font-size: 1rem;
  margin-top: 10px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.form-submit-btn .btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.form-submit-btn:hover .btn-icon {
  transform: translateX(4px) translateY(-4px);
}

/* ==========================================
   RESPONSIVE OVERRIDES FOR BLOG & CONTACT
   ========================================== */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .radio-group {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    padding: 32px 24px;
  }
}

/* ==========================================
   SINGLE ARTICLE / BLOG POST LAYOUT STYLES
   ========================================== */
.article-section {
  padding: 140px 0 80px 0;
  position: relative;
  z-index: 10;
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.article-breadcrumbs a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  font-weight: 500;
}

.article-breadcrumbs a:hover {
  color: var(--accent-primary);
}

.article-breadcrumbs svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

.current-crumb {
  color: var(--text-primary);
  font-weight: 600;
}

.article-header {
  margin-bottom: 40px;
}

.article-header .blog-category {
  position: static;
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
}

.article-title {
  font-size: 2.8rem;
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.author-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 4px 12px 4px 4px;
  border-radius: var(--radius-pill);
}

.author-avatar {
  width: 28px;
  height: 28px;
  background: var(--accent-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.75rem;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.article-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.article-body {
  padding: 48px;
  border-radius: var(--radius-lg);
  min-width: 0;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.article-body p.lead-text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 500;
}

.article-body h2 {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-body h3 {
  font-size: 1.4rem;
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
  color: var(--text-secondary);
}

.article-body li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1.05rem;
}

.article-body pre {
  background: var(--code-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
  overflow-x: auto;
}

.article-body code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  color: var(--code-color);
}

.article-table-container {
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.article-body th, .article-body td {
  padding: 16px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--glass-border);
}

.article-body th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: var(--text-primary);
}

.article-body td {
  color: var(--text-secondary);
}

.article-body tr:last-child td {
  border-bottom: none;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  padding: 32px;
  border-radius: var(--radius-lg);
}

.widget-title {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  margin-bottom: 20px;
  border-left: 3px solid var(--accent-primary);
  padding-left: 12px;
}

.widget-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none !important;
  padding-left: 0 !important;
}

.widget-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}

.widget-category {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-secondary);
  letter-spacing: 0.05em;
}

.widget-post-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.widget-link:hover .widget-post-title {
  color: var(--accent-primary);
}

.newsletter-widget p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-form button {
  width: 100%;
  padding: 14px;
  justify-content: center;
}

/* Responsive overrides for articles */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .article-title {
    font-size: 2rem;
  }
  
  .article-body {
    padding: 24px;
  }
}

/* ==========================================
   CONTACT PAGE PROCESS & FAQ STYLES
   ========================================== */
.contact-process-section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--glass-border);
  overflow: hidden;
}

.faq-section {
  padding: 80px 0 100px 0;
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--glass-border);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.faq-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-trigger {
  width: 100%;
  padding: 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast);
}

.faq-trigger:hover {
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .faq-trigger:hover {
  background: rgba(0, 0, 0, 0.01);
}

.faq-caret {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
  color: var(--accent-primary);
}

.faq-card.active .faq-caret {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 24px;
}

.faq-card.active .faq-content {
  padding: 0 24px 24px 24px;
  max-height: 300px;
}

.faq-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   AI VOICE AGENT PAGE STYLES
   ========================================== */
.voice-hero {
  padding: 160px 0 80px 0;
  position: relative;
  z-index: 10;
  text-align: center;
}

.voice-hero .hero-actions {
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Audio visualizer animations */
.voice-waveform {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  height: 80px;
  margin: 30px auto;
  max-width: 400px;
}

.wave-bar {
  width: 4px;
  height: 10px;
  background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  border-radius: var(--radius-pill);
  animation: bounceBar 1.2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.1s; height: 18px; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; height: 28px; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; height: 40px; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; height: 60px; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; height: 45px; }
.wave-bar:nth-child(7) { animation-delay: 0.6s; height: 30px; }
.wave-bar:nth-child(8) { animation-delay: 0.7s; height: 50px; }
.wave-bar:nth-child(9) { animation-delay: 0.8s; height: 22px; }
.wave-bar:nth-child(10) { animation-delay: 0.9s; height: 12px; }

@keyframes bounceBar {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1.3); }
}

/* Voice sandbox console */
.voice-sandbox-card {
  max-width: 1150px;
  margin: 0 auto;
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
}

.sandbox-console {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 40px;
  align-items: stretch;
}

.sandbox-sidebar {
  border-right: 1px solid var(--glass-border);
  padding-right: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.voice-select-btn {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.voice-select-btn:hover, .voice-select-btn.active {
  background: var(--input-bg-focus);
  border-color: var(--accent-primary);
  box-shadow: 0 0 16px rgba(var(--accent-primary-rgb), 0.15);
}

.voice-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(var(--accent-primary-rgb), 0.3);
}

.voice-details {
  display: flex;
  flex-direction: column;
}

.voice-name {
  font-weight: 700;
  font-family: var(--font-heading);
}

.voice-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.sandbox-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.sandbox-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulseGreen 1.5s infinite alternate;
}

@keyframes pulseGreen {
  0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  100% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.sandbox-transcript {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 220px;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.transcript-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: fadeIn 0.4s ease-out forwards;
}

.line-speaker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.speaker-ai { color: var(--accent-primary); }
.speaker-user { color: var(--accent-secondary); }

.line-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  width: fit-content;
  max-width: 90%;
}

.transcript-line.user-line {
  align-items: flex-end;
}

.transcript-line.user-line .line-text {
  background: rgba(var(--accent-secondary-rgb), 0.05);
  border-color: rgba(var(--accent-secondary-rgb), 0.15);
}

.sandbox-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
  margin-top: 16px;
}

.sandbox-latency {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.latency-value {
  color: #10b981;
  font-weight: 700;
}

/* Pricing Grid Styles */
.pricing-section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 40px;
  position: relative;
  height: 100%;
}

.pricing-card.popular {
  border-color: var(--accent-primary);
  box-shadow: 0 0 32px rgba(var(--accent-primary-rgb), 0.1);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: white;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(var(--accent-primary-rgb), 0.25);
}

.pricing-header {
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 20px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.plan-price {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--text-gradient);
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-period {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.plan-deliverables {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.deliverable-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-cta {
  width: 100%;
  justify-content: center;
  padding: 16px;
  text-decoration: none;
  font-size: 1rem;
}

.plan-delivery {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 12px;
}

/* Add-ons styles */
.addons-section {
  padding: 60px 0 100px 0;
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--glass-border);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.addon-card {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.addon-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.addon-title {
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
}

.addon-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.addon-price {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--accent-primary);
  white-space: nowrap;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .addons-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sandbox-console {
    grid-template-columns: 1fr;
  }
  .sandbox-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    padding-right: 0;
    padding-bottom: 24px;
  }
  .voice-waveform {
    height: 60px;
  }
}

/* Custom Scrollbar for Sandbox Transcript */
.sandbox-transcript::-webkit-scrollbar {
  width: 4px;
}
.sandbox-transcript::-webkit-scrollbar-track {
  background: transparent;
}
.sandbox-transcript::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 4px;
}
.sandbox-transcript::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Voice wave container next to text */
.voice-wave-container {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
  height: 14px;
}

.voice-wave-container span {
  width: 2px;
  height: 4px;
  background: var(--accent-primary);
  border-radius: var(--radius-pill);
  animation: wavePulse 1s ease-in-out infinite alternate;
}

.voice-wave-container span:nth-child(2) { animation-delay: 0.15s; }
.voice-wave-container span:nth-child(3) { animation-delay: 0.3s; }
.voice-wave-container span:nth-child(4) { animation-delay: 0.45s; }
.voice-wave-container span:nth-child(5) { animation-delay: 0.6s; }

.user-line .voice-wave-container span {
  background: var(--accent-secondary);
}

@keyframes wavePulse {
  0% { height: 4px; transform: scaleY(1); }
  100% { height: 14px; transform: scaleY(1.4); }
}

/* Voice Pillars Grid */
.voice-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.voice-pillar-card {
  padding: 28px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  height: 100%;
}

.voice-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-primary-rgb), 0.3);
  box-shadow: 0 12px 32px rgba(var(--accent-primary-rgb), 0.08);
}

.voice-pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(var(--accent-primary-rgb), 0.08);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.voice-pillar-icon-box svg {
  width: 22px;
  height: 22px;
}

.voice-pillar-title {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.voice-pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Slim Primary Border on Active FAQ Card */
.faq-card.active {
  border-color: var(--accent-primary) !important;
  box-shadow: 0 0 24px rgba(var(--accent-primary-rgb), 0.12) !important;
}

/* CTA Layout Enhancement with Info-graphics */
.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  text-align: left;
}

.cta-content-left {
  display: flex;
  flex-direction: column;
}

.cta-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.cta-visual-right {
  display: flex;
  justify-content: center;
  width: 100%;
}

.cta-visual-box {
  width: 100%;
  max-width: 380px;
  padding: 24px;
  background: rgba(13, 18, 30, 0.4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--glass-shadow);
}

[data-theme="light"] .cta-visual-box {
  background: rgba(255, 255, 255, 0.6);
}

.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.visual-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.visual-timer {
  color: var(--accent-primary);
  font-family: monospace;
  font-size: 0.95rem;
}

.visual-waves {
  height: 80px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

[data-theme="light"] .visual-waves {
  background: rgba(0, 0, 0, 0.03);
}

.visual-wave-svg {
  width: 100%;
  height: 100%;
}

.visual-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}

.v-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.v-label {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.v-val {
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

@media (max-width: 1024px) {
  .voice-pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .cta-content-left {
    align-items: center;
  }
}

/* Light Theme Borders and Divider Lines Visibility */
[data-theme="light"] .about-section,
[data-theme="light"] .pricing-section,
[data-theme="light"] .addons-section,
[data-theme="light"] .faq-section,
[data-theme="light"] .sandbox-sidebar,
[data-theme="light"] .sandbox-status,
[data-theme="light"] .sandbox-controls,
[data-theme="light"] .line-text,
[data-theme="light"] .pricing-header,
[data-theme="light"] .visual-stats {
  border-color: rgba(15, 23, 42, 0.12) !important;
}

/* Light Theme Scrollbar for Live Playground */
[data-theme="light"] .sandbox-transcript::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
}

/* Mobile Responsiveness Overrides (max-width: 768px) */
@media (max-width: 768px) {
  /* Sandbox Card Sizing & Padding */
  .voice-sandbox-card {
    padding: 20px !important;
  }
  .sandbox-controls {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .sandbox-controls button {
    width: 100%;
  }

  /* Full-width Testimonials Marquee on Mobile */
  .reviews-marquee-wrapper {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 20px 0 !important;
  }

  /* Add-ons Stacked Layout */
  .addon-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .addon-price {
    align-self: flex-start;
  }

  /* CTA Section Padding & Buttons */
  .cta-glass-box {
    padding: 40px 20px !important;
  }
  .cta-ctas {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .cta-ctas .glass-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }
}

/* ==========================================================================
   AI VOICE AGENT TELEPHONY INTERFACE & METRICS
   ========================================================================== */
.voice-call-dashboard {
  background: rgba(10, 15, 26, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--glass-shadow);
  height: 100%;
}
[data-theme="light"] .voice-call-dashboard {
  background: rgba(255, 255, 255, 0.45);
}

.active-call-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
}
.call-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.call-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: 0.1em;
}
.call-number {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: monospace;
}
.call-timer-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}
[data-theme="light"] .call-timer-box {
  background: rgba(0, 0, 0, 0.02);
}
.pulse-red-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulseRedTimer 1s infinite alternate;
}
@keyframes pulseRedTimer {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}
.call-duration {
  font-family: monospace;
  font-weight: 700;
  font-size: 0.9rem;
}

.active-call-visualizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px 0;
}
.phone-dialer-orb {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb-pulse-ring {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
  opacity: 0;
  animation: dialerRing 2s infinite linear;
}
.ring-2 { animation-delay: 0.6s; }
.ring-3 { animation-delay: 1.2s; }
.orb-avatar-inner {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: white;
  font-size: 1.5rem;
  z-index: 5;
  box-shadow: 0 4px 16px rgba(var(--accent-primary-rgb), 0.3);
}
@keyframes dialerRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.telephony-sound-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
}
.telephony-sound-wave span {
  width: 3px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: var(--radius-pill);
  animation: phoneSoundWave 1.2s infinite ease-in-out alternate;
}
.telephony-sound-wave span:nth-child(even) {
  background: var(--accent-secondary);
  animation-delay: 0.2s;
}
.telephony-sound-wave span:nth-child(3n) {
  animation-delay: 0.4s;
}
@keyframes phoneSoundWave {
  0% { height: 8px; }
  100% { height: 36px; }
}

.telephony-captions-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0,0,0,0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--glass-border);
}
[data-theme="light"] .telephony-captions-box {
  background: rgba(255, 255, 255, 0.6);
}
.caption-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 6px;
  margin-bottom: 6px;
}

/* ==========================================================================
   AI CHATBOT WIDGET SIMULATOR UI
   ========================================================================= */
.chatbot-widget-window {
  background: rgba(10, 15, 26, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
[data-theme="light"] .chatbot-widget-window {
  background: rgba(255, 255, 255, 0.6);
}

.chat-header-bar {
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
}
[data-theme="light"] .chat-header-bar {
  background: rgba(15, 23, 42, 0.02);
}
.chat-agent-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar-ring {
  position: relative;
}
.chat-avatar-status {
  position: absolute;
  bottom: 0; right: 0;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid rgba(10, 15, 26, 0.95);
  border-radius: 50%;
}
.chat-agent-meta {
  display: flex;
  flex-direction: column;
}
.chat-agent-name {
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-heading);
}
.chat-agent-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.chat-window-controls {
  display: flex;
  gap: 10px;
  color: var(--text-tertiary);
}

.chat-transcript-scroller {
  flex-grow: 1;
  overflow-y: auto;
  height: 240px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-bubble-row {
  display: flex;
  gap: 12px;
  max-width: 85%;
  animation: fadeInBubble 0.4s ease-out forwards;
}
.chat-bubble-row.user-bubble {
  align-self: flex-end;
  flex-direction: row-reverse;
  max-width: 80%;
}
.chat-bubble-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: white;
  flex-shrink: 0;
  margin-top: 4px;
}
.chat-bubble-text {
  padding: 12px 16px;
  border-radius: 0 16px 16px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  font-size: 0.9rem;
  line-height: 1.5;
}
.chat-bubble-row.user-bubble .chat-bubble-text {
  border-radius: 16px 0 16px 16px;
  background: rgba(var(--accent-secondary-rgb), 0.08);
  border-color: rgba(var(--accent-secondary-rgb), 0.2);
}
@keyframes fadeInBubble {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.chat-quick-replies {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.01);
}
.reply-pill-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.reply-pill-btn:hover {
  background: var(--input-bg-focus);
  color: var(--text-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 2px 10px rgba(var(--accent-primary-rgb), 0.1);
}

.chat-input-placeholder {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--glass-border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
[data-theme="light"] .chat-input-placeholder {
  background: rgba(15, 23, 42, 0.01);
}
.chat-input-placeholder input {
  background: transparent;
  border: none;
  width: 80%;
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
}

.chat-typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 0 16px 16px 16px;
  width: fit-content;
}
.chat-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-tertiary);
  animation: chatTypingDot 1.4s infinite both;
}
.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatTypingDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* ==========================================================================
   CUSTOM AI AGENT WORKFLOW BUILDER UI
   ========================================================================== */
.workflow-builder-window {
  background: rgba(10, 15, 26, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--glass-shadow);
  height: 100%;
}
[data-theme="light"] .workflow-builder-window {
  background: rgba(255, 255, 255, 0.6);
}

.workflow-grid-nodes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding: 10px 0;
}
.workflow-grid-nodes::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-primary) 0%, rgba(var(--accent-primary-rgb), 0.1) 100%);
  z-index: 1;
}

.workflow-node-item {
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 5;
  animation: fadeIn 0.4s ease-out forwards;
}
.node-circle-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--input-bg-focus);
  border: 3px solid var(--glass-border);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.workflow-node-item.active .node-circle-indicator {
  background: var(--accent-primary);
  border-color: rgba(var(--accent-primary-rgb), 0.2);
  box-shadow: 0 0 12px var(--accent-primary);
}
.workflow-node-item.success .node-circle-indicator {
  background: #10b981;
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 0 10px #10b981;
}

.node-container-box {
  flex-grow: 1;
  padding: 12px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
}
[data-theme="light"] .node-container-box {
  background: rgba(0, 0, 0, 0.01);
}
.workflow-node-item.active .node-container-box {
  background: rgba(var(--accent-primary-rgb), 0.04);
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(var(--accent-primary-rgb), 0.08);
}
.workflow-node-item.success .node-container-box {
  background: rgba(16, 185, 129, 0.03);
  border-color: #10b981;
}

.node-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.node-label-title {
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-heading);
}
.node-desc-text {
  font-size: 0.76rem;
  color: var(--text-secondary);
}
.node-status-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}
.workflow-node-item.active .node-status-badge {
  background: rgba(var(--accent-primary-rgb), 0.15);
  color: var(--accent-primary);
}
.workflow-node-item.success .node-status-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.human-gate-prompt-card {
  background: rgba(var(--accent-secondary-rgb), 0.08);
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: pulseSecRing 2s infinite alternate;
}
@keyframes pulseSecRing {
  0% { box-shadow: 0 0 4px rgba(var(--accent-secondary-rgb), 0.1); }
  100% { box-shadow: 0 0 12px rgba(var(--accent-secondary-rgb), 0.25); }
}
.human-gate-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gate-title {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent-secondary);
}
.gate-desc {
  font-size: 0.74rem;
  color: var(--text-secondary);
}
.gate-actions-row {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   CTA GAUGE & DEFLECTION INFOGRAPHICS (HIGH IMPACT)
   ========================================================================== */
.radial-gauge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 140px;
  height: 140px;
}
.gauge-svg {
  transform: rotate(-90deg);
}
.gauge-background-circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 8;
}
[data-theme="light"] .gauge-background-circle {
  stroke: rgba(0, 0, 0, 0.05);
}
.gauge-active-circle {
  fill: none;
  stroke: var(--accent-primary);
  stroke-width: 8;
  stroke-dasharray: 339;
  stroke-dashoffset: 339;
  stroke-linecap: round;
  transition: stroke-dashoffset 2s ease-in-out;
}
.gauge-text-center {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gauge-big-num {
  font-size: 1.6rem;
  font-weight: 900;
  font-family: var(--font-heading);
}
.gauge-small-label {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.analytics-funnel-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.funnel-level-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.funnel-bar-fill {
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-primary);
  transition: width 1.5s ease-in-out;
}
.funnel-val-text {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: monospace;
}

/* Custom premium scrollbar for simulator windows */
.chat-transcript-scroller,
.sandbox-transcript,
.terminal-logs {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--accent-primary-rgb), 0.35) transparent;
}
[data-theme="light"] .chat-transcript-scroller,
[data-theme="light"] .sandbox-transcript,
[data-theme="light"] .terminal-logs {
  scrollbar-color: rgba(15, 23, 42, 0.2) transparent;
}

.chat-transcript-scroller::-webkit-scrollbar,
.sandbox-transcript::-webkit-scrollbar,
.terminal-logs::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
}
.chat-transcript-scroller::-webkit-scrollbar-track,
.sandbox-transcript::-webkit-scrollbar-track,
.terminal-logs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02) !important;
  border-radius: 3px !important;
}
[data-theme="light"] .chat-transcript-scroller::-webkit-scrollbar-track,
[data-theme="light"] .sandbox-transcript::-webkit-scrollbar-track,
[data-theme="light"] .terminal-logs::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.02) !important;
}
.chat-transcript-scroller::-webkit-scrollbar-thumb,
.sandbox-transcript::-webkit-scrollbar-thumb,
.terminal-logs::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-primary-rgb), 0.35) !important;
  border-radius: 3px !important;
  border: 1px solid transparent !important;
}
.chat-transcript-scroller::-webkit-scrollbar-thumb:hover,
.sandbox-transcript::-webkit-scrollbar-thumb:hover,
.terminal-logs::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-primary-rgb), 0.55) !important;
}



/* ==============================================
   PROSPERLION BRAND OVERRIDES
   ============================================== */

/* Logo theme switching */
.logo-for-dark  { display: none !important; }
[data-theme="dark"] .logo-for-light { display: none !important; }
[data-theme="dark"] .logo-for-dark  { display: inline-block !important; }

/* Desktop logo sizing */
.site-header .site-logo,
.site-footer .site-logo {
  height: 50px !important;
  max-width: 210px !important;
  object-fit: contain !important;
  width: auto !important;
}

/* Mobile logo sizing */
@media (max-width: 768px) {
  .site-header .site-logo,
  .site-footer .site-logo {
    height: 42px !important;
    max-width: 170px !important;
  }
}

/* WooCommerce image reset override */
.site-header .logo-wrapper .site-logo,
.site-footer .logo-wrapper .site-logo {
  height: 50px !important;
  max-width: 210px !important;
  object-fit: contain !important;
  width: auto !important;
}

/* Floating badge legibility */
.floating-element,
.float-card-1,
.float-card-2 {
  background: rgba(6, 17, 43, 0.82) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-color: rgba(86, 135, 183, 0.3) !important;
}
.float-label,
.float-val,
.float-text,
.float-icon {
  color: #EEF3F8 !important;
}

/* Mesh gradient — ProsperLion palette */
:root {
  --mesh-gradient: radial-gradient(circle at 15% 15%, rgba(15, 76, 129, 0.06) 0%, transparent 60%),
                   radial-gradient(circle at 85% 10%, rgba(86, 135, 183, 0.06) 0%, transparent 60%),
                   radial-gradient(circle at 50% 80%, rgba(6, 17, 43, 0.08) 0%, transparent 70%);
}
[data-theme="dark"] {
  --mesh-gradient: radial-gradient(circle at 15% 15%, rgba(86, 135, 183, 0.08) 0%, transparent 60%),
                   radial-gradient(circle at 85% 10%, rgba(15, 76, 129, 0.08) 0%, transparent 60%),
                   radial-gradient(circle at 50% 80%, rgba(194, 213, 232, 0.05) 0%, transparent 70%);
  --glass-border: rgba(86, 135, 183, 0.14);
  --glass-border-hover: rgba(86, 135, 183, 0.28);
  --card-bg: rgba(4, 11, 24, 0.65);
}


/* ==============================================
   RESPONSIVE TABLE CONTAINER STYLES
   ============================================== */
.article-table-container,
.responsive-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.article-table-container table,
.responsive-table-wrapper table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.article-table-container th,
.responsive-table-wrapper th {
  background: rgba(15, 76, 129, 0.12);
  color: var(--text-primary);
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid var(--glass-border);
}

.article-table-container td,
.responsive-table-wrapper td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

.article-table-container tr:last-child td,
.responsive-table-wrapper tr:last-child td {
  border-bottom: none;
}

.article-table-container tr:hover td,
.responsive-table-wrapper tr:hover td {
  background: rgba(86, 135, 183, 0.05);
}


/* ==============================================
   FOOTER CONTACT INFO COLUMN STYLES
   ============================================== */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-contact-icon {
  flex-shrink: 0;
  color: var(--accent-primary);
  opacity: 0.9;
}

.footer-contact-link,
.footer-contact-item a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  text-decoration: none;
  padding-bottom: 2px;
  transform: none !important;
  transition: color var(--transition-fast);
}

.footer-contact-link::after,
.footer-contact-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-pill);
  transition: width var(--transition-fast);
}

.footer-contact-link:hover,
.footer-contact-item a:hover {
  color: var(--text-primary);
  transform: none !important;
}

.footer-contact-link:hover::after,
.footer-contact-item a:hover::after {
  width: 100%;
}


/* Explicit Hero Button Styling */
.hero-section .btn-primary {
  background: var(--grad-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(127, 0, 255, 0.25);
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-normal);
  border: none;
  cursor: pointer;
}
.hero-section .btn-primary:hover {
  background: var(--grad-primary-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(127, 0, 255, 0.4);
  color: #ffffff !important;
}

.hero-section .btn-secondary {
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main) !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-normal);
}
.hero-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
  color: var(--text-main) !important;
}

[data-theme="light"] .hero-section .btn-secondary {
  background: rgba(0, 0, 0, 0.04);
  color: #06112B !important;
  border-color: rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .hero-section .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #06112B !important;
}



/* Hero Container Max-Width & Grid Polish */
.hero-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  margin-bottom: 24px;
}

.hero-section .hero-cta-group .btn-primary {
  background: linear-gradient(135deg, #7f00ff 0%, #00f2fe 100%) !important;
  color: #ffffff !important;
  padding: 14px 34px !important;
  border-radius: 100px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 25px rgba(127, 0, 255, 0.35) !important;
  border: none !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-section .hero-cta-group .btn-primary:hover {
  background: linear-gradient(135deg, #9122ff 0%, #2bf7ff 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 15px 35px rgba(127, 0, 255, 0.5) !important;
  color: #ffffff !important;
}

.hero-section .hero-cta-group .btn-secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  padding: 14px 34px !important;
  border-radius: 100px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  backdrop-filter: blur(10px) !important;
}

.hero-section .hero-cta-group .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

[data-theme="light"] .hero-section .hero-cta-group .btn-secondary {
  background: rgba(0, 0, 0, 0.04) !important;
  color: #06112B !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .hero-section .hero-cta-group .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.08) !important;
  color: #06112B !important;
}



/* =========================================================
   HERO CTA BUTTONS HIGH SPECIFICITY STYLING
   ========================================================= */
.hero-section .hero-cta-group {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  margin-top: 10px !important;
  margin-bottom: 30px !important;
}

.hero-section .hero-cta-group a.btn-primary,
.hero-section a.btn-primary.btn-large,
.hero-section .btn-primary {
  background: linear-gradient(135deg, #7f00ff 0%, #00f2fe 100%) !important;
  color: #ffffff !important;
  padding: 16px 36px !important;
  border-radius: 100px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(127, 0, 255, 0.35) !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-section .hero-cta-group a.btn-primary:hover,
.hero-section a.btn-primary.btn-large:hover,
.hero-section .btn-primary:hover {
  background: linear-gradient(135deg, #9122ff 0%, #2bf7ff 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 15px 40px rgba(127, 0, 255, 0.5) !important;
  color: #ffffff !important;
}

.hero-section .hero-cta-group a.btn-secondary,
.hero-section a.btn-secondary,
.hero-section .btn-secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  padding: 16px 36px !important;
  border-radius: 100px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  backdrop-filter: blur(10px) !important;
}

.hero-section .hero-cta-group a.btn-secondary:hover,
.hero-section a.btn-secondary:hover,
.hero-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

[data-theme="light"] .hero-section .hero-cta-group a.btn-secondary,
[data-theme="light"] .hero-section .btn-secondary {
  background: rgba(0, 0, 0, 0.04) !important;
  color: #06112B !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .hero-section .hero-cta-group a.btn-secondary:hover,
[data-theme="light"] .hero-section .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.08) !important;
  color: #06112B !important;
}



/* =========================================================
   HERO DEDICATED BUTTONS & VIBRANT GRADIENT COLORS
   ========================================================= */
.hero-cta-group {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  margin-top: 10px !important;
  margin-bottom: 30px !important;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #7f00ff 0%, #00f2fe 100%) !important;
  color: #ffffff !important;
  padding: 16px 36px !important;
  border-radius: 100px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(127, 0, 255, 0.4), 0 0 20px rgba(0, 242, 254, 0.25) !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #9122ff 0%, #2bf7ff 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 15px 40px rgba(127, 0, 255, 0.55), 0 0 30px rgba(0, 242, 254, 0.4) !important;
  color: #ffffff !important;
}

