/*   LeadAI  */

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

:root {
    --c-bg: #ffffff;
    --c-bg-alt: #f4f7fc;
    --c-bg-dark: #0a1628;
    --c-bg-dark-2: #0d1f3d;
    --c-primary: #1565c0;
    --c-primary-light: #1e88e5;
    --c-accent: #00b8d4;
    --c-accent-2: #26c6da;
    --c-text: #1a1a2e;
    --c-text-light: #5a6a7e;
    --c-text-white: #ffffff;
    --c-border: #e3e8ef;
    --c-card-shadow: 0 2px 12px rgba(10, 22, 40, 0.06);
    --c-card-shadow-hover: 0 8px 30px rgba(10, 22, 40, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --max-w: 1200px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.solution-visual img,
.feature-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--c-card-shadow-hover);
    border: 1px solid var(--c-border);
}

.ext-card img {
    width: 100%;
    border-radius: var(--radius);
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(10, 22, 40, 0.06);
    border: 1px solid var(--c-border);
}

.solution-visual,
.feature-visual {
    overflow: hidden;
}

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

/* ========== Navbar ========== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border);
    transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(10, 22, 40, 0.08); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--c-text);
}
.nav-logo .logo-icon {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-links a {
    font-size: 14px;
    color: var(--c-text-light);
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--c-primary); }


.nav-cta:hover { background: var(--c-primary-light); transform: translateY(-1px); }

@media (max-width: 768px) {
    .nav-links { display: none; }
}

/* ========== Hero ========== */
.hero {
    position: relative;
    background: var(--c-bg-dark);
    color: var(--c-text-white);
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(21, 101, 192, 0.3), transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(0, 184, 212, 0.2), transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(30, 136, 229, 0.15), transparent 50%);
}

.hero-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

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

.hero-cert {
    position: relative;
    justify-self: center;
    max-width: 320px;
    width: 100%;
    background: linear-gradient(135deg, #ffffff, #f8fafc);

    border-radius: 14px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.4s ease;
    cursor: zoom-in;
}
.hero-cert:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}
.hero-cert img {
    width: 100%;
    border-radius: 8px;
    display: block;
}
.hero-cert .zoom-hint {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    background: rgba(21, 101, 192, 0.9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.4);
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.hero-cert:hover .zoom-hint {
    opacity: 1;
    transform: scale(1);
}
/* ===== Zoomable images ===== */
img.zoomable {
    cursor: zoom-in;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.feature-visual, .solution-visual {
    position: relative;
}
.feature-visual img.zoomable,
.solution-visual img.zoomable {
    border-radius: 10px;
}
.feature-visual:hover img.zoomable,
.solution-visual:hover img.zoomable {
    transform: scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.feature-visual::after,
.solution-visual::after {
    content: '🔍';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: rgba(21, 101, 192, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.4);
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 3;
}
.feature-visual:hover::after,
.solution-visual:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(5, 12, 24, 0.92);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open {
    opacity: 1;
    visibility: visible;
}
.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.92);
    transition: transform 0.3s ease;
}
.lightbox.open img {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}
.lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    background: rgba(0, 0, 0, 0.45);
    padding: 8px 18px;
    border-radius: 100px;
    white-space: nowrap;
}

/* ===== Consultation Window (right-bottom floating, no overlay) ===== */
.consult-window {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    width: 900px;
    max-width: calc(100vw - 40px);
    height: 640px;
    max-height: calc(100vh - 40px);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.95);
    transform-origin: bottom right;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.consult-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.consult-window iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.consult-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.9);
    color: #555;
    border: none;
    border-radius: 50%;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.consult-close:hover {
    transform: rotate(90deg);
    background: var(--c-primary, #1565c0);
    color: #fff;
}
.hero-cert::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(21, 101, 192, 0.12);
    border-radius: 10px;
    pointer-events: none;
}
.hero-cert-badge {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(21, 101, 192, 0.35);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 184, 212, 0.15);
    border: 1px solid rgba(0, 184, 212, 0.3);
    border-radius: 100px;
    font-size: 13px;
    color: var(--c-accent-2);
    font-weight: 500;
    margin-bottom: 24px;
}
.hero-badge .dot {
    width: 6px; height: 6px;
    background: var(--c-accent-2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-primary {

    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(21, 101, 192, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(21, 101, 192, 0.5);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }

.hero-platforms {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-platforms span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

@media (max-width: 768px) {
    .hero { padding: 110px 0 60px; }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-inner .hero-content { order: 1; }
    .hero-inner .hero-cert { order: 2; max-width: 280px; }
    .hero h1 { font-size: 30px; }
    .hero-sub { font-size: 16px; }
}

/* ========== Section Common ========== */
.section { padding: 80px 0; }
.section-alt { background: var(--c-bg-alt); }

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-primary);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.section-desc {
    font-size: 16px;
    color: var(--c-text-light);
    max-width: 680px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header .section-desc {
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .section-title { font-size: 26px; }
}

/* ========== Problem Section ========== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.problem-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--c-card-shadow-hover);
}
.problem-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}
.problem-card:nth-child(1) .problem-icon { background: #fff3e0; color: #e65100; }
.problem-card:nth-child(2) .problem-icon { background: #fce4ec; color: #c62828; }
.problem-card:nth-child(3) .problem-icon { background: #e8eaf6; color: #283593; }

.problem-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}
.problem-card p {
    font-size: 14px;
    color: var(--c-text-light);
    line-height: 1.8;
}
.problem-card .problem-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--c-border);
    position: absolute;
}

@media (max-width: 768px) {
    .problem-grid { grid-template-columns: 1fr; }
}

/* ========== Solution Overview ========== */
.solution-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.solution-text h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 20px;
}
.solution-text p {
    font-size: 16px;
    color: var(--c-text-light);
    line-height: 1.9;
    margin-bottom: 16px;
}
.solution-visual {
    position: relative;
}
.solution-dashboard {
    background: var(--c-bg-dark);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.2);
    overflow: hidden;
}
.dash-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dash-header .dots {
    display: flex; gap: 6px;
}
.dash-header .dots span {
    width: 10px; height: 10px; border-radius: 50%;
}
.dash-header .dots span:nth-child(1) { background: #ff5f57; }
.dash-header .dots span:nth-child(2) { background: #ffbd2e; }
.dash-header .dots span:nth-child(3) { background: #28ca42; }
.dash-header .title {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-left: 8px;
}

.dash-metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.dash-metric {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 16px;
}
.dash-metric .val {
    font-size: 24px;
    font-weight: 800;
    color: var(--c-accent-2);
}
.dash-metric .label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

.dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
    padding: 12px;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
}
.dash-bar {
    flex: 1;
    background: linear-gradient(to top, var(--c-primary), var(--c-accent));
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
    animation: barGrow 1.2s ease-out forwards;
    transform-origin: bottom;
    transform: scaleY(0);
}
.dash-bar:nth-child(1) { animation-delay: 0.1s; height: 40%; }
.dash-bar:nth-child(2) { animation-delay: 0.2s; height: 65%; }
.dash-bar:nth-child(3) { animation-delay: 0.3s; height: 50%; }
.dash-bar:nth-child(4) { animation-delay: 0.4s; height: 80%; }
.dash-bar:nth-child(5) { animation-delay: 0.5s; height: 72%; }
.dash-bar:nth-child(6) { animation-delay: 0.6s; height: 90%; }
.dash-bar:nth-child(7) { animation-delay: 0.7s; height: 85%; }
.dash-bar:nth-child(8) { animation-delay: 0.8s; height: 95%; }
@keyframes barGrow { to { transform: scaleY(1); } }

.dash-platforms {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.dash-platforms span {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    padding: 3px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}

@media (max-width: 768px) {
    .solution-wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* ========== Feature Sections (like Service 01/02/03) ========== */
.feature-section {
    padding: 80px 0;
    position: relative;
}
.feature-section.alt-bg { background: var(--c-bg-alt); }

.feature-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.feature-wrap.reverse { direction: rtl; }
.feature-wrap.reverse > * { direction: ltr; }

.feature-number {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-accent);
    letter-spacing: 2px;
    margin-bottom: 12px;
    padding: 4px 14px;
    background: rgba(0, 184, 212, 0.08);
    border-radius: 100px;
}

.feature-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 16px;
}

.feature-desc {
    font-size: 15px;
    color: var(--c-text-light);
    line-height: 1.9;
    margin-bottom: 24px;
}

.feature-list { margin-bottom: 28px; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--c-text);
    margin-bottom: 14px;
    line-height: 1.7;
}
.feature-list li::before {
    content: '';
    flex-shrink: 0;
    width: 20px; height: 20px;
    margin-top: 2px;
    background: var(--c-accent);
    border-radius: 50%;
    position: relative;
}
.feature-list li::after {
    content: '✓';
    position: absolute;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-left: -20px;
    margin-top: 4px;
    width: 20px;
    text-align: center;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--c-primary);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}
.feature-link:hover {
    background: var(--c-primary-light);
    transform: translateY(-1px);
}

.feature-visual {
    position: relative;
}

/* Feature 1 Visual - Auto Monitor */
.visual-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--c-card-shadow);
}
.visual-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auto-flow {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.auto-flow-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: var(--c-bg-alt);
    border-radius: 10px;
    border-left: 3px solid var(--c-accent);
    transition: transform 0.2s, box-shadow 0.2s;
}
.auto-flow-step:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 12px rgba(0, 184, 212, 0.1);
}
.auto-flow-step .step-num {
    width: 28px; height: 28px;
    background: var(--c-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.auto-flow-step .step-text {
    font-size: 14px;
    font-weight: 500;
}
.auto-flow-step .step-status {
    margin-left: auto;
    font-size: 12px;
    color: #28ca42;
    font-weight: 600;
}

/* Feature 2 Visual - Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.metric-item {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.metric-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--c-card-shadow-hover);
}
.metric-val {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.metric-label {
    font-size: 13px;
    color: var(--c-text-light);
}

/* Feature 3 Visual - API */
.api-compare {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.api-row {
    padding: 20px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 16px;
}
.api-row.bad {
    background: #fef5f5;
    border: 1px solid #fde2e2;
}
.api-row.good {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
}
.api-row .api-icon {
    font-size: 24px;
    flex-shrink: 0;
}
.api-row .api-content h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.api-row .api-content p {
    font-size: 13px;
    color: var(--c-text-light);
    line-height: 1.6;
}
.api-row.bad .api-content h4 { color: #c62828; }
.api-row.good .api-content h4 { color: #2e7d32; }

/* ========== Extended Features ========== */
.ext-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.ext-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.ext-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
}
.ext-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--c-card-shadow-hover);
}
.ext-card .ext-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
}
.ext-card:nth-child(1) .ext-icon { background: #e8f5e9; }
.ext-card:nth-child(2) .ext-icon { background: #e3f2fd; }

.ext-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}
.ext-card p {
    font-size: 15px;
    color: var(--c-text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}
.ext-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.ext-tags span {
    font-size: 12px;
    font-weight: 600;
    color: var(--c-primary);
    padding: 4px 12px;
    background: rgba(21, 101, 192, 0.06);
    border-radius: 100px;
}

@media (max-width: 768px) {
    .ext-grid { grid-template-columns: 1fr; }
}

/* ========== Workflow ========== */
.workflow-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 48px;
}
.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 140px;
}
.workflow-step-icon {
    width: 64px; height: 64px;
    background: #fff;
    border: 2px solid var(--c-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: border-color 0.3s, transform 0.3s;
}
.workflow-step:hover .workflow-step-icon {
    border-color: var(--c-accent);
    transform: scale(1.05);
}
.workflow-step-text {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: var(--c-text);
}
.workflow-arrow {
    color: var(--c-border);
    font-size: 40px;
}
@media (max-width: 768px) {
    .workflow-wrap { flex-direction: column; }
    .workflow-arrow { transform: rotate(90deg); }
}

/* ========== Credentials ========== */
.cred-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.cred-item {
    text-align: center;
    padding: 32px 16px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    transition: transform 0.2s, box-shadow 0.2s;
}
.cred-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--c-card-shadow-hover);
}
.cred-val {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.cred-label {
    font-size: 14px;
    color: var(--c-text-light);
    font-weight: 500;
}
@media (max-width: 768px) {
    .cred-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== CTA Section ========== */
.cta-section {
    background: var(--c-bg-dark);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(21, 101, 192, 0.3), transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(0, 184, 212, 0.2), transparent 50%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}
.cta-section p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
}

/* ========== Footer ========== */
.footer {
    background: #060e1a;
    color: rgba(255, 255, 255, 0.5);
    padding: 40px 0;
    text-align: center;
}
.footer p {
    font-size: 13px;
    line-height: 1.8;
}
.footer .footer-brand {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin-bottom: 8px;
}

/* ========== Scroll Animations ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .feature-wrap { grid-template-columns: 1fr; gap: 40px; }
    .feature-wrap.reverse { direction: ltr; }
    .metrics-grid { grid-template-columns: 1fr; }
    .cred-grid { grid-template-columns: repeat(2, 1fr); }
    .consult-window {
        width: calc(100vw - 24px);
        height: 420px;
        bottom: 12px;
        right: 12px;
    }
}