/* ================================================= */
/* Original Research Section                          */
/* ================================================= */

.or-section {
    padding: 5rem 1.5rem;
    background: #0f0f0f;
    color: #eee;
}

/* Global .container is flex column + align-items:center — children don't get full width, so
   flex rows inside (e.g. .or-why) shrink-wrap and text overflows. Stretch only here. */
.or-section .container {
    align-items: stretch;
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.or-layout {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: center;
    max-width: 1060px;
    margin: 0 auto;
}

.or-copy {
    flex: 1;
    min-width: 0;
}

.or-eyebrow {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #FF4500;
    margin-bottom: 0.75rem;
}

.or-heading {
    text-align: left;
    font-size: clamp(1.55rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
}

.or-lead {
    text-align: left;
    max-width: 100%;
    margin: 0;
    font-size: 1.02rem;
    color: #aaa;
    line-height: 1.65;
}

.or-lead strong {
    color: #fff;
}

/* 3-step mini pipeline */
.or-pipeline {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.or-step {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
}

.or-step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #FF4500 0%, #ff9a6c 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.or-step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.2rem;
}

.or-step p {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.55;
    margin: 0;
}

/* Right visual — example research card */
.or-visual {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.or-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1.5rem;
    width: 100%;
    max-width: 460px;
}

.or-card-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #FF4500;
    background: rgba(255, 69, 0, 0.12);
    padding: 0.25rem 0.6rem;
    border-radius: 5px;
    margin-bottom: 0.85rem;
}

.or-card-hook {
    font-size: 0.9rem;
    color: #eee;
    font-style: italic;
    line-height: 1.5;
    margin: 0 0 1.15rem;
}

.or-card-table {
    overflow-x: auto;
}

.or-card-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.or-card-table th {
    text-align: left;
    padding: 0.45rem 0.5rem;
    font-weight: 700;
    color: #999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
}

.or-card-table td {
    padding: 0.4rem 0.5rem;
    color: #ccc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    white-space: nowrap;
}

.or-card-table td strong {
    color: #FF4500;
}

.or-card-cite {
    font-size: 0.7rem;
    color: #777;
    margin: 0.75rem 0 0;
}

/* Bottom proof strip */
.or-why {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    margin-top: 3.5rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.or-why-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1 1 220px;
    min-width: 0;
    max-width: 100%;
}

.or-why-item svg {
    flex-shrink: 0;
    color: #FF4500;
    margin-top: 2px;
}

.or-why-item div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1 1 auto;
}

.or-why-item strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

.or-why-item span {
    display: block;
    font-size: 0.8rem;
    color: #aaa;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

/* Responsive — tablet */
@media (max-width: 768px) {
    .or-section {
        padding: 3rem 1rem;
    }

    .or-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .or-heading {
        text-align: center;
    }

    .or-lead {
        font-size: 0.95rem;
        text-align: center;
    }

    .or-layout {
        flex-direction: column;
        gap: 2rem;
        max-width: 100%;
    }

    .or-card {
        max-width: 100%;
    }

    .or-card-table th,
    .or-card-table td {
        padding: 0.35rem 0.4rem;
        font-size: 0.7rem;
    }

    .or-why {
        flex-direction: column;
        gap: 1.25rem;
        align-items: stretch;
    }

    .or-why-item {
        flex: 1 1 auto;
        max-width: 100%;
    }
}

/* Responsive — small phone */
@media (max-width: 480px) {
    .or-section {
        padding: 2.5rem 0.75rem;
    }

    .or-section .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .or-heading {
    }

    .or-lead {
        font-size: 0.88rem;
        margin-bottom: 1.75rem;
    }

    .or-step {
        gap: 0.75rem;
    }

    .or-step-num {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .or-step h3 {
        font-size: 0.88rem;
    }

    .or-step p {
        font-size: 0.8rem;
    }

    .or-card {
        padding: 1.15rem;
        border-radius: 12px;
    }

    .or-card-hook {
        font-size: 0.82rem;
    }

    .or-card-table th,
    .or-card-table td {
        padding: 0.3rem 0.35rem;
        font-size: 0.65rem;
    }

    .or-card-cite {
        font-size: 0.65rem;
    }

    .or-why {
        gap: 1.15rem;
        margin-top: 2.5rem;
    }

    .or-why-item strong {
        font-size: 0.82rem;
    }

    .or-why-item span {
        font-size: 0.75rem;
    }
}

/* ================================================= */
/* Product Tour — Tabbed Feature Showcase             */
/* ================================================= */

.product-tour {
    padding: 5rem 1.5rem;
    background: #fff;
}

.product-tour .container,
.pt-control .container {
    align-items: stretch;
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.pt-heading {
    text-align: center;
    font-size: clamp(1.55rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #111;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.pt-sub {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}

/* Tab row */
.pt-tabs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.35rem;
    margin: 0 auto 2.5rem;
    max-width: 740px;
    flex-wrap: wrap;
}

.pt-tab {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #555;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.pt-tab:hover {
    background: #e5e5e5;
    color: #222;
}

.pt-tab.is-active {
    background: #111;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* Panels */
.pt-panels {
    max-width: 1040px;
    margin: 0 auto;
}

.pt-panel {
    display: none;
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
}

.pt-panel.is-active {
    display: flex;
    animation: ptFadeIn 0.35s ease;
}

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

.pt-panel-screenshot {
    flex: 1.2;
    min-width: 0;
}

.pt-panel-screenshot img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    display: block;
}

.pt-panel-copy {
    flex: 1;
    min-width: 0;
    padding-top: 0.5rem;
}

.pt-panel-copy h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.pt-panel-copy > p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.65;
    margin: 0 0 1.25rem;
}

.pt-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pt-bullets li {
    position: relative;
    padding-left: 1.35rem;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.pt-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF4500 0%, #ff9a6c 100%);
}

/* CTA under panels */
.pt-cta {
    margin-top: 2.5rem;
}

.pt-cancel {
    font-size: 0.8rem;
}

/* ================================================= */
/* "You stay in control" strip                        */
/* ================================================= */

.pt-control {
    padding: 3.5rem 1.5rem;
    background: #f5f5f5;
}

.pt-control-heading {
    text-align: center;
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 800;
    color: #111;
    margin: 0 0 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.pt-control-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2.5rem;
    max-width: 860px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.pt-control-item {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pt-control-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 0.85rem;
    color: #FF4500;
}

.pt-control-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 0.4rem;
}

.pt-control-item p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .product-tour {
        padding: 3.5rem 1rem;
    }

    .pt-heading {
    }

    .pt-sub {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
    }

    .pt-tabs {
        gap: 0.3rem;
        margin-bottom: 1.75rem;
    }

    .pt-tab {
        padding: 0.5rem 0.9rem;
        font-size: 0.8rem;
    }

    .pt-panel.is-active {
        flex-direction: column;
        gap: 1.5rem;
    }

    .pt-panel-copy h3 {
        font-size: 1.15rem;
    }

    .pt-control-row {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .product-tour {
        padding: 2.5rem 0.75rem;
    }

    .pt-heading {
    }

    .pt-tab {
        padding: 0.45rem 0.75rem;
        font-size: 0.75rem;
    }

    .pt-panel-copy h3 {
        font-size: 1rem;
    }

    .pt-panel-copy > p,
    .pt-bullets li {
        font-size: 0.85rem;
    }

    .pt-control {
        padding: 2.5rem 0.75rem;
    }

    .pt-control-heading {
    }

    .pt-control-row {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .pt-control-item {
        min-width: 0;
        max-width: 100%;
    }
}

/* ================================================= */
/* Hero V3 — Ecosystem Layout                        */
/* ================================================= */

.hero-v3-outer {
    position: relative;
    width: 100%;
    padding: 0 2%;
    box-sizing: border-box;
}

/* SVG overlay — covers the full outer container */
.hero-v3-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* 3-column flex grid */
.hero-v3-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-height: 560px;
}

/* Icon columns */
.hero-v3-col-left,
.hero-v3-col-right {
    flex-shrink: 0;
    width: 90px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

/* Center hero text */
.hero-v3-col-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem 2rem;
    position: relative;
    z-index: 2;
}

.hero-v3-col-center .hero-content-v3 {
    max-width: 600px;
    margin: 0 auto;
}

/* ================================================= */
/* Floating Icon Bubbles                             */
/* ================================================= */

.hero-v3-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    animation: hv3Float var(--float-dur, 4s) ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
    transition: box-shadow 0.3s ease;
}

.hero-v3-icon:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.08);
}

@keyframes hv3Float {
    0%,  100% { transform: translateY(0px); }
    50%        { transform: translateY(-8px); }
}

/* Icon brand colors */
.hero-v3-icon--reddit    { background: #FF4500; box-shadow: 0 8px 24px rgba(255,69,0,0.30); }
.hero-v3-icon--medium    { background: #191919; box-shadow: 0 8px 24px rgba(0,0,0,0.22); }
.hero-v3-icon--youtube   { background: #FF0000; box-shadow: 0 8px 24px rgba(255,0,0,0.22); }
.hero-v3-icon--linkedin  { background: #0A66C2; box-shadow: 0 8px 24px rgba(10,102,194,0.28); }
.hero-v3-icon--blog      { background: #14B8A6; box-shadow: 0 8px 24px rgba(20,184,166,0.28); }

.hero-v3-icon--google    { background: #fff; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 8px 24px rgba(66,133,244,0.15); }
.hero-v3-icon--chatgpt   { background: #10A37F; box-shadow: 0 8px 24px rgba(16,163,127,0.30); }
.hero-v3-icon--perplexity{ background: #20B2B2; box-shadow: 0 8px 24px rgba(32,178,178,0.28); }
.hero-v3-icon--anthropic { background: #D97706; box-shadow: 0 8px 24px rgba(217,119,6,0.28); }
.hero-v3-icon--gemini    { background: #4285F4; box-shadow: 0 8px 24px rgba(66,133,244,0.28); }

/* ================================================= */
/* Convergence node circles (JS-created SVG circles) */
/* ================================================= */

.hv3-node {
    fill: #FF5500;
    filter: url(#hv3GlowSoft);
    animation: hv3NodePulse 1.6s ease-in-out infinite;
}

@keyframes hv3NodePulse {
    0%, 100% { opacity: 0.45; r: 4; }
    50%       { opacity: 1;    r: 7; }
}

/* ================================================= */
/* Responsive                                        */
/* ================================================= */

@media (max-width: 1024px) {
    .hero-v3-col-left,
    .hero-v3-col-right,
    .hero-v3-lines {
        display: none;
    }
    .hero-v3-grid {
        min-height: auto;
    }
    .hero-v3-col-center {
        padding: 4rem 1.5rem 2rem;
    }
    .hero-v3-outer {
        padding: 0;
    }
}


/* ================================================= */
/* Hero V4 — Icon Ecosystem + Energy Flow            */
/* ================================================= */

/* overflow:hidden clips headline/text on narrow screens; only clip on desktop (SVG lines) */
.hero-v4 {
    padding: 0;
    overflow-x: visible;
    overflow-y: visible;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .hero-v4 {
        overflow: hidden;
    }
}

/* Mobile-only icon strip — hidden on desktop (side columns visible) */
.hv4-mobile-icons {
    display: none;
}

/* Pull hero up 100px from where it sits */
.hero-v4 .hero h1,
.hero.hero-v5 h1,
.hero.hero-v6 h1,
.hero.hero-v7 h1 {
    margin-top: 0;
}

.hero-v4 .hv4-grid {
    margin-top: -50px;
}

.hv4-outer {
    position: relative;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.25rem;
    box-sizing: border-box;
}

.hv4-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.hv4-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    min-height: 520px;
}

/* ---- Icon columns ---- */

.hv4-col-left,
.hv4-col-right {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 50px 0;
    position: relative;
    z-index: 2;
}

/* ---- Center column ---- */

.hv4-col-center {
    flex: 1;
    /* Critical: default min-width:auto stops flex child from shrinking → horizontal overflow */
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem 2rem;
    position: relative;
    z-index: 2;
}

.hv4-col-center .hero-content-v3 {
    width: 100%;
    max-width: min(820px, 100%);
    min-width: 0;
    box-sizing: border-box;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.hero-v4 .hero h1,
.hero-v4 .hero-subheadline,
.hero-v7 .hero-subheadline,
.hero.hero-v5 h1,
.hero.hero-v6 h1,
.hero.hero-v7 h1 {
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hv4-col-center .hero-content-v3 h1 {
    margin-top: 9rem;
}

/* "on Autopilot" — italic only (no underline: avoids competing with energy-flow lines) */
.hero-v4 .hv4-autopilot-emphasis,
.hero-v5 .hv4-autopilot-emphasis,
.hero-v6 .hv4-autopilot-emphasis,
.hero-v7 .hv4-autopilot-emphasis,
.hero-v8 .hv4-autopilot-emphasis {
    color: inherit;
    font-weight: inherit;
    font-style: italic;
    letter-spacing: -0.02em;
}

.hero-v4 .hero-subheadline strong,
.hero-v7 .hero-subheadline strong {
    color: #111;
    font-weight: 700;
}

/* Primary hero CTA: global brand styles in styles.css (a.hero-cta.primary) */

.hv4-no-cc {
    font-size: 0.82rem;
    color: #000;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* ---- Bottom trust ---- */

.hv4-bottom-trust {
    margin-top: 0.5rem;
    opacity: 0.6;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 0.5rem;
}

.hv4-bottom-trust .hero-trust-badge-title {
    font-size: 0.78rem;
    font-weight: 500;
    color: #666;
}

/* ---- Greyscale logo bar ---- */

.hv4-logo-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 1rem;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    /* hide scrollbar but keep scroll on mobile */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.hv4-logo-bar::-webkit-scrollbar {
    display: none;
}

.hv4-logo {
    height: 24px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(100%);
    opacity: 0.45;
    transition: opacity 0.3s ease, filter 0.3s ease;
    padding: 0 16px;
    /* separator line between logos */
    border-right: 1px solid #e0e0e0;
}

.hv4-logo:last-child {
    border-right: none;
}

.hv4-logo:hover {
    filter: grayscale(0%);
    opacity: 0.85;
}

/* ================================================= */
/* V4 Floating Icon Bubbles                          */
/* ================================================= */

.hv4-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    animation: hv4Float var(--float-dur, 4s) ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.hv4-icon:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.08);
}

@keyframes hv4Float {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-10px); }
}

/* Brand colours */
.hv4-icon--reddit    { background: #FF4500; box-shadow: 0 8px 24px rgba(255,69,0,0.25); }
.hv4-icon--x         { background: #fff; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.hv4-icon--linkedin  { background: #0A66C2; box-shadow: 0 8px 24px rgba(10,102,194,0.25); }
.hv4-icon--instagram { background: linear-gradient(135deg,#833AB4,#FD1D1D,#F77737); box-shadow: 0 8px 24px rgba(131,58,180,0.25); }

.hv4-icon--google    { background: #fff; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 8px 24px rgba(66,133,244,0.12); }
.hv4-icon--chatgpt   { background: #10A37F; box-shadow: 0 8px 24px rgba(16,163,127,0.25); }
.hv4-icon--anthropic { background: #D97706; box-shadow: 0 8px 24px rgba(217,119,6,0.25); }
.hv4-icon--perplexity {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(32, 178, 178, 0.18);
}

.hv4-icon-img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Stagger left/right icon offsets for visual depth */
.hv4-col-left .hv4-icon:nth-child(1) { margin-right: 10px; }
.hv4-col-left .hv4-icon:nth-child(2) { margin-left: 18px; }
.hv4-col-left .hv4-icon:nth-child(3) { margin-right: 5px; }
.hv4-col-left .hv4-icon:nth-child(4) { margin-left: 14px; }

.hv4-col-right .hv4-icon:nth-child(1) { margin-left: 10px; }
.hv4-col-right .hv4-icon:nth-child(2) { margin-right: 18px; }
.hv4-col-right .hv4-icon:nth-child(3) { margin-left: 5px; }
.hv4-col-right .hv4-icon:nth-child(4) { margin-right: 14px; }

/* ================================================= */
/* V4 Responsive                                     */
/* ================================================= */

/* Tablet: hide icon columns + energy lines, show mobile icon strip */
@media (max-width: 1024px) {
    .hv4-col-left,
    .hv4-col-right,
    .hv4-lines {
        display: none;
    }
    .hero-v4 .hv4-grid {
        min-height: auto;
        margin-top: 0;
    }
    .hv4-col-center {
        padding: 1rem 1rem 1.5rem;
    }
    .hv4-outer {
        padding: 0 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    .hv4-col-center .hero-content-v3 h1,
    .hero-v4 .hero h1,
    .hero.hero-v5 h1,
    .hero.hero-v6 h1,
    .hero.hero-v7 h1 {
        font-size: clamp(1.6rem, 4.5vw, 2.4rem);
        margin-top: 1rem;
    }
    .hero-v4 .hero-subheadline,
    .hero-v7 .hero-subheadline {
        font-size: 1rem;
        max-width: 100%;
    }
    .hv4-col-center .hero-content-v3 {
        max-width: 100%;
    }
    .hv4-bottom-trust {
        margin-top: 1.25rem;
    }
    .hv4-logo-bar {
        margin-top: 0.75rem;
        padding: 0 0.5rem;
    }
    .hv4-logo {
        height: 20px;
        padding: 0 12px;
    }
    /* Show mobile icon strip — wrap so row never wider than viewport */
    .hv4-mobile-icons {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px;
        row-gap: 10px;
        margin-bottom: 0.75rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 0.25rem;
    }
    .hv4-mi {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .hv4-mi--reddit    { background: #FF4500; }
    .hv4-mi--x         { background: #fff; border: 1px solid rgba(0,0,0,0.08); }
    .hv4-mi--linkedin  { background: #0A66C2; }
    .hv4-mi--instagram { background: linear-gradient(135deg,#833AB4,#FD1D1D,#F77737); }
    .hv4-mi--google    { background: #fff; border: 1px solid rgba(0,0,0,0.08); }
    .hv4-mi--chatgpt   { background: #10A37F; }
    .hv4-mi--anthropic { background: #D97706; }
    .hv4-mi--perplexity { background: #fff; border: 1px solid rgba(0,0,0,0.06); }
    .hv4-mi-divider {
        width: 1px;
        height: 24px;
        background: rgba(0,0,0,0.12);
        margin: 0 4px;
        flex-shrink: 0;
    }
    .hv4-mi-img {
        display: block;
        width: 18px;
        height: 18px;
        object-fit: contain;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Phone: hide platform strip — headline/subhead already name channels; more room above fold */
    .hv4-mobile-icons {
        display: none !important;
    }
    .hv4-col-center {
        padding: 0.5rem 1rem 1.25rem;
    }
    .hv4-col-center .hero-content-v3 h1,
    .hero-v4 .hero h1,
    .hero.hero-v5 h1,
    .hero.hero-v6 h1,
    .hero.hero-v7 h1 {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    .hero-v4 .hero h1:hover,
    .hero.hero-v5 h1:hover,
    .hero.hero-v6 h1:hover,
    .hero.hero-v7 h1:hover {
        transform: none;
        text-shadow: none;
    }
    .hero-v4 .hero-subheadline,
    .hero-v7 .hero-subheadline {
        font-size: 0.92rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    .hero-v4 .hero-cta-buttons,
    .hero-v5 .hero-cta-buttons,
    .hero-v6 .hero-cta-buttons,
    .hero-v7 .hero-cta-buttons {
        display: flex;
        justify-content: center;
    }
    .hv4-no-cc {
        font-size: 0.75rem;
    }
    .hv4-bottom-trust {
        margin-top: 1rem;
    }
    .hv4-bottom-trust .hero-trust-badge-title {
        font-size: 0.72rem;
    }
    .hv4-logo {
        height: 18px;
        max-width: 80px;
        padding: 0 10px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hv4-col-center {
        padding: 0.25rem 0.75rem 1rem;
    }
    .hv4-col-center .hero-content-v3 h1,
    .hero-v4 .hero h1,
    .hero.hero-v5 h1,
    .hero.hero-v6 h1,
    .hero.hero-v7 h1 {
        font-size: 1.35rem;
        margin-top: 0.25rem;
        margin-bottom: 0.4rem;
        line-height: 1.25;
    }
    .hero-v4 .hero-subheadline,
    .hero-v7 .hero-subheadline {
        font-size: 0.85rem;
        line-height: 1.45;
        margin-bottom: 0.75rem;
    }
    .hv4-bottom-trust {
        margin-top: 0.75rem;
    }
    .hv4-logo-bar {
        gap: 0;
        padding: 0;
    }
    .hv4-logo {
        height: 16px;
        max-width: 70px;
        padding: 0 8px;
    }
    .hv4-logo:nth-child(n+7) {
        display: none;
    }
}

/* ================================================= */
/* Hero V5 — hybrid: v4 headline / CTA / trust+logos + v2 bullets + dashboard */
/* ================================================= */

.hero-v5 {
    padding: 0;
    overflow-x: visible;
    overflow-y: visible;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-v5 .hv5-outer {
    position: relative;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.hero-v5 .hero-container.hv5-container {
    padding-top: 1.25rem;
    padding-bottom: 1rem;
    max-width: 1320px;
}

.hero-v5 .hero-content#hero-v5-main {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

.hero.hero-v5 h1 {
    margin-bottom: 1.35rem;
}

.hero-v5 .hv5-head {
    max-width: min(42rem, 100%);
    margin: 0 auto;
    text-align: center;
}

.hero-v5 .hero-flex.hv5-split {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: center;
    /* Override global .hero-flex space-between: cluster text + mockup and center as a pair */
    justify-content: center;
    gap: clamp(0.65rem, 1.5vw, 1.1rem);
    margin-top: 0.25rem;
    margin-left: auto;
    margin-right: auto;
}

/* Narrow column so bullets wrap sooner (horizontal compactness) */
.hero-v5 .hero-text {
    flex: 0 1 20.5rem;
    max-width: min(20.5rem, 100%);
    min-width: 0;
}

.hero-v5 .hero-text .hero-cta-buttons {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.hero-v5 .hero-text .hv4-no-cc {
    text-align: center;
    margin-top: 0.4rem;
    color: #666;
}

.hero-v5 .hero-dashboard {
    flex: 0 1 480px;
    max-width: min(480px, 100%);
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
}

.hero-v5 .hv5-trust-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    box-sizing: border-box;
}

.hero-v5 .hv5-trust-block .hv4-logo-bar {
    justify-content: center;
}

@media (max-width: 992px) {
    .hero-v5 .hero-dashboard {
        width: 100%;
        max-width: 100%;
    }
    .hero-v6 .hero-v6-frame-wrap.platform-showcase-frame-wrap,
    .hero-v7 .hero-v7-frame-wrap.platform-showcase-frame-wrap {
        width: 100%;
        max-width: 100%;
    }
}

/* ================================================= */
/* Hero V6 — same shell as v5; Discover-the-platform screenshots in hero */
/* ================================================= */

.hero-v6 {
    padding: 0;
    overflow-x: visible;
    overflow-y: visible;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-v6 .hv5-outer {
    position: relative;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.hero-v6 .hero-container.hv5-container {
    padding-top: 1.25rem;
    padding-bottom: 1rem;
    max-width: 1320px;
}

.hero-v6 .hero-content#hero-v6-main {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

.hero.hero-v6 h1 {
    margin-bottom: 1.35rem;
}

.hero-v6 .hv5-head {
    max-width: min(42rem, 100%);
    margin: 0 auto;
    text-align: center;
}

.hero-v6 .hero-flex.hv5-split {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: clamp(0.65rem, 1.5vw, 1.1rem);
    margin-top: 0.25rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-v6 .hero-text {
    flex: 0 1 20.5rem;
    max-width: min(20.5rem, 100%);
    min-width: 0;
}

.hero-v6 .hero-text .hero-cta-buttons {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.hero-v6 .hero-text .hv4-no-cc {
    text-align: center;
    margin-top: 0.4rem;
    color: #666;
}

/* Hero v6: frame-wrap is the flex child (no outer visual shell); auto-rotating screenshots */
.hero-v6 .hero-v6-frame-wrap.platform-showcase-frame-wrap {
    flex: 0 1 480px;
    max-width: min(480px, 100%);
    min-width: 0;
    margin: 0;
    position: relative;
    border: none;
    background: transparent;
    border-radius: 16px;
    padding: 0.65rem 0.65rem 0.75rem;
    box-sizing: border-box;
    box-shadow: none;
}

.hero-v6 .hero-v6-frame-wrap .platform-showcase-glow {
    bottom: -36px;
    height: 140px;
    width: 90%;
    filter: blur(36px);
}

.hero-v6 .hero-v6-frame-wrap .platform-showcase-browser {
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35),
        0 16px 48px rgba(0, 0, 0, 0.55);
}

.hero-v6 .hero-v6-slider-dots {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    margin-top: 0.55rem;
    padding: 0 0.35rem 0.1rem;
    box-sizing: border-box;
}

/* Light hero background: dark dots (white dots were for the old dark card) */
.hero-v6 .hero-v6-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
}

.hero-v6 .hero-v6-slider-dot:hover {
    background: rgba(0, 0, 0, 0.38);
    border-color: rgba(0, 0, 0, 0.2);
}

.hero-v6 .hero-v6-slider-dot.is-active {
    background: #111;
    border-color: #111;
    transform: scale(1.2);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95);
}

.hero-v6 .hero-v6-slider-dot:focus-visible {
    outline: 2px solid #FF4500;
    outline-offset: 3px;
}

.hero-v6 .hv5-trust-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 0rem;
    padding-bottom: 0.5rem;
    box-sizing: border-box;
}

.hero-v6 .hv5-trust-block .hv4-logo-bar {
    justify-content: center;
}

/* ================================================= */
/* Hero V7 — same shell as v6; product tour video in browser chrome */
/* ================================================= */

.hero-v7 {
    padding: 0;
    overflow-x: visible;
    overflow-y: visible;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-v7 .hv5-outer {
    position: relative;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.hero-v7 .hero-container.hv5-container {
    padding-top: 1.25rem;
    padding-bottom: 1rem;
    max-width: 1320px;
}

.hero-v7 .hero-content#hero-v7-main {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

.hero.hero-v7 h1 {
    margin-bottom: 1.35rem;
}

.hero-v7 .hv5-head {
    max-width: min(42rem, 100%);
    margin: 0 auto;
    text-align: center;
}

.hero-v7 .hero-flex.hv5-split {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: clamp(0.65rem, 1.5vw, 1.1rem);
    margin-top: 0.25rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-v7 .hero-text {
    flex: 0 1 20.5rem;
    max-width: min(20.5rem, 100%);
    min-width: 0;
}

.hero-v7 .hero-text .hero-cta-buttons {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.hero-v7 .hero-text .hv4-no-cc {
    text-align: center;
    margin-top: 0.4rem;
    color: #666;
}

.hero-v7 .hero-v7-frame-wrap.platform-showcase-frame-wrap {
    flex: 0 1 480px;
    max-width: min(480px, 100%);
    min-width: 0;
    margin: 0;
    position: relative;
    border: none;
    background: transparent;
    border-radius: 16px;
    padding: 0.65rem 0.65rem 0.65rem;
    box-sizing: border-box;
    box-shadow: none;
}

.hero-v7 .hero-v7-frame-wrap .platform-showcase-glow {
    bottom: -36px;
    height: 140px;
    width: 90%;
    filter: blur(36px);
}

.hero-v7 .hero-v7-frame-wrap .platform-showcase-browser {
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35),
        0 16px 48px rgba(0, 0, 0, 0.55);
}

.hero-v7 .hero-v7-video-wrap {
    line-height: 0;
}

.hero-v7 .hero-v7-video {
    width: 100%;
    height: auto;
    max-height: min(70vh, 520px);
    display: block;
    object-fit: contain;
    background: #0f0f0f;
}

.hero-v7 .hv5-trust-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 0rem;
    padding-bottom: 0.5rem;
    box-sizing: border-box;
}

.hero-v7 .hv5-trust-block .hv4-logo-bar {
    justify-content: center;
}

/* ================================================= */
/* Hero V8 — split layout: text left, video right    */
/* ================================================= */

.hero.hero-v8 {
    padding: 4rem 0 0 !important;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: left !important;
}

.hero.hero-v8 .hv8-container {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.hero.hero-v8 .hv8-left {
    flex: 1 1 0;
    min-width: 0;
    max-width: 520px;
    text-align: left !important;
}

.hero.hero-v8 h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.025em;
    color: #000;
    -webkit-text-fill-color: #000;
    margin: 0 0 1.25rem !important;
    padding: 0 !important;
    text-align: left !important;
}

.hero.hero-v8 h1:hover {
    transform: none !important;
    text-shadow: none !important;
}

.hero.hero-v8 .hero-subheadline {
    text-align: left !important;
    margin: 0 0 1.75rem !important;
    max-width: 460px !important;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
}

.hero.hero-v8 .hero-subheadline strong {
    color: #111;
    font-weight: 700;
}

.hero.hero-v8 .hero-cta-buttons {
    display: block !important;
}

.hero.hero-v8 a.hero-cta.primary {
    width: auto !important;
    max-width: none !important;
}

.hero.hero-v8 .hv8-no-cc {
    font-size: 0.82rem;
    color: #888;
    font-weight: 500;
    margin-left: 1rem;
}

.hv8-right {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hv8-video {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    border: none !important;
    margin: 0 !important;
    border-radius: 14px;
}

/* Logo bar */
.hv8-logo-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 6rem 1.5rem 3rem;
}

.hv8-logo-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hv8-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hv8-logo {
    height: 22px;
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.hv8-logo:hover {
    opacity: 0.85;
    filter: grayscale(0);
}

/* V8 Responsive — tablet */
@media (max-width: 1024px) {
    .hero.hero-v8 .hv8-container {
        gap: 2.5rem;
    }
    .hero.hero-v8 h1 {
        font-size: clamp(1.75rem, 4vw, 2.4rem) !important;
    }
    .hero.hero-v8 .hv8-video {
        max-width: 420px;
    }
}

/* V8 Responsive — mobile: stack vertically */
@media (max-width: 768px) {
    .hero.hero-v8 {
        padding: 2rem 0 0 !important;
    }
    .hero.hero-v8 .hv8-container {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1.25rem;
    }
    .hero.hero-v8 .hv8-left {
        max-width: 100%;
        text-align: center !important;
    }
    .hero.hero-v8 h1 {
        text-align: center !important;
        font-size: clamp(1.5rem, 5.5vw, 2.2rem) !important;
    }
    .hero.hero-v8 .hero-subheadline {
        text-align: center !important;
        max-width: 100% !important;
        margin: 0 auto 1.75rem !important;
    }
    .hero.hero-v8 .hero-cta-buttons {
        text-align: center !important;
    }
    .hero.hero-v8 .hv8-no-cc {
        display: block;
        margin-left: 0;
        margin-top: 0.5rem;
    }
    .hero.hero-v8 .hv8-right {
        justify-content: center;
    }
    .hero.hero-v8 .hv8-video {
        max-width: 100%;
    }
    .hv8-logos {
        gap: 1.5rem;
    }
    .hv8-logo {
        height: 18px;
    }
}

/* V8 Responsive — small mobile */
@media (max-width: 480px) {
    .hero.hero-v8 {
        padding: 1.25rem 0 0 !important;
    }
    .hero.hero-v8 .hv8-container {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    .hero.hero-v8 h1 {
        font-size: 1.5rem !important;
        margin: 0 0 1rem !important;
    }
    .hero.hero-v8 .hero-subheadline {
        font-size: 0.92rem;
        margin-bottom: 1.25rem !important;
    }
    .hv8-logo {
        height: 16px;
    }
}

/* ================================================= */
/* Platform showcase — Discover the platform         */
/* ================================================= */

.platform-showcase {
    width: 100%;
    box-sizing: border-box;
    background: #0f0f0f;
    color: #fff;
    padding: 5rem 1.5rem 4.5rem;
    overflow: hidden;
}

.platform-showcase-inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.platform-showcase-title {
    margin: 0 0 0.6rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #fff;
    text-align: center;
    line-height: 1.15;
}

.platform-showcase-sub {
    margin: 0 0 2.25rem;
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    max-width: 34rem;
}

/* Tabs row */
.platform-showcase-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    max-width: 100%;
    margin-bottom: 2.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
    padding: 0 0.25rem 2px;
}

.platform-showcase-tabs::-webkit-scrollbar { display: none; }

.platform-showcase-tab {
    flex-shrink: 0;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.platform-showcase-tab:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.platform-showcase-tab:focus-visible {
    outline: 2px solid rgba(255, 100, 50, 0.6);
    outline-offset: 2px;
}

.platform-showcase-tab.is-active {
    border-color: rgba(255, 255, 255, 0.28);
    background: #fff;
    color: #111;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* Frame area */
.platform-showcase-frame-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Orange/red glow behind the frame */
.platform-showcase-glow {
    position: absolute;
    left: 50%;
    bottom: -60px;
    transform: translateX(-50%);
    width: 85%;
    height: 260px;
    background: radial-gradient(
        ellipse at 50% 100%,
        rgba(255, 75, 20, 0.55) 0%,
        rgba(200, 40, 80, 0.22) 45%,
        transparent 72%
    );
    filter: blur(52px);
    pointer-events: none;
    z-index: 0;
}

/* Browser shell */
.platform-showcase-browser {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #1a1a1a;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35),
        0 32px 80px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    box-sizing: border-box;
}

/* Top chrome bar */
.platform-showcase-browser-chrome {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    background: #222;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-sizing: border-box;
}

.platform-showcase-dots {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.platform-showcase-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}

.platform-showcase-dot--red    { background: #ff5f57; }
.platform-showcase-dot--yellow { background: #febc2e; }
.platform-showcase-dot--green  { background: #28c840; }

.platform-showcase-url {
    flex: 1;
    min-width: 0;
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.38);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    max-width: 340px;
    margin: 0 auto;
}

/* Screenshot area */
.platform-showcase-img-wrap {
    width: 100%;
    background: #0f0f0f;
    overflow: hidden;
    box-sizing: border-box;
}

.platform-showcase-shot {
    width: 100%;
    height: auto;
    display: none;
}

.platform-showcase-shot.is-active {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .platform-showcase {
        padding: 3.5rem 1rem 0;
    }
    .platform-showcase-tabs {
        justify-content: flex-start;
        margin-bottom: 1.75rem;
    }
    .platform-showcase-tab {
        font-size: 0.8125rem;
        padding: 0.45rem 0.9rem;
    }
}

@media (max-width: 480px) {
    .platform-showcase-title {
        font-size: 1.6rem;
    }
}

/* ================================================= */
/* How it works — 3-step vertical timeline (test)   */
/* ================================================= */

.how-it-works.hiw-timeline {
    padding: 4rem 1.25rem;
    background: #ffffff;
    text-align: center;
}

.how-it-works.hiw-timeline .container {
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}

.hiw-timeline-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: none;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    box-sizing: border-box;
}

.hiw-timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hiw-timeline-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
    padding-bottom: 2.5rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.hiw-timeline-item:last-child {
    padding-bottom: 0;
}

/* Vertical connector between steps (gradient to match step pills) */
.hiw-timeline-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 48px;
    width: 2px;
    height: calc(100% - 48px);
    background: linear-gradient(180deg, #ff7e5f 0%, #feb47b 100%);
    border-radius: 1px;
    pointer-events: none;
}

.hiw-timeline-marker {
    flex-shrink: 0;
    width: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
}

.hiw-timeline-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(160deg, #ff7e5f 0%, #ff9a6e 42%, #feb47b 100%);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(140, 50, 15, 0.22);
    box-shadow: 0 2px 10px rgba(255, 126, 95, 0.3);
}

/* First 7 days: same pills, tighter type for multi-day labels */
.f7d-section .hiw-timeline-num {
    font-size: 0.9375rem;
    letter-spacing: -0.03em;
}

.hiw-timeline-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 0.15rem;
    box-sizing: border-box;
}

.hiw-timeline-title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.2rem, 3vw, 1.45rem);
    font-weight: 700;
    color: #111;
    line-height: 1.25;
}

.hiw-timeline-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: #5c6370;
}

.hiw-timeline-text strong {
    color: #222;
    font-weight: 600;
}

/* Step 1: paragraph + separate platform row (grey icons, no commas) */
.hiw-step1-platforms {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    margin-top: 0.85rem;
    box-sizing: border-box;
}

.hiw-step1-platforms-label {
    margin: 0 0 0.45rem;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
    line-height: 1.2;
}

.hiw-step1-platforms-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    gap: 0.45rem 0.5rem;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    list-style: none;
    box-sizing: border-box;
}

/* Do not zero li padding — same node has .hiw-platform-pill; that was overriding pill padding */
.hiw-step1-platforms-row > li {
    margin: 0;
    list-style: none;
}

ul.hiw-step1-platforms-row > li.hiw-platform-pill {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    padding: 0.65rem 1.1rem 0.65rem 0.75rem;
    min-height: 2.25rem;
    background: #f1f3f5;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #555;
    line-height: 1.4;
    box-sizing: border-box;
}

ul.hiw-step1-platforms-row > li.hiw-platform-pill--webhook {
    background: #eceef2;
    color: #6b7280;
}

.hiw-step1-platforms-row .hiw-platform-icon {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    margin: 0;
    filter: grayscale(100%) contrast(0.9) opacity(0.78);
}

.hiw-step1-platforms-row .hiw-platform-icon--svg {
    display: block;
    filter: none;
    opacity: 1;
    color: #888;
    flex-shrink: 0;
}

.hiw-step1-platforms-row .hiw-platform-pill > span {
    padding: 0;
    margin: 0;
}

.hiw-timeline-badge {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    width: fit-content;
    margin-top: 1rem;
    padding: 0.4rem 0.95rem;
    background: #eef0f3;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.01em;
}

.hiw-timeline-cta {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.hiw-timeline-cancel {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

@media (max-width: 480px) {
    .how-it-works.hiw-timeline {
        padding: 3rem 1rem;
    }

    .hiw-timeline-item {
        gap: 1rem;
        padding-bottom: 2rem;
    }

    .hiw-timeline-item:not(:last-child)::after {
        left: 19px;
        top: 42px;
        height: calc(100% - 42px);
    }

    .hiw-timeline-marker {
        width: 40px;
    }

    .hiw-timeline-num {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .f7d-section .hiw-timeline-num {
        font-size: 0.8125rem;
    }
}
