/* ============================================================
   APICAL SI — Business Intelligence layer for ApicalERP
   Reuses the Apical Software design system (apicalsoftware.com):
   Plus Jakarta Sans + Playfair Display, slate/orange palette,
   section-label / section-title / card patterns, footer.
   New here: premium dashboard mockup, ERP→SI→Management flow,
   interactive "ask your business" hub, segment grid,
   before/after story, form-ready interest card.
   ============================================================ */

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #f97316;
    --accent-text: #c2410c;
    --accent-hover: #ea580c;
    --accent-light: #fb923c;
    --accent-glow: rgba(249, 115, 22, 0.15);
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-900: #0f172a;
    --green: #1fa363;
    --green-bg: rgba(31, 163, 99, 0.1);
    --red: #e11d48;
    --red-bg: rgba(225, 29, 72, 0.08);
}

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

html { scroll-behavior: smooth; scrollbar-gutter: stable; }
section[id] { scroll-margin-top: 80px; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--white);
    color: var(--gray-900);
    line-height: 1.7;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ==================== TOP BAR ==================== */
.top-bar { background: var(--primary); color: var(--white); padding: 0.6rem 2rem; font-size: 0.85rem; }
.top-bar-content { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.top-bar-left { display: flex; align-items: center; gap: 0.6rem; }
.tb-badge { background: var(--accent); color: #fff; font-weight: 700; font-size: 0.66rem; letter-spacing: 0.5px; padding: 0.16rem 0.5rem; border-radius: 4px; }
.tb-text { color: rgba(255,255,255,0.88); }
.top-bar-right { display: flex; align-items: center; gap: 2rem; }
.top-bar-item { display: flex; align-items: center; gap: 0.5rem; color: rgba(255, 255, 255, 0.85); text-decoration: none; transition: color 0.3s ease; }
.top-bar-item:hover { color: var(--accent); }
.top-bar-item svg { width: 14px; height: 14px; opacity: 0.7; }

/* ==================== HEADER / NAV ==================== */
header { background: var(--white); padding: 1rem 2rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); position: sticky; top: 0; z-index: 1000; }
nav { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; text-decoration: none; gap: 0.6rem; }
.logo img { height: 50px; width: auto; }
.logo-si { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--primary); letter-spacing: -0.3px; border-left: 2px solid var(--gray-200); padding-left: 0.6rem; }
.logo-si span { color: var(--accent-text); }
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a { color: var(--gray-600); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.3s ease; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s ease; }
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { background: var(--accent-text); color: var(--white) !important; padding: 0.75rem 1.75rem; border-radius: 8px; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25); }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-2px); }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-menu-btn span { width: 24px; height: 2px; background: var(--primary); transition: all 0.3s ease; }

.mobile-menu { display: none; position: fixed; inset: 0; background: var(--white); z-index: 2000; padding: 2rem; flex-direction: column; }
.mobile-menu.active { display: flex; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-menu-close { background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--primary); }
.mobile-menu-links { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-menu-links a { font-size: 1.25rem; color: var(--primary); text-decoration: none; font-weight: 500; }

/* ==================== SHARED SECTION PRIMITIVES ==================== */
.section-label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--accent-text); margin-bottom: 1rem; }
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--accent); }
.section-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.2; color: var(--primary); margin-bottom: 1.5rem; }
.section-title .highlight { font-family: 'Playfair Display', Georgia, serif; font-style: italic; color: var(--accent-text); font-weight: 700; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-header .section-label { justify-content: center; }
.section-header .section-label::after { content: ''; width: 24px; height: 2px; background: var(--accent); }
.section-desc { color: var(--gray-500); font-size: 1.1rem; }

/* ==================== BUTTONS ==================== */
.btn-primary { background: var(--accent-text); color: var(--white); padding: 1rem 2.25rem; border-radius: 10px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; transition: all 0.3s ease; border: none; cursor: pointer; font-size: 1.05rem; box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4); }
.btn-primary svg { transition: transform 0.3s ease; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 2rem; border-radius: 10px; font-weight: 600; font-size: 1.05rem; text-decoration: none; color: var(--primary); background: var(--white); border: 1px solid var(--gray-200); transition: all 0.3s ease; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-2px); }
.badge-soon { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.95rem 1.75rem; border-radius: 10px; font-weight: 600; font-size: 1.05rem; color: var(--gray-600); background: var(--gray-100); border: 1px dashed var(--gray-300); cursor: default; }
.badge-soon .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(249,115,22,0.5); animation: soonPulse 2.2s ease-in-out infinite; }
@keyframes soonPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.5); } 50% { box-shadow: 0 0 0 6px rgba(249,115,22,0); } }

/* ==================== HERO ==================== */
.hero { background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 48%, var(--gray-100) 100%); padding: 5.5rem 2rem 6rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -45%; right: -15%; width: 75%; height: 150%; background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 62%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -40%; left: -20%; width: 60%; height: 120%; background: radial-gradient(ellipse at center, rgba(15,23,42,0.05) 0%, transparent 65%); pointer-events: none; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(249, 115, 22, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(249, 115, 22, 0.035) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to bottom, black 0%, transparent 82%); }
.hero-container { max-width: 1400px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hero-content { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 4.5rem; align-items: center; }
.hero-text { max-width: 600px; }
.hero-tagline { display: inline-flex; align-items: center; gap: 0.55rem; background: var(--white); border: 1px solid var(--gray-200); padding: 0.5rem 1.1rem 0.5rem 0.6rem; border-radius: 50px; font-size: 0.88rem; font-weight: 600; color: var(--gray-600); margin-bottom: 1.5rem; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.hero-tagline .pill { background: var(--accent-text); color: #fff; font-size: 0.66rem; letter-spacing: 0.5px; padding: 0.22rem 0.5rem; border-radius: 50px; }
.hero h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2.4rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; color: var(--primary); margin-bottom: 1.5rem; }
.hero h1 .highlight { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-style: italic; color: var(--accent-text); letter-spacing: 0; }
.hero p.lead { font-size: 1.2rem; color: var(--gray-500); margin-bottom: 2.25rem; line-height: 1.7; }
.hero-cta-wrapper { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.hero-premise { margin-top: 2.25rem; padding: 1.4rem 1.5rem; border: 1px solid var(--gray-200); border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; background: rgba(255,255,255,0.6); display: grid; gap: 0.35rem; max-width: 560px; }
.hero-premise .line { font-size: 1.05rem; color: var(--gray-600); }
.hero-premise .line strong { color: var(--primary); font-weight: 700; }
.hero-premise .line .accent { color: var(--accent-text); font-weight: 700; }

/* ---------- HERO DASHBOARD MOCKUP (primary focal point) ---------- */
.hero-visual { position: relative; perspective: 1600px; }
.si-dash { background: var(--white); border-radius: 22px; box-shadow: 0 40px 90px rgba(15,23,42,0.18), 0 16px 40px rgba(15,23,42,0.08); border: 1px solid var(--gray-100); overflow: hidden; transform: rotateY(-4deg) rotateX(2deg); transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94); will-change: transform; }
.si-dash:hover { transform: rotateY(0deg) rotateX(0deg) translateY(-4px); }
.si-dash-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.15rem; background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.si-dash-bar .dots { display: flex; gap: 0.4rem; }
.si-dash-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.25); display: inline-block; }
.si-dash-bar .dots i:nth-child(1) { background: #f87171; }
.si-dash-bar .dots i:nth-child(2) { background: #fbbf24; }
.si-dash-bar .dots i:nth-child(3) { background: #34d399; }
.si-dash-bar .title { color: rgba(255,255,255,0.9); font-size: 0.8rem; font-weight: 600; margin-left: 0.5rem; letter-spacing: 0.2px; }
.si-dash-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 0.4rem; color: #34d399; font-size: 0.72rem; font-weight: 600; }
.si-dash-bar .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,0.6); animation: soonPulse 2.4s ease-in-out infinite; }
.si-dash-body { padding: 1.5rem; }
.si-greeting { font-size: 1rem; color: var(--primary); font-weight: 700; margin-bottom: 1.1rem; }
.si-greeting span { color: var(--gray-500); font-weight: 500; }

.si-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.65rem; margin-bottom: 1.1rem; }
.si-kpi { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 12px; padding: 0.8rem 0.7rem; }
.si-kpi .k-label { font-size: 0.64rem; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 0.35rem; }
.si-kpi .k-value { font-size: 1rem; font-weight: 800; color: var(--primary); display: flex; align-items: baseline; gap: 0.3rem; flex-wrap: wrap; }
.si-kpi .trend { font-size: 0.78rem; font-weight: 700; }
.si-kpi .trend.up { color: var(--green); }
.si-kpi .trend.down { color: var(--red); }

.si-chart { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 12px; padding: 0.85rem 1rem 0.75rem; margin-bottom: 1.1rem; }
.si-chart .c-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.68rem; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 0.6rem; }
.si-chart .c-head b { color: var(--green); font-weight: 700; }
.si-chart .bars { display: flex; align-items: flex-end; gap: 0.4rem; height: 46px; }
.si-chart .bars i { flex: 1; display: block; background: linear-gradient(180deg, var(--accent-light), var(--accent)); border-radius: 4px 4px 0 0; opacity: 0.45; transition: opacity 0.3s ease; }
.si-chart .bars i:last-child { opacity: 1; }

.si-attention { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; padding: 0.9rem 1rem; margin-bottom: 1.1rem; }
.si-attention h4 { font-size: 0.82rem; font-weight: 700; color: var(--accent-text); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.4rem; }
.si-attention ul { list-style: none; display: grid; gap: 0.5rem; }
.si-attention li { font-size: 0.82rem; color: var(--gray-600); line-height: 1.4; display: flex; gap: 0.5rem; align-items: flex-start; }
.si-attention li .n { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.si-attention li strong { color: var(--primary); font-weight: 700; }

.si-ask { display: flex; align-items: center; gap: 0.6rem; background: var(--white); border: 1.5px solid var(--gray-200); border-radius: 12px; padding: 0.7rem 0.85rem; }
.si-ask svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.si-ask .ph { font-size: 0.85rem; color: var(--gray-400); }
.si-ask .ph b { color: var(--gray-600); font-weight: 600; }
.si-ask .send { margin-left: auto; width: 26px; height: 26px; border-radius: 7px; background: var(--accent-text); display: flex; align-items: center; justify-content: center; }
.si-ask .send svg { width: 14px; height: 14px; color: #fff; }

/* illustrative-example disclaimer on the mockup */
.si-dash-caption { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 0.9rem; font-size: 0.74rem; color: var(--gray-400); font-style: italic; }
.si-dash-caption svg { width: 13px; height: 13px; opacity: 0.8; }

/* floating badge */
.floating-badge { position: absolute; background: var(--white); padding: 0.85rem 1.1rem; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.14); display: flex; align-items: center; gap: 0.7rem; animation: float 3s ease-in-out infinite; z-index: 2; }
.floating-badge-1 { top: -24px; right: -14px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floating-icon { width: 42px; height: 42px; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; line-height: 1; }
.floating-text strong { display: block; font-size: 0.85rem; color: var(--primary); }
.floating-text span { font-size: 0.72rem; color: var(--gray-400); }

/* ==================== THE IDEA ==================== */
.idea { padding: 6rem 2rem; background: var(--white); }
.idea-container { max-width: 980px; margin: 0 auto; text-align: center; }
.idea-lead { font-size: 1.15rem; color: var(--gray-600); max-width: 760px; margin: 0 auto 0.5rem; line-height: 1.8; }
.idea-questions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2.5rem 0 0; }
.idea-q { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 14px; padding: 1.5rem 1rem; font-weight: 700; color: var(--primary); font-size: 1.05rem; transition: all 0.3s ease; }
.idea-q:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 15px 35px rgba(0,0,0,0.06); color: var(--accent-text); }

/* ==================== ERP + SI FLOW ==================== */
.flow { padding: 6rem 2rem; background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.flow::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(249,115,22,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(249,115,22,0.05) 1px, transparent 1px); background-size: 50px 50px; mask-image: radial-gradient(ellipse at 70% 0%, black, transparent 70%); }
.flow-container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.flow .section-title { color: #fff; }
.flow .section-header { margin-bottom: 3rem; }
.flow .section-desc { color: rgba(255,255,255,0.65); }
.flow-diagram { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 1rem; }
.flow-node { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 2rem 1.5rem; text-align: center; backdrop-filter: blur(4px); }
.flow-node.mid { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(249,115,22,0.2); background: rgba(249,115,22,0.08); }
.flow-node .fn-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-light); margin-bottom: 0.75rem; }
.flow-node h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.5px; }
.flow-node h3 span { color: var(--accent-light); }
.flow-node p { font-size: 0.92rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
.flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--accent); }
.flow-arrow svg { width: 34px; height: 34px; }
.flow-caption { text-align: center; margin-top: 3rem; font-size: 1.35rem; font-weight: 700; line-height: 1.6; }
.flow-caption .accent { color: var(--accent-light); font-family: 'Playfair Display', Georgia, serif; font-style: italic; }

/* ==================== ASK YOUR BUSINESS (interactive hub) ==================== */
.ask { padding: 6rem 2rem; background: var(--gray-50); }
.ask-container { max-width: 1240px; margin: 0 auto; }
.ask-stage { display: grid; grid-template-columns: 1fr minmax(320px, 400px) 1fr; gap: 1.5rem; align-items: center; }
.ask-col { display: grid; gap: 0.9rem; align-content: center; }
.query-card { display: flex; align-items: center; gap: 0.85rem; width: 100%; text-align: left; font-family: inherit; background: var(--white); border: 1px solid var(--gray-200); border-radius: 13px; padding: 0.95rem 1.1rem; cursor: pointer; transition: all 0.25s ease; color: var(--primary); }
.query-card:hover, .query-card.active { border-color: var(--accent); box-shadow: 0 14px 34px rgba(249,115,22,0.12); transform: translateY(-2px); }
.query-card.active { background: #fff7ed; }
.query-card .qc-ico { flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; background: var(--accent-glow); display: flex; align-items: center; justify-content: center; transition: all 0.25s ease; }
.query-card .qc-ico svg { width: 16px; height: 16px; color: var(--accent-text); }
.query-card.active .qc-ico, .query-card:hover .qc-ico { background: var(--accent); }
.query-card.active .qc-ico svg, .query-card:hover .qc-ico svg { color: #fff; }
.query-card p { font-size: 0.92rem; font-weight: 600; line-height: 1.35; flex: 1; }
.query-card .qc-arrow { flex-shrink: 0; color: var(--gray-300); transition: all 0.25s ease; }
.query-card .qc-arrow svg { width: 16px; height: 16px; display: block; }
.query-card:hover .qc-arrow, .query-card.active .qc-arrow { color: var(--accent); transform: translateX(3px); }

.ask-hub { background: linear-gradient(165deg, var(--primary) 0%, var(--primary-light) 100%); border-radius: 22px; padding: 1.5rem; color: #fff; box-shadow: 0 35px 80px rgba(15,23,42,0.28); border: 1px solid rgba(255,255,255,0.08); position: relative; overflow: hidden; }
.ask-hub::before { content: ''; position: absolute; top: -40%; right: -30%; width: 80%; height: 120%; background: radial-gradient(ellipse at center, rgba(249,115,22,0.18) 0%, transparent 60%); pointer-events: none; }
.ask-hub-head { display: flex; align-items: center; gap: 0.65rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 1.1rem; position: relative; }
.ask-hub-avatar { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-light)); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 0.8rem; }
.ask-hub-name { font-weight: 700; font-size: 0.95rem; line-height: 1.2; }
.ask-hub-name span { display: block; font-weight: 500; font-size: 0.7rem; color: #34d399; margin-top: 2px; }
.ask-hub-illus { margin-left: auto; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.22); padding: 0.18rem 0.45rem; border-radius: 5px; }
.ask-hub-body { position: relative; }
.ask-hub-q { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.98rem; font-weight: 600; line-height: 1.4; margin-bottom: 1rem; }
.ask-hub-q .you { flex-shrink: 0; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.2); padding: 0.15rem 0.4rem; border-radius: 5px; margin-top: 2px; }
.ask-hub-a { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 13px; padding: 1rem 1.1rem; margin-bottom: 1.1rem; }
.ask-hub-a .a-label { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--accent-light); margin-bottom: 0.5rem; }
.ask-hub-a .a-text { font-size: 0.92rem; color: rgba(255,255,255,0.85); line-height: 1.55; transition: opacity 0.2s ease; }
.ask-hub-input { display: flex; align-items: center; gap: 0.55rem; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 11px; padding: 0.65rem 0.8rem; }
.ask-hub-input svg { width: 17px; height: 17px; color: var(--accent-light); flex-shrink: 0; }
.ask-hub-input .ph { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.ask-hub-input .send { margin-left: auto; width: 26px; height: 26px; border-radius: 7px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.ask-hub-input .send svg { width: 13px; height: 13px; color: #fff; }
.ask-note { text-align: center; margin-top: 2.5rem; font-size: 0.9rem; color: var(--gray-500); font-style: italic; }

/* ==================== BUILT FOR REAL BUSINESSES ==================== */
.segments { padding: 6rem 2rem; background: var(--white); }
.segments-container { max-width: 1400px; margin: 0 auto; }
.segments-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.segment-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: 20px; padding: 2rem 1.75rem; transition: all 0.3s ease; position: relative; overflow: hidden; }
.segment-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--accent); opacity: 0; transition: opacity 0.3s ease; }
.segment-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 25px 50px rgba(0,0,0,0.09); }
.segment-card:hover::before { opacity: 1; }
.segment-icon { width: 60px; height: 60px; background: var(--accent-glow); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1.25rem; transition: all 0.3s ease; }
.segment-card:hover .segment-icon { background: var(--accent); transform: scale(1.05); }
.segment-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 0.6rem; }
.segment-card p { font-size: 0.95rem; color: var(--gray-500); line-height: 1.6; }

/* ==================== CAPABILITIES ==================== */
.features { padding: 6rem 2rem; background: var(--gray-50); }
.features-container { max-width: 1400px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: 18px; padding: 2rem 1.85rem; transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(0,0,0,0.09); border-color: var(--accent); }
.feature-icon { width: 52px; height: 52px; border-radius: 13px; background: var(--accent-glow); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; transition: all 0.3s ease; }
.feature-icon svg { width: 24px; height: 24px; color: var(--accent-text); }
.feature-card:hover .feature-icon { background: var(--accent); }
.feature-card:hover .feature-icon svg { color: #fff; }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.95rem; color: var(--gray-500); line-height: 1.6; }

/* ==================== PRACTICAL EXAMPLE (before/after) ==================== */
.example { padding: 6rem 2rem; background: var(--white); }
.example-container { max-width: 1160px; margin: 0 auto; }
.example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: stretch; position: relative; }
.example-col { border-radius: 20px; padding: 2.25rem; height: 100%; display: flex; flex-direction: column; }
.example-col.old { background: var(--gray-50); border: 1px solid var(--gray-200); }
.example-col.new { background: linear-gradient(160deg, #fff7ed 0%, #ffffff 100%); border: 1px solid #fed7aa; box-shadow: 0 25px 60px rgba(249,115,22,0.1); }
.example-col .col-head { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.4rem; }
.example-col.old .col-head { color: var(--gray-500); }
.example-col.new .col-head { color: var(--accent-text); }
.ex-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; font-weight: 700; border-radius: 50px; padding: 0.35rem 0.85rem; margin-bottom: 1.5rem; align-self: flex-start; text-transform: none; letter-spacing: 0; }
.ex-badge svg { width: 14px; height: 14px; }
.ex-badge.slow { background: var(--gray-200); color: var(--gray-600); }
.ex-badge.fast { background: var(--green-bg); color: var(--green); }

.steps { list-style: none; display: grid; gap: 0; margin-top: 0.25rem; }
.steps li { position: relative; padding: 0 0 1.35rem 2rem; font-size: 1rem; color: var(--gray-600); }
.steps li::before { content: ''; position: absolute; left: 7px; top: 2px; bottom: 0; width: 2px; background: var(--gray-200); }
.steps li::after { content: ''; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid var(--gray-300); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::before { display: none; }

.insight-chain { display: grid; gap: 0.9rem; }
.insight { position: relative; background: var(--white); border: 1px solid #fed7aa; border-radius: 14px; padding: 1.05rem 1.2rem; font-size: 1rem; color: var(--primary); line-height: 1.5; box-shadow: 0 6px 18px rgba(249,115,22,0.07); }
.insight strong { color: var(--accent-text); }
.insight .ins-label { display: block; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 0.35rem; }
.insight-arrow { display: flex; justify-content: center; color: var(--accent); }
.insight-arrow svg { width: 20px; height: 20px; }
/* center VS marker */
.ex-vs { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: var(--white); border: 2px solid var(--gray-200); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; color: var(--gray-500); box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 2; }
.example-foot { text-align: center; margin-top: 2.5rem; font-size: 0.92rem; color: var(--gray-500); font-style: italic; }

/* ==================== DESIGNED FOR MANAGEMENT ==================== */
.management { padding: 5.5rem 2rem; background: var(--gray-50); }
.management-container { max-width: 1040px; margin: 0 auto; text-align: center; }
.mgmt-roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 0 auto 2.5rem; max-width: 760px; }
.mgmt-roles span { background: var(--white); border: 1px solid var(--gray-200); border-radius: 50px; padding: 0.55rem 1.25rem; font-size: 0.92rem; font-weight: 600; color: var(--gray-600); }
.mgmt-wants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.mgmt-want { background: var(--white); border: 1px solid var(--gray-100); border-radius: 16px; padding: 1.75rem 1.5rem; transition: all 0.3s ease; }
.mgmt-want:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 15px 35px rgba(0,0,0,0.06); }
.mgmt-want .w-big { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 1.6rem; color: var(--accent-text); margin-bottom: 0.4rem; }
.mgmt-want p { font-size: 0.95rem; color: var(--gray-500); }

/* ==================== FINAL CTA / INTEREST (form-ready) ==================== */
.final-cta { padding: 6rem 2rem; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 70%; height: 160%; background: radial-gradient(ellipse at center, rgba(249,115,22,0.18) 0%, transparent 60%); pointer-events: none; }
.final-cta-container { max-width: 760px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.final-cta h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 1.25rem; }
.final-cta h2 .highlight { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-style: italic; color: var(--accent-light); letter-spacing: 0; }
.final-cta > .final-cta-container > p { font-size: 1.15rem; color: rgba(255,255,255,0.72); margin-bottom: 2.5rem; }
/* interest card — structured so a form can drop straight in */
.interest-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 22px; padding: 2.5rem 2rem; backdrop-filter: blur(6px); box-shadow: 0 30px 70px rgba(0,0,0,0.25); }
.interest-card .ic-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-light); margin-bottom: 1rem; }
.interest-card .ic-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.interest-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.6rem; }
.interest-card p { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 1.75rem; }
.interest-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.interest-card .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.interest-card .btn-ghost:hover { border-color: var(--accent); color: var(--accent-light); }
.interest-micro { margin-top: 1.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ==================== FOOTER ==================== */
.footer { background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%); color: rgba(255, 255, 255, 0.8); padding: 4rem 2rem 0; position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-hover), var(--accent)); }
.footer-container { max-width: 1400px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-logo { height: 48px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-desc { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; color: rgba(255, 255, 255, 0.6); }
.footer-tagline { font-family: 'Playfair Display', Georgia, serif; font-style: italic; color: var(--accent-light); font-size: 1.05rem; margin-bottom: 1rem; }
.footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { text-decoration: none; font-size: 0.95rem; color: rgba(255, 255, 255, 0.6); transition: all 0.3s ease; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.6); }
.footer-contact-item span.icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 0.3s ease; }
.footer-contact-item a:hover { color: var(--accent); }
.social-links { display: flex; gap: 0.75rem; }
.social-link { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; text-decoration: none; background: var(--accent); color: var(--white); }
.social-link:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 5px 20px rgba(249, 115, 22, 0.4); }
.social-link svg { width: 20px; height: 20px; }
.footer-bottom { padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.5); }
.footer-bottom-links { display: flex; gap: 2rem; }
.footer-bottom-links a { text-decoration: none; color: rgba(255, 255, 255, 0.5); transition: all 0.3s ease; }
.footer-bottom-links a:hover { color: var(--accent); }

/* ==================== BACK TO TOP ==================== */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4); opacity: 0; visibility: hidden; z-index: 1000; border: none; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5); }
.back-to-top svg { width: 24px; height: 24px; color: var(--white); }

/* mobile nav backdrop */
.nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1050; opacity: 0; transition: opacity 0.25s ease; }
nav.nav-open .nav-backdrop { display: block; opacity: 1; }
body.nav-locked { overflow: hidden; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-text { max-width: 100%; margin: 0 auto; }
    .hero-cta-wrapper { justify-content: center; }
    .hero-premise { margin-left: auto; margin-right: auto; text-align: center; border-left: none; border-top: 4px solid var(--accent); border-radius: 0 0 14px 14px; }
    .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; perspective: none; }
    .si-dash { transform: none; }
    .idea-questions { grid-template-columns: repeat(2, 1fr); }
    .flow-diagram { grid-template-columns: 1fr; gap: 0.75rem; }
    .flow-arrow { transform: rotate(90deg); padding: 0.25rem 0; }
    .ask-stage { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .ask-hub { order: -1; }
    .ask-col { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
    .segments-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .mgmt-wants { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .top-bar-content { justify-content: center; gap: 1rem; }
    .top-bar-right { display: none; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    header { padding: 0.75rem 1.25rem; }
    .hero { padding: 3rem 1.5rem 3.5rem; }
    .hero h1 { font-size: 2.1rem; }
    .hero p.lead { font-size: 1.05rem; }
    .floating-badge { display: none; }
    .si-kpis { grid-template-columns: repeat(2, 1fr); }
    .idea, .flow, .ask, .segments, .features, .example, .management, .final-cta { padding: 4rem 1.5rem; }
    .ask-col { grid-template-columns: 1fr; }
    .segments-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .example-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .ex-vs { position: static; transform: none; margin: 0 auto; }
    .section-title { font-size: 1.75rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-logo { margin: 0 auto 1rem; }
    .footer-contact-item { justify-content: center; }
    .social-links { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .flow-node h3 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .idea-questions { grid-template-columns: 1fr; }
    .hero-cta-wrapper { flex-direction: column; align-items: stretch; }
    .hero-cta-wrapper .btn-primary, .hero-cta-wrapper .badge-soon { justify-content: center; }
    .si-dash-body { padding: 1.1rem; }
    .interest-actions { flex-direction: column; align-items: stretch; }
    .interest-actions .btn-primary, .interest-actions .btn-ghost { justify-content: center; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    .si-dash, .floating-badge, .badge-soon .dot, .si-dash-bar .live::before { animation: none !important; transform: none !important; }
}
