﻿/* ============================================================
   MARKETING.CSS — Marketing Zone Layouts & Pages
   ============================================================ */

/* Marketing layout — subtle cosmic atmosphere */
.layout-marketing {
    background-color: var(--color-bg);
    background-image:
        radial-gradient(ellipse 70% 40% at 50% 0%, rgba(45, 27, 105, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 80% 80%, rgba(167, 139, 250, 0.04) 0%, transparent 40%);
}

/* --- Marketing Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 0 rgba(167, 139, 250, 0.04);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: var(--max-width-full);
    margin-inline: auto;
    padding-inline: var(--space-4);
}

.site-header__logo {
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: var(--tracking-tight);
}

.site-header__logo:hover {
    color: var(--color-text);
    text-decoration: none;
}

.site-nav {
    display: none;
    align-items: center;
    gap: var(--space-6);
}

.site-nav__link {
    font-size: var(--text-small);
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
}

.site-nav__link:hover {
    color: var(--color-text);
    text-decoration: none;
}

.site-nav__link--active {
    color: var(--color-primary);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Mobile hamburger */
.site-header__burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
}

.site-header__burger svg {
    width: 24px;
    height: 24px;
}

/* Mobile nav overlay */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 64px 0 0 0;
    z-index: 99;
    background-color: var(--color-bg);
    padding: var(--space-4);
    flex-direction: column;
    gap: var(--space-2);
    border-top: 1px solid var(--color-border);
    overflow-y: auto;
}

.mobile-nav.is-open {
    display: flex;
}

.mobile-nav__link {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-body);
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
}

.mobile-nav__link:hover {
    background-color: var(--color-bg-subtle);
    text-decoration: none;
    color: var(--color-text);
}

.mobile-nav__link--active {
    color: var(--color-primary);
    background-color: var(--color-primary-light);
}

.mobile-nav__actions {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.mobile-nav__section {
    padding: var(--space-1) var(--space-4);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: var(--space-2);
}

.mobile-nav__section--spaced {
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border);
}

/* Kabinet dropdown (desktop, logged-in users) */
.site-kabinet {
    position: relative;
}

.site-kabinet__trigger {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    cursor: pointer;
}

.site-kabinet__trigger svg {
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.site-kabinet--open .site-kabinet__trigger svg {
    transform: rotate(180deg);
}

.site-kabinet__menu {
    position: absolute;
    top: calc(100% + var(--space-2));
    right: 0;
    min-width: 220px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 110;
    padding: var(--space-2);
}

.site-kabinet__section {
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: var(--space-1);
}

.site-kabinet__item {
    display: block;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
}

.site-kabinet__item:hover {
    background-color: var(--color-bg-subtle);
    color: var(--color-text);
    text-decoration: none;
}

.site-kabinet__divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--space-1) 0;
}

.site-kabinet__logout-form {
    margin: 0;
}

.site-kabinet__item--danger {
    color: var(--color-error);
}

.site-kabinet__item--danger:hover {
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--color-error);
}

.site-kabinet__btn {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

@media (min-width: 768px) {
    .site-nav {
        display: flex;
    }
    .site-header__burger {
        display: none;
    }
    .mobile-nav {
        display: none !important;
    }
}


/* --- Marketing Footer --- */
.site-footer {
    border-top: 1px solid var(--color-border);
    background: linear-gradient(180deg, var(--color-bg-subtle) 0%, var(--color-bg) 100%);
    padding-block: var(--space-12);
}

.site-footer__inner {
    max-width: var(--max-width-full);
    margin-inline: auto;
    padding-inline: var(--space-4);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

@media (min-width: 640px) {
    .site-footer__grid {
        grid-template-columns: 2fr repeat(3, 1fr);
    }
}

.site-footer__brand {
    max-width: 280px;
}

.site-footer__brand-name {
    font-size: var(--text-h3);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--color-text);
}

.site-footer__brand-text {
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

.site-footer__col-title {
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.site-footer__link {
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.site-footer__link:hover {
    color: var(--color-text);
    text-decoration: none;
}

.site-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.site-footer__disclaimer {
    max-width: var(--max-width-content);
    line-height: var(--leading-relaxed);
}

@media (min-width: 640px) {
    .site-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}


/* --- Hero Section --- */
.hero {
    padding-block: var(--space-24) var(--space-20);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Atmospheric radial glow — shifted right to illuminate product zone */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 55%;
    transform: translateX(-50%);
    width: 1000px;
    height: 800px;
    background:
        radial-gradient(ellipse 55% 45% at 55% 45%, rgba(167, 139, 250, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 40% 35% at 35% 40%, rgba(45, 27, 105, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse 35% 30% at 65% 55%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 25% 20% at 70% 35%, rgba(167, 139, 250, 0.08) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
    animation: celestial-pulse 10s ease-in-out infinite;
}

/* Orbital ring — shifted to product area */
.hero::after {
    content: '';
    position: absolute;
    top: 45%;
    left: 65%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 520px;
    border-radius: var(--radius-full);
    border: 1px dashed rgba(167, 139, 250, 0.06);
    pointer-events: none;
    z-index: 0;
    animation: orbit-spin 60s linear infinite;
}

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

.hero__title {
    font-size: var(--text-hero);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-5);
    max-width: 760px;
    margin-inline: auto;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--color-text) 30%, var(--color-primary-hover) 70%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: var(--text-body-lg);
    color: var(--color-text-secondary);
    max-width: 520px;
    /* margin-inline: auto; */
    margin-bottom: var(--space-8);
    line-height: var(--leading-relaxed);
}

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.hero__micro {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-3);
}

/* Benefit chips under CTA */
.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--space-4);
}

.hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-secondary);
    background: rgba(167, 139, 250, 0.06);
    border: 1px solid rgba(167, 139, 250, 0.1);
    border-radius: var(--radius-full);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.hero__chip svg {
    color: var(--color-primary);
    opacity: 0.6;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .hero__actions {
        flex-direction: row;
        justify-content: center;
    }
    .hero__chips {
        justify-content: center;
    }
}


/* --- Features Grid --- */
.features {
    text-align: center;
}

.features__header {
    margin-inline: auto;
    margin-bottom: var(--space-10);
}

.feature-card {
    text-align: left;
    padding: var(--space-6);
    background: linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg-subtle) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: box-shadow var(--transition-normal), transform var(--transition-normal), border-color var(--transition-normal);
    position: relative;
    overflow: hidden;
}

/* Subtle top glow line */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border-strong), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    box-shadow: var(--shadow-md), 0 0 30px var(--glow-primary);
    border-color: var(--color-border-glow);
    transform: translateY(-3px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card__icon {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
    filter: drop-shadow(0 0 8px var(--glow-primary));
}

.feature-card__title {
    font-size: var(--text-h4);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.feature-card__text {
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}


/* --- Steps --- */
.steps {
    counter-reset: step-counter;
}

.steps__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    margin-inline: auto;
}

.step {
    display: flex;
    gap: var(--space-4);
    counter-increment: step-counter;
}

.step__number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-deep));
    color: var(--color-text-inverse);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--text-small);
    box-shadow: 0 0 16px var(--glow-primary);
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.step__content {
    flex: 1;
    padding-top: var(--space-2);
}

.step__title {
    font-size: var(--text-h4);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.step__text {
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

@media (min-width: 768px) {
    .steps__list--horizontal {
        flex-direction: row;
    }

    .steps__list--horizontal .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
    }
}


/* --- Example Output --- */
.example-block {
    background: linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg) 100%);
    border: 1px solid var(--color-border-glow);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    max-width: var(--max-width-content);
    margin-inline: auto;
    box-shadow: var(--shadow-md), 0 0 40px var(--glow-primary-subtle);
    position: relative;
    overflow: hidden;
}

/* Decorative top-left shimmer */
.example-block::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0.4;
}

.example-block__label {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-3);
}

.example-block__title {
    font-size: var(--text-h3);
    margin-bottom: var(--space-4);
}

.example-block__content {
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    font-style: italic;
    margin-bottom: var(--space-4);
}

.example-block__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


/* --- Pricing Section --- */
.pricing-table {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    max-width: 800px;
    margin-inline: auto;
}

@media (min-width: 640px) {
    .pricing-table {
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
    }
}

.pricing-card {
    position: relative;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg-subtle) 100%);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-2px);
}

.pricing-card--recommended {
    border: 1px solid rgba(167, 139, 250, 0.3);
    box-shadow: 0 0 40px var(--glow-primary), var(--shadow-lg);
    background: linear-gradient(180deg, rgba(167, 139, 250, 0.06) 0%, var(--color-bg-elevated) 30%, var(--color-bg-subtle) 100%);
}

.pricing-card--recommended:hover {
    box-shadow: 0 0 50px var(--glow-primary-strong), var(--shadow-lg);
}

/* Gradient top border for recommended */
.pricing-card--recommended::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary-deep), var(--color-primary), var(--color-accent), var(--color-primary), var(--color-primary-deep));
    background-size: 200% 100%;
    animation: gradient-shift 4s ease infinite;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.pricing-card__badge {
    position: absolute;
    top: calc(var(--space-4) * -1);
    left: 50%;
    transform: translateX(-50%);
}

.pricing-card__name {
    font-size: var(--text-h3);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

.pricing-card__amount {
    font-size: var(--text-hero);
    font-weight: 700;
    letter-spacing: var(--tracking-tight);
}

.pricing-card__period {
    font-size: var(--text-body);
    color: var(--color-text-muted);
}

.pricing-card__description {
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
    line-height: var(--leading-relaxed);
}

.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    flex: 1;
}

.pricing-card__feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-small);
}

.pricing-card__feature-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

.pricing-card__feature-icon--check {
    color: var(--color-success);
}

.pricing-card__feature-icon--dash {
    color: var(--color-text-muted);
}

.pricing-card__feature--muted {
    color: var(--color-text-muted);
}


/* --- Hero Grid Layout (redesigned) --- */
.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    align-items: center;
}

.hero__text {
    text-align: center;
}

@media (min-width: 960px) {
    .hero__grid {
        grid-template-columns: 1.15fr 1fr;
        gap: var(--space-12);
    }
    .hero__text {
        text-align: left;
    }
    .hero__actions {
        justify-content: flex-start;
    }
    .hero__chips {
        justify-content: flex-start;
    }
}


/* --- Hero Product Scene (Layered Card Composition) --- */
.hero-product__scene {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 0.9;
    margin-inline: auto;
    perspective: 1200px;
}

/* Glow source behind chart card */
.hero-product__glow {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.25) 0%, rgba(45, 27, 105, 0.15) 40%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
    animation: celestial-pulse 8s ease-in-out infinite;
}

/* Orbital ring around chart area */
.hero-product__orbit {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 280px;
    height: 280px;
    border-radius: var(--radius-full);
    border: 1px dashed rgba(167, 139, 250, 0.08);
    pointer-events: none;
    z-index: 0;
    animation: orbit-spin 45s linear infinite;
}

/* Glass-morphism card base */
.hero-product__card {
    position: absolute;
    background: rgba(17, 14, 26, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(167, 139, 250, 0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Card header bar (app-window feel) */
.hero-product__card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
    border-bottom: 1px solid rgba(167, 139, 250, 0.08);
    letter-spacing: 0.02em;
}

.hero-product__card-header svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* Chart card — back layer */
.hero-product__card--chart {
    top: 0;
    left: 0;
    width: 230px;
    z-index: 1;
    transform: rotateY(4deg) rotateX(-2deg);
    border: 1px solid rgba(167, 139, 250, 0.18);
    background: rgba(17, 14, 26, 0.65);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(167, 139, 250, 0.08),
        inset 0 1px 0 rgba(167, 139, 250, 0.08);
}

.hero-product__card--chart:hover {
    transform: rotateY(2deg) rotateX(-1deg) translateY(-2px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(167, 139, 250, 0.12),
        inset 0 1px 0 rgba(167, 139, 250, 0.12);
}

.hero-product__chart-svg {
    display: block;
    width: 100%;
    height: auto;
    padding: 6px;
}

/* Chat card — front layer, overlaps chart */
.hero-product__card--chat {
    bottom: 0;
    right: 0;
    width: 280px;
    z-index: 2;
    transform: rotateY(-3deg) rotateX(1deg);
    background: rgba(22, 18, 35, 0.75);
    border: 1px solid rgba(167, 139, 250, 0.18);
    box-shadow:
        0 12px 44px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(167, 139, 250, 0.1);
}

/* Gradient top-edge glow on chat card */
.hero-product__card--chat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, var(--color-primary) 50%, transparent 90%);
    opacity: 0.3;
    z-index: 3;
}

.hero-product__card--chat:hover {
    transform: rotateY(-1.5deg) rotateX(0.5deg) translateY(-2px);
    box-shadow:
        0 16px 52px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(167, 139, 250, 0.14);
}

/* Online status indicator */
.hero-product__status {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    font-weight: 500;
    color: var(--color-success);
    letter-spacing: 0.03em;
}

.hero-product__status-dot {
    width: 5px;
    height: 5px;
    border-radius: var(--radius-full);
    background: var(--color-success);
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Chat area inside card */
.hero-product__chat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px 12px;
}

/* Chat bubbles */
.hero-product__bubble {
    padding: 8px 12px;
    font-size: 11px;
    line-height: 1.5;
    border-radius: var(--radius-md);
    max-width: 260px;
    opacity: 0;
    animation: hero-bubble-in 0.5s ease forwards;
}

.hero-product__bubble:nth-child(1) { animation-delay: 0.3s; }
.hero-product__bubble:nth-child(2) { animation-delay: 0.8s; }
.hero-product__bubble:nth-child(3) { animation-delay: 1.4s; }

.hero-product__bubble--user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-deep));
    color: var(--color-text-inverse);
    border-radius: var(--radius-md) var(--radius-md) var(--radius-xs) var(--radius-md);
}

.hero-product__bubble--ai {
    align-self: flex-start;
    background: rgba(34, 30, 52, 0.8);
    color: var(--color-text-secondary);
    border: 1px solid rgba(167, 139, 250, 0.1);
    border-radius: var(--radius-md) var(--radius-md) var(--radius-md) var(--radius-xs);
    position: relative;
}

.hero-product__ai-icon {
    display: inline-flex;
    color: var(--color-accent);
    vertical-align: middle;
    margin-right: 3px;
    opacity: 0.7;
}

.hero-product__ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 9px;
    color: var(--color-text-muted);
    margin-top: 4px;
    opacity: 0.6;
}

/* Typing indicator */
.hero-product__typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    align-self: flex-start;
    background: rgba(34, 30, 52, 0.8);
    border: 1px solid rgba(167, 139, 250, 0.1);
    border-radius: var(--radius-md);
    opacity: 0;
    animation: hero-bubble-in 0.5s ease 1.9s forwards;
}

.hero-product__typing span {
    width: 5px;
    height: 5px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    opacity: 0.4;
    animation: typing-bounce 1.4s ease-in-out infinite;
}

.hero-product__typing span:nth-child(2) { animation-delay: 0.2s; }
.hero-product__typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 0.9; }
}

/* Animated connector SVG between cards */
.hero-product__connector {
    position: absolute;
    top: 50%;
    left: 42%;
    width: 80px;
    height: 60px;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.6;
}

/* Glow bridge — soft shared light between cards */
.hero-product__bridge {
    position: absolute;
    top: 40%;
    left: 30%;
    width: 180px;
    height: 80px;
    background: radial-gradient(ellipse 100% 100% at 50% 50%, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
    filter: blur(25px);
    pointer-events: none;
    z-index: 0;
    animation: celestial-pulse 8s ease-in-out 2s infinite;
}

@keyframes hero-bubble-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Hero Product: Tablet --- */
@media (max-width: 959px) and (min-width: 640px) {
    .hero-product__scene {
        max-width: 380px;
        aspect-ratio: 1 / 0.95;
    }
    .hero-product__card--chart {
        width: 200px;
        transform: none;
    }
    .hero-product__card--chat {
        width: 250px;
        transform: none;
    }
    .hero-product__connector {
        display: none;
    }
    .hero-product__orbit {
        width: 240px;
        height: 240px;
    }
}

/* --- Hero Product: Mobile --- */
@media (max-width: 639px) {
    .hero-product__scene {
        max-width: 320px;
        aspect-ratio: 1 / 1.15;
    }
    .hero-product__card {
        position: relative;
        transform: none !important;
    }
    .hero-product__card--chart {
        width: 180px;
        margin-inline: auto;
        position: relative;
        top: auto;
        left: auto;
    }
    .hero-product__card--chat {
        width: 100%;
        margin-top: -24px;
        position: relative;
        bottom: auto;
        right: auto;
    }
    .hero-product__glow {
        width: 160px;
        height: 160px;
        top: 5%;
        left: 50%;
        transform: translateX(-50%);
    }
    .hero-product__connector {
        display: none;
    }
    .hero-product__bridge {
        display: none;
    }
    .hero-product__orbit {
        display: none;
    }
    .hero-product__bubble {
        max-width: 220px;
    }
    .hero-product__scene {
        display: flex;
        flex-direction: column;
        align-items: center;
        aspect-ratio: auto;
    }
    .hero__chips {
        justify-content: center;
    }
    .hero__chip {
        font-size: 10px;
        padding: 4px 10px;
    }
}


/* --- Social Proof Bar (replaces trust-bar) --- */
.proof-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
    padding: var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-bg-subtle);
}

.proof-bar__item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.proof-bar__item strong {
    color: var(--color-text);
}


/* --- Feature Card Illustrations --- */
.feature-card__illustration {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    border-radius: var(--radius-md);
    background: rgba(167, 139, 250, 0.04);
    border: 1px solid rgba(167, 139, 250, 0.08);
}

.feature-card__illustration svg {
    width: 80px;
    height: 60px;
}

/* Mini chat bubbles inside feature card */
.feature-card__mini-bubble {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    line-height: 1.4;
    max-width: 150px;
}

.feature-card__mini-bubble--user {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    align-self: flex-end;
    margin-left: auto;
}

.feature-card__mini-bubble--ai {
    background: var(--color-bg-elevated);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}

.feature-card__illustration--chat {
    flex-direction: column;
    gap: 4px;
    padding: var(--space-2);
}

/* VS comparison inside feature card */
.feature-card__vs {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
}

.feature-card__vs-label--muted {
    color: var(--color-text-muted);
    text-decoration: line-through;
    opacity: 0.6;
}

.feature-card__vs-label--accent {
    color: var(--color-primary);
    font-weight: 600;
}

.feature-card__vs-sep {
    color: var(--color-accent);
    font-weight: 700;
}


/* --- Comparison Block (Not Horoscope) --- */
.comparison {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-inline: auto;
}

@media (min-width: 640px) {
    .comparison {
        grid-template-columns: repeat(3, 1fr);
    }
}

.comparison__col {
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
}

.comparison__col--old {
    background: var(--color-bg);
    opacity: 0.7;
}

.comparison__col--new {
    background: linear-gradient(180deg, rgba(167, 139, 250, 0.06) 0%, var(--color-bg-elevated) 100%);
    border-color: rgba(167, 139, 250, 0.25);
    box-shadow: 0 0 30px var(--glow-primary-subtle);
}

.comparison__heading {
    font-size: var(--text-h4);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.comparison__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    list-style: none;
    padding: 0;
}

.comparison__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-small);
    line-height: var(--leading-relaxed);
}

.comparison__item--cross::before {
    content: '✗';
    color: var(--color-text-muted);
    flex-shrink: 0;
    font-weight: 600;
}

.comparison__item--check::before {
    content: '✓';
    color: var(--color-success);
    flex-shrink: 0;
    font-weight: 600;
}

.comparison__col--old .comparison__item {
    color: var(--color-text-muted);
}


/* --- Before/After Block --- */
.before-after {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    max-width: 800px;
    margin-inline: auto;
    align-items: stretch;
}

@media (min-width: 768px) {
    .before-after {
        grid-template-columns: 1fr auto 1fr;
    }
}

.before-after__side {
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
}

.before-after__side--raw {
    background: var(--color-bg);
}

.before-after__side--raw code {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: var(--text-small);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-1);
}

.before-after__side--readable {
    background: linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg) 100%);
    border-color: rgba(167, 139, 250, 0.2);
    box-shadow: 0 0 20px var(--glow-primary-subtle);
}

.before-after__side--readable p {
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    font-style: italic;
}

.before-after__label {
    display: block;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text-muted);
    margin-bottom: var(--space-3);
}

.before-after__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2);
}

@media (max-width: 767px) {
    .before-after__arrow svg {
        transform: rotate(90deg);
    }
}


/* --- Chat Mock Animation (for demo block) --- */
.chat-mock--animated .chat-mock__stagger {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.is-revealed .chat-mock--animated .chat-mock__stagger[data-delay="0"] {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0ms;
}

.is-revealed .chat-mock--animated .chat-mock__stagger[data-delay="1"] {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 500ms;
}

.is-revealed .chat-mock--animated .chat-mock__stagger[data-delay="2"] {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1000ms;
}

.is-revealed .chat-mock--animated .chat-mock__stagger[data-delay="3"] {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1500ms;
}


/* --- Demo Prompt Chips --- */
.demo-prompts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.demo-prompts__chip {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-small);
    color: var(--color-primary);
    background: rgba(167, 139, 250, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.demo-prompts__chip:hover {
    background: rgba(167, 139, 250, 0.15);
    border-color: rgba(167, 139, 250, 0.4);
    transform: scale(1.03);
    text-decoration: none;
    color: var(--color-primary);
}


/* --- Step Accent (step 3) --- */
.step--accent .step__number {
    box-shadow: 0 0 24px var(--glow-primary), 0 0 48px var(--glow-primary-subtle);
}


/* --- Pricing Mini Table (on homepage) --- */
.pricing-table--mini {
    max-width: 700px;
}


/* --- Final CTA with Background --- */
.cta-section--final {
    position: relative;
    overflow: hidden;
}

.cta-section__bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.cta-section__chart-bg {
    width: 400px;
    height: 400px;
    opacity: 0.5;
    animation: orbit-spin 90s linear infinite;
}


/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal.is-revealed .reveal-child:nth-child(1) { transition-delay: 0ms; }
.reveal.is-revealed .reveal-child:nth-child(2) { transition-delay: 100ms; }
.reveal.is-revealed .reveal-child:nth-child(3) { transition-delay: 200ms; }
.reveal.is-revealed .reveal-child:nth-child(4) { transition-delay: 300ms; }

.reveal-child {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-revealed .reveal-child {
    opacity: 1;
    transform: translateY(0);
}


/* --- FAQ item chevron rotation --- */
.faq-item[open] .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__icon {
    transition: transform 0.25s ease;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}


/* --- CTA Section --- */
.cta-section {
    text-align: center;
    padding-block: var(--space-16);
}

.cta-section__title {
    font-size: var(--text-h2);
    margin-bottom: var(--space-4);
}

.cta-section__text {
    color: var(--color-text-secondary);
    max-width: 480px;
    margin-inline: auto;
    margin-bottom: var(--space-8);
}


/* --- AI Note --- */
.ai-note {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    max-width: 480px;
    margin-inline: auto;
    text-align: center;
    line-height: var(--leading-relaxed);
}

.ai-note--left {
    text-align: left;
    margin-inline: 0;
}


/* --- Chat Mock (for Examples page) --- */
.chat-mock {
    max-width: 600px;
    margin-inline: auto;
    background: linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg) 100%);
    border: 1px solid var(--color-border-glow);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    box-shadow: var(--shadow-md), 0 0 30px var(--glow-primary-subtle);
}

.chat-mock__bubble {
    max-width: 85%;
    padding: var(--space-3) var(--space-4);
    line-height: var(--leading-relaxed);
    font-size: var(--text-small);
}

.chat-mock__bubble--user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-deep));
    color: var(--color-text-inverse);
    border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-lg);
    max-width: 75%;
    box-shadow: 0 0 12px var(--glow-primary);
}

.chat-mock__bubble--ai {
    align-self: flex-start;
    background: linear-gradient(135deg, var(--color-bg-elevated), var(--color-bg-subtle));
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) var(--radius-sm);
}

.chat-mock__ai-badge {
    margin-top: var(--space-2);
}


/* --- Blog --- */
.blog-header {
    margin-bottom: var(--space-10);
}

.blog-header h1 {
    margin-bottom: var(--space-3);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--color-text);
    transition: box-shadow var(--transition-normal), transform var(--transition-normal), border-color var(--transition-normal);
}

.blog-card:hover {
    box-shadow: var(--shadow-md), 0 0 20px var(--glow-primary);
    border-color: var(--color-border-strong);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--color-text);
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-bottom: var(--space-3);
}

.blog-card__title {
    font-size: var(--text-h4);
    font-weight: 600;
    margin-bottom: var(--space-2);
    line-height: var(--leading-tight);
}

.blog-card__excerpt {
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    flex: 1;
}

.blog-card__link {
    font-size: var(--text-small);
    font-weight: 500;
    color: var(--color-primary);
    margin-top: var(--space-4);
}

/* --- Blog Article --- */
.blog-article__header {
    margin-bottom: var(--space-8);
}

.blog-article__back {
    display: inline-block;
    font-size: var(--text-small);
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: var(--space-4);
    transition: color var(--transition-fast);
}

.blog-article__back:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.blog-article__title {
    font-size: var(--text-h1);
    margin-bottom: var(--space-4);
}

.blog-article__meta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-small);
    color: var(--color-text-muted);
}

/* Prose typography for article content */
.prose h2 {
    font-size: var(--text-h3);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.prose h3 {
    font-size: var(--text-h4);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

.prose p {
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
}

.prose p + p {
    margin-top: var(--space-4);
}

.prose ul, .prose ol {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
    list-style: disc;
}

.prose li {
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
}

.prose li + li {
    margin-top: var(--space-2);
}

.blog-article__footer {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
}

.blog-article__cta {
    text-align: center;
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-border);
    padding: var(--space-8);
}

.blog-article__cta h3 {
    margin-bottom: var(--space-3);
}

.blog-article__cta p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
    max-width: 400px;
    margin-inline: auto;
}


/* ═══════════════════════════════════════
   Stats bar — social proof numbers
   ═══════════════════════════════════════ */

.stats-bar {
    display: flex;
    justify-content: center;
    gap: var(--space-10);
    padding: var(--space-6) var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.04), rgba(45, 27, 105, 0.06));
}

.stats-bar__item {
    text-align: center;
}

.stats-bar__number {
    display: block;
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.stats-bar__label {
    font-size: var(--text-small);
    color: var(--color-text-muted);
}

@media (max-width: 640px) {
    .question-themes__grid {
        grid-template-columns: 1fr !important; 
    }
    .stats-bar {
        flex-direction: column;
        gap: var(--space-4);
        align-items: center;
    }
}


/* ═══════════════════════════════════════
   Testimonials (social proof)
   ═══════════════════════════════════════ */

.testimonials {
    list-style: none;
    margin: var(--space-6) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.testimonials__item {
    padding: var(--space-5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.testimonials__rating {
    color: #D4AF37;
    font-size: var(--text-small);
    letter-spacing: 2px;
}

.testimonials__text {
    margin: 0;
    font-size: var(--text-body);
    line-height: 1.55;
    color: var(--color-text);
    flex: 1;
}

.testimonials__author {
    font-size: var(--text-small);
    color: var(--color-text-muted);
}

@media (max-width: 900px) {
    .testimonials {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════
   Trust strip — privacy & safety
   ═══════════════════════════════════════ */

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.trust-strip__item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    padding: var(--space-5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-bg-elevated);
}

.trust-strip__item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.trust-strip__item strong {
    display: block;
    margin-bottom: var(--space-1);
    color: var(--color-text);
}

.trust-strip__item p {
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .trust-strip {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════
   Pro value — feature explanation grid
   ═══════════════════════════════════════ */

.pro-value__title {
    text-align: center;
    font-size: var(--text-h4);
    margin-bottom: var(--space-6);
    color: var(--color-text);
}

.pro-value__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
}

.pro-value__item {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    padding: var(--space-4);
    border-radius: var(--radius-md);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
}

.pro-value__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.pro-value__item strong {
    display: block;
    margin-bottom: var(--space-1);
    color: var(--color-text);
}

.pro-value__item p {
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .pro-value__grid {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════
   Pricing card hint
   ═══════════════════════════════════════ */

.pricing-card__hint {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-3);
    margin-bottom: 0;
}


/* ═══════════════════════════════════════
   CTA section additions
   ═══════════════════════════════════════ */

.cta-section__actions {
    margin-bottom: var(--space-4);
}

.cta-section__micro {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-top: 0;
}


/* ═══════════════════════════════════════
   Use cases — life triggers grid
   ═══════════════════════════════════════ */

.use-cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
}

.use-case {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-bg-elevated);
}

.use-case__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(167, 139, 250, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.1);
    color: var(--color-primary);
    filter: drop-shadow(0 0 6px var(--glow-primary-subtle));
}

.use-case__icon svg {
    width: 22px;
    height: 22px;
}

.use-case__body {
    flex: 1;
    min-width: 0;
}

.use-case__title {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--color-text);
}

.use-case__text {
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .use-cases {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════
   Question themes — grouped examples
   ═══════════════════════════════════════ */

.question-themes__title {
    text-align: center;
    font-size: var(--text-h4);
    margin-bottom: var(--space-6);
    color: var(--color-text);
    margin-top: var(--space-6);
}

.question-themes__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

.question-themes__group {
    padding: var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg-elevated);
}

.question-themes__label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.question-themes__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.question-themes__list li {
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    line-height: 1.5;
    padding-left: var(--space-4);
    position: relative;
}

.question-themes__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    opacity: 0.5;
}


/* ============================================================
   HERO ACTIONS
   ============================================================ */

.hero__actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-6);
    flex-wrap: wrap;
}

/* ============================================================
   CHART CALCULATOR SECTION
   ============================================================ */

.chart-calc {
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(167, 139, 250, 0.04) 30%, rgba(167, 139, 250, 0.04) 70%, transparent 100%);
}

.chart-calc__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.chart-calc__title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-3);
}

.chart-calc__subtitle {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-5);
}

.chart-calc__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.chart-calc__chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    background: rgba(255,255,255,0.02);
}

.chart-calc__form {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.chart-calc__field {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.chart-calc__field label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    font-weight: 500;
}

.chart-calc__checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    cursor: pointer;
    margin-top: var(--space-1);
}

.chart-calc__checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--color-primary);
}

@media (max-width: 768px) {
    .chart-calc__inner {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    .hero__actions {
        justify-content: center;
    }
}


/* ============================================================
   CHART PREVIEW PAGE — Redesigned
   ============================================================ */

/* ── Root & Element Personalization ── */
.cp {
    --cp-accent: #D4AF37;
    --cp-glow: rgba(212, 175, 55, 0.12);
    --cp-glow-strong: rgba(212, 175, 55, 0.20);
    --cp-glow-subtle: rgba(212, 175, 55, 0.05);
    max-width: 100%;
    overflow-x: hidden;
}
.cp[data-element="fire"] {
    --cp-accent: #D4AF37;
    --cp-glow: rgba(212, 175, 55, 0.12);
    --cp-glow-strong: rgba(212, 175, 55, 0.20);
    --cp-glow-subtle: rgba(212, 175, 55, 0.05);
}
.cp[data-element="water"] {
    --cp-accent: #2DD4BF;
    --cp-glow: rgba(45, 212, 191, 0.12);
    --cp-glow-strong: rgba(45, 212, 191, 0.20);
    --cp-glow-subtle: rgba(45, 212, 191, 0.05);
}
.cp[data-element="air"] {
    --cp-accent: #60A5FA;
    --cp-glow: rgba(96, 165, 250, 0.12);
    --cp-glow-strong: rgba(96, 165, 250, 0.20);
    --cp-glow-subtle: rgba(96, 165, 250, 0.05);
}
.cp[data-element="earth"] {
    --cp-accent: #A3E635;
    --cp-glow: rgba(163, 230, 53, 0.10);
    --cp-glow-strong: rgba(163, 230, 53, 0.18);
    --cp-glow-subtle: rgba(163, 230, 53, 0.04);
}

/* ── Shared components ── */
.cp-section-title {
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-2);
    letter-spacing: var(--tracking-tight);
}
.cp-section-desc {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    margin-bottom: var(--space-6);
    line-height: var(--leading-relaxed);
}

/* ── Scroll reveal ── */
.cp-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.cp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.cp-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-8) var(--space-4) var(--space-12);
    overflow: hidden;
}
.cp-hero__glow {
    position: absolute;
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, var(--cp-glow-strong) 0%, var(--cp-glow) 30%, transparent 70%);
    pointer-events: none;
    opacity: 0.5;
    animation: cp-glow-breathe 8s ease-in-out infinite alternate;
}
@keyframes cp-glow-breathe {
    0%   { opacity: 0.35; transform: translateX(-50%) scale(0.92); }
    100% { opacity: 0.6;  transform: translateX(-50%) scale(1.08); }
}

/* Badge */
.cp-hero__badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 16px;
    background: rgba(167, 139, 250, 0.10);
    border: 1px solid rgba(167, 139, 250, 0.20);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-6);
    animation: cp-badge-in 0.6s 0.2s both ease-out;
}
.cp-hero__badge svg { color: var(--color-accent); }
@keyframes cp-badge-in {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Wheel */
.cp-hero__wheel {
    position: relative;
    z-index: 1;
    width: 240px;
    height: 240px;
    margin-bottom: var(--space-6);
    flex-shrink: 0;
    animation: cp-wheel-in 0.8s 0.3s both ease-out;
}
@media (min-width: 768px) {
    .cp-hero__wheel {
        width: 320px;
        height: 320px;
    }
}
@keyframes cp-wheel-in {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

/* Big Three row */
.cp-hero__bigthree {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-5);
    animation: cp-bt-in 0.7s 0.5s both ease-out;
}
@keyframes cp-bt-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.cp-bt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.cp-bt__symbol {
    font-size: 2rem;
    line-height: 1;
}
.cp-bt--sun .cp-bt__symbol  { color: #D4AF37; }
.cp-bt--moon .cp-bt__symbol { color: #A78BFA; }
.cp-bt--asc .cp-bt__symbol  { color: #F472B6; }
.cp-bt__label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    font-weight: 500;
}
.cp-bt__sign {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}
.cp-bt__sep {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    opacity: 0.3;
    margin-top: var(--space-2);
}

/* Title & subtitle */
.cp-hero__title {
    position: relative;
    z-index: 1;
    font-size: var(--text-h2);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-3);
    animation: cp-bt-in 0.7s 0.6s both ease-out;
}
.cp-hero__subtitle {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto var(--space-5);
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: var(--leading-relaxed);
    animation: cp-bt-in 0.7s 0.7s both ease-out;
}

/* Meta */
.cp-hero__meta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    justify-content: center;
    animation: cp-bt-in 0.7s 0.8s both ease-out;
}
.cp-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}
.cp-hero__meta-item svg { opacity: 0.5; }

/* ══════════════════════════════════════════════════════
   IDENTITY CARDS (Big Three)
   ══════════════════════════════════════════════════════ */
.cp-identity {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--space-4) var(--space-10);
}
.cp-identity__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}
@media (min-width: 768px) {
    .cp-identity__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}
.cp-icard {
    position: relative;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.cp-icard:hover {
    border-color: rgba(167, 139, 250, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.cp-icard__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}
.cp-icard--sun .cp-icard__accent  { background: linear-gradient(90deg, #D4AF37 0%, rgba(212,175,55,0) 80%); }
.cp-icard--moon .cp-icard__accent { background: linear-gradient(90deg, #A78BFA 0%, rgba(167,139,250,0) 80%); }
.cp-icard--asc .cp-icard__accent  { background: linear-gradient(90deg, #F472B6 0%, rgba(244,114,182,0) 80%); }
.cp-icard__head {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}
.cp-icard__symbol {
    font-size: 2rem;
    line-height: 1;
}
.cp-icard--sun .cp-icard__symbol  { color: #D4AF37; }
.cp-icard--moon .cp-icard__symbol { color: #A78BFA; }
.cp-icard--asc .cp-icard__symbol  { color: #F472B6; }
.cp-icard__role {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    font-weight: 600;
}
.cp-icard__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}
.cp-icard__text {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* ══════════════════════════════════════════════════════
   YOUR PORTRAIT (Free Overview — editorial)
   ══════════════════════════════════════════════════════ */
.cp-portrait {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--space-6) var(--space-4) var(--space-10);
}
.cp-portrait__inner {
    position: relative;
    padding-left: var(--space-5);
    border-left: 2px solid var(--cp-accent);
}
.cp-portrait__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cp-accent);
    font-weight: 600;
    margin-bottom: var(--space-4);
}
.cp-portrait__label svg { opacity: 0.7; }
.cp-portrait__text p {
    color: var(--color-text);
    font-size: 1.0625rem;
    line-height: 1.85;
    margin-bottom: var(--space-4);
}
.cp-portrait__text p:first-child {
    font-size: 1.1875rem;
    line-height: 1.75;
}
.cp-portrait__text p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════
   ELEMENT BALANCE
   ══════════════════════════════════════════════════════ */
.cp-elements {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-4) var(--space-10);
}
.cp-elements__inner {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}
.cp-elements__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-5);
}
.cp-elements__bars {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}
.cp-elements__row {
    display: grid;
    grid-template-columns: 90px 1fr 40px;
    align-items: center;
    gap: var(--space-3);
}
.cp-elements__label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}
.cp-elements__bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.cp-elements__fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.cp-elements__fill--fire  { background: linear-gradient(90deg, #D4AF37, #EF4444); }
.cp-elements__fill--earth { background: linear-gradient(90deg, #22C55E, #A3E635); }
.cp-elements__fill--air   { background: linear-gradient(90deg, #3B82F6, #60A5FA); }
.cp-elements__fill--water { background: linear-gradient(90deg, #7C3AED, #A78BFA); }
.cp-elements__pct {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.cp-elements__insight {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin: 0;
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border);
}

/* ══════════════════════════════════════════════════════
   CHARACTER PREVIEW (Traits — partial + fade)
   ══════════════════════════════════════════════════════ */
.cp-traits {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-4) var(--space-10);
}
.cp-traits__content {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-4);
}
.cp-traits__content p {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: var(--space-3);
}
.cp-traits__fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, var(--color-bg));
    pointer-events: none;
}
.cp-traits__nudge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    padding: var(--space-3) var(--space-4);
    background: rgba(167, 139, 250, 0.04);
    border: 1px solid rgba(167, 139, 250, 0.08);
    border-radius: var(--radius-lg);
}
.cp-traits__nudge svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   INLINE CTA BRIDGE
   ══════════════════════════════════════════════════════ */
.cp-bridge {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-4) var(--space-10);
}
.cp-bridge__inner {
    text-align: center;
    padding: var(--space-6) var(--space-5);
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.04), rgba(212, 175, 55, 0.04));
    border: 1px solid rgba(167, 139, 250, 0.12);
    border-radius: var(--radius-xl);
}
.cp-bridge__text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}
.cp-bridge__text strong {
    color: var(--color-text);
}
.cp-bridge__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 10px 24px;
    background: rgba(167, 139, 250, 0.10);
    border: 1px solid rgba(167, 139, 250, 0.22);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.cp-bridge__btn:hover {
    background: rgba(167, 139, 250, 0.18);
    border-color: rgba(167, 139, 250, 0.35);
    transform: translateY(-1px);
}
.cp-bridge__btn svg {
    transition: transform 0.2s;
}
.cp-bridge__btn:hover svg {
    transform: translateY(2px);
}

/* ══════════════════════════════════════════════════════
   LOCKED PLANETS
   ══════════════════════════════════════════════════════ */
.cp-planets {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-4) var(--space-10);
}
.cp-planets__grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.cp-planet-chip {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s, transform 0.2s;
}
.cp-planet-chip:hover {
    border-color: rgba(167, 139, 250, 0.2);
    transform: translateX(4px);
}
.cp-planet-chip__symbol {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--planet-color, var(--color-primary));
    width: 32px;
    text-align: center;
    flex-shrink: 0;
}
.cp-planet-chip__info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}
.cp-planet-chip__name {
    font-size: 0.9375rem;
    color: var(--color-text);
}
.cp-planet-chip__sign {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}
.cp-planet-chip__domain {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    white-space: nowrap;
}
.cp-planet-chip__lock {
    color: var(--color-text-muted);
    opacity: 0.35;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   FEATURED LOCKED SECTION (full-width premium)
   ══════════════════════════════════════════════════════ */
.cp-featured {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-4) var(--space-10);
}
.cp-featured__inner {
    position: relative;
    background: var(--color-bg-elevated);
    border: 1px solid var(--cp-accent, rgba(167, 139, 250, 0.20));
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
    overflow: hidden;
}
.cp-featured__glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, var(--cp-glow-subtle, rgba(167, 139, 250, 0.06)), transparent 70%);
    pointer-events: none;
}
.cp-featured__content {
    position: relative;
}
.cp-featured__icon {
    color: var(--cp-accent, var(--color-primary));
    margin-bottom: var(--space-4);
}
.cp-featured__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.4;
    margin-bottom: var(--space-3);
    letter-spacing: var(--tracking-tight);
}
.cp-featured__teaser {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}
.cp-featured__lock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.6;
}

/* ══════════════════════════════════════════════════════
   LOCKED SECTIONS PAIR (2-column medium cards)
   ══════════════════════════════════════════════════════ */
.cp-locked-pair {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-4) var(--space-8);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}
.cp-locked-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    transition: border-color 0.3s, transform 0.3s;
}
.cp-locked-card:hover {
    border-color: rgba(167, 139, 250, 0.18);
    transform: translateY(-2px);
}
.cp-locked-card__head {
    margin-bottom: var(--space-3);
}
.cp-locked-card__icon {
    color: var(--cp-accent, var(--color-primary));
}
.cp-locked-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
    margin-bottom: var(--space-2);
}
.cp-locked-card__teaser {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: var(--space-3);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cp-locked-card__lock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    opacity: 0.45;
}

/* ══════════════════════════════════════════════════════
   LOCKED SECTIONS COMPACT (list rows)
   ══════════════════════════════════════════════════════ */
.cp-locked-list {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-4) var(--space-10);
}
.cp-locked-row {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-border);
}
.cp-locked-row:last-child {
    border-bottom: none;
}
.cp-locked-row__icon {
    color: var(--cp-accent, var(--color-primary));
    margin-top: 2px;
    flex-shrink: 0;
}
.cp-locked-row__body {
    flex: 1;
    min-width: 0;
}
.cp-locked-row__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
    line-height: 1.4;
}
.cp-locked-row__teaser {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}
.cp-locked-row__lock {
    color: var(--color-text-muted);
    opacity: 0.35;
    flex-shrink: 0;
    margin-top: 4px;
}

/* ══════════════════════════════════════════════════════
   STICKY CTA BAR
   ══════════════════════════════════════════════════════ */
.cp-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: rgba(10, 8, 16, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-border);
    padding: var(--space-3) var(--space-4);
    transform: translateY(100%);
    transition: transform 0.35s ease;
}
.cp-sticky.is-visible {
    transform: translateY(0);
}
.cp-sticky__inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}
.cp-sticky__text {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}
.cp-sticky__btn {
    padding: 8px 20px;
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.cp-sticky__btn:hover {
    background: var(--color-primary-hover, #9171e8);
    transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════
   SIGNUP PROGRESS INDICATOR
   ══════════════════════════════════════════════════════ */
.cp-signup__progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}
.cp-signup__step {
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-weight: 500;
}
.cp-signup__step--done {
    background: rgba(34, 197, 94, 0.08);
    color: var(--color-success);
}
.cp-signup__step--active {
    background: rgba(167, 139, 250, 0.12);
    color: var(--color-primary);
    font-weight: 600;
}
.cp-signup__step-sep {
    color: var(--color-text-muted);
    opacity: 0.35;
    font-size: 0.6875rem;
}

/* ══════════════════════════════════════════════════════
   AI ASTROLOGER
   ══════════════════════════════════════════════════════ */
.cp-ai {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 var(--space-4) var(--space-12);
}
.cp-ai__inner {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    overflow: hidden;
}
.cp-ai__header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border);
}
.cp-ai__avatar {
    position: relative;
    flex-shrink: 0;
}
.cp-ai__avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
}
.cp-ai__dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background: var(--color-success);
    border: 2px solid var(--color-bg-elevated);
    border-radius: 50%;
}
.cp-ai__name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}
.cp-ai__status {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}
.cp-ai__chat {
    margin-bottom: var(--space-5);
}
.cp-ai__bubble {
    position: relative;
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    line-height: 1.65;
}
.cp-ai__bubble--ai {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.10);
    color: var(--color-text-secondary);
}
.cp-ai__bubble--ai p { margin: 0; }
.cp-ai__badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 1px 5px;
    border-radius: var(--radius-sm);
    background: rgba(212, 175, 55, 0.2);
    color: var(--color-accent);
    margin-left: var(--space-1);
    vertical-align: middle;
}
.cp-ai__questions { margin-bottom: var(--space-4); }
.cp-ai__questions-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
}
.cp-ai__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}
.cp-ai__chip {
    padding: 6px 14px;
    background: rgba(167, 139, 250, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.15);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.cp-ai__chip:hover {
    background: rgba(167, 139, 250, 0.14);
    border-color: rgba(167, 139, 250, 0.28);
}
.cp-ai__note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    margin: 0;
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border);
}

/* ══════════════════════════════════════════════════════
   SIGNUP GATE
   ══════════════════════════════════════════════════════ */
.cp-signup {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    padding: var(--space-6) var(--space-4) var(--space-16);
}
.cp-signup__glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--cp-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.4;
}
.cp-signup__card {
    position: relative;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
}
.cp-signup__title {
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-2);
    letter-spacing: var(--tracking-tight);
}
.cp-signup__subtitle {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}
.cp-signup__benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6);
    text-align: left;
}
.cp-signup__benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 0;
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.4;
}
.cp-signup__benefits li svg { flex-shrink: 0; }
.cp-signup__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}
.cp-signup__form .form-group { text-align: left; }
.cp-signup__legal {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    margin-top: var(--space-2);
}
.cp-signup__legal a {
    color: var(--color-primary);
    text-decoration: underline;
}
.cp-signup__login {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: var(--space-4);
}
.cp-signup__login a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .cp-hero { padding: var(--space-6) var(--space-4) var(--space-8); }
    .cp-hero__wheel { width: 200px; height: 200px; }
    .cp-bt__symbol { font-size: 1.6rem; }
    .cp-bt__sign { font-size: 0.875rem; }
    .cp-hero__title { font-size: 1.5rem; }
    .cp-hero__meta { gap: var(--space-3); }
    .cp-signup__card { padding: var(--space-6); }
    .cp-elements__row { grid-template-columns: 80px 1fr 36px; }
    .cp-portrait__text p { font-size: 1rem; }
    .cp-portrait__text p:first-child { font-size: 1.0625rem; }
    .cp-locked-pair { grid-template-columns: 1fr; }
    .cp-featured__inner { padding: var(--space-6) var(--space-5); }
    .cp-featured__title { font-size: 1.1rem; }
    .cp-sticky__text { display: none; }
    .cp-sticky__inner { justify-content: center; }
    .cp-bridge__inner { padding: var(--space-5) var(--space-4); }
}

/* ── Legacy classes (kept for form error states) ── */
.preview-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}
/* ═══════════════════════════════════════
   Inside preview — product modules
   ═══════════════════════════════════════ */

.inside-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.inside-preview__item {
    padding: var(--space-5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-bg-elevated);
}

.inside-preview__item--pro {
    border-color: rgba(167, 139, 250, 0.2);
    background: linear-gradient(180deg, rgba(167, 139, 250, 0.04) 0%, var(--color-bg-elevated) 100%);
}

.inside-preview__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: var(--color-success);
    color: var(--color-bg);
    margin-bottom: var(--space-3);
}

.inside-preview__badge--pro {
    background: var(--color-primary);
    color: #fff;
}

.inside-preview__title {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--color-text);
}

.inside-preview__text {
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .inside-preview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .inside-preview {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
 * Feature links (cross-navigation on feature landing pages)
 * ============================================================= */

.feature-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.feature-links__item {
    display: block;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    text-decoration: none;
    color: var(--color-text);
    transition: border-color 0.2s, transform 0.2s;
}

.feature-links__item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.feature-links__item strong {
    display: block;
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
    color: var(--color-text);
}

.feature-links__item p {
    font-size: var(--text-small);
    color: var(--color-text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .feature-links {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════
   Testimonials — social proof grid
   ═══════════════════════════════════════ */

.testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.testimonial {
    padding: var(--space-5);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.testimonial:hover {
    border-color: var(--color-border-glow);
    box-shadow: 0 0 24px var(--glow-primary-subtle);
}

/* Featured (hero) review */
.testimonial--featured {
    padding: var(--space-6);
    margin-bottom: var(--space-5);
    border-color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-bg-elevated), color-mix(in srgb, var(--color-primary) 5%, var(--color-bg-elevated)));
    box-shadow: 0 0 32px var(--glow-primary-subtle);
}

.testimonial--featured .testimonial__header {
    flex-wrap: wrap;
}

.testimonial--featured .testimonial__text {
    font-size: var(--text-base);
    color: var(--color-text);
    line-height: 1.75;
}

.testimonial__stars {
    margin-left: auto;
    font-size: 14px;
    letter-spacing: 2px;
    color: #f5a623;
}

.testimonial__header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.testimonial__avatar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-primary-deep), var(--color-primary));
    color: var(--color-text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.testimonial__avatar--lg {
    width: 44px;
    height: 44px;
    font-size: 16px;
}

.testimonial__name {
    display: block;
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
}

.testimonial__tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-top: 2px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: var(--color-bg-subtle);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.testimonial__tag svg {
    color: var(--color-primary);
    opacity: 0.8;
}

/* Tag color variants */
.testimonial__tag--love     { color: #e8758f; background: rgba(232, 117, 143, 0.1); }
.testimonial__tag--love svg { color: #e8758f; opacity: 1; }

.testimonial__tag--career     { color: #6ea8fe; background: rgba(110, 168, 254, 0.1); }
.testimonial__tag--career svg { color: #6ea8fe; opacity: 1; }

.testimonial__tag--self     { color: #a78bfa; background: rgba(167, 139, 250, 0.1); }
.testimonial__tag--self svg { color: #a78bfa; opacity: 1; }

.testimonial__tag--transits     { color: #34d399; background: rgba(52, 211, 153, 0.1); }
.testimonial__tag--transits svg { color: #34d399; opacity: 1; }

.testimonial__tag--chat     { color: #fbbf24; background: rgba(251, 191, 36, 0.1); }
.testimonial__tag--chat svg { color: #fbbf24; opacity: 1; }

.testimonial__tag--chart     { color: #93c5fd; background: rgba(147, 197, 253, 0.1); }
.testimonial__tag--chart svg { color: #93c5fd; opacity: 1; }

.testimonial__text {
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* Trust line + CTA block */
.reviews-trust {
    text-align: center;
    margin-top: var(--space-8);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.reviews-trust__line {
    font-size: var(--text-small);
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.reviews-trust__sub {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin: 0;
    letter-spacing: 0.02em;
}

/* 2 columns on tablet */
@media (max-width: 1024px) and (min-width: 641px) {
    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1 column on mobile */
@media (max-width: 640px) {
    .testimonials {
        grid-template-columns: 1fr;
    }
    .testimonial--featured {
        padding: var(--space-5);
    }
    .testimonial--featured .testimonial__text {
        font-size: var(--text-small);
    }
    .testimonial__stars {
        margin-left: 0;
        width: 100%;
        margin-top: var(--space-1);
    }
}

@media screen and (max-width: 990px) {
    .hero__subtitle {
        margin-inline: auto;
    }
}
