/* ==========================================================================
   API INTEGRATION PAGE — StratX Capital
   ========================================================================== */

/* ── Base ── */
.api-page {
    background-color: var(--bg-black);
}

.api-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}

.api-section {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
    z-index: 10;
}

.api-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.api-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.api-section-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
    line-height: 1.65;
}

/* Header */
.api-header {
    position: fixed;
    top: 0;
    z-index: 200;
}

/* ================================================================
   SECTION 1: HERO
   ================================================================ */
.api-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.api-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.api-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.api-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #000 0%, #000 25%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

.api-hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.18;
}

.api-hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Badge */
.api-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(99, 140, 255, 0.07);
    border: 1px solid rgba(99, 140, 255, 0.2);
    border-radius: 100px;
    font-size: 0.78rem;
    color: rgba(160, 190, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.04em;
}

.api-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(99, 200, 99, 0.9);
    box-shadow: 0 0 6px rgba(99, 200, 99, 0.5);
    animation: apiPulse 2s ease-in-out infinite;
}

@keyframes apiPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.85);
    }
}

/* Hero title */
.api-hero-title {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 400;
    color: #fff;
}

.api-hero-title em {
    font-style: italic;
    color: rgba(160, 190, 255, 0.85);
}

.api-hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 560px;
    font-weight: 300;
}

.api-hero-tagline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.4);
}

.api-tagline-sep {
    color: rgba(99, 140, 255, 0.4);
}

/* CTAs */
.api-hero-ctas {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.api-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: #fff;
    color: #000;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.api-btn-primary:hover {
    background: #e8e8e8;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.12);
}

.api-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.api-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.35);
}

.api-play-icon {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* Video placeholder */
.api-video-wrap {
    width: 100%;
    max-width: 820px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s;
}

.api-video-wrap:hover {
    border-color: rgba(99, 140, 255, 0.3);
}

.api-video-chrome-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    background: rgba(18, 20, 36, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.api-chrome-dots {
    display: flex;
    gap: 0.3rem;
}

.api-chrome-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.api-chrome-dots span:nth-child(1) {
    background: rgba(255, 80, 80, 0.45);
}

.api-chrome-dots span:nth-child(2) {
    background: rgba(255, 200, 80, 0.45);
}

.api-chrome-dots span:nth-child(3) {
    background: rgba(80, 200, 80, 0.45);
}

.api-chrome-url {
    flex: 1;
    font-size: 0.66rem;
    font-family: monospace;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

.api-chrome-live {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    color: rgba(99, 200, 99, 0.8);
}

.api-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(80, 200, 100, 0.9);
    animation: apiPulse 2s ease-in-out infinite;
}

.api-video-body {
    background: rgba(8, 10, 22, 0.9);
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
}

.api-video-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Bottom metrics bar */
.api-hero-metrics {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 2rem 2rem 2.5rem;
    flex-wrap: wrap;
    gap: 0;
}

.api-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0 3rem;
}

.api-m-n {
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.02em;
}

.api-m-l {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.38);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.api-metric-sep {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
}

/* ================================================================
   SECTION 2: WHO THIS IS FOR
   ================================================================ */
.api-audience-section {
    background: var(--bg-black);
}

.api-audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.api-audience-card {
    background: rgba(12, 14, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.api-audience-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 140, 255, 0.2);
    box-shadow: 0 12px 40px rgba(99, 140, 255, 0.07);
}

.api-audience-card--featured {
    background: rgba(99, 140, 255, 0.04);
    border-color: rgba(99, 140, 255, 0.2);
    box-shadow: 0 0 40px rgba(99, 140, 255, 0.05);
}

.api-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(99, 140, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.api-audience-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 140, 255, 0.07);
    border: 1px solid rgba(99, 140, 255, 0.12);
    border-radius: 12px;
    color: rgba(120, 160, 255, 0.8);
}

.api-audience-icon--featured {
    background: rgba(99, 140, 255, 0.12);
    border-color: rgba(99, 140, 255, 0.25);
    color: rgba(140, 180, 255, 0.95);
}

.api-audience-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.api-audience-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
    flex: 1;
}

.api-audience-tag {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.22rem 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.4);
    width: fit-content;
    margin-top: auto;
}

.api-audience-tag--featured {
    color: rgba(99, 200, 99, 0.85);
    background: rgba(80, 200, 100, 0.07);
    border-color: rgba(80, 200, 100, 0.16);
}

/* ================================================================
   SECTION 3: EXCHANGES
   ================================================================ */
.api-exchanges-section {
    position: relative;
    overflow: hidden;
}

.api-exchanges-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.api-exchanges-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.api-exchanges-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 7, 11, 0.85);
    z-index: 2;
}

.api-exchange-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.api-exchange-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.3rem;
    background: rgba(12, 14, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 100px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    transition: all 0.25s ease;
    cursor: default;
    backdrop-filter: blur(10px);
}

.api-exchange-chip:hover {
    border-color: rgba(99, 140, 255, 0.25);
    background: rgba(99, 140, 255, 0.04);
    color: #fff;
    transform: translateY(-2px);
}

.api-exchange-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.api-exchange-dot--gold {
    background: rgba(212, 175, 55, 0.85);
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
}

.api-exchange-dot--orange {
    background: rgba(255, 140, 60, 0.85);
    box-shadow: 0 0 6px rgba(255, 140, 60, 0.4);
}

.api-exchange-dot--blue {
    background: rgba(99, 140, 255, 0.85);
    box-shadow: 0 0 6px rgba(99, 140, 255, 0.4);
}

.api-exchange-dot--teal {
    background: rgba(0, 200, 200, 0.85);
    box-shadow: 0 0 6px rgba(0, 200, 200, 0.4);
}

.api-exchange-dot--green {
    background: rgba(80, 200, 100, 0.85);
    box-shadow: 0 0 6px rgba(80, 200, 100, 0.4);
}

.api-exchange-dot--purple {
    background: rgba(150, 90, 255, 0.85);
    box-shadow: 0 0 6px rgba(150, 90, 255, 0.4);
}

.api-exchange-note {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 1rem;
}

.api-exchange-note svg {
    color: rgba(80, 200, 100, 0.7);
    flex-shrink: 0;
}

/* ================================================================
   SECTION 4: FEATURES
   ================================================================ */
.api-features-section {
    background: var(--bg-black);
}

.api-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.api-feat {
    background: rgba(10, 12, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: border-color 0.3s, transform 0.3s;
}

.api-feat:hover {
    border-color: rgba(99, 140, 255, 0.18);
    transform: translateY(-4px);
}

.api-feat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
}

.api-feat-icon--green {
    background: rgba(80, 200, 100, 0.08);
    border: 1px solid rgba(80, 200, 100, 0.16);
    color: rgba(99, 200, 99, 0.9);
}

.api-feat-icon--blue {
    background: rgba(99, 140, 255, 0.08);
    border: 1px solid rgba(99, 140, 255, 0.16);
    color: rgba(120, 160, 255, 0.9);
}

.api-feat-icon--gold {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.18);
    color: rgba(212, 175, 55, 0.9);
}

.api-feat h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.api-feat p {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.65;
}

/* ================================================================
   SECTION 5: DASHBOARD MOCKUP
   ================================================================ */
.api-dashboard-section {
    position: relative;
    overflow: hidden;
}

.api-dashboard-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.api-dashboard-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.api-dashboard-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 7, 11, 0.88);
    z-index: 2;
}

.api-dashboard-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: center;
}

.api-dashboard-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.api-dashboard-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.75;
}

.api-dashboard-feats {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.api-dashboard-feats li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.api-feat-check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: rgba(80, 200, 100, 0.08);
    border: 1px solid rgba(80, 200, 100, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: rgba(99, 200, 99, 0.9);
    margin-top: 2px;
}

.api-dashboard-feats li>div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.api-dashboard-feats strong {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    display: block;
}

.api-dashboard-feats span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.38);
}

/* Dashboard mockup chrome */
.api-mock-chrome {
    background: rgba(8, 10, 22, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.api-mock-bar {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 1rem;
    background: rgba(14, 16, 32, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.api-mock-dots {
    display: flex;
    gap: 0.3rem;
}

.api-mock-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.api-mock-dots span:nth-child(1) {
    background: rgba(255, 80, 80, 0.4);
}

.api-mock-dots span:nth-child(2) {
    background: rgba(255, 200, 80, 0.4);
}

.api-mock-dots span:nth-child(3) {
    background: rgba(80, 200, 80, 0.4);
}

.api-mock-url {
    flex: 1;
    font-size: 0.62rem;
    font-family: monospace;
    color: rgba(255, 255, 255, 0.28);
    text-align: center;
}

.api-mock-secure {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.62rem;
    color: rgba(80, 200, 100, 0.7);
}

.api-mock-body {
    display: flex;
    min-height: 320px;
}

.api-mock-sidebar {
    width: 130px;
    padding: 1rem 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.api-mock-nav-item {
    padding: 0.65rem 1rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.32);
    cursor: default;
    transition: background 0.15s;
}

.api-mock-nav-item--active {
    color: rgba(120, 160, 255, 0.9);
    background: rgba(99, 140, 255, 0.08);
    border-right: 2px solid rgba(99, 140, 255, 0.5);
}

.api-mock-main {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.api-mock-stats {
    display: flex;
    gap: 0.75rem;
}

.api-mock-stat {
    flex: 1;
    background: rgba(14, 16, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.api-mock-stat-l {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.api-mock-stat-n {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.api-mock-stat-d {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
}

.api-mock-up {
    color: rgba(80, 200, 100, 0.8) !important;
}

.api-mock-chart {
    background: rgba(14, 16, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.75rem;
}

.api-mock-chart-label {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
}

.api-mock-svg {
    width: 100%;
    height: 60px;
    display: block;
}

.api-mock-trades {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.api-mock-trade {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.6rem;
    background: rgba(14, 16, 32, 0.5);
    border-radius: 6px;
    font-size: 0.7rem;
}

.api-trade-pair {
    flex: 1;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.api-trade-side {
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: 700;
}

.api-trade-long {
    background: rgba(80, 200, 100, 0.1);
    color: rgba(99, 200, 99, 0.9);
}

.api-trade-pnl {
    font-weight: 600;
}

/* ================================================================
   SECTION 6: HOW TO START (Steps)
   ================================================================ */
.api-steps-section {
    background: var(--bg-black);
}

.api-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.api-steps-track {
    position: absolute;
    left: 27px;
    top: 44px;
    bottom: 44px;
    width: 2px;
}

.api-steps-line {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.api-steps-fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: linear-gradient(180deg, rgba(99, 140, 255, 0.8), rgba(0, 212, 255, 0.5));
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.api-steps-particle {
    position: absolute;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, transparent, rgba(99, 140, 255, 0.9), transparent);
    border-radius: 2px;
    left: -1px;
    top: 0;
    animation: apiParticle 2.2s ease-in-out infinite;
}

@keyframes apiParticle {
    0% {
        top: -20px;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.api-steps-nodes {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 0;
}

.api-step-node {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 12, 24, 0.7);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.api-step-node.active {
    border-color: rgba(99, 140, 255, 0.25);
    box-shadow: 0 0 28px rgba(99, 140, 255, 0.06);
}

.api-step-circle {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(12, 15, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

.api-step-node.active .api-step-circle {
    border-color: rgba(99, 140, 255, 0.5);
    background: rgba(99, 140, 255, 0.1);
    color: rgba(120, 160, 255, 0.95);
    box-shadow: 0 0 20px rgba(99, 140, 255, 0.18);
}

.api-step-info {
    padding-top: 0.3rem;
}

.api-step-num {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(99, 140, 255, 0.5);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.3rem;
}

.api-step-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.35rem;
}

.api-step-info p {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.55;
}

/* ================================================================
   SECTION 7: PROFIT SHARE
   ================================================================ */
.api-profit-section {
    background: var(--bg-black);
}

.api-profit-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.api-profit-card {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    background: rgba(10, 12, 26, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
    text-align: center;
}

.api-profit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 140, 255, 0.2);
}

.api-profit-card--featured {
    background: rgba(99, 140, 255, 0.04);
    border-color: rgba(99, 140, 255, 0.2);
    box-shadow: 0 0 40px rgba(99, 140, 255, 0.06);
}

.api-profit-step {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(99, 140, 255, 0.45);
    text-transform: uppercase;
}

.api-profit-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 140, 255, 0.08);
    border: 1px solid rgba(99, 140, 255, 0.14);
    border-radius: 50%;
    color: rgba(120, 160, 255, 0.85);
}

.api-profit-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.api-profit-card p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
}

.api-profit-card p strong {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
}

.api-profit-tag {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(99, 140, 255, 0.7);
    background: rgba(99, 140, 255, 0.07);
    border: 1px solid rgba(99, 140, 255, 0.14);
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
    width: fit-content;
    margin: 0 auto;
}

.api-profit-tag--featured {
    color: rgba(212, 175, 55, 0.85);
    background: rgba(212, 175, 55, 0.07);
    border-color: rgba(212, 175, 55, 0.18);
}

.api-profit-arrow {
    flex-shrink: 0;
    opacity: 0.7;
}

.api-profit-note {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    justify-content: center;
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.35);
}

.api-profit-note svg {
    color: rgba(99, 140, 255, 0.6);
    flex-shrink: 0;
}

/* ================================================================
   SECTION 8: REQUIREMENTS
   ================================================================ */
.api-requirements-section {
    background: var(--bg-black);
}

.api-req-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.api-req-card {
    background: rgba(10, 12, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: border-color 0.3s, transform 0.3s;
}

.api-req-card:hover {
    border-color: rgba(99, 140, 255, 0.2);
    transform: translateY(-4px);
}

.api-req-icon {
    width: 54px;
    height: 54px;
    background: rgba(99, 140, 255, 0.07);
    border: 1px solid rgba(99, 140, 255, 0.14);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(120, 160, 255, 0.85);
    margin-bottom: 0.5rem;
}

.api-req-val {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.03em;
}

.api-req-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(99, 140, 255, 0.6);
}

.api-req-card p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.6;
}

/* ================================================================
   SECTION 9: SECURITY
   ================================================================ */
.api-security-section {
    position: relative;
    overflow: hidden;
}

.api-security-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.api-security-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.api-security-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 7, 11, 0.88);
    z-index: 2;
}

.api-security-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

/* Shield visual */
.api-shield-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.api-shield-rings {
    position: absolute;
    inset: 0;
}

.api-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(99, 140, 255, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: apiRingPulse 4s ease-in-out infinite;
}

.api-ring--1 {
    width: 180px;
    height: 180px;
}

.api-ring--2 {
    width: 270px;
    height: 270px;
    animation-delay: 0.8s;
    opacity: 0.6;
}

.api-ring--3 {
    width: 360px;
    height: 360px;
    animation-delay: 1.6s;
    opacity: 0.35;
}

@keyframes apiRingPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.06);
        opacity: 0.3;
    }
}

.api-shield-core {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(10, 12, 28, 0.9);
    border: 1px solid rgba(99, 140, 255, 0.2);
    border-radius: 50%;
    width: 140px;
    height: 140px;
    justify-content: center;
    box-shadow: 0 0 60px rgba(99, 140, 255, 0.1);
}

.api-shield-label {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(99, 140, 255, 0.7);
    text-transform: uppercase;
}

.api-shield-stat {
    position: absolute;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(10, 12, 28, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 0.6rem 1rem;
}

.api-shield-s1 {
    top: 30px;
    right: 10px;
}

.api-shield-s2 {
    bottom: 50px;
    right: 5px;
}

.api-shield-s3 {
    bottom: 50px;
    left: 5px;
}

.api-ss-n {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.api-ss-l {
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* Security text */
.api-security-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.api-security-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.75;
}

.api-security-points {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.api-sec-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.api-sec-check {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    background: rgba(80, 200, 100, 0.08);
    border: 1px solid rgba(80, 200, 100, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    color: rgba(99, 200, 99, 0.9);
    margin-top: 2px;
}

.api-sec-point>div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.api-sec-point strong {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    display: block;
}

.api-sec-point span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.38);
}

/* ================================================================
   SECTION 10: FINAL CTA
   ================================================================ */
.api-final-wrapper {
    padding: 1rem 2rem 2rem;
    background: var(--bg-black);
}

.api-final-section {
    position: relative;
    min-height: 48vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.api-final-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.api-final-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.api-final-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(9, 9, 11, 0.3) 0%, rgba(9, 9, 11, 0.88) 100%);
    z-index: 2;
}

.api-final-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 4rem 2rem;
    width: 100%;
}

.api-final-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.api-final-ctas {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.api-final-reassure {
    display: flex;
    gap: 2rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    flex-wrap: wrap;
    justify-content: center;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 960px) {
    .api-audience-grid {
        grid-template-columns: 1fr;
    }

    .api-features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .api-dashboard-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .api-security-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .api-req-grid {
        grid-template-columns: 1fr;
    }

    .api-profit-flow {
        flex-direction: column;
        align-items: center;
    }

    .api-profit-arrow {
        transform: rotate(90deg);
    }

    .api-shield-visual {
        min-height: 280px;
    }
}

@media (max-width: 640px) {
    .api-features-grid {
        grid-template-columns: 1fr;
    }

    .api-hero-title {
        font-size: 2.4rem;
    }

    .api-metric-sep {
        display: none;
    }

    .api-hero-metrics {
        justify-content: space-around;
    }
}