/* ============================================================
   LANDING PAGE — Supplements cardboard.css
   All classes prefixed with .lp-
   ============================================================ */

/* ── Pulsating Circle (copied from styles.css since landing doesn't load it) ── */
.pulsating-circle {
    width: 30px;
    height: 30px;
    background: #ffffff;
    border-radius: 50%;
    position: relative;
    animation: pulse 3.5s ease-in-out infinite;
    transition: all 0.3s ease;
}

.pulsating-circle:hover {
    animation: pulse-fast 1.2s ease-in-out infinite;
    transform: scale(1.05);
}

.pulsating-circle::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: pulse-ring 3.5s ease-in-out infinite;
}

.pulsating-circle:hover::before {
    animation: pulse-ring-fast 1.2s ease-in-out infinite;
}

@keyframes pulse {
    0%   { opacity: 1; transform: scale(1); }
    50%  { opacity: 0.8; transform: scale(0.97); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes pulse-fast {
    0%   { opacity: 1; transform: scale(1.05); }
    50%  { opacity: 0.85; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1.05); }
}

@keyframes pulse-ring {
    0%   { opacity: 0.5; transform: scale(0.85); }
    50%  { opacity: 0.2; transform: scale(1.08); }
    100% { opacity: 0.5; transform: scale(0.85); }
}

@keyframes pulse-ring-fast {
    0%   { opacity: 0.6; transform: scale(0.9); }
    50%  { opacity: 0.3; transform: scale(1.1); }
    100% { opacity: 0.6; transform: scale(0.9); }
}

/* ============================================================
   INTRO ANIMATION
   ============================================================ */
.lp-intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--cb-bg-page);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 500ms var(--cb-ease);
}

.lp-intro-overlay.lp-hidden {
    opacity: 0;
    pointer-events: none;
}

.lp-intro-circle {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 50%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-intro 3.5s ease-in-out infinite;
    z-index: 201;
}

.lp-intro-circle::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    animation: pulse-ring-intro 3.5s ease-in-out infinite;
}

@keyframes pulse-intro {
    0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50%  { opacity: 0.8; transform: translate(-50%, -50%) scale(0.95); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes pulse-ring-intro {
    0%   { opacity: 0.5; transform: scale(0.85); }
    50%  { opacity: 0.2; transform: scale(1.1); }
    100% { opacity: 0.5; transform: scale(0.85); }
}

/* Freeze state — stops pulse, enables transition */
.lp-intro-circle.lp-frozen {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: width 1400ms cubic-bezier(0.4, 0, 0.05, 1),
                height 1400ms cubic-bezier(0.4, 0, 0.05, 1),
                top 1400ms cubic-bezier(0.4, 0, 0.05, 1),
                left 1400ms cubic-bezier(0.4, 0, 0.05, 1),
                transform 1400ms cubic-bezier(0.4, 0, 0.05, 1),
                opacity 400ms ease;
}

.lp-intro-circle.lp-frozen::before {
    animation: none;
    opacity: 0.4;
    transform: scale(1);
    transition: top 1400ms cubic-bezier(0.4, 0, 0.05, 1),
                left 1400ms cubic-bezier(0.4, 0, 0.05, 1),
                right 1400ms cubic-bezier(0.4, 0, 0.05, 1),
                bottom 1400ms cubic-bezier(0.4, 0, 0.05, 1),
                border-width 1400ms cubic-bezier(0.4, 0, 0.05, 1),
                opacity 400ms ease;
}

/* Shrink state — target position (matches navbar circle center) */
.lp-intro-circle.lp-shrinking {
    width: 18px;
    height: 18px;
    top: 37px;
    left: 50px;
    transform: translate(-50%, -50%);
}

.lp-intro-circle.lp-shrinking::before {
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-width: 1px;
}

/* ============================================================
   HOLOGRAPHIC AMBIENT GLOW
   ============================================================ */
.lp-holo-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.lp-holo-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    will-change: transform;
}

.lp-holo-blob--1 {
    width: 500px;
    height: 500px;
    background: rgba(79, 195, 247, 0.07);
    animation: lp-holo-drift1 25s ease-in-out infinite;
}

.lp-holo-blob--2 {
    width: 400px;
    height: 400px;
    background: rgba(167, 139, 250, 0.05);
    animation: lp-holo-drift2 30s ease-in-out infinite;
}

/* Blob 1: clockwise orbit along viewport edges */
@keyframes lp-holo-drift1 {
    0%, 100% { transform: translate(-10%, -10%); }
    25%      { transform: translate(calc(100vw - 450px), -5%); }
    50%      { transform: translate(calc(100vw - 400px), calc(100vh - 450px)); }
    75%      { transform: translate(-5%, calc(100vh - 400px)); }
}

/* Blob 2: counter-clockwise for organic overlap */
@keyframes lp-holo-drift2 {
    0%, 100% { transform: translate(calc(100vw - 350px), -5%); }
    25%      { transform: translate(calc(100vw - 300px), calc(100vh - 350px)); }
    50%      { transform: translate(-5%, calc(100vh - 300px)); }
    75%      { transform: translate(-10%, -10%); }
}

@media (prefers-reduced-motion: reduce) {
    .lp-holo-blob {
        animation: none;
        opacity: 0.5;
    }
    .lp-holo-blob--1 { transform: translate(10%, 20%); }
    .lp-holo-blob--2 { transform: translate(60%, 50%); }
}

/* ============================================================
   NAVBAR
   ============================================================ */
/* ── Navbar container ── */
.lp-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 400ms var(--cb-ease);
}

.lp-navbar.lp-visible {
    opacity: 1;
}

/* ── Shared glass pill style ── */
.lp-navbar-left,
.lp-navbar-right {
    display: flex;
    align-items: center;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    pointer-events: auto;
    transition: all 0.4s var(--cb-ease);
}

.lp-navbar-left:hover,
.lp-navbar-right:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}

/* ── Left pill: brand + links ── */
.lp-navbar-left {
    padding: 10px 10px 10px 18px;
    gap: 4px;
}

/* ── Brand ── */
.lp-navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-right: 6px;
}

.lp-navbar-brand .pulsating-circle {
    width: 18px;
    height: 18px;
}

.lp-navbar-brand .pulsating-circle::before {
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-width: 1px;
}

.lp-navbar-wordmark {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--cb-text-primary);
    text-transform: lowercase;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* ── Nav links ── */
.lp-navbar-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.lp-navbar-link {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--cb-text-secondary);
    text-decoration: none;
    text-transform: lowercase;
    padding: 6px 14px;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.lp-navbar-link:hover {
    color: var(--cb-text-primary);
    background: rgba(255, 255, 255, 0.06);
}

/* ── Right pill: auth buttons ── */
.lp-navbar-right {
    padding: 8px 8px 8px 10px;
    gap: 4px;
}

.lp-navbar-login {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--cb-text-secondary);
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.lp-navbar-login:hover {
    color: var(--cb-text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.lp-navbar-signup {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cb-bg-page);
    background: var(--cb-text-primary);
    text-decoration: none;
    padding: 7px 18px;
    border-radius: 100px;
    transition: all 0.25s var(--cb-ease);
}

.lp-navbar-signup:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.12);
}

/* ============================================================
   HERO
   ============================================================ */
.lp-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    gap: 0;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.025), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.lp-hero > * {
    position: relative;
    z-index: 1;
}

.lp-hero .cb-pill {
    margin-bottom: 2.5rem;
}

body.cardboard .lp-hero h1 {
    max-width: 780px;
    margin-bottom: 2.5rem;
    text-transform: lowercase;
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

body.cardboard .lp-hero-subtitle {
    color: var(--cb-text-secondary);
    font-size: 1.05rem;
    max-width: 580px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    /* Balance line lengths so the paragraph doesn't end with a short orphan */
    text-wrap: balance;
}

.lp-hero-ctas {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 5rem;
}

.lp-hero-ctas .cb-btn-primary {
    padding: 16px 48px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: capitalize;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--cb-ease);
}

.lp-hero-ctas .cb-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: none;
    animation: lp-cta-shine 4s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes lp-cta-shine {
    0%, 100% { left: -100%; }
    20% { left: 150%; }
    21%, 99% { left: -100%; }
}

.lp-hero-ctas .cb-btn-primary:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.18), 0 2px 8px rgba(255, 255, 255, 0.08);
}

.lp-hero-ctas .cb-btn-ghost {
    padding: 12px 24px;
    font-size: 0.9rem;
}

/* ── Live Feed Card ── */
.lp-livefeed {
    width: 100%;
    max-width: 900px;
    background: var(--cb-bg-surface);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-lg);
    overflow: hidden;
    position: relative;
}

.lp-livefeed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--cb-border);
}

.lp-livefeed-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cb-text-primary);
    text-transform: lowercase;
}

.lp-livefeed-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lp-livefeed-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cb-success);
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
    animation: lp-feed-dot 2s ease-in-out infinite;
}

@keyframes lp-feed-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.lp-livefeed-status-text {
    font-size: 0.68rem;
    color: var(--cb-text-muted);
    text-transform: lowercase;
}

.lp-livefeed-trades {
    padding: 4px 0;
    max-height: 252px;
    overflow: hidden;
}

.lp-livefeed-row {
    display: grid;
    grid-template-columns: 70px 1fr 60px 70px 36px;
    gap: 8px;
    align-items: center;
    padding: 8px 24px;
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 350ms ease, transform 350ms ease, background 300ms ease;
}

/* New row entering from top */
.lp-livefeed-row.lp-feed-entering {
    opacity: 0;
    transform: translateY(-20px);
}

.lp-livefeed-row.lp-feed-flash {
    background: rgba(79, 195, 247, 0.08);
}

.lp-livefeed-time {
    color: var(--cb-text-muted);
    font-size: 0.65rem;
}

.lp-livefeed-bond {
    color: var(--cb-text-primary);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-livefeed-yield {
    color: var(--cb-accent-yield);
    font-weight: 600;
    text-align: right;
}

.lp-livefeed-value {
    color: var(--cb-text-primary);
    font-weight: 600;
    text-align: right;
}

.lp-livefeed-exchange {
    color: var(--cb-text-muted);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: right;
}

.lp-livefeed-footer {
    padding: 10px 24px;
    border-top: 1px solid var(--cb-border);
}

.lp-livefeed-footer-text {
    font-size: 0.65rem;
    color: var(--cb-text-muted);
    text-transform: lowercase;
}

/* ── Category Cards ── */
.lp-discover-section {
    padding-bottom: 60px;
}

.lp-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--cb-gap);
}

.lp-category-card {
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.lp-category-card[data-cat="government"] { border-color: rgba(79, 195, 247, 0.25); }
.lp-category-card[data-cat="corporate"]  { border-color: rgba(102, 187, 106, 0.25); }
.lp-category-card[data-cat="sgb"]        { border-color: rgba(255, 183, 77, 0.25); }
.lp-category-card[data-cat="taxfree"]    { border-color: rgba(206, 147, 216, 0.25); }

.lp-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.lp-category-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cb-text-primary);
    text-transform: lowercase;
}

.lp-category-count {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--cb-radius-full);
    color: var(--cb-text-secondary);
    background: var(--cb-bg-elevated);
    border: 1px solid var(--cb-border);
}

.lp-category-card[data-cat="government"] .lp-category-count { color: #4FC3F7; border-color: rgba(79, 195, 247, 0.3); }
.lp-category-card[data-cat="corporate"]  .lp-category-count { color: #66BB6A; border-color: rgba(102, 187, 106, 0.3); }
.lp-category-card[data-cat="sgb"]        .lp-category-count { color: #FFB74D; border-color: rgba(255, 183, 77, 0.3); }
.lp-category-card[data-cat="taxfree"]    .lp-category-count { color: #CE93D8; border-color: rgba(206, 147, 216, 0.3); }

body.cardboard .lp-category-desc {
    font-size: 0.78rem;
    color: var(--cb-text-muted);
    text-transform: lowercase;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.lp-category-bonds {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 12px;
}

.lp-category-bond {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    border-radius: 4px;
    transition: background 150ms ease;
}

.lp-category-bond:hover {
    background: rgba(255,255,255,0.03);
}

.lp-category-bond-name {
    font-size: 0.78rem;
    color: var(--cb-text-secondary);
    text-transform: lowercase;
}

.lp-category-bond-yield {
    font-size: 0.8rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.lp-category-card[data-cat="government"] .lp-category-bond-yield { color: #4FC3F7; }
.lp-category-card[data-cat="corporate"]  .lp-category-bond-yield { color: #66BB6A; }
.lp-category-card[data-cat="sgb"]        .lp-category-bond-yield { color: #FFB74D; }
.lp-category-card[data-cat="taxfree"]    .lp-category-bond-yield { color: #CE93D8; }

.lp-category-footer {
    font-size: 0.72rem;
    text-transform: lowercase;
}

.lp-category-card[data-cat="government"] .lp-category-footer { color: rgba(79, 195, 247, 0.7); }
.lp-category-card[data-cat="corporate"]  .lp-category-footer { color: rgba(102, 187, 106, 0.7); }
.lp-category-card[data-cat="sgb"]        .lp-category-footer { color: rgba(255, 183, 77, 0.7); }
.lp-category-card[data-cat="taxfree"]    .lp-category-footer { color: rgba(206, 147, 216, 0.7); }

/* ============================================================
   STATS BAR
   ============================================================ */
.lp-stats {
    background: var(--cb-bg-surface);
    border-top: 1px solid var(--cb-border);
    border-bottom: 1px solid var(--cb-border);
    padding: 40px 24px;
}

.lp-stats-inner {
    max-width: var(--cb-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.lp-stat {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.lp-stat + .lp-stat {
    border-left: 1px solid var(--cb-border);
}

.lp-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cb-text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
}

.lp-stat-arrow {
    display: inline-block;
    margin: 0 4px;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--cb-accent-yield, #4FC3F7);
    vertical-align: baseline;
    opacity: 0.75;
}

.lp-stat-label {
    font-size: 0.75rem;
    color: var(--cb-text-muted);
    text-transform: lowercase;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.lp-section {
    padding: 60px 24px;
    max-width: var(--cb-max-width);
    margin: 0 auto;
}

.lp-section-header {
    text-align: center;
    margin-bottom: 60px;
}

body.cardboard .lp-section-header h2 {
    text-transform: lowercase;
    margin-bottom: 16px;
}

body.cardboard .lp-section-header p {
    color: var(--cb-text-secondary);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.lp-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--cb-gap);
}

.lp-problem-card {
    padding: 28px 24px;
}

.lp-problem-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cb-text-muted);
    margin-bottom: 14px;
    letter-spacing: 0.04em;
    opacity: 0.5;
}

body.cardboard .lp-problem-card h3 {
    margin-bottom: 12px;
    text-transform: lowercase;
}

body.cardboard .lp-problem-card p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--cb-text-secondary);
}

.lp-yield-compare {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 16px;
    border-radius: var(--cb-radius-sm);
    overflow: hidden;
    border: 1px solid var(--cb-border);
}

.lp-yield-compare-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid var(--cb-border);
}

.lp-yield-compare-row:last-child {
    border-bottom: none;
}

.lp-yield-compare-row--highlight {
    background: rgba(239, 83, 80, 0.06);
}

.lp-yield-compare-label {
    font-size: 0.75rem;
    color: var(--cb-text-muted);
}

.lp-yield-compare-val {
    font-size: 0.85rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.lp-yield-compare-val--them {
    color: var(--cb-text-secondary);
}

.lp-yield-compare-val--you {
    color: var(--cb-text-primary);
}

.lp-yield-compare-val--margin {
    color: #ef5350;
}

/* ============================================================
   FEATURES BENTO GRID
   ============================================================ */
.lp-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(240px, auto);
    gap: var(--cb-gap);
}

.lp-bento-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.lp-bento-card--wide {
    grid-column: span 2;
}

.lp-bento-content {
    padding: 24px 24px 16px;
}

.lp-bento-content h3 {
    text-transform: lowercase;
    margin-bottom: 6px;
}

.lp-bento-content p {
    font-size: 0.82rem;
    color: var(--cb-text-muted);
}

.lp-bento-visual {
    flex: 1;
    padding: 0 24px 24px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* ── Mockup: Order Book ── */
.lp-mock-orderbook {
    width: 100%;
}

.lp-mock-ob-header {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.lp-mock-ob-toggle {
    font-size: 0.62rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    color: var(--cb-text-muted);
    background: var(--cb-bg-elevated);
    border: 1px solid var(--cb-border);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lp-mock-ob-toggle.active {
    color: var(--cb-text-primary);
    border-color: var(--cb-accent-yield);
    background: rgba(79, 195, 247, 0.08);
}

.lp-mock-ob-sides {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.lp-mock-ob-side {
    flex: 1;
}

.lp-mock-ob-label {
    font-size: 0.55rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    padding: 0 6px;
}

.lp-mock-ob-side.bid .lp-mock-ob-label { color: var(--cb-success); }
.lp-mock-ob-side.ask .lp-mock-ob-label { color: var(--cb-danger); }

.lp-mock-ob-row {
    display: grid;
    grid-template-columns: 1fr 0.7fr 0.5fr;
    gap: 4px;
    padding: 4px 6px;
    font-size: 0.62rem;
    font-variant-numeric: tabular-nums;
    position: relative;
    border-radius: 3px;
    margin-bottom: 2px;
}

.lp-mock-ob-price { color: var(--cb-text-primary); font-weight: 500; }
.lp-mock-ob-yield { color: var(--cb-text-muted); }
.lp-mock-ob-qty { color: var(--cb-text-secondary); text-align: right; }

.lp-mock-ob-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 3px;
    z-index: -1;
}

.lp-mock-ob-side.bid .lp-mock-ob-bar { right: 0; background: rgba(34, 197, 94, 0.1); }
.lp-mock-ob-side.ask .lp-mock-ob-bar { left: 0; background: rgba(239, 68, 68, 0.08); }

.lp-mock-ob-spread {
    font-size: 0.55rem;
    color: var(--cb-text-muted);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    white-space: nowrap;
}

/* ── Mockup: Trade History ── */
.lp-mock-tradehistory {
    width: 100%;
}

.lp-mock-th-filters {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}

.lp-mock-th-filter {
    font-size: 0.58rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--cb-text-muted);
    background: transparent;
}

.lp-mock-th-filter.active {
    color: var(--cb-text-primary);
    background: var(--cb-bg-elevated);
}

.lp-mock-th-chart {
    position: relative;
    height: 80px;
}

.lp-mock-th-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.lp-mock-th-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 1.5s ease-out;
}

.cb-visible .lp-mock-th-line {
    stroke-dashoffset: 0;
}

.lp-mock-th-area {
    opacity: 0;
    transition: opacity 1s ease-out 0.8s;
}

.cb-visible .lp-mock-th-area {
    opacity: 1;
}

.lp-mock-th-volumes {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 24px;
    display: flex;
    align-items: flex-end;
    gap: 2px;
}

.lp-mock-th-vol {
    flex: 1;
    background: rgba(79, 195, 247, 0.15);
    border-radius: 1px 1px 0 0;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: opacity 300ms var(--cb-ease), transform 300ms var(--cb-ease);
}

.cb-visible .lp-mock-th-vol {
    opacity: 1;
    transform: scaleY(1);
}

.cb-visible .lp-mock-th-vol:nth-child(1) { transition-delay: 200ms; }
.cb-visible .lp-mock-th-vol:nth-child(2) { transition-delay: 280ms; }
.cb-visible .lp-mock-th-vol:nth-child(3) { transition-delay: 360ms; }
.cb-visible .lp-mock-th-vol:nth-child(4) { transition-delay: 440ms; }
.cb-visible .lp-mock-th-vol:nth-child(5) { transition-delay: 520ms; }
.cb-visible .lp-mock-th-vol:nth-child(6) { transition-delay: 600ms; }
.cb-visible .lp-mock-th-vol:nth-child(7) { transition-delay: 680ms; }
.cb-visible .lp-mock-th-vol:nth-child(8) { transition-delay: 760ms; }
.cb-visible .lp-mock-th-vol:nth-child(9) { transition-delay: 840ms; }
.cb-visible .lp-mock-th-vol:nth-child(10) { transition-delay: 920ms; }
.cb-visible .lp-mock-th-vol:nth-child(11) { transition-delay: 1000ms; }
.cb-visible .lp-mock-th-vol:nth-child(12) { transition-delay: 1080ms; }

/* ── Mockup: Credit Rating (mirrors bdp-rt tier ladder in product) ── */
.lp-mock-rt {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-mock-rt-hero {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-mock-rt-badge {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--cb-text-primary);
    padding: 8px 14px;
    border: 2px solid;
    border-radius: 10px;
    line-height: 1;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.lp-mock-rt-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lp-mock-rt-desc {
    font-size: 0.68rem;
    color: var(--cb-text-secondary);
    font-weight: 500;
}

.lp-mock-rt-agency {
    font-size: 0.58rem;
    color: var(--cb-text-muted);
}

.lp-mock-rt-ladder {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 12px;
}

.lp-mock-rt-ladder::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1px;
}

.lp-mock-rt-tier {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    position: relative;
}

.lp-mock-rt-tier--active {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 8px 10px;
    margin: 2px -10px;
}

.lp-mock-rt-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 1;
}

.lp-mock-rt-tier--active .lp-mock-rt-dot {
    width: 12px;
    height: 12px;
}

.lp-mock-rt-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cb-text-muted);
    min-width: 52px;
    letter-spacing: 0.02em;
}

.lp-mock-rt-label--active {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--cb-text-primary);
}

.lp-mock-rt-tdesc {
    font-size: 0.65rem;
    color: var(--cb-text-muted);
    opacity: 0.6;
}

.lp-mock-rt-tier--active .lp-mock-rt-tdesc {
    opacity: 1;
    color: var(--cb-text-secondary);
}

/* ── Mockup: Cash Flows (mirrors bdp-cf in product) ── */
.lp-mock-cf {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Summary strip — matches bdp-cf-summary */
.lp-mock-cf-strip {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-mock-cf-strip-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-mock-cf-strip-item:last-child {
    border-right: none;
}

.lp-mock-cf-strip-val {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--cb-text-primary);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.lp-mock-cf-strip-label {
    font-size: 0.52rem;
    color: var(--cb-text-muted);
    margin-top: 2px;
    text-transform: lowercase;
}

/* Next payment alert — matches bdp-cf-next */
.lp-mock-cf-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: rgba(76, 175, 80, 0.06);
    border: 1px solid rgba(76, 175, 80, 0.15);
    border-radius: 8px;
}

.lp-mock-cf-next-label {
    font-size: 0.65rem;
    color: #4CAF50;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lp-mock-cf-next-detail {
    font-size: 0.75rem;
    color: var(--cb-text-primary);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.lp-mock-cf-next-type {
    font-size: 0.6rem;
    color: var(--cb-text-muted);
    font-weight: 400;
}

/* Year rows — matches bdp-cf-year */
.lp-mock-cf-years {
    display: flex;
    flex-direction: column;
}

.lp-mock-cf-year {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--cb-text-muted);
}

.lp-mock-cf-year:last-child {
    border-bottom: none;
}

.lp-mock-cf-year--maturity {
    background: rgba(76, 175, 80, 0.03);
    border-radius: 6px;
    margin-top: 2px;
    border-bottom: none;
}

.lp-mock-cf-year-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cb-text-primary);
    min-width: 32px;
}

.lp-mock-cf-year-type {
    font-size: 0.62rem;
    color: var(--cb-text-muted);
    flex: 1;
}

.lp-mock-cf-year-amt {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--cb-text-primary);
    font-variant-numeric: tabular-nums;
    min-width: 50px;
    text-align: right;
}

.lp-mock-cf-year-amt--green {
    color: #4CAF50;
}

/* ── Mockup: Risk Metrics ── */
.lp-mock-metrics {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-mock-metric {
    padding: 8px 10px;
    background: var(--cb-bg-elevated);
    border-radius: 6px;
    border: 1px solid var(--cb-border);
}

.lp-mock-metric-label {
    font-size: 0.58rem;
    color: var(--cb-text-muted);
    text-transform: lowercase;
    margin-bottom: 3px;
}

.lp-mock-metric-value {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--cb-text-primary);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.lp-mock-metric-unit {
    font-size: 0.62rem;
    font-weight: 400;
    color: var(--cb-text-muted);
}

.lp-mock-metric-tag {
    font-size: 0.52rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-left: 6px;
    vertical-align: middle;
}

.lp-mock-metric-tag.high {
    color: var(--cb-success);
    background: rgba(34, 197, 94, 0.12);
}

.lp-mock-metric-tag.coming-soon {
    color: var(--cb-text-muted);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.58rem;
}

.lp-mock-metric-hint {
    font-size: 0.55rem;
    color: var(--cb-text-muted);
    margin-top: 3px;
    line-height: 1.3;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.lp-pricing {
    text-align: center;
}

body.cardboard .lp-pricing .lp-section-header h2 {
    font-size: 3rem;
    font-weight: 700;
}

.lp-pricing-card {
    max-width: 520px;
    margin: 0 auto;
    padding: 36px 32px;
    background: var(--cb-bg-surface);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    text-align: left;
}

.lp-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.lp-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.85rem;
    color: var(--cb-text-secondary);
    text-transform: lowercase;
    line-height: 1.4;
}

.lp-pricing-features li::before {
    content: '';
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    background: var(--cb-success);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
}

.lp-pricing-more {
    font-size: 0.78rem;
    color: var(--cb-text-muted);
    text-align: center;
    padding: 12px 0;
    font-style: italic;
}

.lp-pricing-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--cb-border);
}

.lp-pricing-cta {
    padding: 15px 52px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: capitalize;
    border-radius: 12px;
    transition: all 0.3s var(--cb-ease);
}

.lp-pricing-cta:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.15), 0 2px 8px rgba(255, 255, 255, 0.06);
}

.lp-pricing-terms {
    margin-top: 12px;
    font-size: 0.72rem;
    color: var(--cb-text-muted);
    letter-spacing: 0.02em;
}

/* ============================================================
   ZERODHA STEPS
   ============================================================ */
.lp-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.lp-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.lp-step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--cb-bg-elevated);
    border: 1px solid var(--cb-accent-yield);
    color: var(--cb-accent-yield);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.lp-step-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cb-text-primary);
    text-transform: lowercase;
    margin-bottom: 6px;
}

.lp-step-desc {
    font-size: 0.82rem;
    color: var(--cb-text-muted);
    text-transform: lowercase;
    line-height: 1.5;
}

/* Connecting line */
.lp-step + .lp-step::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -50%;
    right: 50%;
    height: 1px;
    background: var(--cb-border-accent);
    z-index: 0;
}

/* ============================================================
   PHILOSOPHY + FINAL CTA
   ============================================================ */
.lp-philosophy {
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--cb-border);
}

.lp-philosophy::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.03), transparent 70%);
    pointer-events: none;
}

.lp-philosophy-content {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.lp-philosophy-lead {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cb-text-primary);
    line-height: 1.3;
    text-transform: lowercase;
    letter-spacing: -0.02em;
}

body.cardboard .lp-philosophy-body p {
    font-size: 1rem;
    color: var(--cb-text-secondary);
    line-height: 1.7;
    text-transform: lowercase;
    margin-bottom: 12px;
}

body.cardboard .lp-philosophy-body p:last-child {
    margin-bottom: 0;
}

.lp-philosophy-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.lp-philosophy-tagline {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--cb-text-primary);
    text-transform: lowercase;
    letter-spacing: -0.01em;
}

.lp-philosophy-btn {
    padding: 15px 52px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: capitalize;
    border-radius: 12px;
    transition: all 0.3s var(--cb-ease);
}

.lp-philosophy-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.15), 0 2px 8px rgba(255, 255, 255, 0.06);
}

.lp-philosophy-note {
    font-size: 0.72rem;
    color: var(--cb-text-muted);
    letter-spacing: 0.02em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.lp-footer {
    border-top: 1px solid var(--cb-border);
    padding: 60px 24px 40px;
}

.lp-footer-inner {
    max-width: var(--cb-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
}

.lp-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.lp-footer-brand .pulsating-circle {
    width: 16px;
    height: 16px;
}

.lp-footer-brand .pulsating-circle::before {
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-width: 1px;
}

.lp-footer-brand-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cb-text-primary);
    text-transform: lowercase;
}

.lp-footer-tagline {
    font-size: 0.78rem;
    color: var(--cb-text-muted);
    text-transform: lowercase;
    margin-bottom: 0;
}

.lp-footer-heading {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--cb-text-muted);
    text-transform: lowercase;
    letter-spacing: 0.03em;
    margin-bottom: 16px;
}

.lp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-footer-links li {
    margin-bottom: 10px;
}

.lp-footer-links a {
    font-size: 0.82rem;
    color: var(--cb-text-secondary);
    text-decoration: none;
    text-transform: lowercase;
    transition: color var(--cb-duration-fast) ease;
}

.lp-footer-links a:hover {
    color: var(--cb-text-primary);
}

.lp-footer-bottom {
    max-width: var(--cb-max-width);
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--cb-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lp-footer-copy {
    font-size: 0.72rem;
    color: var(--cb-text-muted);
    text-transform: lowercase;
}

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

/* Tablet */
@media (max-width: 1024px) {
    .lp-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-bento-card--wide {
        grid-column: span 2;
    }

    .lp-mockup-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Hero: content anchored a bit below vertical centre so the pill/title/
       subtitle/CTA sit around the middle of the viewport, with the live feed
       card peeking in at the bottom (~half visible). */
    body.cardboard .lp-hero {
        min-height: 0;
        height: auto;
        justify-content: flex-start;
        padding: max(96px, 18vh) 22px 60px;
        gap: 0;
    }

    body.cardboard .lp-hero .cb-pill {
        font-size: 0.7rem;
        padding: 5px 12px;
        margin-bottom: 1.4rem;
    }

    body.cardboard .lp-hero h1 {
        font-size: 2.35rem;
        line-height: 1.12;
        letter-spacing: -0.03em;
        margin-bottom: 1.1rem;
        max-width: 340px;
    }

    body.cardboard .lp-hero-subtitle {
        font-size: 0.88rem;
        line-height: 1.55;
        margin-bottom: 2rem;
        max-width: 340px;
        color: rgba(255, 255, 255, 0.62);
        text-wrap: balance;
    }

    body.cardboard .lp-hero-ctas {
        /* Hero top padding is now vh-based (content centred-ish), so this
           margin only needs to create the peek effect for the live-feed card.
           Keep it proportional so the peek holds on any phone height. */
        margin-bottom: max(2rem, 9vh);
        justify-content: center;
        width: auto;
    }

    body.cardboard .lp-hero-ctas .cb-btn-primary {
        padding: 11px 26px;
        font-size: 0.82rem;
        font-weight: 600;
        letter-spacing: -0.005em;
        width: auto;
        max-width: none;
        border-radius: 999px;
    }

    body.cardboard .lp-livefeed {
        margin-top: 0;
    }

    .lp-mockup-hero {
        padding: 16px;
    }

    .lp-mockup-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Live feed — hide exchange on mobile */
    .lp-livefeed-row {
        grid-template-columns: 55px 1fr 55px 65px;
    }

    .lp-livefeed-exchange {
        display: none;
    }

    .lp-livefeed-header {
        padding: 12px 16px;
    }

    .lp-livefeed-row {
        padding: 8px 16px;
    }

    .lp-livefeed-footer {
        padding: 10px 16px;
    }

    /* Category cards — single column */
    .lp-category-grid {
        grid-template-columns: 1fr;
    }

    .lp-stats-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .lp-stat + .lp-stat {
        border-left: none;
    }

    .lp-stat:nth-child(2),
    .lp-stat:nth-child(4) {
        border-left: 1px solid var(--cb-border);
    }

    .lp-stat-value {
        font-size: 1.5rem;
    }

    /* ── Carousel: category + problem cards ── */
    .lp-category-grid,
    .lp-problem-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding: 0 24px 0;
        margin: 0 -24px;
        scrollbar-width: none;
    }

    .lp-category-grid::-webkit-scrollbar,
    .lp-problem-grid::-webkit-scrollbar {
        display: none;
    }

    .lp-category-card,
    .lp-problem-card {
        flex: 0 0 82%;
        scroll-snap-align: center;
        min-width: 0;
    }

    /* Carousel controls wrapper */
    .lp-carousel-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 20px 0 0;
    }

    .lp-carousel-arrow {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.05);
        color: var(--cb-text-secondary);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
        -webkit-tap-highlight-color: transparent;
    }

    .lp-carousel-arrow:active {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .lp-carousel-arrow svg {
        width: 14px;
        height: 14px;
        stroke: currentColor;
        stroke-width: 2;
        fill: none;
    }

    /* Carousel dots - pill expanding style */
    .lp-carousel-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

    .lp-carousel-dot {
        height: 6px;
        border-radius: 3px;
        background: rgba(255, 255, 255, 0.2);
        transition: all 0.35s ease;
        width: 6px;
    }

    .lp-carousel-dot.active {
        width: 24px;
        background: rgba(255, 255, 255, 0.8);
    }

    .lp-bento {
        grid-template-columns: 1fr;
    }

    .lp-bento-card--wide {
        grid-column: span 1;
    }

    .lp-steps {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }

    .lp-step + .lp-step::before {
        display: none;
    }

    .lp-section {
        padding: 112px 22px 96px;
    }

    /* Tighten the hero → stats gap (hero livefeed card sits right above
       the "₹238 lakh cr" row, so keep the transition compact). */
    .lp-stats {
        padding: 60px 24px 48px;
    }

    /* Philosophy sits below the zerodha section and the preceding pricing/
       zerodha flow. The `₹238 lakh cr` stat is in the lp-stats section, not
       here, so this keeps normal section rhythm. */

    .lp-section-header {
        margin-bottom: 40px;
    }

    .lp-section-header h2 {
        font-size: 1.75rem;
        line-height: 1.2;
        letter-spacing: -0.025em;
        margin-bottom: 12px;
    }

    .lp-section-header p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .lp-philosophy-lead {
        font-size: 1.3rem;
        line-height: 1.5;
    }

    .lp-footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .lp-navbar {
        padding: 10px 12px;
    }

    .lp-navbar-links {
        display: none;
    }

    .lp-navbar-login {
        display: none;
    }

    .lp-navbar-left {
        padding: 8px 14px;
        gap: 2px;
    }

    .lp-navbar-brand {
        margin-right: 0;
        gap: 8px;
    }

    .lp-navbar-brand .pulsating-circle {
        width: 16px;
        height: 16px;
    }

    .lp-navbar-brand .pulsating-circle::before {
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
    }

    .lp-navbar-wordmark {
        font-size: 0.82rem;
    }

    .lp-navbar-right {
        padding: 5px;
    }

    .lp-navbar-signup {
        padding: 7px 16px;
        font-size: 0.75rem;
    }

    /* Intro animation mobile fix */
    .lp-intro-circle.lp-shrinking {
        top: 30px;
        left: 38px;
        width: 16px;
        height: 16px;
    }

    /* Remove borders from bento/feature cards on mobile */
    .lp-bento-card,
    .lp-pricing-card,
    .lp-step {
        border: none;
        background: transparent;
    }

    .lp-bento-card {
        padding: 20px 0;
        border-bottom: 1px solid var(--cb-border);
        border-radius: 0;
    }

    .lp-bento-card:last-child {
        border-bottom: none;
    }

    /* Text sizing + CTA fixes */
    .lp-hero {
        min-height: auto;
        padding: 90px 20px 40px;
    }

    .lp-hero .cb-pill {
        margin-bottom: 1.5rem;
        font-size: 0.7rem;
    }

    body.cardboard .lp-hero h1 {
        margin-bottom: 1.5rem;
    }

    body.cardboard .lp-hero-subtitle {
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .lp-hero-ctas {
        margin-bottom: 3rem;
    }

    body.cardboard .lp-section-header h2 {
        font-size: 1.5rem;
    }

    .lp-section-header p {
        font-size: 0.82rem;
    }

    body.cardboard .lp-problem-card h3 {
        font-size: 1rem;
    }

    .lp-problem-card p {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .lp-problem-num {
        font-size: 0.65rem;
    }

    body.cardboard .lp-bento-card h3 {
        font-size: 0.95rem;
    }

    .lp-bento-card p {
        font-size: 0.78rem;
    }

    .lp-pricing-features li {
        font-size: 0.82rem;
    }

    .lp-philosophy-body p {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    .lp-philosophy-tagline {
        font-size: 1.05rem;
    }

    .lp-philosophy-note {
        font-size: 0.72rem;
    }

    .lp-step-name {
        font-size: 0.85rem;
    }

    .lp-step-desc {
        font-size: 0.75rem;
    }

    /* Glow visibility on mobile */
    .lp-holo-blob {
        filter: blur(80px);
    }

    .lp-holo-blob--1 {
        width: 350px;
        height: 350px;
        opacity: 1.2;
    }

    .lp-holo-blob--2 {
        width: 280px;
        height: 280px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .lp-navbar {
        padding: 8px 10px;
    }

    .lp-navbar-left {
        padding: 7px 12px;
    }

    .lp-navbar-signup {
        padding: 6px 14px;
    }

    body.cardboard .lp-hero {
        padding: max(88px, 17vh) 18px 60px;
    }

    body.cardboard .lp-hero h1 {
        font-size: 2.05rem;
        line-height: 1.1;
        margin-bottom: 0.95rem;
        max-width: 310px;
    }

    body.cardboard .lp-hero-subtitle {
        font-size: 0.82rem;
        line-height: 1.55;
        margin-bottom: 1.75rem;
        max-width: 300px;
        text-wrap: balance;
    }

    .lp-hero-ctas {
        flex-direction: row;
        width: auto;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .lp-hero-ctas .cb-btn {
        width: auto;
        box-sizing: border-box;
    }

    .lp-hero-ctas .cb-btn-primary {
        padding: 10px 24px;
        font-size: 0.8rem;
        border-radius: 999px;
    }

    .lp-section {
        padding: 96px 18px 80px;
    }

    .lp-stats {
        padding: 60px 18px 44px;
    }

    .lp-section-header h2 {
        font-size: 1.55rem;
    }

    /* Live feed — tighter on small screens */
    .lp-livefeed-row {
        grid-template-columns: 48px 1fr 50px 58px;
        gap: 4px;
        font-size: 0.65rem;
    }

    .lp-livefeed-bond {
        font-size: 0.62rem;
    }

    .lp-livefeed-time {
        font-size: 0.58rem;
    }

    .lp-category-card,
    .lp-problem-card {
        flex: 0 0 88%;
    }

    .lp-category-grid,
    .lp-problem-grid {
        padding: 0 16px 16px;
        margin: 0 -16px;
        gap: 12px;
    }

    .lp-mockup-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .lp-stats-inner {
        gap: 12px;
    }

    .lp-stat {
        padding: 0 8px;
    }

    .lp-stat-value {
        font-size: 1.15rem;
    }

    .lp-section {
        padding: 36px 16px;
    }

    .lp-section-header {
        margin-bottom: 28px;
    }

    body.cardboard .lp-section-header h2 {
        font-size: 1.3rem;
    }

    body.cardboard .lp-pricing .lp-section-header h2 {
        font-size: 1.75rem;
    }

    .lp-pricing-card {
        padding: 24px 16px;
    }

    .lp-pricing-cols {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lp-pricing-footer {
        padding: 20px 0 0;
    }

    .lp-pricing-cta {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.88rem;
        box-sizing: border-box;
    }

    .lp-philosophy-lead {
        font-size: 1.15rem;
    }

    .lp-philosophy-body p {
        font-size: 0.85rem;
    }

    .lp-philosophy-cta {
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .lp-philosophy-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.88rem;
        box-sizing: border-box;
    }

    .lp-cta-block h3 {
        font-size: 1.15rem;
    }

    .lp-footer {
        padding: 40px 16px 32px;
    }

    .lp-footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* Intro animation small mobile fix */
    .lp-intro-circle.lp-shrinking {
        top: 27px;
        left: 34px;
        width: 16px;
        height: 16px;
    }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .lp-intro-overlay {
        display: none;
    }

    .lp-navbar {
        opacity: 1;
    }

    .cb-fade-up,
    .cb-fade-up-hero {
        opacity: 1;
        transform: none;
    }
}
