/* ============================================================
   CycleWingman product page
   ============================================================ */

/* Recolor the ambient orbs to the app's weather palette */
.cw-page .ai-orb-1 { background: #7db2dc; }
.cw-page .ai-orb-2 { background: #1e2a44; opacity: 0.9; }
.cw-page .ai-orb-3 { background: #FFD512; opacity: 0.35; }

/* ---------- Hero ---------- */
.cw-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    text-align: left;
}

.cw-hero-copy {
    max-width: 640px;
}

.cw-app-row {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.cw-app-row img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.cw-app-row .cw-app-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.cw-hero h1 {
    margin: 0 0 1.5rem;
    max-width: 14ch;
}

.cw-hero .lead {
    margin: 0 0 2.25rem;
}

.cw-store-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cw-badge img {
    height: 54px;
    width: auto;
    display: block;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

.cw-badge:hover img {
    transform: translateY(-3px);
    filter: drop-shadow(0 10px 24px rgba(125, 178, 220, 0.35));
}

.cw-price-note {
    color: var(--second-text-color);
    font-size: 0.95rem;
}

/* Forecast status chips */
.cw-forecast-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cw-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
    font-weight: 600;
}

.cw-status::before {
    content: "";
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--cw-dot);
    box-shadow: 0 0 12px var(--cw-dot);
}

.cw-status--green  { --cw-dot: #19FB9B; }
.cw-status--yellow { --cw-dot: #FFD512; }
.cw-status--orange { --cw-dot: #FB5130; }
.cw-status--red    { --cw-dot: #e5484d; }

/* Hero phone shot */
.cw-hero-shot {
    flex-shrink: 0;
    position: relative;
}

.cw-hero-shot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 130%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(125, 178, 220, 0.28), rgba(30, 42, 68, 0.35) 45%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.cw-hero-shot img {
    position: relative;
    z-index: 1;
    width: 300px;
    height: auto;
    border-radius: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* ---------- Feature cards ---------- */
.cw-emoji {
    font-size: 1.9rem;
    line-height: 1;
}

/* ---------- Screenshots ---------- */
.cw-shots {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.cw-shot {
    text-align: center;
}

.cw-shot img {
    max-width: 100%;
    height: auto;
    border-radius: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.cw-shot--iphone img { width: 280px; }
.cw-shot--ipad img   { width: 480px; }
.cw-shot--watch img  { width: 190px; border-radius: 2.4rem; }

.cw-shot figcaption {
    margin-top: 1rem;
    color: var(--second-text-color);
    font-size: 0.95rem;
}

/* ---------- Honest framing ---------- */
.cw-disclaimer {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 2.25rem 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.cw-disclaimer h2 {
    font-size: 1.35rem;
    margin-bottom: 0.9rem;
}

.cw-disclaimer p {
    color: var(--second-text-color);
    font-size: 0.98rem;
    line-height: 165%;
}

/* ---------- Legal links under CTA ---------- */
.cw-legal-links {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--second-text-color);
}

.cw-legal-links a {
    color: var(--second-text-color);
    text-decoration: underline;
}

.cw-legal-links a:hover {
    color: var(--text-color);
}

/* ---------- Apps catalog (/apps/) ---------- */
.apps-showcase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 3rem 3.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.apps-showcase-copy {
    max-width: 640px;
}

.apps-showcase-copy h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 1.25rem;
}

.apps-showcase-copy > p {
    color: var(--second-text-color);
    margin-bottom: 1.75rem;
    line-height: 160%;
}

.apps-showcase-shot {
    flex-shrink: 0;
}

.apps-showcase-shot img {
    width: 240px;
    height: auto;
    border-radius: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.apps-showcase-shot:hover img {
    transform: translateY(-8px) scale(1.02);
}

.apps-more {
    text-align: center;
    color: var(--second-text-color);
    margin-top: 2.5rem;
    font-size: 0.98rem;
}

@media screen and (max-width: 1000px) {
    .apps-showcase {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.75rem;
    }
    .apps-showcase .cw-app-row,
    .apps-showcase .cw-store-row,
    .apps-showcase .cw-forecast-row {
        justify-content: center;
    }
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 1000px) {
    .cw-hero .container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    .cw-hero h1 { margin-left: auto; margin-right: auto; }
    .cw-app-row { justify-content: center; }
    .cw-store-row, .cw-forecast-row { justify-content: center; }
    .cw-hero-shot img { width: 250px; }
    .cw-shot--ipad img { width: 100%; max-width: 480px; }
}
