/* 
   Jesto Enterprise Design System
   Primary Color: #0030DB (Deep Royal Blue)
*/

:root {
    --primary-color: #0030DB;
    --light-blue: #00BEFF;
    --purple: #9E5EE5;
    --gradient: #0030DB;
    --gradient-h: #0030DB;
    --gradient-btn: #0030DB;
    --primary-light: rgba(0, 48, 219, 0.06);
    --text-main: #1D1D1F;
    --text-muted: #6E6E73;
    --bg-white: #FFFFFF;
    --bg-light: #F5F5F7;
    --border-color: #E5E5E5;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.12);
    --max-width: 1400px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Responsive Typography Scale */
    --fs-display: clamp(2.5rem, 7vw, 4rem); /* 40px to 64px */
    --fs-h2: clamp(2rem, 5vw, 2.75rem);      /* 32px to 44px */
    --fs-h3: clamp(1.5rem, 3vw, 1.75rem);    /* 24px to 28px */
    --fs-body: 1.125rem;                     /* 18px */
    --fs-subtitle: 1.25rem;                  /* 20px */
}

/* --- GLOBAL TYPOGRAPHY STANDARDIZATION --- */
h1 { font-size: var(--fs-display) !important; }
h2, .section-header h2, .feature-content h2, .chat-welcome h2, .ecosystem-header h2 { font-size: var(--fs-h2) !important; }
h3, .proof-text h3, .view-header h3, .card-header h3, .eco-cat-header h3 { font-size: var(--fs-h3) !important; }

.section-header p, .feature-content p, .hero-content p, .product-hero-content p, .ecosystem-header p {
    font-size: var(--fs-body) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 100px 0 0;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
    text-align: left;
}

/* ----- Centered Home Hero (inspired by Project Management hero) ----- */
.home-hero-centered {
    padding: 60px 0 60px;
    background: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.home-hero-centered .container {
    max-width: 1400px;
}

.home-hero-centered::before,
.home-hero-centered::after { display: none; }

.home-hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
                      linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

.home-hero-centered .container {
    position: relative;
    z-index: 2;
}

.home-hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}

.home-hero-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #FFFBEB;
    border: 1px solid #FEF3C7;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #92400E;
}

.home-hero-stars {
    color: #F59E0B;
    display: inline-flex;
    gap: 2px;
}

.home-hero-centered h1 {
    font-size: clamp(40px, 5vw, 72px) !important;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -2.2px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.home-hero-centered h1 .text-blue { color: var(--primary-color); }

.home-hero-subtitle {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 820px;
    margin: 0 auto 44px;
}

.home-hero-checklist {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 48px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.home-hero-check-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

.home-hero-check-item i { color: #10B981; }

.home-hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.home-hero-proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.home-hero-proof-label {
    font-size: 12px;
    font-weight: 800;
    color: #94A3B8;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.home-hero-proof-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.home-hero-proof-item {
    font-size: 17px;
    font-weight: 700;
    color: #475569;
}

.home-hero-proof-divider {
    width: 1px;
    height: 16px;
    background: #CBD5E1;
}

@media (max-width: 900px) {
    .home-hero-centered { padding: 80px 0 56px; }
    .home-hero-centered h1 { font-size: 44px; letter-spacing: -1px; }
    .home-hero-subtitle { font-size: 17px; }
    .home-hero-checklist { gap: 16px; }
    .home-hero-btns { flex-direction: column; align-items: stretch; }
}

/* Electric Blue Design Elements */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 100%;
    background: none;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 40%;
    height: 60%;
    background: none;
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
}

.hero-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    text-align: left;
    
}

.hero-content {
    
    margin-bottom: 80px;
}

.hero-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 48, 219, 0.06);
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 32px;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -2px;
    color: var(--text-main);
}

.product-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    background: rgba(0, 48, 219, 0.08); /* Light deep royal blue */
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 48, 219, 0.15);
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 580px;
}

/* CTAs */
.hero-btns-left {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 48px;
}

.btn-primary-large {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: #0030DB;
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 48, 219, 0.2);
}

.btn-primary-large:hover {
    background: #0025A8;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 48, 219, 0.3);
}

.btn-secondary-large {
    padding: 18px 40px;
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    text-decoration: none;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-secondary-large:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

/* Ratings */
.hero-ratings-left {
    display: flex;
    justify-content: flex-start;
    gap: 32px;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
}

.rating-badge i {
    color: #FFB800;
}

.rating-badge span {
    font-weight: 400;
    color: var(--text-muted);
}

/* --- LIVE SYSTEM PREVIEW --- */
.hero-live-preview {
    width: 100%;
    position: relative;
    z-index: 5;
    perspective: 1500px;
}

.live-preview-window {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12), 0 10px 40px rgba(0, 190, 255, 0.1);
    overflow: hidden;
    position: relative;
}

/* Electric Border Glow */
.live-preview-window::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    padding: 1px;
    background: var(--primary-color);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.hero-live-preview:hover .live-preview-window {
    transform: rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.window-header {
    background: #F8FAFC;
    padding: 12px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 40px;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-controls .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.window-address {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 4px 16px;
    font-size: 11px;
    color: var(--text-muted);
    flex: 0.6;
    text-align: left;
    font-family: monospace;
}

.window-body {
    min-height: 480px;
    background: #F8FAFC;
    position: relative;
}

/* --- HERO LIVE SYSTEM CYCLING MODULES --- */
.live-module {
    padding: 32px;
    height: 100%;
    display: none;
    flex-direction: column;
    animation: moduleFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-module.active {
    display: flex;
}

@keyframes moduleFadeIn {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.module-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.module-title-group i {
    font-size: 20px;
    color: var(--primary-color);
}

.module-title-group h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.live-tag {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recording-badge {
    background: rgba(244, 63, 94, 0.1);
    color: #F43F5E;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rec-dot {
    width: 6px;
    height: 6px;
    background: #F43F5E;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0.3; }
}

.module-main-viz {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.centered-viz {
    align-items: center;
    text-align: center;
}

/* Projects Module Styles */
.project-item {
    margin-bottom: 20px;
}

.project-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.p-progress {
    height: 8px;
    background: #F1F5F9;
    border-radius: 10px;
    overflow: hidden;
}

.p-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 10px;
    transition: width 1.5s ease-out;
}

.p-fill.done { background: #10B981; }

/* CRM Module Styles */
.crm-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.crm-lead {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.lead-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.lead-details { display: flex; flex-direction: column; }
.l-name { font-weight: 700; color: var(--text-main); font-size: 14px; }
.l-value { font-size: 12px; color: var(--text-muted); }

/* Payroll Module Styles */
.status-badge-big {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.p-count-big {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.p-meta { font-size: 14px; color: var(--text-muted); }

/* Expenses Module Styles */
.expense-analytics-viz {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.e-chart-large {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    height: 120px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F1F5F9;
}

.e-bar-big {
    flex: 1;
    background: var(--primary-light);
    border-radius: 4px 4px 0 0;
    min-width: 24px;
    animation: growUp 1s ease-out forwards;
    transform-origin: bottom;
}

.e-bar-big.active { background: var(--primary-color); }

.e-details-big {
    display: flex;
    justify-content: space-around;
}

.e-stat { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.e-stat span { color: var(--text-main); font-weight: 800; display: block; font-size: 20px; margin-top: 4px; }
.e-stat span.e-rem { color: #F43F5E; }

/* Meetings Module Styles */
.ai-meeting-viz {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.speaker-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.speaker-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.transcription-bubble {
    background: #F1F5F9;
    padding: 14px 20px;
    border-radius: 0 16px 16px 16px;
    flex: 1;
}

.transcription-bubble p {
    margin: 0;
    font-size: 14px;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.5;
}

.ai-summary-highlight {
    background: #FFFFFF;
    border: 1px solid rgba(0, 48, 219, 0.1);
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 48, 219, 0.05);
}

.ai-label-tag {
    font-size: 10px;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.typing-effect-hero {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-main);
    min-height: 3em;
}

/* Enhanced Hero Visual Details */
.mini-avatar-group {
    display: flex;
    margin-top: 12px;
    gap: -8px;
}

.mini-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    margin-left: -8px;
}

.mini-avatar:first-child { margin-left: 0; }

.detail-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    background: #F1F5F9;
    color: var(--text-muted);
}

.detail-badge.success { background: rgba(16, 185, 129, 0.1); color: #10B981; }
.detail-badge.warning { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }

.pill-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.action-item-pill {
    background: white;
    border: 1px solid #E2E8F0;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-item-pill i { color: #10B981; font-size: 10px; }

.breakdown-bar {
    height: 6px;
    background: #F1F5F9;
    border-radius: 10px;
    display: flex;
    overflow: hidden;
    margin-top: 12px;
}

.bb-segment { height: 100%; }
.bb-segment.primary { background: var(--primary-color); }
.bb-segment.secondary { background: var(--secondary-color); }
.bb-segment.accent { background: #9E5EE5; }

@keyframes growUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1200px) {
    .container.hero-split-container { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; margin-bottom: 60px; }
    .hero-live-preview { width: 100%; margin: 0; }
}

@media (max-width: 768px) {
    .window-body { min-height: 400px; }
    .live-module { padding: 24px; }
}

/* --- ECOSYSTEM SECTION --- */
.ecosystem-section {
    padding: 120px 0;
    background: #0F172A; /* Deep Navy Corporate Backdrop */
    color: white;
    position: relative;
    overflow: hidden;
}

.ecosystem-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
}

.ecosystem-header {
    text-align: center;
    margin-bottom: 80px;
}

.ecosystem-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.ecosystem-header h2 span {
    color: #818CF8;
}

.ecosystem-header p {
    color: #94A3B8;
    font-size: 18px;
}

.ecosystem-canvas {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.eco-category {
    position: relative;
}

.eco-cat-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.eco-cat-icon {
    width: 40px;
    height: 40px;
    background: rgba(129, 140, 248, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818CF8;
    font-size: 18px;
}

.eco-cat-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #F1F5F9;
    white-space: nowrap;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.eco-cat-line {
    height: 1px;
    background: var(--border-color);
    flex: 1;
}

.eco-product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.eco-product {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.eco-product:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(129, 140, 248, 0.2);
}

.eco-prod-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #F8FAFC;
    margin-bottom: 8px;
    transition: var(--transition);
}

.eco-product:hover .eco-prod-info h4 {
    color: #818CF8;
}

.eco-prod-info p {
    font-size: 14px;
    color: #94A3B8;
    line-height: 1.5;
}

/* Abstract CSS Graphics */
.eco-prod-graphic {
    width: 48px;
    height: 48px;
    background: rgba(129, 140, 248, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.eco-prod-graphic span {
    display: block;
    position: relative;
}

/* AI Pulse */
.pulse {
    width: 12px;
    height: 12px;
    background: #818CF8;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(129, 140, 248, 0.4);
    animation: eco-pulse 2s infinite;
}

@keyframes eco-pulse {
    0% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(129, 140, 248, 0); }
    100% { box-shadow: 0 0 0 0 rgba(129, 140, 248, 0); }
}

/* Ops Bars */
.bars {
    width: 3px;
    height: 15px;
    background: #818CF8;
    box-shadow: 8px 0 0 #818CF8, -8px 0 0 #818CF8;
}

/* PM Grid */
.grid {
    width: 14px;
    height: 14px;
    border: 2px solid #818CF8;
    border-radius: 2px;
}

/* HR Dots */
.dots {
    width: 6px;
    height: 6px;
    background: #818CF8;
    border-radius: 50%;
    box-shadow: 10px 0 0 #818CF8, -10px 0 0 #818CF8;
}

/* Payroll Flow */
.flow {
    width: 20px;
    height: 2px;
    background: #818CF8;
}
.flow::before {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    border: 5px solid transparent;
    border-left-color: #818CF8;
}

/* Scheduling Time */
.time {
    width: 16px;
    height: 16px;
    border: 2px solid #818CF8;
    border-radius: 50%;
}
.time::after {
    content: '';
    width: 6px;
    height: 2px;
    background: #818CF8;
    position: absolute;
    top: 7px;
    left: 7px;
}

/* Expense Card */
.card {
    width: 20px;
    height: 14px;
    border: 2px solid #818CF8;
    border-radius: 3px;
}

/* Fleet Map */
.map {
    width: 16px;
    height: 16px;
    border-left: 2px solid #818CF8;
    transform: rotate(45deg);
}
.map::before {
    content: '';
    position: absolute;
    inset: 4px;
    background: #818CF8;
    border-radius: 50%;
}

@media (max-width: 1024px) {
    .hero-split-container {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 40px;
    }
    .hero-content h1 {
        font-size: 56px;
    }
    .hero-content p {
        font-size: 18px;
    }
    .eco-product-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    .hero-split-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 60px;
        gap: 60px;
    }
    .hero-content {
        margin-bottom: 0;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-btns-left {
        flex-direction: column;
        width: 100%;
        max-width: 340px;
        margin: 0 auto 32px;
    }
    .btn-primary-large, .btn-secondary-large {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
    }
    .hero-ratings-left {
        justify-content: center;
        flex-direction: column;
        gap: 16px;
    }
    .video-mockup-wrapper {
        transform: rotateX(3deg);
        border-radius: 12px 12px 0 0;
    }
    .mockup-content-viz {
        height: 350px;
    }
    .viz-sidebar {
        display: none;
    }

    /* Ecosystem Responsive */
    .ecosystem-header h2 { font-size: 36px; }
    .eco-product-list { grid-template-columns: 1fr; }
    .eco-cat-header h3 { font-size: 16px; }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 80px 0 0;
    }
    .hero-content h1 {
        font-size: 38px;
        letter-spacing: -1.5px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .mockup-content-viz {
        height: 280px;
    }
    .viz-main {
        padding: 24px;
    }
    .eco-product {
        padding: 16px;
        gap: 16px;
    }
}

/* --- PRESS / FEATURED ON SECTION --- */
/* --- PRESS / FEATURED ON SECTION --- */
.press-section {
    padding: 40px 0;
    background: #FFFFFF;
    
    position: relative;
    z-index: 10;
}

.press-label {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 50px;
    opacity: 0.8;
}

.press-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.press-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
    opacity: 0.5;
}

.press-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
    filter: grayscale(1) opacity(0.6);
}

.press-logo:hover {
    filter: grayscale(0) opacity(1);
    transform: translateY(-2px);
}

/* --- HOME PAGE EXPANSION: SECURITY, FAQ, CTA --- */
.vault-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    text-align: left;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-item h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 12px;
}

.detail-item h4 i { color: var(--primary-color); font-size: 16px; }

.detail-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* FAQ Section — 2-column layout inspired by Project Management page */
.faq-section { padding: 140px 0; background: #fff; border-top: 1px solid var(--border-color); }

.home-faq-grid {
    display: grid;
    grid-template-columns: 0.38fr 0.62fr;
    gap: 65px;
    align-items: start;
}

.home-faq-info {
    position: sticky;
    top: 140px;
}

.home-faq-heading {
    font-size: clamp(36px, 4vw, 56px) !important;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 24px;
    letter-spacing: -2px;
    line-height: 1.05;
}

.home-faq-subtext {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 36px;
}

.home-faq-cta .btn-primary-large {
    padding: 16px 32px;
    font-size: 16px;
}

.home-faq-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.home-faq-list-wrapper .faq-item {
    background: #F8FAFC;
    border: 1px solid transparent;
    border-radius: 20px;
    margin: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-faq-list-wrapper .faq-item:hover {
    background: #fff;
    border-color: rgba(0, 48, 219, 0.1);
    box-shadow: 0 10px 40px rgba(0, 48, 219, 0.05);
    transform: translateY(-2px);
}

.home-faq-list-wrapper .faq-question {
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    user-select: none;
    gap: 16px;
}

.home-faq-list-wrapper .faq-question i {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--primary-color);
    font-size: 12px;
    background: #fff;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.home-faq-list-wrapper .faq-answer {
    display: none;
    padding: 0 28px 24px;
}

.home-faq-list-wrapper .faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

.home-faq-list-wrapper .faq-item.active {
    background: #fff;
    border-color: rgba(0, 48, 219, 0.2);
    box-shadow: 0 24px 48px rgba(0, 48, 219, 0.08);
}

.home-faq-list-wrapper .faq-item.active .faq-question {
    color: var(--primary-color);
}

.home-faq-list-wrapper .faq-item.active .faq-question i {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 16px rgba(0, 48, 219, 0.2);
}

.home-faq-list-wrapper .faq-item.active .faq-answer {
    display: block;
}

@media (max-width: 900px) {
    .faq-section { padding: 80px 0; }
    .home-faq-grid { grid-template-columns: 1fr; gap: 40px; }
    .home-faq-info { position: static; }
}

/* Final CTA Section — full-width solid blue with logo */
.final-cta-section {
    padding: 70px 0;
    background: var(--primary-color);
    text-align: center;
    color: #fff;
    border-radius: 0;
}

.final-cta-section .container {
    max-width: 900px;
}

.final-cta-logo {
    display: block;
    height: 56px;
    width: auto;
    margin: 0 auto 36px;
    filter: brightness(0) invert(1);
}

.final-cta-heading {
    font-size: clamp(36px, 4vw, 56px) !important;
    font-weight: 800;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -2px;
    margin: 0 0 20px;
}

.final-cta-subtext {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    max-width: 720px;
    margin: 0 auto 44px;
}

.final-cta-btns {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: #fff;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 100px;
    font-size: 17px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    background: #F8FAFC;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-size: 17px;
    font-weight: 700;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    transition: all 0.2s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.final-cta-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
}

.final-cta-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.final-cta-trust i {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    padding: 5px;
    border-radius: 999px;
    font-size: 10px;
}

@media (max-width: 768px) {
    .final-cta-section { padding: 80px 20px; }
    .final-cta-logo { height: 44px; margin-bottom: 24px; }
    .final-cta-btns { flex-direction: column; }
    .btn-cta-primary, .btn-cta-secondary { width: 100%; max-width: 360px; margin: 0 auto; }
}

/* THE TIMES OF INDIA STYLE */
.press-logo.toi {
    font-family: 'Georgia', serif;
    color: #1A1A1A;
}

.press-logo.toi .the {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    line-height: 1;
    margin-bottom: 2px;
}

.press-logo.toi .main {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* NEW YORK WEEKLY STYLE */
.press-logo.nyw {
    font-family: 'Ubuntu', sans-serif;
    color: #000000;
    text-align: center;
}

.press-logo.nyw .new-york {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: -0.5px;
    display: block;
    line-height: 1;
}

.press-logo.nyw .weekly {
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 0.9;
}

@media (max-width: 768px) {
    .press-logos {
        gap: 40px;
    }
    .press-divider {
        display: none;
    }
}

/* --- APPS ECOSYSTEM SECTION --- */
.apps-section {
    padding: 50px 0;
    background: #FFFFFF;
    
}

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

.apps-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.apps-tabs {
    display: flex;
    background: #F8FAFC;
    padding: 6px;
    border-radius: 100px;
    gap: 4px;
    border: 1px solid var(--border-color);
}

.app-tab-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.app-tab-btn.active {
    background: #FFFFFF;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 48, 219, 0.08);
}

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

.app-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 48, 219, 0.08);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 48, 219, 0.15);
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.app-card:hover::before {
    opacity: 0;
}

.app-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.app-card:hover .app-icon {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
}

.app-icon.indigo { background: rgba(79, 70, 229, 0.08); color: #4F46E5; }
.app-icon.blue { background: rgba(37, 99, 235, 0.08); color: #2563EB; }
.app-icon.purple { background: rgba(147, 51, 234, 0.08); color: #9333EA; }
.app-icon.teal { background: rgba(13, 148, 136, 0.08); color: #0D9488; }
.app-icon.orange { background: rgba(249, 115, 22, 0.08); color: #F97316; }
.app-icon.cyan { background: rgba(8, 145, 178, 0.08); color: #0891B2; }
.app-icon.green { background: rgba(22, 163, 74, 0.08); color: #16A34A; }

.app-content {
    width: 100%;
}

.app-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.app-card:hover .app-content h3 {
    color: #FFFFFF;
}
@media (max-width: 992px) {
    .advantage-block { grid-template-columns: 1fr; text-align: center; gap: 60px; }
    .advantage-text p { margin: 0 auto; }
    .advantage-visual { min-height: 360px; }
    .natural-cta-banner h2 { font-size: 36px; }
}


.app-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

.app-card:hover .app-content p {
    color: rgba(255, 255, 255, 0.85);
}

.app-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.app-card:hover .app-link {
    color: #FFFFFF;
}

.app-link:hover {
    gap: 12px;
    color: #0026AD;
}

@media (max-width: 1024px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }
    .app-card {
        padding: 30px;
    }
}
/* --- HOME BENEFITS SECTION (MINIMALIST) --- */
.home-benefits-section {
    padding: 10px 0;
    background: #fff;
    position: relative;
    
}

.benefits-section-header {
    text-align: center;
    margin-bottom: 90px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-section-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
    letter-spacing: -1.5px;
}

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

.benefit-card {
    background: #F8FAFC;
    border-radius: 32px;
    padding: 64px 48px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 420px;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0, 48, 219, 0.06);
    background: #fff;
    border-color: var(--primary-color);
}

.benefit-tag {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 24px;
    display: block;
}

.benefit-card h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
    letter-spacing: -1px;
    line-height: 1.25;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.benefit-stats-group {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-stat {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 20px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    width: fit-content;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.benefit-stat i {
    color: var(--primary-color);
    font-size: 16px;
}

@media (max-width: 1200px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .benefits-section-header h2 { font-size: 36px; }
    .benefit-card { padding: 48px 32px; min-height: auto; }
}

/* --- INTEGRATIONS SECTION --- */
.integrations-section {
    padding: 100px 0;
    background: #F8FAFC;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.integrations-section::before,
.integrations-section::after {
    content: "";
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.integrations-section::before {
    left: 0;
    background: linear-gradient(to right, #F8FAFC 0%, rgba(248, 250, 252, 0) 100%);
}

.integrations-section::after {
    right: 0;
    background: linear-gradient(to left, #F8FAFC 0%, rgba(248, 250, 252, 0) 100%);
}

.marquee-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.marquee-row {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    gap: 20px;
    padding-right: 20px;
}

/* Animations */
.marquee-left {
    animation: scroll-left 40s linear infinite;
}

.marquee-right {
    animation: scroll-right 40s linear infinite;
}

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

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

.integration-logo-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 48, 219, 0.08);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
    height: 70px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.integration-logo-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(0, 48, 219, 0.1);
    transform: translateY(-4px) scale(1.02);
    background: #fff;
}

.integration-logo-card img {
    height: 30px;
    width: 30px;
    object-fit: contain;
    transition: all 0.3s ease;
    /* Logos are now always in color as per user request */
}

.integration-logo-card span {
    font-weight: 600;
    color: var(--text-main);
    font-size: 15px;
    white-space: nowrap;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .integrations-section::before,
    .integrations-section::after {
        width: 100px;
    }
    .marquee-left, .marquee-right {
        animation-duration: 30s;
    }
    .integration-logo-card {
        min-width: 160px;
        padding: 12px 18px;
        height: 60px;
    }
}

/* ===== Connected Platform Section (hover-expand cards) ===== */
.connected-section {
    padding: 120px 0;
    background: #F5F5F7;
    position: relative;
}

.connected-header {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 48px;
}

.connected-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.connected-heading {
    font-size: clamp(36px, 4vw, 56px) !important;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.08;
    letter-spacing: -2px;
    margin: 0;
}

.connected-header-right {
    padding-top: 32px;
}

.connected-sub {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 460px;
}

.connected-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #fff;
    color: var(--text-main);
    border-radius: 100px;
    border: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.connected-cta:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 48, 219, 0.2);
}

.connected-cta i { font-size: 12px; }

.connected-row {
    display: flex;
    gap: 12px;
    min-height: 520px;
}

.connected-card {
    flex: 1;
    background: #0B0E17;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.7s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
    position: relative;
    min-width: 0;
}

.connected-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
    color: #fff;
}

.connected-card-title {
    position: absolute;
    z-index: 3;
    top: 32px;
    left: 32px;
    right: 32px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #fff;
    transition: opacity 0.4s ease;
}

.connected-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 32px 32px;
    z-index: 3;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
    pointer-events: none;
}

.connected-card-h3 {
    font-size: 24px !important;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
    letter-spacing: -0.5px;
}

.connected-card-body p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    margin: 0;
    max-width: 520px;
}

.connected-card-visual {
    position: absolute;
    top: 32px;
    left: 32px;
    right: 32px;
    bottom: 160px;
    opacity: 0;
    transition: opacity 0.5s ease;
    overflow: hidden;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connected-card-visual .visual-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.8;
}

/* Default open (first card expanded) */
.connected-card.is-default-open {
    flex: 2.4;
    background: var(--primary-color);
}

.connected-card.is-default-open .connected-card-visual,
.connected-card.is-default-open .connected-card-body {
    opacity: 1;
    transform: none;
}

.connected-card.is-default-open .connected-card-title {
    opacity: 0;
}

/* Hover: expand the hovered card */
.connected-row:hover .connected-card {
    flex: 1;
    background: #0B0E17;
}

.connected-row:hover .connected-card .connected-card-visual,
.connected-row:hover .connected-card .connected-card-body {
    opacity: 0;
    transform: translateY(12px);
}

.connected-row:hover .connected-card .connected-card-title {
    opacity: 1;
}

.connected-row:hover .connected-card:hover {
    flex: 2.4;
    background: var(--primary-color);
}

.connected-row:hover .connected-card:hover .connected-card-visual,
.connected-row:hover .connected-card:hover .connected-card-body {
    opacity: 1;
    transform: none;
}

.connected-row:hover .connected-card:hover .connected-card-title {
    opacity: 0;
}

/* Connected Platform — visual mockups use Poppins only */
.connected-card-visual,
.connected-card-visual * {
    font-family: 'Poppins', sans-serif !important;
}

/* ===== Card 1: Clean module grid ===== */
.v1-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
    height: 100%;
    max-width: 480px;
    max-height: 260px;
}

.v1-tile {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    color: #fff;
    backdrop-filter: blur(6px);
    transition: background 0.25s ease, transform 0.25s ease;
}

.v1-tile i { font-size: 22px; opacity: 0.95; }
.v1-tile span { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }

.v1-tile-center {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.v1-tile-center img { width: 32px; height: auto; }
.v1-tile-center span { font-size: 13px; font-weight: 700; color: var(--primary-color); }

/* ===== Card 2: Simple AI insight card ===== */
.ai-simple {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 18px;
    padding: 22px 24px 20px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
    color: #0B1437;
}

.ai-simple-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #F1F5F9;
}

.ai-simple-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 6px 14px rgba(0, 48, 219, 0.28);
    flex-shrink: 0;
}

.ai-simple-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ai-simple-name {
    font-size: 14px;
    font-weight: 800;
    color: #0B1437;
    letter-spacing: -0.01em;
}

.ai-simple-sub {
    font-size: 11px;
    color: #6B7280;
    font-weight: 500;
}

.ai-simple-insight {
    font-size: 15px;
    line-height: 1.5;
    color: #0B1437;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.ai-simple-insight strong {
    color: var(--primary-color);
    font-weight: 800;
}

.ai-simple-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-simple-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    padding: 8px 10px;
    background: #F8FAFF;
    border-radius: 8px;
}

.ai-simple-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ai-simple-dot.green { background: #10B981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18); }
.ai-simple-dot.amber { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18); }
.ai-simple-dot.blue  { background: var(--primary-color); box-shadow: 0 0 0 3px rgba(0, 48, 219, 0.18); }

/* ===== Card 3: Live chart ===== */
.v3-chart {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(6px);
}

.v3-live {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.22);
    color: #6EE7B7;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.v3-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34D399;
    animation: v3Blink 1.6s ease-in-out infinite;
}

@keyframes v3Blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.3; }
}

.v3-svg {
    width: 100%;
    height: 140px;
    margin-top: 12px;
}

.v3-stats {
    display: flex;
    gap: 24px;
    padding-top: 14px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.v3-stat { display: flex; flex-direction: column; gap: 4px; }
.v3-stat-lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.65); }
.v3-stat-val { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 6px; }
.v3-up { color: #6EE7B7; }
.v3-up i { font-size: 11px; }

/* ===== Card 4: Clean logo grid (5x2) ===== */
.v4-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 500px;
}

.v4-tile {
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    aspect-ratio: 1;
}

.v4-tile img {
    width: 100%;
    max-width: 38px;
    height: auto;
    object-fit: contain;
}

.v4-count {
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ===== Legacy product UI (kept but unused; harmless) ===== */
.product-ui {
    position: absolute;
    top: 36px;
    left: 28px;
    right: 28px;
    bottom: 140px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    color: #0B1437;
    display: flex;
    flex-direction: column;
}

.ui-chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #F8FAFF;
    border-bottom: 1px solid #E2E8F0;
    flex-shrink: 0;
}

.ui-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #E2E8F0;
}

.ui-dot:nth-child(1) { background: #F87171; }
.ui-dot:nth-child(2) { background: #FBBF24; }
.ui-dot:nth-child(3) { background: #34D399; }

.ui-url {
    margin-left: 12px;
    font-size: 11px;
    color: #64748B;
    font-weight: 500;
    padding: 3px 10px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
    font-family: 'Poppins', monospace !important;
}

.ui-body {
    padding: 18px 20px;
    flex: 1;
    overflow: hidden;
}

/* ===== Card 1: Customer 360 ===== */
.cust-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.cust-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.02em;
}

.cust-meta { flex: 1; }
.cust-name { font-size: 16px; font-weight: 700; color: #0B1437; line-height: 1.2; }
.cust-sub { font-size: 11px; color: #64748B; margin-top: 2px; }

.cust-status {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #047857;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}

.cust-360 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.cust-tile {
    background: #F8FAFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 12px;
}

.tile-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.tile-head i { font-size: 10px; }

.tile-val {
    font-size: 16px;
    font-weight: 800;
    color: #0B1437;
    letter-spacing: -0.02em;
    line-height: 1;
}

.tile-sub {
    font-size: 10px;
    color: #6B7280;
    margin-top: 4px;
}

.cust-activity {
    background: #F8FAFF;
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #E2E8F0;
}

.act-head {
    font-size: 10px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.act-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 12px;
    color: #374151;
    border-top: 1px dashed #E2E8F0;
}

.act-row:first-of-type { border-top: none; padding-top: 2px; }

.act-tag {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
    letter-spacing: 0.06em;
    min-width: 54px;
    text-align: center;
    flex-shrink: 0;
}

.act-tag.crm  { background: #EFF6FF; color: #1D4ED8; }
.act-tag.proj { background: #FDF4FF; color: #7E22CE; }
.act-tag.fin  { background: #ECFDF5; color: #047857; }

.act-time {
    margin-left: auto;
    font-size: 10px;
    color: #94A3B8;
    font-weight: 600;
}

/* ===== Card 2: AI Chat Panel ===== */
.ai-panel {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.ai-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #E2E8F0;
    background: #F8FAFF;
}

.ai-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-panel-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.ai-panel-name { font-size: 13px; font-weight: 700; color: #0B1437; line-height: 1.1; }
.ai-panel-status { font-size: 10px; color: #047857; display: flex; align-items: center; gap: 5px; margin-top: 2px; font-weight: 600; }
.ai-online-dot { width: 6px; height: 6px; background: #10B981; border-radius: 50%; animation: aiOnlinePulse 1.8s ease-in-out infinite; }
@keyframes aiOnlinePulse { 0%,100% { opacity: 1 } 50% { opacity: 0.4 } }

.ai-panel-more { color: #94A3B8; font-size: 14px; padding: 4px 8px; cursor: pointer; }

.ai-msg { padding: 10px 18px; display: flex; }
.ai-msg-user { justify-content: flex-end; }
.ai-msg-ai { justify-content: flex-start; }

.ai-bubble {
    max-width: 82%;
    background: #EFF6FF;
    color: #0B1437;
    padding: 10px 14px;
    border-radius: 14px 14px 4px 14px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;
}

.ai-bubble-ai {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px 14px 14px 4px;
    box-shadow: 0 2px 6px rgba(0, 48, 219, 0.05);
    padding: 12px 14px;
    max-width: 94%;
}

.ai-bubble-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #E2E8F0;
}

.ai-bubble-body { font-size: 13px; color: #0B1437; line-height: 1.5; margin-bottom: 10px; }
.ai-bubble-body b { color: var(--primary-color); font-weight: 800; }

.ai-insight { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.ai-insight-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #374151;
    padding: 4px 0;
}
.ai-insight-row b { color: #0B1437; font-weight: 700; }

.ai-insight-dot {
    width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.ai-insight-dot.red   { background: #DC2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15); }
.ai-insight-dot.amber { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15); }

.ai-actions {
    display: flex;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px dashed #E2E8F0;
}

.ai-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #E2E8F0;
    color: #374151;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.ai-action.primary {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.ai-action i { font-size: 10px; }

.ai-input {
    margin: 12px 18px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #F8FAFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
}

.ai-input-icon { color: var(--primary-color); font-size: 13px; }
.ai-input-text { flex: 1; font-size: 12px; color: #94A3B8; font-weight: 500; }
.ai-input-send {
    width: 26px; height: 26px; border-radius: 7px;
    background: var(--primary-color); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px;
}

/* ===== Card 3: BI Dashboard ===== */
.bi-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 18px;
    border-bottom: 1px solid #E2E8F0;
    background: #F8FAFF;
}

.bi-title { font-size: 13px; font-weight: 700; color: #0B1437; }
.bi-sub { font-size: 10px; color: #64748B; margin-top: 2px; }

.bi-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ECFDF5;
    color: #047857;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    border: 1px solid #A7F3D0;
}

.bi-live-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #10B981;
    animation: biLiveBlink 1.6s ease-in-out infinite;
}
@keyframes biLiveBlink { 0%,100% { opacity: 1 } 50% { opacity: 0.3 } }

.bi-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 14px 18px 10px;
}

.bi-kpi {
    background: #F8FAFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bi-kpi-lbl { font-size: 10px; color: #64748B; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.bi-kpi-val { font-size: 16px; font-weight: 800; color: #0B1437; line-height: 1; letter-spacing: -0.02em; }

.bi-kpi-chg {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 700;
}
.bi-kpi-chg.up { color: #047857; }
.bi-kpi-chg.down { color: #047857; }

.bi-chart-block { padding: 0 18px 12px; }
.bi-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #0B1437;
    margin-bottom: 8px;
}
.bi-chart-legend { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; color: #64748B; font-weight: 500; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; margin-right: 2px; margin-left: 6px; }
.legend-dot.primary { background: var(--primary-color); }
.legend-dot.secondary { background: #0030DB; opacity: 0.4; }

.bi-chart { width: 100%; height: 110px; display: block; }

.bi-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 18px 14px;
    padding: 9px 12px;
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    border-radius: 10px;
    font-size: 11px;
    color: #92400E;
}
.bi-alert b { color: #78350F; font-weight: 800; }
.bi-alert-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
    flex-shrink: 0;
    animation: biLiveBlink 2s ease-in-out infinite;
}

/* ===== Card 4: Integrations Marketplace ===== */
.int-panel {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.int-panel-head {
    padding: 14px 18px 10px;
    border-bottom: 1px solid #E2E8F0;
    background: #F8FAFF;
}

.int-panel-title { font-size: 13px; font-weight: 700; color: #0B1437; margin-bottom: 10px; }

.int-panel-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    color: #94A3B8;
    font-size: 11px;
    font-weight: 500;
}
.int-panel-search i { font-size: 10px; }

.int-cats {
    display: flex;
    gap: 6px;
    padding: 10px 18px;
    overflow-x: hidden;
    border-bottom: 1px solid #E2E8F0;
}

.int-cat {
    font-size: 10px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    color: #64748B;
    background: #F1F5F9;
    border: 1px solid transparent;
    white-space: nowrap;
}

.int-cat.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.int-list {
    padding: 4px 18px;
    display: flex;
    flex-direction: column;
}

.int-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #F1F5F9;
}

.int-row:last-child { border-bottom: none; }

.int-row img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.int-row-meta { flex: 1; min-width: 0; }
.int-row-name { font-size: 12px; font-weight: 700; color: #0B1437; line-height: 1.2; }
.int-row-sub  { font-size: 10px; color: #6B7280; margin-top: 2px; }

.int-toggle {
    width: 32px;
    height: 18px;
    background: #E2E8F0;
    border-radius: 999px;
    position: relative;
    flex-shrink: 0;
    transition: background 0.2s;
}

.int-toggle.on { background: var(--primary-color); }

.int-toggle-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: left 0.2s;
}

.int-toggle.on .int-toggle-knob { left: 16px; }

.int-foot {
    padding: 10px 18px 12px;
    text-align: center;
    font-size: 11px;
    color: #64748B;
    font-weight: 600;
    border-top: 1px solid #E2E8F0;
}

/* ===== Card 1: Unified workspace — workflow cascade mockup (LEGACY, unused) ===== */
.workflow-cascade {
    position: absolute;
    top: 40px;
    left: 32px;
    right: 32px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}

.flow-card {
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    color: #0B1437;
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
}

.flow-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.flow-card-head i {
    font-size: 12px;
    color: var(--primary-color);
}

.flow-card-head span:nth-child(2) {
    color: var(--primary-color);
}

.flow-time {
    margin-left: auto;
    font-size: 10px;
    font-weight: 600;
    color: #94A3B8;
    text-transform: none;
    letter-spacing: 0;
}

.flow-tag {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.flow-tag.success {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
}

.flow-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #0B1437;
    line-height: 1.3;
    margin-bottom: 3px;
}

.flow-card-sub {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.4;
}

.flow-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 28px;
    position: relative;
}

.flow-line {
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
}

.flow-arrow {
    position: absolute;
    bottom: -4px;
    background: #fff;
    color: var(--primary-color);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* ===== Card 2: AI Assistant — richer chat + sources ===== */
.ai-chat-mock {
    position: absolute;
    top: 40px;
    left: 28px;
    right: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ai-chat-prompt {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    align-self: flex-end;
    max-width: 82%;
    backdrop-filter: blur(6px);
}

.ai-chat-prompt i {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.ai-chat-reply {
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.2);
    color: #0B1437;
}

.ai-chat-reply-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ai-chat-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.ai-chat-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
}

.ai-chat-reply-body {
    font-size: 14px;
    line-height: 1.55;
    color: #0B1437;
    margin-bottom: 14px;
}

.ai-chat-reply-body b {
    color: var(--primary-color);
    font-weight: 800;
}

.ai-source-row {
    display: flex;
    flex-direction: column;
    gap: 7px;
    border-top: 1px dashed #E5E7EB;
    padding-top: 12px;
}

.ai-source {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.src-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.06em;
    min-width: 54px;
    justify-content: center;
}

.src-tag.crm  { background: #EFF6FF; color: #1D4ED8; }
.src-tag.fin  { background: #ECFDF5; color: #047857; }
.src-tag.hr   { background: #FEF3C7; color: #B45309; }

.src-val {
    color: #4B5563;
    font-weight: 500;
}

/* ===== Card 3: Real-time decisions — command center mockup ===== */
.cmdcenter-mock {
    position: absolute;
    top: 36px;
    left: 28px;
    right: 28px;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.cmd-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.cmd-head-title {
    font-size: 13px;
    font-weight: 700;
    color: #0B1437;
}

.cmd-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ECFDF5;
    color: #047857;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    border: 1px solid #A7F3D0;
}

.cmd-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    animation: cmdLiveBlink 1.6s ease-in-out infinite;
}

@keyframes cmdLiveBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}

.cmd-kpi-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #F0F4FF;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.cmd-kpi {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cmd-kpi-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6B7280;
}

.cmd-kpi-val {
    font-size: 20px;
    font-weight: 800;
    color: #0B1437;
    line-height: 1;
    letter-spacing: -0.02em;
}

.cmd-kpi-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #047857;
}

.cmd-spark {
    flex: 1;
    height: 36px;
    color: var(--primary-color);
}

.cmd-spark path {
    stroke: var(--primary-color) !important;
}

.cmd-spark circle {
    fill: var(--primary-color) !important;
}

.cmd-feed {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cmd-feed-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #F8FAFF;
    border-radius: 8px;
    font-size: 12px;
    color: #374151;
}

.cmd-feed-item b {
    color: #0B1437;
    font-weight: 700;
}

.feed-time {
    margin-left: auto;
    font-size: 10px;
    color: #94A3B8;
    font-weight: 500;
}

.feed-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.feed-dot.success { background: #10B981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18); }
.feed-dot.warn    { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18); }
.feed-dot.info    { background: var(--primary-color); box-shadow: 0 0 0 3px rgba(0, 48, 219, 0.15); }

/* ===== Card 4: Open integrations — Jesto hub with orbiting logos ===== */
.int-hub {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.int-hub-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 240px;
    height: 240px;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.int-hub-ring.ring-outer {
    width: 340px;
    height: 340px;
    border-color: rgba(255, 255, 255, 0.14);
}

.int-hub-center {
    position: relative;
    z-index: 3;
    background: #fff;
    border-radius: 22px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.int-hub-center img {
    width: 44px;
    height: auto;
}

.int-hub-center span {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.04em;
}

.int-hub-tile {
    position: absolute;
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.int-hub-tile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Six tile positions around the center */
.int-pos-1 { top: 50%; left: 50%; transform: translate(-50%, -50%) translate(0, -120px); }
.int-pos-2 { top: 50%; left: 50%; transform: translate(-50%, -50%) translate(104px, -60px); }
.int-pos-3 { top: 50%; left: 50%; transform: translate(-50%, -50%) translate(104px, 60px); }
.int-pos-4 { top: 50%; left: 50%; transform: translate(-50%, -50%) translate(0, 120px); }
.int-pos-5 { top: 50%; left: 50%; transform: translate(-50%, -50%) translate(-104px, 60px); }
.int-pos-6 { top: 50%; left: 50%; transform: translate(-50%, -50%) translate(-104px, -60px); }

.int-count-pill {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    z-index: 4;
}

.int-count-pill i {
    font-size: 11px;
    color: #fff;
}

@media (max-width: 992px) {
    .connected-section { padding: 80px 0; }
    .connected-header { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
    .connected-header-right { padding-top: 0; }
    .connected-row { flex-direction: column; min-height: auto; }
    .connected-card { flex: 1 1 auto; }
    .connected-card.is-default-open,
    .connected-row:hover .connected-card:hover { flex: 1 1 auto; }
    .connected-card-inner { min-height: 360px; }
}

/* ===== Hubs / Apps Section (HubSpot-inspired: clean minimal) ===== */
.hubs-section {
    padding: 120px 0;
    background: #fff;
}

.hubs-grid {
    display: grid;
    grid-template-columns: 0.38fr 0.62fr;
    gap: 80px;
    align-items: stretch;
}

.hubs-intro { height: 100%; }

.hubs-intro-sticky {
    position: sticky;
    top: 120px;
}

.hubs-badge-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.hubs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
}

.hubs-badge i {
    color: var(--primary-color);
    font-size: 13px;
}

.hubs-badge-line {
    flex: 1;
    height: 1px;
    background: var(--border-color);
    max-width: 200px;
}

.hubs-heading {
    font-size: clamp(38px, 3.6vw, 52px) !important;
    font-weight: 700;
    color: #000;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin: 0 0 24px;
}

.hubs-sub {
    font-size: 17px;
    color: #4B5563;
    line-height: 1.65;
    margin: 0 0 36px;
    max-width: 420px;
}

.hubs-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hubs-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hubs-cta-primary:hover {
    background: #0025A8;
    transform: translateY(-1px);
}

.hubs-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    background: #fff;
    color: var(--text-main);
    text-decoration: none;
    border: 1px solid var(--text-main);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.hubs-cta-secondary:hover {
    background: var(--text-main);
    color: #fff;
}

/* Cards grid */
.hubs-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hub-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 28px 28px 24px;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.hub-card:hover {
    border-color: var(--primary-color);
}

.hub-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 17px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.01em;
}

.hub-head i {
    color: var(--primary-color);
    font-size: 18px;
    flex-shrink: 0;
}

.hub-bullets {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.hub-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
    font-weight: 400;
}

.hub-bullets li i {
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 13px;
    margin-top: 3px;
    font-weight: 900;
}

.hub-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    padding-top: 20px;
    margin-top: auto;
    border-top: 1px dashed #E5E7EB;
}

.hub-link i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.hub-card:hover .hub-link i {
    transform: translateX(3px);
}

@media (max-width: 1100px) {
    .hubs-grid { grid-template-columns: 1fr; gap: 48px; }
    .hubs-intro-sticky { position: static; }
    .hubs-badge-line { display: none; }
}

@media (max-width: 720px) {
    .hubs-section { padding: 80px 0; }
    .hubs-cards { grid-template-columns: 1fr; gap: 12px; }
    .hubs-ctas .hubs-cta-primary,
    .hubs-ctas .hubs-cta-secondary { flex: 1; }
}

/* ===== Solutions by Team Section ===== */
.solutions-section {
    padding: 120px 0;
    background: #fff;
}

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

.solutions-heading {
    font-size: clamp(32px, 3.4vw, 48px) !important;
    font-weight: 700;
    color: #000;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin: 0 0 16px;
}

.solutions-sub {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.solutions-tabs {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-bottom: 40px;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 0;
    flex-wrap: wrap;
}

.sol-tab {
    background: transparent;
    border: none;
    padding: 14px 2px;
    font-size: 15px;
    font-weight: 600;
    color: #6B7280;
    cursor: pointer;
    position: relative;
    font-family: inherit;
    transition: color 0.2s ease;
}

.sol-tab:hover {
    color: #0B1437;
}

.sol-tab.active {
    color: #000;
}

.sol-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
}

.solutions-panels {
    position: relative;
}

.sol-panel {
    display: none;
    grid-template-columns: 0.44fr 0.56fr;
    gap: 24px;
    align-items: stretch;
    min-height: 500px;
    animation: solFadeIn 0.4s ease both;
}

.sol-panel.active {
    display: grid;
}

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

/* Left content panel */
.sol-content {
    background: #EEEEFB;
    border-radius: 20px;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.sol-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #6B7280;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.sol-title {
    font-size: clamp(24px, 1.9vw, 30px) !important;
    font-weight: 700;
    color: #000;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 18px;
    max-width: 380px;
}

.sol-desc {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 400px;
    font-weight: 500;
}

.sol-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--text-main);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.sol-cta:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.sol-cta i {
    font-size: 11px;
}

.sol-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 40px;
}

.sol-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #D6D6E5;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
}

/* Right visual panel */
.sol-visual {
    background: var(--primary-color);
    border-radius: 20px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sol-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.6;
    pointer-events: none;
}

.sol-mock {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 440px;
    padding: 16px 18px;
    color: #0B1437;
    font-family: 'Poppins', sans-serif;
}

.sol-mock * {
    font-family: 'Poppins', sans-serif !important;
}

.sol-mock-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
}

.sol-mock-logo {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--primary-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.sol-mock-title {
    font-size: 13px;
    font-weight: 700;
    color: #0B1437;
    flex: 1;
}

.sol-mock-head .sol-mock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #E2E8F0;
}

.sol-mock-tabs {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 0 10px;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 10px;
}

.sol-mock-tab {
    font-size: 11px;
    color: #6B7280;
    font-weight: 600;
    position: relative;
    padding-bottom: 6px;
}

.sol-mock-tab.active {
    color: var(--primary-color);
}

.sol-mock-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -11px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.sol-mock-group {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 10px 0 8px;
}

.sol-mock-row {
    display: grid;
    grid-template-columns: 1.4fr auto 72px;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #F5F7FB;
}

.sol-mock-row:last-child { border-bottom: none; }

.sol-mock-label {
    font-size: 12px;
    color: #0B1437;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sol-mock-status {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
}

.sol-mock-status.done    { background: #DCFCE7; color: #047857; }
.sol-mock-status.pending { background: #FEF3C7; color: #92400E; }
.sol-mock-status.working { background: #DBEAFE; color: #1D4ED8; }

.sol-mock-bar {
    display: block;
    height: 6px;
    background: #F1F5F9;
    border-radius: 999px;
    overflow: hidden;
}

.sol-mock-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--primary-color);
}

/* Shared mock chrome */
.mock-pmo, .mock-sales, .mock-hr, .mock-finance, .mock-support {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 460px;
    padding: 16px 18px;
    color: #0B1437;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

/* Unique top accent strip per industry */
.mock-pmo::before,
.mock-sales::before,
.mock-hr::before,
.mock-finance::before,
.mock-support::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 4px 4px 0 0;
}

.mock-pmo::before     { background: #7E22CE; }
.mock-sales::before   { background: #10B981; }
.mock-hr::before      { background: #F59E0B; }
.mock-finance::before { background: var(--primary-color); }
.mock-support::before { background: #DC2626; }

.mock-pmo *, .mock-sales *, .mock-hr *, .mock-finance *, .mock-support * {
    font-family: 'Poppins', sans-serif !important;
}

.mock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 14px;
}

.mock-title {
    font-size: 13px;
    font-weight: 700;
    color: #0B1437;
}

.mock-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ECFDF5;
    color: #047857;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid #A7F3D0;
}

.mock-live-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #10B981;
    animation: mockBlink 1.6s ease-in-out infinite;
}

@keyframes mockBlink { 0%,100% { opacity: 1 } 50% { opacity: 0.3 } }

/* ========== PMO: summary + avatars ========== */
.pmo-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
}

.pmo-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pmo-stat-lbl {
    font-size: 9px;
    color: #94A3B8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pmo-stat-val {
    font-size: 16px;
    font-weight: 800;
    color: #0B1437;
    letter-spacing: -0.02em;
}

.pmo-stat-val.green { color: #047857; }
.pmo-stat-val.amber { color: #B45309; }

.pmo-team {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #F1F5F9;
}

.pmo-team-label {
    font-size: 10px;
    color: #94A3B8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pmo-avatars {
    display: inline-flex;
    align-items: center;
}

.pmo-av {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    margin-left: -6px;
}

.pmo-av:first-child { margin-left: 0; }

.pmo-av-more {
    background: #E5E7EB !important;
    color: #64748B !important;
    font-size: 9px;
}

/* ========== Sales: summary KPIs ========== */
.sales-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
}

.sales-kpi {
    background: #F8FAFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sales-kpi-lbl {
    font-size: 9px;
    color: #64748B;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sales-kpi-val {
    font-size: 14px;
    font-weight: 800;
    color: #0B1437;
    letter-spacing: -0.02em;
}

/* ========== HR: stats row + leave pill ========== */
.hr-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
}

.hr-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.hr-stat-num {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.hr-stat-lbl {
    font-size: 9px;
    color: #94A3B8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hr-pill.leave { background: #EEF2FF; color: #7E22CE; }

/* ========== Finance: recent transactions ========== */
.fin-ledger {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #E5E7EB;
}

.fin-ledger-title {
    font-size: 11px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.fin-txn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 12px;
}

.fin-txn-name {
    color: #374151;
    font-weight: 500;
}

.fin-txn-amt {
    font-weight: 800;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.fin-txn-amt.positive { color: #047857; }
.fin-txn-amt.negative { color: #DC2626; }

/* ========== Support: stats row ========== */
.sup-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
}

.sup-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.sup-stat-num {
    font-size: 15px;
    font-weight: 800;
    color: #0B1437;
    letter-spacing: -0.02em;
}

.sup-stat-lbl {
    font-size: 9px;
    color: #94A3B8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ========== PMO & Ops: Gantt chart ========== */
.gantt { position: relative; }

.gantt-scale {
    display: grid;
    grid-template-columns: 90px repeat(3, 1fr);
    font-size: 10px;
    color: #94A3B8;
    font-weight: 600;
    margin-bottom: 10px;
    padding-left: 90px;
}

.gantt-scale span {
    text-align: left;
    border-left: 1px dashed #E5E7EB;
    padding-left: 8px;
}

.gantt-row {
    position: relative;
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    padding: 6px 0;
    height: 28px;
}

.gantt-label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
}

.gantt-bar {
    position: absolute;
    left: 90px;
    height: 10px;
    border-radius: 999px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 4px;
    box-shadow: 0 2px 6px rgba(0, 48, 219, 0.2);
}

.gantt-row:nth-child(2) .gantt-bar,
.gantt-row:nth-child(3) .gantt-bar,
.gantt-row:nth-child(4) .gantt-bar,
.gantt-row:nth-child(5) .gantt-bar {
    transform: translateY(-50%);
}

.gantt-now {
    position: absolute;
    top: 18px;
    bottom: 0;
    width: 2px;
    background: #DC2626;
    border-radius: 2px;
}

.gantt-now span {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #DC2626;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Adjust gantt-bar left offset to respect label column */
.gantt-row .gantt-bar {
    left: calc(90px + (100% - 90px) * var(--gb-left, 0));
}

/* ========== Sales: Kanban pipeline ========== */
.kanban {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.kanban-col {
    background: #F8FAFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kanban-head {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748B;
    padding-bottom: 6px;
    border-bottom: 1px solid #E2E8F0;
}

.kanban-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.kanban-card.alert {
    border-color: #FCA5A5;
    background: #FEF2F2;
}

.kanban-name {
    font-size: 12px;
    font-weight: 700;
    color: #0B1437;
    line-height: 1.2;
}

.kanban-amt {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.kanban-tag {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kanban-tag.win  { background: #DCFCE7; color: #047857; }
.kanban-tag.mid  { background: #DBEAFE; color: #1D4ED8; }
.kanban-tag.risk { background: #FEE2E2; color: #B91C1C; }

/* ========== HR: directory + funnel ========== */
.hr-directory {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #E5E7EB;
}

.hr-person {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 8px;
    background: #F8FAFF;
    border-radius: 8px;
}

.hr-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.hr-info { flex: 1; }
.hr-name { font-size: 12px; font-weight: 700; color: #0B1437; line-height: 1.2; }
.hr-role { font-size: 10px; color: #64748B; margin-top: 2px; }

.hr-pill {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hr-pill.active { background: #DCFCE7; color: #047857; }
.hr-pill.review { background: #FEF3C7; color: #92400E; }

.hr-funnel-title {
    font-size: 11px;
    font-weight: 700;
    color: #0B1437;
    margin-bottom: 8px;
}

.hr-funnel-row {
    display: grid;
    grid-template-columns: 72px 1fr 28px;
    align-items: center;
    gap: 10px;
    padding: 3px 0;
    font-size: 11px;
    color: #374151;
}

.hr-funnel-row span:first-child { font-weight: 600; }

.hr-funnel-bar {
    height: 8px;
    background: #F1F5F9;
    border-radius: 999px;
    overflow: hidden;
}

.hr-funnel-bar span {
    display: block;
    height: 100%;
    background: var(--primary-color);
    border-radius: 999px;
}

.hr-funnel-val {
    font-size: 11px;
    font-weight: 700;
    color: #0B1437;
    text-align: right;
}

/* ========== Finance: KPIs + chart ========== */
.fin-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.fin-kpi {
    background: #F8FAFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fin-kpi-lbl { font-size: 9px; color: #64748B; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.fin-kpi-val { font-size: 15px; font-weight: 800; color: #0B1437; letter-spacing: -0.02em; line-height: 1; }
.fin-kpi-delta { font-size: 10px; font-weight: 700; }
.fin-kpi-delta.up { color: #047857; }
.fin-kpi-delta.down { color: #047857; }

.fin-chart {
    padding: 10px 0 12px;
    border-top: 1px dashed #E5E7EB;
}

.fin-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #0B1437;
    margin-bottom: 8px;
}

.fin-chart-tag {
    font-size: 10px;
    color: #64748B;
    font-weight: 500;
}

.fin-svg { width: 100%; height: 90px; display: block; }

.fin-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    border-radius: 8px;
    font-size: 11px;
    color: #92400E;
}

.fin-alert i { color: #F59E0B; font-size: 11px; }
.fin-alert b { color: #78350F; font-weight: 700; }

/* ========== Support: inbox + thread ========== */
.sup-layout {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 10px;
    height: 220px;
}

.sup-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    border-right: 1px solid #F1F5F9;
    padding-right: 8px;
}

.sup-item {
    padding: 8px 6px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
}

.sup-item.active {
    background: #EFF6FF;
    border-color: #BFDBFE;
}

.sup-row1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sup-name { font-size: 11px; font-weight: 700; color: #0B1437; }
.sup-time { font-size: 9px; color: #94A3B8; font-weight: 600; }
.sup-preview {
    font-size: 10px;
    color: #64748B;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 2px 0 4px;
}

.sup-sla {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sup-sla.warn { background: #FEF3C7; color: #92400E; }
.sup-sla.info { background: #DBEAFE; color: #1D4ED8; }
.sup-sla.ok   { background: #DCFCE7; color: #047857; }

.sup-thread {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}

.sup-thread-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 6px;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 4px;
}

.sup-thread-customer { font-size: 11px; font-weight: 700; color: #0B1437; }
.sup-thread-tag {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    background: #FEE2E2;
    color: #B91C1C;
    letter-spacing: 0.04em;
}

.sup-bubble {
    padding: 7px 10px;
    font-size: 11px;
    border-radius: 10px;
    line-height: 1.4;
    max-width: 90%;
}

.sup-bubble-cust  { background: #F1F5F9; color: #0B1437; border-radius: 10px 10px 10px 2px; align-self: flex-start; }
.sup-bubble-ai    { background: #EFF6FF; color: #0B1437; border: 1px solid #BFDBFE; align-self: flex-start; }
.sup-bubble-ai b  { color: var(--primary-color); font-weight: 700; }
.sup-bubble-agent { background: var(--primary-color); color: #fff; border-radius: 10px 10px 2px 10px; align-self: flex-end; }

/* Hide legacy sol-mock rule - no longer used */
.sol-mock { display: none; }

/* Floating decoration tags */
.sol-float-tag {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.sol-float-tag i {
    font-size: 10px;
    color: #fff;
}

.sol-tag-1 { top: 28px; left: 32px; }
.sol-tag-2 { top: 24px; right: 38px; }
.sol-tag-3 { bottom: 32px; left: 28px; }

/* Floating "sidekick" chat card */
.sol-sidekick {
    position: absolute;
    bottom: 36px;
    right: 32px;
    width: 260px;
    background: #fff;
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    z-index: 4;
    font-family: 'Poppins', sans-serif;
}

.sol-sidekick * { font-family: 'Poppins', sans-serif !important; }

.sol-sidekick-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.sol-sidekick-head i {
    font-size: 11px;
}

.sol-sidekick-body {
    font-size: 13px;
    color: #0B1437;
    line-height: 1.4;
    margin-bottom: 10px;
    font-weight: 500;
}

.sol-sidekick-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9CA3AF;
    font-size: 12px;
    font-weight: 700;
    padding-top: 8px;
    border-top: 1px solid #F1F5F9;
}

.sol-sidekick-send {
    margin-left: auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

@media (max-width: 1100px) {
    .sol-panel { grid-template-columns: 1fr; min-height: auto; }
    .sol-visual { min-height: 400px; }
}

@media (max-width: 720px) {
    .solutions-section { padding: 80px 0; }
    .solutions-tabs { gap: 18px; }
    .sol-tab { font-size: 13px; }
    .sol-content { padding: 28px 22px; }
    .sol-visual { padding: 28px 18px; }
    .sol-sidekick { display: none; }
    .sol-float-tag { display: none; }
}

/* ===== Impact / Stats Section ===== */
.impact-section {
    padding: 120px 0;
    background: #fff;
}

.impact-header {
    display: grid;
    grid-template-columns: 1.5fr auto;
    gap: 60px;
    align-items: start;
    margin-bottom: 56px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.impact-heading {
    font-size: clamp(36px, 3.8vw, 54px) !important;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 0 0 18px;
    max-width: 780px;
}

.impact-sub {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 720px;
    margin: 0;
}

.impact-header-right {
    padding-top: 12px;
}

.impact-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--text-main);
    color: #fff;
    border-radius: 100px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.impact-cta:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 48, 219, 0.25);
}

.impact-cta i { font-size: 12px; }

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.impact-stat {
    padding: 32px 28px 0;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    border-right: 1px solid var(--border-color);
}

.impact-stat:first-child {
    padding-left: 0;
}

.impact-stat:last-child {
    border-right: none;
    padding-right: 0;
}

.impact-stat-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.impact-stat-value {
    font-size: clamp(44px, 4.5vw, 64px);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    letter-spacing: -2.5px;
    margin-bottom: auto;
}

.impact-stat-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 60px;
    max-width: 260px;
}

@media (max-width: 992px) {
    .impact-section { padding: 80px 0; }
    .impact-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; padding-bottom: 24px; }
    .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .impact-stat {
        min-height: auto;
        padding: 24px 20px 24px;
        border-right: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }
    .impact-stat:first-child, .impact-stat:last-child { padding-left: 20px; padding-right: 20px; }
    .impact-stat:first-child { padding-left: 0; }
    .impact-stat:nth-child(2) { border-right: none; padding-right: 0; }
    .impact-stat:nth-child(3) { padding-left: 0; border-bottom: none; }
    .impact-stat:nth-child(4) { border-right: none; padding-right: 0; border-bottom: none; }
    .impact-stat-desc { margin-top: 32px; }
}

@media (max-width: 600px) {
    .impact-grid { grid-template-columns: 1fr; }
    .impact-stat,
    .impact-stat:first-child,
    .impact-stat:last-child,
    .impact-stat:nth-child(n) {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 24px 0;
    }
    .impact-stat:last-child { border-bottom: none; }
}

/* ============================================
   Post-Submit Success Card (shared across signup & book-demo forms)
   ============================================ */
.post-submit-card {
    text-align: left;
    padding: 8px 4px 4px;
}

.post-submit-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 22px;
    box-shadow: 0 10px 24px rgba(0, 48, 219, 0.25);
}

.post-submit-icon i {
    color: #FFFFFF;
    font-size: 26px;
}

.post-submit-title {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.post-submit-lead {
    font-size: 0.98rem !important;
    color: var(--text-muted);
    margin: 0 0 26px;
    line-height: 1.55;
}

.post-submit-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    border-top: 1px solid var(--border-color);
}

.post-submit-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.ps-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 48, 219, 0.08);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-step-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ps-step-body strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.005em;
}

.ps-step-body span {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.post-submit-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #F5F5F7;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.post-submit-meta i {
    color: var(--primary-color);
    font-size: 14px;
    flex-shrink: 0;
}

.post-submit-meta a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.post-submit-meta a:hover {
    text-decoration: underline;
}

.post-submit-reset {
    display: inline-block;
    margin-top: 18px;
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 9px 16px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.post-submit-reset:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
