/* ═══════════════════════════════════════════════════════════════
   J&D Vantage Quant — OlympTrade-inspired marketing layout
   Sticky top navbar · long-scroll sections · rounded cards · footer
   Loaded last so it owns the page shell.
   ═══════════════════════════════════════════════════════════════ */


/* ── Page shell: enable normal scrolling ── */

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124, 92, 255, 0.13), transparent 60%), radial-gradient(ellipse 70% 50% at 90% 10%, rgba(34, 211, 238, 0.08), transparent 55%), var(--color-bg);
}

.op-site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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


/* ════════════════ NAVBAR ════════════════ */

.op-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 20px;
    pointer-events: none;
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.op-nav.scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
    background: linear-gradient(180deg, rgba(10, 8, 20, 0.72), rgba(8, 6, 16, 0.5));
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 10px 34px -14px rgba(0, 0, 0, 0.65);
}

.op-nav.scrolled .op-brand,
.op-nav.scrolled .op-nav-links {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.op-nav-inner {
    position: relative;
    height: 58px;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
    pointer-events: none;
}

.op-brand {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 11px;
    cursor: pointer;
    flex-shrink: 0;
}

.op-nav-inner .op-brand {
    height: 58px;
    padding: 0 18px 0 9px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(20, 16, 36, 0.8), rgba(8, 6, 16, 0.72));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    transition: background 0.35s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.op-nav-inner .op-brand:hover {
    border-color: rgba(124, 92, 255, 0.35);
}

.op-brand img,
.op-brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.30), rgba(34, 211, 238, 0.18));
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    backdrop-filter: blur(10px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), inset 0 -8px 14px rgba(124, 92, 255, 0.18), 0 6px 18px rgba(0, 0, 0, 0.45);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.op-brand-logo::before {
    content: "";
    position: absolute;
    top: -55%;
    left: -20%;
    width: 140%;
    height: 90%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
    border-radius: 50%;
    pointer-events: none;
}

.op-brand-mark {
    position: relative;
    z-index: 1;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: -0.5px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.op-brand:hover .op-brand-logo {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), inset 0 -8px 14px rgba(124, 92, 255, 0.25), 0 6px 22px rgba(124, 92, 255, 0.4);
}

.op-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.op-brand-name {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.op-brand-sub {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 3px;
}

.op-nav-links {
    pointer-events: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 58px;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(20, 16, 36, 0.8), rgba(8, 6, 16, 0.72));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    transition: background 0.35s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.op-nav-indicator {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 38px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.9), rgba(34, 211, 238, 0.72));
    box-shadow: 0 6px 18px rgba(124, 92, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: left 0.42s cubic-bezier(0.34, 1.3, 0.5, 1), width 0.42s cubic-bezier(0.34, 1.3, 0.5, 1), opacity 0.3s ease;
    will-change: left, width;
}

.op-nav-indicator.show {
    opacity: 1;
}

.op-nav-link {
    position: relative;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 0 18px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.28s ease;
    white-space: nowrap;
    z-index: 1;
}

.op-nav-link:hover {
    color: var(--text-primary);
}

.op-nav-link.active {
    color: #ffffff;
    background: none;
}

.op-nav-right {
    pointer-events: auto;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.op-nav-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-up);
    padding: 5px 11px;
    border-radius: var(--radius-full);
    background: rgba(43, 217, 107, 0.1);
    border: 1px solid rgba(43, 217, 107, 0.22);
}

.op-nav-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-up);
    box-shadow: 0 0 0 0 var(--color-up-glow);
    animation: livePulse 1.8s ease-out infinite;
}

.op-nav-divider {
    width: 1px;
    height: 24px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
    flex-shrink: 0;
}

.op-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-full);
    padding: 11px 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.op-btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(124, 92, 255, 0.22);
}

.op-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 92, 255, 0.3);
}

.op-btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.op-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.op-btn-lg {
    padding: 15px 30px;
    font-size: 1rem;
}

.op-nav-burger {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    color: var(--text-primary);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.op-nav-burger svg {
    width: 22px;
    height: 22px;
}


/* mobile drawer */

.op-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 200;
}

.op-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.op-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 84vw;
    height: 100%;
    background: var(--color-bg-alt);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 210;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.op-drawer.open {
    transform: translateX(0);
}

.op-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.op-drawer-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    width: 38px;
    height: 38px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.2rem;
}

.op-drawer .op-nav-link {
    text-align: left;
    width: 100%;
    font-size: 1rem;
    padding: 13px 14px;
}

.op-drawer .op-nav-link.active {
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(34, 211, 238, 0.1));
    border: 1px solid rgba(124, 92, 255, 0.28);
}

.op-drawer .op-btn {
    width: 100%;
    margin-top: 8px;
}


/* ════════════════ TICKER ════════════════ */

.op-ticker {
    position: relative;
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(124, 92, 255, 0.06), rgba(0, 0, 0, 0.35));
}


/* ════════════════ MAIN ════════════════ */

.op-main {
    flex: 1;
}

.op-section {
    padding: 84px 0;
    position: relative;
}

.op-section.tight {
    padding: 56px 0;
}

.op-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(124, 92, 255, 0.12);
    border: 1px solid rgba(124, 92, 255, 0.26);
    color: var(--color-primary-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.op-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.op-section-head .op-eyebrow {
    margin-bottom: 18px;
}

.op-h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.op-h2 .hl {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.op-lead {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}


/* ════════════════ HERO ════════════════ */

.op-hero {
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden;
}

.op-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}

.op-hero h1 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2.4rem, 5.2vw, 4rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
    margin: 20px 0 18px;
}

.op-hero h1 .hl {
    background: linear-gradient(120deg, #7c5cff, #a78bfa, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.op-hero-sub {
    color: var(--text-secondary);
    font-size: 1.12rem;
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 28px;
}

.op-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.op-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.op-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.op-pill svg {
    width: 15px;
    height: 15px;
    color: var(--color-primary-light);
}


/* hero badge */

.op-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    background: rgba(124, 92, 255, 0.12);
    border: 1px solid rgba(124, 92, 255, 0.28);
    color: var(--color-primary-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.op-hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-up);
    box-shadow: 0 0 0 0 var(--color-up-glow);
    animation: livePulse 1.8s ease-out infinite;
}


/* ── Platform mockup card (hero visual) ── */

.op-mockup {
    position: relative;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.op-mockup::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 22px;
    padding: 1px;
    background: linear-gradient(140deg, rgba(124, 92, 255, 0.55), transparent 40%, transparent 60%, rgba(34, 211, 238, 0.45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.op-mockup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.op-mockup-asset {
    display: flex;
    align-items: center;
    gap: 10px;
}

.op-mockup-asset .ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    color: var(--color-primary-light);
    font-weight: 800;
    font-size: 0.8rem;
    overflow: hidden;
}

.op-mockup-asset .ico img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    background: #fff;
    border-radius: 10px;
}

.op-mockup-asset .ico img.is-favicon {
    padding: 7px;
}

.op-mockup-asset .ico .ico-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.op-mockup-asset .nm {
    font-weight: 700;
    font-size: 0.95rem;
}

.op-mockup-asset .sub {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.op-mockup-price {
    text-align: right;
}

.op-mockup-price .pv {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.op-mockup-price .pc {
    font-size: 0.78rem;
    color: var(--color-up);
    font-weight: 600;
}

.op-chart {
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 12px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(124, 92, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.op-candle {
    flex: 1;
    border-radius: 3px;
    position: relative;
    min-width: 6px;
    animation: candleRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.op-candle.up {
    background: linear-gradient(180deg, #34d399, #10b981);
}

.op-candle.down {
    background: linear-gradient(180deg, #fb7185, #f43f5e);
}


/* ── Cycling stock panels (hero mockup) ── */

.op-stocks {
    position: relative;
}

.op-stock-panel {
    display: none;
}

.op-stock-panel.active {
    display: block;
    animation: stockFade 0.45s ease both;
}

@keyframes stockFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Per-stock colour themes — icon badge, price tint & chart glow */

.op-stock-panel.tk-blue .op-mockup-asset .ico {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.08));
    color: #93c5fd;
}

.op-stock-panel.tk-blue .op-chart {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(59, 130, 246, 0.08));
}

.op-stock-panel.tk-cyan .op-mockup-asset .ico {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(34, 211, 238, 0.08));
    color: #67e8f9;
}

.op-stock-panel.tk-cyan .op-chart {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(34, 211, 238, 0.08));
}

.op-stock-panel.tk-red .op-mockup-asset .ico {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.25), rgba(244, 63, 94, 0.08));
    color: #fda4af;
}

.op-stock-panel.tk-red .op-chart {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(244, 63, 94, 0.08));
}

.op-stock-panel.tk-indigo .op-mockup-asset .ico {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(99, 102, 241, 0.08));
    color: #a5b4fc;
}

.op-stock-panel.tk-indigo .op-chart {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(99, 102, 241, 0.08));
}

.op-stock-panel.tk-saffron .op-mockup-asset .ico {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.28), rgba(255, 153, 51, 0.08));
    color: #ffbd77;
}

.op-stock-panel.tk-saffron .op-chart {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(255, 153, 51, 0.08));
}

.op-stock-panel.tk-amber .op-mockup-asset .ico {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(245, 158, 11, 0.08));
    color: #fcd34d;
}

.op-stock-panel.tk-amber .op-chart {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(245, 158, 11, 0.08));
}

.op-stock-panel.tk-purple .op-mockup-asset .ico {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(168, 85, 247, 0.08));
    color: #d8b4fe;
}

.op-stock-panel.tk-purple .op-chart {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(168, 85, 247, 0.08));
}

.op-mockup-price .pc.up {
    color: var(--color-up);
}

.op-mockup-price .pc.down {
    color: var(--color-down);
}

.op-mockup-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.op-trade-btn {
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid transparent;
}

.op-trade-btn.buy {
    background: rgba(34, 197, 94, 0.14);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.3);
}

.op-trade-btn.sell {
    background: rgba(244, 63, 94, 0.14);
    color: #fb7185;
    border-color: rgba(244, 63, 94, 0.3);
}

.op-mockup-float {
    position: absolute;
    bottom: -18px;
    left: -18px;
    background: var(--color-bg-alt);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.op-mockup-float .fi {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.op-mockup-float .ft {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.op-mockup-float .fv {
    font-weight: 700;
    font-size: 0.95rem;
}


/* ════════════════ TRUST / STATS BAND ════════════════ */

.op-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.op-stat {
    text-align: center;
    padding: 26px 16px;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.op-stat .num {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 2rem;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.op-stat .lbl {
    color: var(--text-secondary);
    font-size: 0.85rem;
}


/* ════════════════ FEATURE CARD GRID ════════════════ */

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

.op-cards.two {
    grid-template-columns: repeat(2, 1fr);
}

.op-card {
    position: relative;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 30px 26px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.op-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 92, 255, 0.35);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(124, 92, 255, 0.12);
}

.op-card-ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    color: var(--color-primary-light);
    margin-bottom: 18px;
}

.op-card-ico svg {
    width: 26px;
    height: 26px;
}

.op-card.c-cyan .op-card-ico {
    background: rgba(34, 211, 238, 0.12);
    color: var(--color-cyan);
}

.op-card.c-green .op-card-ico {
    background: rgba(34, 197, 94, 0.12);
    color: var(--color-green);
}

.op-card.c-saffron .op-card-ico {
    background: rgba(255, 153, 51, 0.14);
    color: var(--color-saffron);
}

.op-card.c-purple .op-card-ico {
    background: rgba(236, 72, 153, 0.14);
    color: #f472b6;
}

.op-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.op-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}


/* ════════════════ SPLIT (text + visual) ════════════════ */

.op-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.op-split.reverse .op-split-media {
    order: -1;
}

.op-split h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    line-height: 1.14;
    margin-bottom: 16px;
}

.op-checklist {
    list-style: none;
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.op-checklist li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.5;
}

.op-checklist li .ck {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(124, 92, 255, 0.16);
    color: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.op-checklist li .ck svg {
    width: 14px;
    height: 14px;
}

.op-checklist li strong {
    color: var(--text-primary);
    font-weight: 600;
}


/* generic media panel */

.op-panel {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.op-panel-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
}

.op-panel-row:last-child {
    margin-bottom: 0;
}

.op-panel-row .pr-ico {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--gradient-glow);
    color: var(--color-primary-light);
}

.op-panel-row .pr-t {
    font-weight: 600;
    font-size: 0.95rem;
}

.op-panel-row .pr-s {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.op-panel-row .pr-meta {
    margin-left: auto;
    font-weight: 700;
    color: var(--color-up);
    font-variant-numeric: tabular-nums;
}


/* ════════════════ STEPS ════════════════ */

.op-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.op-step {
    text-align: center;
    padding: 28px 20px;
    border-radius: 20px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.op-step .sn {
    width: 46px;
    height: 46px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffffff;
    background: var(--gradient-primary);
    box-shadow: 0 8px 20px rgba(124, 92, 255, 0.4);
}

.op-step h4 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.op-step p {
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.55;
}


/* ════════════════ CTA BANNER ════════════════ */

.op-cta-banner {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 64px 40px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(124, 92, 255, 0.24), transparent 60%), linear-gradient(160deg, rgba(124, 92, 255, 0.14), rgba(34, 211, 238, 0.07));
    border: 1px solid rgba(124, 92, 255, 0.28);
}

.op-cta-banner h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.12;
    margin-bottom: 14px;
}

.op-cta-banner p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 28px;
}

.op-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ════════════════ FOOTER ════════════════ */

.op-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
    padding: 64px 0 28px;
}

.op-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 44px;
}

.op-footer-brand .op-brand {
    margin-bottom: 16px;
}

.op-footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

.op-foot-col h5 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 700;
}

.op-foot-col button {
    display: block;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 0.9rem;
    padding: 7px 0;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.op-foot-col button:hover {
    color: var(--color-primary-light);
}

.op-foot-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 7px 0;
    transition: color 0.2s ease;
}

.op-foot-col a:hover {
    color: var(--color-primary-light);
}

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

.op-footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.op-footer-disclaimer {
    color: var(--text-muted);
    font-size: 0.74rem;
    line-height: 1.6;
    margin-top: 18px;
    max-width: 100%;
}


/* page wrapper for inner (about/services/etc) pages so they breathe */

.op-page {
    padding: 56px 0 72px;
}

#app-content {
    width: 100%;
}


/* ════════════════ RESPONSIVE ════════════════ */

@media (max-width: 980px) {
    .op-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .op-mockup {
        max-width: 460px;
        margin: 0 auto;
    }
    .op-split {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .op-split.reverse .op-split-media {
        order: 0;
    }
    .op-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .op-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .op-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 760px) {
    .op-nav-links {
        display: none;
    }
    .op-nav-right .op-btn-ghost {
        display: none;
    }
    .op-nav-status,
    .op-nav-divider {
        display: none;
    }
    .op-brand-sub {
        display: none;
    }
    .op-nav-burger {
        display: flex;
    }
    .op-section {
        padding: 60px 0;
    }
    .op-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .op-cards,
    .op-cards.two {
        grid-template-columns: 1fr;
    }
    .op-steps {
        grid-template-columns: 1fr;
    }
    .op-footer-grid {
        grid-template-columns: 1fr;
    }
    .op-cta-banner {
        padding: 48px 22px;
    }
}

@media (max-width: 460px) {
    .op-container,
    .op-nav-inner {
        padding-left: 18px;
        padding-right: 18px;
    }
    .op-stats {
        grid-template-columns: 1fr;
    }
}

@keyframes candleRise {
    from {
        transform: scaleY(0.2);
        opacity: 0;
    }
    to {
        transform: scaleY(1);
        opacity: 1;
    }
}