/* Orbora product page. Builds on style.css; everything here is scoped to .orb-*. */

.orb-hero {
    min-height: 100vh;
    padding-top: 110px;
    overflow: hidden;
}

/* The orb animation sits behind the title. Its black background is blended
   away, so only the glow and the rings show on the page. */
.orb-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(1200px, 170vw);
    aspect-ratio: 16 / 9;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 70%);
}

.orb-hero .tagline,
.orb-subline,
.orb-fine-print {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}

.orb-hero .hero-content {
    position: relative;
    z-index: 1;
    gap: 0.5rem;
}

.orb-hero .hero-title {
    font-size: clamp(3rem, 9vw, 6.5rem);
    margin-bottom: 0.25rem;
    text-shadow: 0 0 60px rgba(34, 201, 181, 0.35);
}

.orb-hero .tagline {
    font-size: clamp(1.15rem, 2.6vw, 1.6rem);
    color: var(--text-main);
    margin-bottom: 1.75rem;
}

.orb-subline {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 1.75rem;
    font-size: 1.05rem;
}

.orb-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.orb-badges .store-badge {
    height: 52px;
    margin: 0;
}

.orb-fine-print {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Section wrapper */
.orb-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 20px;
    scroll-margin-top: 110px;
}

.orb-section .section-title {
    margin-bottom: 1rem;
}

.orb-section-lead {
    text-align: center;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* How it works: three steps */
.orb-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.orb-step {
    padding: 2rem 1.75rem;
    text-align: left;
}

.orb-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(34, 201, 181, 0.15);
    color: #2DD4BF;
    font-weight: 700;
    margin-bottom: 1rem;
}

.orb-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.orb-step p {
    color: var(--text-muted);
}

/* Feature rows: a phone screenshot next to its story, alternating sides */
.orb-feature {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.orb-feature:last-child {
    margin-bottom: 0;
}

.orb-feature.reverse {
    grid-template-columns: 1fr minmax(220px, 320px);
}

.orb-feature.reverse .orb-phone {
    order: 2;
}

.orb-phone {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 300px;
}

.orb-phone::before {
    content: '';
    position: absolute;
    inset: 10% -15%;
    background: radial-gradient(circle, rgba(34, 201, 181, 0.35) 0%, transparent 70%);
    filter: blur(30px);
    z-index: -1;
}

.orb-phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 36px;
    border: 1px solid var(--bg-card-border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.orb-feature-text .orb-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2DD4BF;
    margin-bottom: 0.75rem;
}

.orb-feature-text h3 {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    margin-bottom: 1rem;
}

.orb-feature-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.orb-feature-text ul {
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.orb-feature-text li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--text-main);
}

.orb-feature-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2DD4BF;
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.8);
}

/* Credits */
.orb-credits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.orb-credit-card {
    padding: 2rem 1.75rem;
    text-align: center;
}

.orb-credit-card.highlight {
    border-color: rgba(45, 212, 191, 0.55);
    box-shadow: 0 0 40px rgba(34, 201, 181, 0.15);
}

.orb-credit-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: #2DD4BF;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.orb-credit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.orb-credit-card p {
    color: var(--text-muted);
}

/* Privacy */
.orb-privacy {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 2.5rem;
}

.orb-privacy img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
}

.orb-privacy h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.orb-privacy ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 2.5rem;
    align-items: start;
}

.orb-privacy li {
    color: var(--text-muted);
}

.orb-privacy li strong {
    color: var(--text-main);
}

.orb-disclaimer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

/* Closing call to action */
.orb-cta {
    text-align: center;
    padding: 4rem 20px 5rem;
}

.orb-cta img.orb-app-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 50px rgba(34, 201, 181, 0.35);
}

.orb-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 0.75rem;
}

.orb-cta p {
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

/* Under the hood: how a session is made */
.orb-pipeline {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    max-width: 860px;
    margin: 0 auto 3rem;
    counter-reset: orb-pipe;
}

.orb-pipe-step {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.1rem 1.4rem;
    counter-increment: orb-pipe;
}

.orb-pipe-step::before {
    content: counter(orb-pipe);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(34, 201, 181, 0.15);
    color: #2DD4BF;
    font-weight: 700;
}

.orb-pipe-step h3 {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.orb-pipe-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.orb-pipe-step code {
    font-size: 0.85em;
    color: var(--text-main);
}

.orb-where {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid var(--bg-card-border);
    color: var(--text-muted);
}

.orb-where.phone { border-color: rgba(45, 212, 191, 0.5); color: #2DD4BF; }
.orb-where.cloud { border-color: rgba(96, 165, 250, 0.5); color: #60a5fa; }
.orb-where.gemini { border-color: rgba(192, 132, 252, 0.5); color: #c084fc; }

.orb-tech-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.orb-tech-card {
    padding: 1.75rem 1.5rem;
}

.orb-tech-card .orb-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2DD4BF;
    margin-bottom: 0.6rem;
}

.orb-tech-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.orb-tech-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.orb-tech-card p:last-child {
    margin-bottom: 0;
}

.orb-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    max-width: 860px;
    margin: 0 auto;
}

.orb-stack span {
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--bg-card-border);
    background: var(--bg-card);
    font-size: 0.9rem;
}

@media (max-width: 960px) {
    .orb-tech-cards { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .orb-pipe-step { grid-template-columns: 36px 1fr; padding: 1rem; }
    .orb-pipe-step .orb-where { grid-column: 2; justify-self: start; }
}

@media (max-width: 800px) {
    .orb-feature,
    .orb-feature.reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 4.5rem;
    }

    .orb-feature.reverse .orb-phone {
        order: 0;
    }

    .orb-phone {
        max-width: 260px;
    }

    .orb-feature-text {
        text-align: left;
    }

    .orb-privacy {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .orb-privacy img {
        margin: 0 auto;
    }

    .orb-privacy ul {
        text-align: left;
        grid-template-columns: 1fr;
    }

    .orb-section {
        padding: 3.5rem 16px;
    }
}

/* People who ask for less motion get the still frame instead of the loop. */
@media (prefers-reduced-motion: reduce) {
    .orb-hero-video {
        display: none;
    }

    .orb-hero {
        background: url('../imgs/orbora/orb-poster.webp') center / min(1200px, 170vw) no-repeat;
    }
}

/* A store badge whose app isn't live yet: greyed out and not clickable.
   Remove "coming-soon" from its link (and update the pills) on launch day. */
.orb-coming-soon {
    display: inline-block;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, 0.45);
    background: rgba(34, 201, 181, 0.12);
    color: #2DD4BF;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.orb-badges a.coming-soon {
    pointer-events: none;
    cursor: default;
}

.orb-badges a.coming-soon .store-badge {
    filter: grayscale(1);
    opacity: 0.45;
}

/* The FAQ, offered as a real button at the end of the page, quieter than the store badges. */
.orb-faq-prompt {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--bg-card-border);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.orb-faq-prompt p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.orb-btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    border: 1px solid rgba(45, 212, 191, 0.6);
    color: #2DD4BF;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.orb-btn-outline:hover {
    background: rgba(34, 201, 181, 0.15);
    color: var(--text-main);
    box-shadow: 0 0 20px rgba(34, 201, 181, 0.3);
}
