/* ============================================
   IBISENSE — Design System & Styles
   ============================================ */

:root {
    --primary: #1E40AF;
    --primary-light: #3B82F6;
    --primary-dark: #1E3A8A;
    --accent: #0EA5E9;
    --accent-light: #38BDF8;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --purple: #8B5CF6;

    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);

    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    line-height: 1.7;
    background: #fff;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Typography ---- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-family: var(--font-sans);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-family: var(--font-sans);
    letter-spacing: -0.01em;
}

h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-300);
}
.btn-ghost:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.btn-nav {
    background: transparent;
    color: var(--primary);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1.5px solid var(--primary-light);
    border-radius: var(--radius-full);
}
.btn-nav:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: var(--primary);
    color: var(--primary-dark);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 14px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--gray-900);
}
.nav-logo-img { width: 36px; height: 36px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links > li {
    display: flex;
    align-items: center;
}
.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s;
    line-height: 1;
}
.nav-links > li > a:not(.btn) {
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links > li > a.active:not(.btn) {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s;
    border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}
.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    top: -200px;
    right: -100px;
}
.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
}
.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--purple);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-500);
    margin-top: 20px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 24px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Hero Graphic */
.hero-graphic {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.data-flow {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-direction: column;
}

.data-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.data-node span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-600);
}

.node-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}
.node-icon svg { width: 100%; height: 100%; }

.node-legacy .node-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 2px solid rgba(239, 68, 68, 0.2);
}

.node-ibisense .node-icon,
.ibisense-node {
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
    color: #fff;
    border: none !important;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.3);
}
.node-logo { width: 36px; height: 36px; border-radius: 50%; }

.node-modern .node-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.data-stream {
    display: flex;
    gap: 8px;
    flex-direction: column;
    align-items: center;
    height: 40px;
    position: relative;
}

.stream-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-light);
    animation: flowDown 2s ease-in-out infinite;
}
.dot-1, .dot-4 { animation-delay: 0s; }
.dot-2, .dot-5 { animation-delay: 0.3s; }
.dot-3, .dot-6 { animation-delay: 0.6s; }

@keyframes flowDown {
    0%, 100% { opacity: 0.2; transform: translateY(-8px); }
    50% { opacity: 1; transform: translateY(8px); }
}

/* ---- Sections ---- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--gray-500);
    font-size: 1.1rem;
    margin-top: 16px;
    line-height: 1.8;
}

/* ---- Problem Section ---- */
.section-problem {
    background: var(--gray-50);
}

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

.pain-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 24px;
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}
.pain-card.animated {
    opacity: 1;
    transform: translateY(0);
}
.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.pain-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.pain-icon svg { width: 28px; height: 28px; }

.pain-icon-red { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.pain-icon-orange { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.pain-icon-yellow { background: rgba(234, 179, 8, 0.1); color: #CA8A04; }
.pain-icon-purple { background: rgba(139, 92, 246, 0.1); color: var(--purple); }

.pain-card h3 { margin-bottom: 8px; }
.pain-card p { color: var(--gray-500); font-size: 0.92rem; line-height: 1.7; }

/* Infographic */
.infographic {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.info-title {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    margin-bottom: 32px;
    text-align: center;
}

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

.info-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.info-bar-label span:first-child { color: var(--gray-600); }
.info-bar-value { font-weight: 700; color: var(--gray-800); }

.info-bar-track {
    height: 12px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.info-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    width: 0;
    transition: width 1.5s ease;
}
.info-bar-fill.animated { width: var(--target-width); }

.fill-red { background: linear-gradient(90deg, #FCA5A5, var(--danger)); }
.fill-orange { background: linear-gradient(90deg, #FDE68A, var(--warning)); }
.fill-yellow { background: linear-gradient(90deg, #FDE68A, #CA8A04); }
.fill-purple { background: linear-gradient(90deg, #C4B5FD, var(--purple)); }

.info-source {
    text-align: center;
    font-size: 0.78rem;
    color: var(--gray-400);
    margin-top: 24px;
    font-style: italic;
}

/* ---- AI Section ---- */
.section-ai {
    padding: 60px 0;
    background: #fff;
}

.ai-block {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.03), rgba(14, 165, 233, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.ai-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    color: var(--primary);
}
.ai-icon svg { width: 100%; height: 100%; }

.ai-content h3 {
    font-family: var(--font-sans);
    margin-bottom: 12px;
    font-size: 1.3rem;
}
.ai-content p {
    color: var(--gray-600);
    margin-bottom: 8px;
    line-height: 1.8;
}
.ai-content p:last-child { margin-bottom: 0; }

/* ---- Solution Section ---- */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.solution-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}
.solution-card.animated {
    opacity: 1;
    transform: translateY(0);
}
.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 130, 246, 0.3);
}

.solution-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-100);
    position: absolute;
    top: 12px;
    right: 20px;
    line-height: 1;
}

.solution-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}
.solution-icon svg { width: 100%; height: 100%; }

.solution-card h3 { margin-bottom: 4px; font-size: 1.3rem; }
.solution-card p { color: var(--gray-500); font-size: 0.92rem; line-height: 1.7; }
.product-subtitle {
    color: var(--primary) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 12px !important;
}
.product-features {
    list-style: none;
    margin-top: 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.product-features li {
    padding-left: 20px;
    position: relative;
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.5;
}
.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    opacity: 0.6;
}

/* ---- White Label Section ---- */
.section-whitelabel {
    background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
}

.wl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 48px;
}

.wl-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.wl-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.wl-targets {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wl-target {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.wl-target-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--primary);
}
.wl-target-icon svg { width: 100%; height: 100%; }

.wl-target strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--gray-800);
}
.wl-target p {
    color: var(--gray-500);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

.wl-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wl-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.wl-feature-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--success);
}
.wl-feature-icon svg { width: 100%; height: 100%; }

.wl-feature strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
    color: var(--gray-800);
}
.wl-feature p {
    color: var(--gray-500);
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
}

.wl-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 48px;
    color: #fff;
}
.wl-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #fff;
}
.wl-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.wl-cta .btn-primary {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.wl-cta .btn-primary:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .wl-grid { grid-template-columns: 1fr; }
    .wl-features-grid { grid-template-columns: 1fr; }
    .wl-cta { padding: 32px 20px; }
}

/* ---- Cases Section ---- */
.section-cases {
    background: var(--gray-50);
}

.cases-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.case-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    border: 2px solid var(--gray-200);
    background: #fff;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--gray-600);
}
.case-tab svg { width: 20px; height: 20px; }
.case-tab:hover { border-color: var(--primary-light); color: var(--primary); }
.case-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.case-tab.active svg { stroke: #fff; }

.case-content { display: none; }
.case-content.active { display: block; animation: fadeIn 0.4s ease; }

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

.case-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.case-quote {
    position: relative;
    margin-bottom: 28px;
}
.quote-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: 8px;
}
blockquote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.8;
    border-left: 3px solid var(--primary-light);
    padding-left: 20px;
}
cite {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--gray-400);
    font-style: normal;
}

.case-problems { margin-bottom: 28px; }
.case-problems h4,
.case-results h4,
.case-diagram h4 {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 14px;
    font-weight: 600;
}

.case-problems ul { display: flex; flex-direction: column; gap: 10px; }
.case-problems li {
    padding-left: 24px;
    position: relative;
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.6;
}
.case-problems li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger);
    opacity: 0.6;
}

.result-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.result-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.result-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--success);
    line-height: 1;
}
.result-label {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: 4px;
    font-weight: 500;
}

/* Case Diagram */
.case-diagram {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--gray-200);
}

.diagram-before-after {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.diagram-before,
.diagram-after {
    width: 100%;
    padding: 20px;
    border-radius: var(--radius);
    position: relative;
}

.diagram-before { background: rgba(239, 68, 68, 0.04); border: 1px dashed rgba(239, 68, 68, 0.3); }
.diagram-after { background: rgba(16, 185, 129, 0.04); border: 1px solid rgba(16, 185, 129, 0.3); }

.diagram-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    color: var(--gray-400);
}

.diagram-box {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: inline-block;
    margin-right: 6px;
}
.box-red { background: rgba(239, 68, 68, 0.1); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.2); }
.box-green { background: rgba(16, 185, 129, 0.1); color: #047857; border: 1px solid rgba(16, 185, 129, 0.2); width: 100%; text-align: center; }

.diagram-chaos {
    margin-top: 10px;
    opacity: 0.5;
}
.diagram-chaos svg { width: 100%; height: 40px; }

.diagram-arrow {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    flex-shrink: 0;
}
.diagram-arrow-logo { width: 28px; height: 28px; border-radius: 50%; }

.diagram-connections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 10px;
}
.diagram-mini {
    padding: 6px 10px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #047857;
    text-align: center;
}

/* ---- How It Works (Steps) ---- */
.section-how {
    background: #fff;
}

.steps-timeline {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    display: flex;
    gap: 28px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}
.step-item.animated {
    opacity: 1;
    transform: translateX(0);
}

.step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, var(--primary-light), var(--gray-200));
    margin: 8px 0;
}

.step-content {
    padding-bottom: 48px;
}

.step-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 12px;
}
.step-icon svg { width: 100%; height: 100%; }

.step-content h3 { margin-bottom: 8px; }
.step-content p {
    color: var(--gray-500);
    font-size: 0.92rem;
    line-height: 1.7;
}

.step-time {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ---- Trust Section ---- */
.section-trust {
    background: var(--gray-50);
    padding: 80px 0;
}

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

.trust-block {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}
.trust-block.animated {
    opacity: 1;
    transform: translateY(0);
}
.trust-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.trust-icon {
    width: 52px;
    height: 52px;
    color: var(--primary);
    margin: 0 auto 20px;
}
.trust-icon svg { width: 100%; height: 100%; }

.trust-block h3 { margin-bottom: 8px; }
.trust-block p { color: var(--gray-500); font-size: 0.92rem; line-height: 1.7; }

/* ---- Contact Section ---- */
.section-contact {
    background: #fff;
    padding: 100px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-top: 12px;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-human {
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.04), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
}

.human-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--success);
}
.human-icon svg { width: 100%; height: 100%; }

.human-text strong {
    display: block;
    margin-bottom: 4px;
    color: #047857;
    font-size: 0.95rem;
}
.human-text p {
    color: var(--gray-600);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
}

.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-600);
    font-size: 0.95rem;
}
.contact-detail svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--primary); }

/* Form */
.contact-form-wrap {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea { resize: vertical; min-height: 100px; }

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

.form-privacy {
    margin-top: 4px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.84rem;
    color: var(--gray-500);
    line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    accent-color: var(--primary);
}

.form-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-top: 12px;
}

/* Form success */
.form-success {
    text-align: center;
    padding: 40px 20px;
}
.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
}
.success-icon svg { width: 100%; height: 100%; }
.form-success h3 { margin-bottom: 8px; color: var(--success); }
.form-success p { color: var(--gray-500); }

/* ---- Footer ---- */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer .nav-logo span { color: #fff; }
.footer .nav-logo-img { }
.footer-brand p { font-size: 0.88rem; margin-top: 8px; }

.footer-links {
    display: flex;
    gap: 28px;
}
.footer-links a {
    font-size: 0.88rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 0.82rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .pain-grid { grid-template-columns: repeat(2, 1fr); }
    .case-layout { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        z-index: 999;
    }
    .nav-links.active { right: 0; }

    .section { padding: 60px 0; }
    .pain-grid { grid-template-columns: 1fr; }
    .solution-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .result-cards { grid-template-columns: 1fr; }

    .ai-block { flex-direction: column; padding: 28px; }
    .infographic { padding: 28px; }
    .contact-form-wrap { padding: 24px; }

    .footer-content { flex-direction: column; gap: 24px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }

    .hero-trust { flex-direction: column; gap: 12px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { text-align: center; justify-content: center; }

    .cases-tabs { gap: 8px; }
    .case-tab { padding: 10px 16px; font-size: 0.85rem; }
}
