/* =====================================================
   NATAL AI — Landing Chart Flow (adapted for new-design)
   ===================================================== */

.landing-flow {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    background: var(--cosmic-surface-80);
    padding: clamp(1rem, 2.4vw, 1.6rem);
}

.landing-flow__stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.landing-flow-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(139, 92, 246, 0.16);
    background: rgba(10, 14, 23, 0.5);
    color: var(--cosmic-muted);
}

.landing-flow-step__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    border: 1px solid rgba(139, 92, 246, 0.26);
    font-size: 0.8rem;
    font-weight: 700;
}

.landing-flow-step__label {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
}

.landing-flow-step.is-active,
.landing-flow-step.is-done {
    color: var(--cosmic-text);
    border-color: rgba(139, 92, 246, 0.36);
}

.landing-flow-step.is-active {
    background: rgba(139, 92, 246, 0.08);
}

.landing-flow-step.is-done .landing-flow-step__index {
    background: rgba(139, 92, 246, 0.24);
    border-color: rgba(139, 92, 246, 0.38);
}

.landing-flow-card {
    margin-top: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(139, 92, 246, 0.14);
    background: rgba(10, 14, 23, 0.58);
    padding: clamp(1rem, 2.2vw, 1.4rem);
}

.landing-flow-card h3,
.landing-flow-table-wrap h4,
.landing-flow-hook h4 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 2vw + 0.4rem, 1.35rem);
    font-weight: 600;
    line-height: 1.3;
}

.landing-flow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.landing-flow-field,
.landing-flow-check {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.landing-flow-field--full {
    grid-column: 1 / -1;
}

.landing-flow-field > span,
.landing-flow-check span {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cosmic-muted);
}

.landing-flow-field input,
.landing-flow-field select {
    width: 100%;
    min-height: 2.8rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(139, 92, 246, 0.22);
    background: rgba(3, 5, 8, 0.78);
    color: var(--cosmic-text);
    padding: 0.6rem 0.7rem;
    font-family: inherit;
    font-size: 0.9rem;
}

.landing-flow-field input:focus,
.landing-flow-field select:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
}

.landing-flow-check {
    justify-content: flex-end;
    flex-direction: row;
    align-items: center;
}

.landing-flow-check input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--cosmic-accent);
}

.landing-flow-check--terms {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 0.75rem;
    background: rgba(10, 14, 23, 0.44);
}

.landing-flow-check--terms input {
    margin-top: 0.12rem;
}

.landing-flow-check--terms a {
    color: var(--cosmic-muted);
}

.landing-flow-check--terms a:hover {
    color: var(--cosmic-text);
}

.landing-flow-system-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.landing-flow-system-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(139, 92, 246, 0.18);
    background: rgba(10, 14, 23, 0.48);
    padding: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.landing-flow-system-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.landing-flow-system-card__title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--cosmic-text);
}

.landing-flow-system-card__hint {
    color: var(--cosmic-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.landing-flow-system-card.is-selected {
    border-color: rgba(139, 92, 246, 0.42);
    background: rgba(139, 92, 246, 0.1);
}

.landing-flow-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 20;
    margin: 0.3rem 0 0;
    padding: 0.35rem;
    list-style: none;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 0.8rem;
    background: rgba(3, 5, 8, 0.96);
    max-height: 14rem;
    overflow: auto;
}

.landing-flow-suggest li + li {
    margin-top: 0.3rem;
}

.landing-flow-suggest button {
    width: 100%;
    border: 0;
    border-radius: 0.65rem;
    background: rgba(10, 14, 23, 0.62);
    color: var(--cosmic-text);
    text-align: left;
    padding: 0.55rem 0.65rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
}

.landing-flow-suggest button:hover {
    background: rgba(139, 92, 246, 0.12);
}

.landing-flow-suggest strong,
.landing-flow-suggest small {
    display: block;
}

.landing-flow-suggest small {
    margin-top: 0.2rem;
    color: var(--cosmic-muted);
    font-size: 0.75rem;
}

.landing-flow-error {
    margin: 0.85rem 0 0;
    color: #fca5a5;
    font-size: 0.9rem;
    font-weight: 600;
}

.landing-flow-banner {
    margin: 0.85rem 0 0;
    padding: 0.75rem 0.85rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.08);
    color: #fde68a;
}

.landing-flow-preview {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.95rem;
}

.landing-flow-big3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.landing-flow-big3 > div {
    border-radius: 0.75rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    background: rgba(10, 14, 23, 0.44);
    padding: 0.7rem;
    font-size: 0.92rem;
    color: var(--cosmic-text);
}

.landing-flow-chart-wrap {
    display: grid;
    place-items: center;
    border-radius: 1rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    background: rgba(8, 18, 40, 0.86);
    padding: 0.85rem;
}

.landing-flow-wheel,
.landing-flow-ni {
    width: min(100%, 29rem);
    aspect-ratio: 1 / 1;
    height: auto;
}

.landing-flow-wheel__rim-outer {
    fill: none;
    stroke: #9a6f2b;
    stroke-width: 4;
}

.landing-flow-wheel__rim-inner {
    fill: none;
    stroke: #2c1810;
    stroke-width: 0.9;
    opacity: 0.6;
}

.landing-flow-wheel__slice {
    fill: #f7e8cc;
}

.landing-flow-wheel__slice--alt {
    fill: #e8d2b2;
}

.landing-flow-wheel__inner {
    fill: #f4ead8;
}

.landing-flow-wheel__house {
    stroke: rgba(24, 33, 52, 0.72);
    stroke-width: 1.1;
}

.landing-flow-wheel__aspect {
    stroke-width: 1.6;
}

.landing-flow-wheel__aspect--good {
    stroke: rgba(76, 168, 124, 0.95);
}

.landing-flow-wheel__aspect--bad {
    stroke: rgba(214, 97, 97, 0.95);
}

.landing-flow-wheel__aspect--neutral {
    stroke: rgba(108, 124, 168, 0.9);
}

.landing-flow-wheel__ztxt {
    font-size: 15px;
    font-weight: 800;
    fill: #19202e;
    paint-order: stroke;
    stroke: rgba(255, 255, 255, 0.58);
    stroke-width: 0.75px;
}

.landing-flow-wheel__housenum {
    font-size: 10px;
    font-weight: 800;
    fill: #1f2737;
    paint-order: stroke;
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 0.6px;
}

.landing-flow-wheel__housenum-deg {
    font-size: 9px;
    font-weight: 700;
    fill: #2b3448;
    paint-order: stroke;
    stroke: rgba(255, 255, 255, 0.45);
    stroke-width: 0.5px;
}

.landing-flow-wheel__planet-bg {
    fill: #fffdf8;
    stroke: rgba(36, 47, 71, 0.45);
    stroke-width: 1;
}

.landing-flow-wheel__psym {
    font-size: 13px;
    font-weight: 800;
    fill: #151c2b;
}

.landing-flow-wheel__retro {
    font-size: 10px;
    font-weight: 700;
    fill: #7b2f2f;
}

.landing-flow-wheel__center {
    fill: rgba(45, 55, 75, 0.85);
}

.landing-flow-ni__bg {
    fill: #fffefb;
}

.landing-flow-ni__grid {
    fill: none;
    stroke: #2f2a23;
    stroke-width: 1.7;
    stroke-linejoin: miter;
}

.landing-flow-ni__sign {
    font-size: 11px;
    font-weight: 800;
    fill: #141b2a;
}

.landing-flow-ni__pl {
    font-size: 11px;
    font-weight: 700;
    fill: #1d273b;
}

.landing-flow-ni__pl--compact {
    font-size: 10px;
}

.landing-flow-stub {
    margin: 0;
    color: var(--cosmic-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.landing-flow-table-wrap {
    border-radius: 0.85rem;
    border: 1px solid rgba(139, 92, 246, 0.16);
    background: rgba(10, 14, 23, 0.46);
    padding: 0.75rem;
    overflow-x: auto;
}

.landing-flow-table-wrap h4 {
    margin-bottom: 0.55rem;
}

.landing-flow-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    color: var(--cosmic-text);
}

.landing-flow-table th,
.landing-flow-table td {
    padding: 0.45rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.14);
    text-align: left;
}

.landing-flow-table th {
    color: var(--cosmic-muted);
    font-weight: 700;
}

.landing-flow-hook {
    margin-top: 0.6rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(139, 92, 246, 0.25);
    background: rgba(139, 92, 246, 0.08);
    padding: 0.9rem;
}

.landing-flow-hook p {
    margin: 0.55rem 0 0;
    color: var(--cosmic-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.landing-flow-hook ul {
    margin: 0.7rem 0 0;
    padding-left: 1.1rem;
    color: var(--cosmic-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.landing-flow-hook .registration-bonus {
    margin-top: 0.85rem;
    margin-bottom: 0;
}

.landing-flow-register {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.7rem;
}

.landing-flow-register input {
    width: 100%;
    min-height: 2.8rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(139, 92, 246, 0.22);
    background: rgba(3, 5, 8, 0.78);
    color: var(--cosmic-text);
    padding: 0.6rem 0.7rem;
    font-family: inherit;
    font-size: 0.9rem;
}

.landing-flow-register input:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
}

.landing-flow__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.95rem;
}

.landing-flow__actions .btn {
    flex: 1 1 auto;
}

.landing-flow-oauth {
    margin-top: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.landing-flow-oauth__divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    font-size: 0.82rem;
    color: var(--cosmic-muted);
    text-transform: lowercase;
}

.landing-flow-oauth__divider::before,
.landing-flow-oauth__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(139, 92, 246, 0.22);
}

.landing-flow-oauth__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1rem;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 0.8rem;
    border: 1px solid rgba(139, 92, 246, 0.22);
    cursor: pointer;
    color: var(--cosmic-text);
    background: rgba(10, 14, 23, 0.72);
}

.landing-flow-oauth__btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.landing-flow-oauth__btn--apple {
    background: #000;
    border-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 640px) {
    .landing-flow-grid {
        grid-template-columns: 1fr;
    }
    .landing-flow-system-grid {
        grid-template-columns: 1fr;
    }
    .landing-flow-big3 {
        grid-template-columns: 1fr;
    }
}
