/* ============================================
   IntelloAI — Global Stylesheet
   Brand Blue: #2088C4 (from logo)
   ============================================ */

:root {
    --brand-blue: #2088C4;
    --brand-blue-light: #38a3d8;
    --brand-blue-dark: #186a9c;
    --purple: #7c3aed;
    --cyan: #06b6d4;
    --pink: #ec4899;
    --green: #10b981;
    --bg-primary: #060610;
    --bg-card: rgba(255, 255, 255, 0.025);
    --bg-card-hover: rgba(255, 255, 255, 0.04);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-faint: #475569;
}

/* ---- Base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }

/* ---- Gradient Texts ---- */
.gradient-text-brand {
    background: linear-gradient(135deg, var(--brand-blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-purple {
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-warm {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Glass Effect ---- */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
}
.glass-strong {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---- Background Elements ---- */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(32, 136, 196, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 136, 196, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
}
.bg-glow-1 { top: -300px; left: -200px; width: 700px; height: 700px; background: rgba(32, 136, 196, 0.08); }
.bg-glow-2 { bottom: -300px; right: -200px; width: 700px; height: 700px; background: rgba(124, 58, 237, 0.06); }
.bg-glow-3 { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; background: rgba(6, 182, 212, 0.03); }

/* ---- Animations ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes pulseGlow {
    0%, 100% { opacity: 0.08; }
    50% { opacity: 0.15; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-pulse-glow { animation: pulseGlow 4s ease-in-out infinite; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-dot { animation: pulse 1.5s ease-in-out infinite; }

/* Page load */
@keyframes pageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}
body { animation: pageLoad 0.5s ease-out both; }

/* Shimmer sweep */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Scroll-triggered animations */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.95); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(7) { transition-delay: 0.35s; }
.stagger-children .reveal:nth-child(8) { transition-delay: 0.4s; }

/* ---- Cards ---- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
    transform: translateY(-8px) scale(1.005);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}
.card-glow-blue:hover { box-shadow: 0 8px 60px rgba(32, 136, 196, 0.12), 0 0 0 1px rgba(32, 136, 196, 0.2); border-color: rgba(32, 136, 196, 0.3); }
.card-glow-purple:hover { box-shadow: 0 8px 60px rgba(124, 58, 237, 0.12), 0 0 0 1px rgba(124, 58, 237, 0.2); border-color: rgba(124, 58, 237, 0.3); }
.card-glow-cyan:hover { box-shadow: 0 8px 60px rgba(6, 182, 212, 0.12), 0 0 0 1px rgba(6, 182, 212, 0.2); border-color: rgba(6, 182, 212, 0.3); }
.card-glow-pink:hover { box-shadow: 0 8px 60px rgba(236, 72, 153, 0.12), 0 0 0 1px rgba(236, 72, 153, 0.2); border-color: rgba(236, 72, 153, 0.3); }

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}
.nav.scrolled {
    background: rgba(6, 6, 16, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}
.nav-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link.active { color: var(--brand-blue); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-blue), var(--cyan));
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 0.75rem;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}
.nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--brand-blue), var(--purple));
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(32, 136, 196, 0.3); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}
.btn-secondary:hover { color: var(--text-primary); border-color: var(--border-hover); background: rgba(255,255,255,0.04); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); }

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
}

/* ---- Section Styles ---- */
.section { position: relative; z-index: 1; padding: 8rem 1.5rem; }
.section-tight { padding: 5rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 800px; margin: 0 auto; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(32, 136, 196, 0.08);
    border: 1px solid rgba(32, 136, 196, 0.15);
    font-size: 0.75rem;
    color: var(--brand-blue-light);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}
.section-label .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-blue);
    animation: pulse 1.5s ease-in-out infinite;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 680px;
}

/* ---- Stat Cards ---- */
.stat-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}
.stat-card:hover {
    background: rgba(32, 136, 196, 0.06);
    border-color: rgba(32, 136, 196, 0.2);
    transform: translateY(-4px);
}
.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ---- Image Styles ---- */
.feature-block img {
    border-radius: 1rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s ease;
    will-change: transform;
}
.feature-block img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
section img {
    border-radius: 1rem;
}

/* ---- Tags / Badges ---- */
.tag {
    display: inline-flex;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.tag-blue { background: rgba(32, 136, 196, 0.1); color: var(--brand-blue-light); }
.tag-purple { background: rgba(124, 58, 237, 0.1); color: #a78bfa; }
.tag-cyan { background: rgba(6, 182, 212, 0.1); color: #22d3ee; }
.tag-pink { background: rgba(236, 72, 153, 0.1); color: #f472b6; }
.tag-green { background: rgba(16, 185, 129, 0.1); color: #34d399; }

/* ---- Product Status Badge ---- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 500;
}
.status-active { background: rgba(16, 185, 129, 0.1); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }
.status-development { background: rgba(234, 179, 8, 0.1); color: #fbbf24; border: 1px solid rgba(234, 179, 8, 0.2); }
.status-planning { background: rgba(124, 58, 237, 0.1); color: #a78bfa; border: 1px solid rgba(124, 58, 237, 0.2); }

/* ---- Divider ---- */
.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
    margin: 0 auto;
}

/* ---- Feature Blocks ---- */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

/* ---- Comparison Table ---- */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}
.compare-table th {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}
.compare-table td {
    padding: 0.875rem 1.25rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .highlight { background: rgba(32, 136, 196, 0.04); }

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--brand-blue), var(--purple), var(--pink));
}
.timeline-item { position: relative; padding-bottom: 3rem; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-blue);
    border: 2px solid var(--bg-primary);
    transform: translateX(-4px);
}

/* ---- Footer ---- */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 1.5rem 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-link {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 0.625rem;
    transition: color 0.2s ease, padding-left 0.25s ease;
}
.footer-link:hover { color: var(--text-primary); padding-left: 4px; }
.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ---- Mobile Menu ---- */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
    align-content: start;
}
.mobile-menu-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.mobile-menu-link {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-menu-link:hover,
.mobile-menu-link.active { color: var(--text-primary); padding-left: 4px; }
.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

/* ---- Forms ---- */
.form-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}
.form-input:focus { border-color: rgba(32, 136, 196, 0.4); background: rgba(255, 255, 255, 0.04); }
.form-input::placeholder { color: var(--text-faint); }
select.form-input { appearance: none; cursor: pointer; }
textarea.form-input { resize: vertical; min-height: 120px; }

/* ---- Scroll-to-Top Button ---- */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 90;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(32, 136, 196, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(32, 136, 196, 0.25);
    color: var(--brand-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    cursor: pointer;
}
.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.scroll-top-btn:hover {
    background: rgba(32, 136, 196, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(32, 136, 196, 0.2);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   HERO VISUAL SYSTEM
   ======================================================== */

/* Neural canvas */
#neural-canvas {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none; opacity: 0.55; z-index: 0;
}

/* Animated gradient headline */
.hero-gradient-text {
    background: linear-gradient(135deg, #2088C4 0%, #7c3aed 40%, #06b6d4 70%, #2088C4 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroGradientShift 5s ease infinite;
}
@keyframes heroGradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Typewriter */
.hero-typewriter-wrap {
    font-size: 1.125rem; color: var(--text-secondary);
    margin-bottom: 2rem; min-height: 1.8em;
}
#hero-typewriter {
    color: #38a3d8;
    border-right: 2px solid #2088C4;
    animation: blinkCursor 0.9s step-end infinite;
    padding-right: 2px;
}
@keyframes blinkCursor {
    0%, 100% { border-color: #2088C4; }
    50%       { border-color: transparent; }
}

/* Product chips */
.hero-chips {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 0.75rem; margin: 1.75rem 0 2.5rem;
}
.hero-chip {
    display: inline-flex; align-items: center; gap: 0.625rem;
    padding: 0.6rem 1.25rem; border-radius: 100px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary);
    text-decoration: none; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(8px); letter-spacing: 0.01em;
}
.hero-chip:hover {
    background: rgba(32,136,196,0.1); border-color: rgba(32,136,196,0.4);
    color: #fff; transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(32,136,196,0.15);
}
.hero-chip-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* Scroll indicator */
.hero-scroll {
    position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.375rem;
    color: var(--text-muted); font-size: 0.5625rem;
    letter-spacing: 0.18em; text-transform: uppercase; z-index: 10;
}
.hero-scroll-line {
    width: 1px; height: 36px;
    background: linear-gradient(to bottom, rgba(32,136,196,0.9), transparent);
    animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
    25%  { opacity: 1; }
    75%  { transform: scaleY(1); transform-origin: top; }
    100% { transform: scaleY(1); opacity: 0; }
}

/* ---- Platform Unified Inbox Mockup ---- */
.platform-mockup {
    background: linear-gradient(145deg, rgba(124,58,237,0.09), rgba(32,136,196,0.05));
    border: 1px solid rgba(124,58,237,0.28); border-radius: 1.25rem;
    padding: 1.125rem; position: relative; overflow: hidden;
}
.platform-mockup::before {
    content: ''; position: absolute; top: -30%; right: -20%;
    width: 60%; height: 60%; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(124,58,237,0.12), transparent 70%);
    pointer-events: none;
}
.pm-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.875rem; }
.pm-topbar-title { font-size: 0.75rem; font-weight: 700; color: white; }
.pm-live { font-size: 0.5625rem; color: #4ade80; display: flex; align-items: center; gap: 0.3rem; font-weight: 600; }
.pm-live-dot { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; animation: livePulse 1.5s ease-in-out infinite; }
@keyframes livePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); } 50% { box-shadow: 0 0 0 4px rgba(74,222,128,0); } }
.pm-tabs { display: flex; gap: 0.3rem; margin-bottom: 0.875rem; flex-wrap: wrap; }
.pm-tab { padding: 0.25rem 0.625rem; border-radius: 100px; font-size: 0.5rem; font-weight: 700; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.pm-tab.active { background: rgba(124,58,237,0.2); border-color: rgba(124,58,237,0.5); color: #c084fc; }
.pm-msg { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.5625rem; border-radius: 0.625rem; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.055); margin-bottom: 0.4rem; }
.pm-avatar { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.475rem; font-weight: 800; color: white; flex-shrink: 0; }
.pm-msg-name { font-size: 0.5625rem; font-weight: 700; color: white; }
.pm-msg-src { font-size: 0.45rem; color: var(--text-muted); font-weight: 500; margin-left: 0.25rem; }
.pm-msg-text { font-size: 0.5rem; color: var(--text-secondary); line-height: 1.45; margin-top: 0.125rem; }
.pm-ai-reply { display: inline-flex; align-items: center; gap: 0.2rem; font-size: 0.45rem; color: #a78bfa; background: rgba(124,58,237,0.1); padding: 0.1rem 0.35rem; border-radius: 3px; margin-top: 0.25rem; font-weight: 600; }
.pm-divider { font-size: 0.475rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin: 0.5rem 0 0.35rem; }
.pm-order-row { display: flex; justify-content: space-between; align-items: center; padding: 0.375rem 0.5625rem; border-radius: 0.5rem; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.045); margin-bottom: 0.3rem; }
.pm-order-id { color: #c084fc; font-weight: 700; font-size: 0.5rem; }
.pm-order-val { color: white; font-weight: 600; font-size: 0.5rem; }
.pm-order-ok { color: #4ade80; font-size: 0.475rem; font-weight: 600; }
.pm-order-pending { color: #fbbf24; font-size: 0.475rem; font-weight: 600; }

/* ---- SwiftPay Flow Diagram ---- */
.sfd-wrap {
    background: linear-gradient(145deg, rgba(6,182,212,0.07), rgba(32,136,196,0.04));
    border: 1px solid rgba(6,182,212,0.22); border-radius: 1.25rem;
    padding: 1.5rem 1.25rem; overflow: hidden; position: relative;
}
.sfd-section-label { font-size: 0.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 0.625rem; }
.sfd-row { display: flex; align-items: center; gap: 0.25rem; margin-bottom: 1rem; }
.sfd-node { text-align: center; padding: 0.75rem 0.875rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 0.875rem; flex-shrink: 0; min-width: 74px; }
.sfd-node.active { border-color: rgba(6,182,212,0.4); background: rgba(6,182,212,0.08); }
.sfd-node-icon { font-size: 1.125rem; }
.sfd-node-label { font-size: 0.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-top: 0.25rem; }
.sfd-node-sub { font-size: 0.425rem; color: var(--text-secondary); margin-top: 0.1rem; }
.sfd-connector { flex: 1; position: relative; display: flex; align-items: center; flex-direction: column; gap: 0.2rem; padding: 0 0.125rem; }
.sfd-line { height: 2px; width: 100%; border-radius: 2px; }
.sfd-line.flowing { background: linear-gradient(to right, rgba(6,182,212,0.2), rgba(6,182,212,0.9), rgba(6,182,212,0.2)); overflow: hidden; position: relative; }
.sfd-line.flowing::after { content: ''; position: absolute; top: 0; left: -70%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, #06b6d4, transparent); animation: flowPulse 1.8s linear infinite; }
@keyframes flowPulse { to { left: 140%; } }
.sfd-line.blocked { background: rgba(248,113,113,0.3); }
.sfd-line-label { font-size: 0.45rem; font-weight: 700; white-space: nowrap; padding: 0.1rem 0.375rem; border-radius: 3px; }
.sfd-line-label.bad { color: #f87171; background: rgba(248,113,113,0.1); }
.sfd-line-label.good { color: #4ade80; background: rgba(74,222,128,0.1); }
.sfd-compare-badge { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.875rem; }
.sfd-badge { flex: 1; padding: 0.5rem 0.625rem; border-radius: 0.625rem; text-align: center; }
.sfd-badge.bad { background: rgba(248,113,113,0.07); border: 1px solid rgba(248,113,113,0.2); }
.sfd-badge.good { background: rgba(74,222,128,0.07); border: 1px solid rgba(74,222,128,0.2); }
.sfd-badge-val { font-size: 0.875rem; font-weight: 800; }
.sfd-badge-val.bad { color: #f87171; }
.sfd-badge-val.good { color: #4ade80; }
.sfd-badge-label { font-size: 0.45rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; margin-top: 0.125rem; }

/* ---- Office Agent Org Chart ---- */
.oac-wrap {
    background: linear-gradient(145deg, rgba(236,72,153,0.07), rgba(124,58,237,0.05));
    border: 1px solid rgba(236,72,153,0.22); border-radius: 1.25rem;
    padding: 1.5rem; overflow: hidden; position: relative;
}
.oac-ceo { display: flex; justify-content: center; margin-bottom: 1.125rem; position: relative; }
.oac-ceo::after { content: ''; position: absolute; bottom: -1.125rem; left: 50%; width: 1px; height: 1rem; background: rgba(236,72,153,0.3); }
.oac-node { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 100px; border: 1px solid rgba(255,255,255,0.08); font-size: 0.5625rem; font-weight: 600; background: rgba(255,255,255,0.04); color: var(--text-secondary); }
.oac-node.ceo { background: rgba(236,72,153,0.15); border-color: rgba(236,72,153,0.45); color: #f9a8d4; font-size: 0.6875rem; padding: 0.625rem 1.5rem; }
.oac-node.p { background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.4); color: #c084fc; }
.oac-node.c { background: rgba(6,182,212,0.1); border-color: rgba(6,182,212,0.35); color: #67e8f9; }
.oac-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.oac-dot-pink { background: #ec4899; box-shadow: 0 0 6px rgba(236,72,153,0.6); animation: dotBeat 1.8s ease-in-out infinite; }
.oac-dot-purple { background: #a855f7; box-shadow: 0 0 6px rgba(168,85,247,0.6); animation: dotBeat 2.1s ease-in-out infinite; }
.oac-dot-cyan { background: #22d3ee; box-shadow: 0 0 6px rgba(34,211,238,0.6); animation: dotBeat 1.5s ease-in-out infinite; }
@keyframes dotBeat { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.7; } }
.oac-agents { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.5rem; margin-bottom: 1rem; position: relative; }
.oac-agents::before { content: ''; position: absolute; top: -1rem; left: 50%; width: 1px; height: 1rem; background: rgba(255,255,255,0.1); }
.oac-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.4rem; }
.oac-stat { padding: 0.5rem; border-radius: 0.625rem; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.05); text-align: center; }
.oac-stat-num { font-size: 0.9375rem; font-weight: 800; color: white; }
.oac-stat-label { font-size: 0.4375rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 0.1rem; }

/* Split hero layout */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 1024px) { .hero-split { grid-template-columns: 1fr; gap: 3rem; } }
@media (max-width: 768px) { 
    .hero-split { gap: 2rem; }
    .hero-split .hero-visual { display: none; }
    .platform-mockup, .sfd-wrap, .oac-wrap { display: none; }
}

/* ---- Responsive ---- */

/* Desktop+ */
@media (min-width: 1280px) {
    .container { max-width: 1200px; }
}

/* Laptop / Small desktop */
@media (max-width: 1024px) {
    .feature-block { grid-template-columns: 1fr; gap: 2rem; }
    .feature-block.reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 6rem 1.5rem; }
    .section-tight { padding: 4rem 1.5rem; }
}

/* Tablet */
@media (max-width: 768px) {
    .section { padding: 4rem 1.25rem; }
    .section-tight { padding: 3rem 1.25rem; }
    .section-title { margin-bottom: 1rem; }
    .section-subtitle { font-size: 1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer { padding: 3rem 1.25rem 1.5rem; }
    .compare-table th,
    .compare-table td { padding: 0.625rem 0.75rem; font-size: 0.75rem; }
    .stat-number { font-size: 1.5rem; }
    .stat-card { padding: 1.25rem; }
    .timeline { padding-left: 1.5rem; }
    .timeline-item { padding-bottom: 2rem; }
    .btn-primary,
    .btn-secondary { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
    .card { border-radius: 1rem; }
    .feature-block { padding: 2.5rem 0; }
    .nav-link::after { display: none; }
    .scroll-top-btn { bottom: 1.5rem; right: 1.5rem; width: 40px; height: 40px; }
}

/* Mobile */
@media (max-width: 480px) {
    .section { padding: 3rem 1rem; }
    .section-tight { padding: 2rem 1rem; }
    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.9375rem; }
    .footer { padding: 2.5rem 1rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .card { border-radius: 0.875rem; }
    .stat-card { padding: 1rem; }
    .stat-number { font-size: 1.25rem; }
    .stat-label { font-size: 0.6875rem; }
    .tag { font-size: 0.625rem; padding: 0.25rem 0.5rem; }
    .btn-primary,
    .btn-secondary { width: 100%; justify-content: center; padding: 0.875rem 1.5rem; }
    .compare-table th,
    .compare-table td { padding: 0.5rem 0.5rem; font-size: 0.6875rem; }
    .timeline { padding-left: 1.25rem; }
    .timeline-item::before { left: -1.25rem; }
    .feature-block { padding: 2rem 0; gap: 1.5rem; }
    .scroll-top-btn { bottom: 1rem; right: 1rem; }
}

/* Touch device — disable hover transforms */
@media (hover: none) {
    .card:hover { transform: none; box-shadow: none; }
    .feature-block img:hover { transform: none; box-shadow: none; }
    .btn-primary:hover { transform: none; }
    .btn-primary::before { display: none; }
    .btn-secondary:hover { transform: none; box-shadow: none; }
    .stat-card:hover { transform: none; }
    .footer-link:hover { padding-left: 0; }
}

/* Table responsive wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 1rem;
}

/* Selection color */
::selection {
    background: rgba(32, 136, 196, 0.3);
    color: #fff;
}
