@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
    --primary-orange: #0f766e;
    --primary-blue: #0f172a;
    --light-orange: #d9f7ef;
    --light-blue: #e2e8f0;
    --light-green: #fef3c7;
    --text-dark: #0b1324;
    --text-light: #546179;
    --bg-cream: #edf2f7;
    --home-brand-text: #0b1324;
    --home-headline-color: #0b1324;
    --home-subheadline-color: #546179;
    --home-feature-title-color: #0b1324;
    --home-feature-desc-color: #546179;
    --cta-text-color: #ffffff;
    --cta2-text-color: #ffffff;
    --results-title-color: #ffffff;
    --results-subtitle-color: rgba(255, 255, 255, 0.92);
    --step-question-color: #ffffff;
    --step-hint-color: rgba(240, 248, 255, 0.92);
    --step-multi-info-text: #1e3a8a;
    --step-multi-info-bg: rgba(255, 255, 255, 0.92);
    --step-multi-info-border: #dbeafe;
    --step-choice-border: #dce6f5;
    --step-choice-bg: #ffffff;
    --step-choice-hover-border: #c2d5f7;
    --step-choice-hover-bg: #ffffff;
}

body {
    font-family: var(--font-base, 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    line-height: 1.6;
    background:
        radial-gradient(circle at 12% 8%, rgba(15, 118, 110, 0.18), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(245, 158, 11, 0.16), transparent 24%),
        linear-gradient(180deg, #f6fbf9 0%, #edf4f8 100%);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Homepage Styles */
.homepage-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.logo-container {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.logo-section {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-direction: row;
}

.logo-icon {
    width: 80px;
    height: 80px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    box-shadow: 0 16px 36px rgba(16, 39, 90, 0.24);
    flex-shrink: 0;
}

.logo-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.brand-text {
    font-size: 3.4rem;
    font-weight: 800;
    font-family: var(--font-heading, 'Sora', 'Manrope', sans-serif);
    color: var(--home-brand-text, var(--text-dark));
    margin: 0;
    line-height: 1.2;
    display: inline-block;
    letter-spacing: -0.03em;
}

.logo-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.main-headline {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--home-headline-color, var(--text-dark));
    margin-bottom: 0.5rem;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.brand-name {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading, 'Sora', 'Manrope', sans-serif);
    margin-bottom: 1rem;
    line-height: 1.3;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    letter-spacing: -0.04em;
}

.sub-headline {
    font-size: 1.25rem;
    color: var(--home-subheadline-color, var(--text-light));
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.cta-buttons.single-button {
    justify-content: center;
}

.cta-button {
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: var(--cta-text-color, #fff);
    transition: all 0.3s ease;
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.26);
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

.cta-button-2 {
    background: var(--primary-blue) !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.25) !important;
    color: var(--cta2-text-color, #fff);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 18px 32px rgba(15, 118, 110, 0.34);
    color: var(--cta-text-color, #fff);
}

.cta-button-2:hover {
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.30) !important;
    color: var(--cta2-text-color, #fff);
}

.cta-icon {
    width: 20px;
    height: 20px;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-icon i {
    font-size: 1.05rem;
}

.emoji-icon {
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.features-container {
    display: flex;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.2s forwards;
}

.feature-card {
    flex: 1;
    text-align: center;
    padding: 1.6rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 12px 28px rgba(12, 27, 49, 0.1);
    backdrop-filter: blur(6px);
}

.feature-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon {
    font-size: 24px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.35rem;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--home-feature-title-color, var(--text-dark));
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.9rem;
    color: var(--home-feature-desc-color, var(--text-light));
    line-height: 1.4;
}

/* Step Flow Styles */
.step-flow-container {
    min-height: 100vh;
    display: none;
    flex-direction: column;
    max-width: 680px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(8px);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.16);
}

.step-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--logo-bg-gradient, linear-gradient(135deg, #0f766e 0%, #0f172a 100%));
}

.step-logo svg {
    width: 25px;
    height: 25px;
    fill: white;
}

.step-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading, 'Sora', 'Manrope', sans-serif);
    letter-spacing: -0.02em;
}

.step-counter {
    text-align: right;
}

.step-counter-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.step-progress {
    width: 200px;
    height: 6px;
    background-color: rgba(245, 158, 11, 0.16);
    border-radius: 3px;
    overflow: hidden;
}

.step-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0f172a 0%, #0f766e 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.breadcrumb-chip {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    animation: slideInBreadcrumb 0.3s ease forwards;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.breadcrumb-chip .icon {
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1rem;
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-question {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.choices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.choice-card {
    background: white;
    border: 1px solid #cdd8e6;
    border-radius: 16px;
    padding: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 30px;
}

.choice-card:hover {
    border-color: rgba(15, 118, 110, 0.36);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    transform: translateY(-2px) scale(1.01);
}

.choice-card.selected {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%);
    box-shadow: 0 12px 24px rgba(34, 49, 88, 0.16);
}

.choice-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 1.6rem;
    height: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.choice-icon i {
    font-size: 1.1rem;
}

.choice-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Substep Section */
.substep-section {
    margin-top: 2rem;
    padding-top: 2rem;
}

.substep-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin-bottom: 1.5rem;
}

.substep-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1.5rem;
}

.substep-choices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.substep-choice {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #cbd5e0;
    border-radius: 25px;
    padding: 0.5rem;
    min-height: 30px;
}

.substep-choice:hover {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
}

.substep-choice.selected {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.2);
}

.other-input {
    margin-top: 1rem;
    display: none;
}

.other-input input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 2rem;
}

.nav-button {
    padding: 12px 24px;
    border-radius: 14px;
    font-weight: 600;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-button.back {
    background: white;
    border-color: #e2e8f0;
    color: var(--text-light);
}

.nav-button.back:hover {
    border-color: var(--text-light);
    color: var(--text-dark);
}

.nav-button.next {
    background: linear-gradient(135deg, #0f766e 0%, #0f172a 100%);
    border-color: #0f766e;
    color: var(--step-nav-next-text, #ffffff);
}

.nav-button.next:hover {
    background: linear-gradient(135deg, #0d645d 0%, #0d1a33 100%);
    border-color: #0d645d;
}

.nav-button.next:disabled {
    background: #e2e8f0;
    border-color: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
}

/* Loading Screen */
.loading-container {
    min-height: 100vh;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.loading-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
    background: var(--logo-bg-gradient, linear-gradient(135deg, #0f766e 0%, #0f172a 100%));
}

.loading-logo svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.loading-brand {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid var(--primary-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

.loading-messages {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    height: 3rem;
    padding: 0 2rem;
    width: 100%;
}

.loading-message {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    width: 100%;
    text-align: center;
    line-height: 1.4;
    font-weight: 500;
}

/* Results Screen */
.results-container {
    min-height: 100vh;
    display: none;
    align-items: flex-start;
    justify-content: flex-start;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 1.2rem;
}

.results-shell {
    width: 100%;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid #d8e4f2;
    box-shadow: 0 22px 56px rgba(15, 23, 42, 0.16);
    background: #ffffff;
}

.results-header {
    text-align: center;
    margin: 0;
    padding: 1.5rem;
    color: #ffffff;
    background: var(--results-hero-bg, linear-gradient(108deg, #1f2c79 0%, #1f4fb3 42%, #1397dc 100%));
    position: relative;
}

.results-header::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 10px;
    width: 200px;
    height: 200px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 169, 84, 0.36), rgba(255, 169, 84, 0));
    pointer-events: none;
}

.results-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.results-logo-icon {
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.results-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.results-brand-text {
    margin: 0;
    display: inline-block;
    color: #e2edff;
    font-size: clamp(2rem, 4.8vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .results-brand-text {
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

.results-title {
    font-size: clamp(1.7rem, 3.8vw, 2.5rem);
    font-weight: 800;
    color: var(--results-title-color, #ffffff);
    margin-bottom: 0.55rem;
    position: relative;
    z-index: 1;
}

.results-subtitle {
    font-size: 1.02rem;
    color: var(--results-subtitle-color, rgba(255, 255, 255, 0.92));
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.results-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.action-button {
    padding: 0.78rem 1.1rem;
    border-radius: 14px;
    font-weight: 600;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-width: 150px;
    justify-content: center;
}

.action-button.start-over {
    background: var(--results-start-over-bg, rgba(255, 255, 255, 0.94));
    border-color: rgba(255, 255, 255, 0.85);
    color: var(--results-start-over-text, #334155);
}

.action-button.start-over:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

.action-button.get-more {
    background: var(--results-get-more-bg, linear-gradient(135deg, #f97316 0%, #ea580c 100%));
    border-color: #ea580c;
    color: var(--results-get-more-text, #ffffff);
}

.action-button.get-more:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(234, 88, 12, 0.35);
}

.action-button.chat-expert {
    background: var(--results-contact-bg, linear-gradient(135deg, #0f766e 0%, #0d1a33 100%));
    border-color: #0f766e;
    color: var(--results-contact-text, #ffffff);
}

.action-button.chat-expert:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.32);
}

.results-body {
    padding: 1rem;
    background: #f8fbff;
}

.results-query-panel {
    border: 1px solid #d7e3f5;
    background: linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
    border-radius: 14px;
    padding: 0.85rem;
    margin-bottom: 0.9rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.query-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.45rem;
}

.query-meta.secondary {
    margin-top: 0.7rem;
}

.query-title {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #243b60;
    text-transform: uppercase;
}

.query-count {
    min-width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf1ff;
    color: #1e40af;
    font-size: 0.8rem;
    font-weight: 700;
}

.query-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.query-chip {
    border: 1px solid #ccd9ef;
    background: #f8fbff;
    border-radius: 999px;
    padding: 0.26rem 0.62rem;
    font-size: 0.82rem;
    color: #334155;
}

.query-chip.used {
    border-color: #93c5fd;
    background: #e6f0ff;
    color: #1d4ed8;
    font-weight: 600;
}

.gift-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gift-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(245,249,255,0.96) 100%);
    border-radius: 16px;
    padding: 1.15rem;
    border: 1px solid #d9e4f4;
    box-shadow: 0 12px 28px rgba(17, 32, 69, 0.11);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
}

.gift-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.gift-content {
    flex: 1;
}

.gift-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.gift-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
    text-decoration: none;
}

.gift-title:hover {
    color: var(--primary-blue);
}

.gift-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    color: #fbbf24;
    font-size: 1.2rem;
}

.gift-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
}

.gift-tag {
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}

.gift-tag.price {
    background-color: var(--light-orange);
    color: #9d2c14;
}

.gift-tag.availability {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.gift-description {
    color: var(--text-light);
    line-height: 1.45;
    margin-bottom: 0.45rem;
    font-size: 0.96rem;
}

.gift-why-perfect {
    background: linear-gradient(135deg, #ebf0ff 0%, #f4f7ff 100%);
    padding: 0.75rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.gift-why-perfect-title {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gift-why-perfect-text {
    color: var(--text-dark);
    line-height: 1.5;
}

.gift-where-to-buy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.gift-where-to-buy a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.gift-where-to-buy a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideInBreadcrumb {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeOutSlide {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .results-container {
        max-width: 1000px;
    }
    
}

@media (max-width: 768px) {
    .main-headline, .brand-name {
        font-size: 2.5rem;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .brand-text {
        font-size: 2.5rem;
    }
    
    .sub-headline {
        font-size: 1.1rem;
    }
    
    .features-container {
        flex-direction: column;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .homepage-container {
        padding: 1rem;
    }
    
    .step-flow-container, .loading-container, .results-container {
        padding: 1rem;
        max-width: 100%;
    }
    
    .loading-messages {
        max-width: 100%;
        padding: 0 1rem;
        height: 4rem;
    }
    
    .loading-message {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .step-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .step-logo-section {
        justify-content: center;
    }
    
    .step-counter {
        text-align: center;
    }
    
    .step-progress {
        width: 150px;
    }
    
    .step-question {
        font-size: 2rem;
    }
    
    .choices-grid {
        grid-template-columns: 1fr;
    }
    
    .substep-choices-grid {
        grid-template-columns: 1fr;
    }
    
    
    .gift-card {
        flex-direction: column;
        text-align: center;
    }
    
    .gift-image {
        width: 100%;
        height: 200px;
        align-self: center;
    }
    
    .results-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .main-headline, .brand-name {
        font-size: 2rem;
    }
    
    .brand-text {
        font-size: 2rem;
    }
    
    .sub-headline {
        font-size: 1rem;
    }
    
    .loading-messages {
        padding: 0 0.5rem;
        height: 5rem;
    }
    
    .loading-message {
        font-size: 1rem;
        line-height: 1.2;
    }
    
    .features-container {
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-icon-container {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon {
        font-size: 20px;
    }
    
    .feature-icon span {
        font-size: 16px;
        line-height: 19px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .step-question {
        font-size: 1.5rem;
    }
    
    .choice-card {
        padding: 0.4rem;
        min-height: 25px;
        border-radius: 20px;
    }
    
    .choice-icon {
        font-size: 1rem;
    }
    
    .choice-text {
        font-size: 0.7rem;
    }
}

/* Other Input Styles */
.other-input-container {
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlide 0.3s ease forwards;
}

.other-input-wrapper {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--light-orange);
    max-width: 500px;
    margin: 0 auto;
}

.other-input-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.other-input-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light-orange);
    border-radius: 12px;
}

.other-input-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.other-input-field {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.other-input-field input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #F8FAFC;
}

.other-input-field input:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: white;
    box-shadow: 0 0 0 3px rgba(245, 101, 0, 0.1);
}

.other-input-field input::placeholder {
    color: #94A3B8;
}

.other-input-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-orange);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.other-input-submit:hover {
    background: #E55A00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 101, 0, 0.3);
}

.other-input-submit:active {
    transform: translateY(0);
}

.other-input-submit i {
    font-size: 1.1rem;
}

/* Animation for other input */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutSlide {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Responsive styles for other input */
@media (max-width: 768px) {
    .other-input-wrapper {
        padding: 1.25rem;
        margin: 0 1rem;
    }
    
    .other-input-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .other-input-field {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .other-input-field input {
        width: 100%;
    }
    
    .other-input-submit {
        width: 100%;
        height: 44px;
    }
}

/* Take Survey Button */
.take-survey-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #0f766e 0%, #0f172a 100%);
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: slideInRight 0.5s ease forwards, breathe 2s ease-in-out infinite;
    opacity: 0;
    transform: translateX(100px);
}

.take-survey-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 118, 110, 0.34);
}

.survey-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
}

.take-survey-btn i {
    font-size: 16px;
    margin-bottom: 2px;
}

.survey-text {
    font-size: 10px;
    line-height: 1;
    margin: 0;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@media (max-width: 768px) {
    .take-survey-btn {
        bottom: 15px;
        right: 15px;
        width: 60px;
        height: 60px;
        font-size: 11px;
    }
    
    .take-survey-btn i {
        font-size: 14px;
    }
    
    .survey-text {
        font-size: 9px;
    }
}

/* Multi-choice info styling */
.multi-choice-info {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
    animation: fadeInUp 0.3s ease-out;
}

.multi-choice-info i {
    color: var(--primary-blue);
    font-size: 0.8rem;
}

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

/* High traffic message styling */
.loading-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.loading-actions .btn {
    min-width: 140px;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.loading-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.loading-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), #14b8a6);
    border: none;
}

.loading-actions .btn-outline-secondary {
    border-color: var(--text-light);
    color: var(--text-light);
}

.loading-actions .btn-outline-secondary:hover {
    background-color: var(--text-light);
    color: #fff;
    border-color: var(--text-light);
}

.text-warning {
    color: #f59e0b !important;
}

/* Loading screen error state styling */
.loading-content {
    text-align: center;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.loading-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Star Rating Styles */
.gift-rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
    align-items: center;
}

.gift-rating .star {
    color: #ddd;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.gift-rating .star.filled {
    color: #ffd700;
}

.gift-rating .star.half {
    color: #ffd700;
    position: relative;
}

.gift-rating .star.half::after {
    content: 'â˜…';
    position: absolute;
    left: 0;
    top: 0;
    color: #ddd;
    z-index: -1;
}

.gift-rating .rating-text {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
    margin-left: 0.5rem;
}

.loading-message {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.loading-spinner {
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ===== V2 Visual Override: Frontpage Option 2 + Step Option 3 ===== */
.homepage-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 1.4rem;
    opacity: 1;
    transform: none;
    animation: none;
}

.landing-shell {
    width: 100%;
}

.landing-hero {
    border: 1px solid #bfd3f2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.15);
    background: #fff;
}

.landing-top {
    padding: 26px 24px 22px;
    color: #fff;
    position: relative;
    background: var(--home-hero-bg, linear-gradient(140deg, #0f172a 0%, #1e3a8a 44%, #0ea5e9 100%));
}

.landing-top::before {
    content: '';
    position: absolute;
    width: 460px;
    height: 460px;
    right: -140px;
    top: -240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.6), rgba(249, 115, 22, 0));
    pointer-events: none;
}

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

.logo-section {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.logo-icon {
    border-radius: 22px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.3);
}

.brand-text {
    font-family: var(--font-heading, 'Sora', 'Manrope', sans-serif);
    font-size: clamp(1.6rem, 4.8vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 6px 20px rgba(2, 6, 23, 0.35);
}

.main-headline {
    margin: 0;
    font-family: var(--font-heading, 'Sora', 'Manrope', sans-serif);
    font-size: clamp(2rem, 6.8vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: #fff;
}

.sub-headline {
    margin: 12px 0 0;
    color: rgba(240, 248, 255, 0.95);
    max-width: 70ch;
    font-size: 15px;
    font-weight: 500;
}

.cta-buttons {
    margin-top: 16px;
    margin-bottom: 0;
    justify-content: flex-start;
    gap: 10px;
}

.cta-button {
    min-width: 170px;
    max-width: 320px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.34);
}

.cta-button-2 {
    border: 1px solid rgba(255, 255, 255, 0.34) !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.32) !important;
}

.landing-bottom {
    padding: 16px;
    background: linear-gradient(180deg, #f8fbff, #edf4ff);
}

.features-container {
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    opacity: 1;
    animation: none;
}

.feature-card {
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.feature-icon-container {
    width: 44px;
    height: 44px;
    margin: 0 0 10px;
}

.feature-title {
    text-align: left;
    margin-bottom: 4px;
}

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

.step-flow-container {
    min-height: 100vh;
    max-width: 780px;
    padding: 20px;
    background: none;
    border: 0;
    margin-top: 0;
    margin-bottom: 0;
    backdrop-filter: none;
}

.step-shell {
    position: relative;
    border: 1px solid #d5e3f5;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    padding-bottom: 88px;
}

.step-header {
    margin-bottom: 0;
    border-bottom: 0;
    padding: 14px 14px 10px;
    color: #fff;
    background: var(--step-hero-bg, linear-gradient(132deg, #0f172a 0%, #1e40af 48%, #0ea5e9 100%));
}

.step-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
}

.step-brand-name {
    font-size: 1.1rem;
    line-height: 1.1;
}

.step-brand-name a {
    text-decoration: none;
    color: inherit;
}

.step-counter-text {
    color: #dbeafe;
    font-weight: 600;
    margin-bottom: 6px;
}

.step-progress {
    width: 180px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
}

.step-progress-bar {
    border-radius: inherit;
    background: linear-gradient(90deg, #f97316, #0ea5e9);
}

.step-hero {
    padding: 12px 14px 10px;
}

.step-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #1e40af;
    background: #dbeafe;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 5px 10px;
    margin-bottom: 8px;
}

.step-question {
    margin: 0;
    text-align: left;
    font-family: var(--font-heading, 'Sora', 'Manrope', sans-serif);
    font-size: clamp(1.7rem, 5.5vw, 2.55rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.step-context {
    margin: 8px 0 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.multi-choice-info {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #1e3a8a;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    padding: 5px 9px;
}

.step-content {
    padding: 0 14px 14px;
}

.selected-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.selected-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--step-choice-text, #334155);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.selected-count {
    font-size: 12px;
    font-weight: 700;
    color: #1e3a8a;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    padding: 2px 9px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    min-height: 34px;
}

.breadcrumb-chip {
    opacity: 1;
    transform: none;
    animation: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--step-choice-text, #334155);
    border: 1px solid #d9e5f7;
    background: linear-gradient(135deg, #f8fbff, #eff6ff);
    border-radius: 999px;
    padding: 6px 10px;
}

.breadcrumb-chip.empty {
    color: #64748b;
    background: #f8fafc;
    border-style: dashed;
}

.breadcrumb-chip .icon {
    min-width: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.choices-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 0;
}

.choice-card {
    border: 1px solid #dce6f5;
    border-radius: 999px;
    padding: 10px 14px;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
}

.choice-card:hover {
    transform: translateY(-1px);
    border-color: #93c5fd;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.09);
}

.choice-card.selected {
    border-color: #1d4ed8;
    background: linear-gradient(135deg, #eef4ff, #f8fbff);
    box-shadow: 0 10px 20px rgba(29, 78, 216, 0.15);
}

.choice-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #eef5ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.choice-text {
    font-size: 14px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.2;
}

.substep-section {
    margin-top: 14px;
    padding-top: 0;
}

.substep-divider {
    display: none;
}

.substep-title {
    text-align: left;
    margin: 0 0 10px;
    font-size: 1rem;
}

.substep-choices-grid {
    grid-template-columns: 1fr;
}

.substep-choice {
    border-radius: 999px;
}

.other-input-wrapper {
    border: 1px solid #dbeafe;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    padding: 1rem;
}

.step-navigation {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 0;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    border-top: 1px solid #d7e3f5;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    align-items: center;
}

.nav-button {
    border-radius: 12px;
    padding: 11px 12px;
    font-size: 14px;
    justify-content: center;
}

.nav-button.back {
    background: var(--step-nav-back-bg, #eef2f7);
    border-color: var(--step-nav-back-bg, #eef2f7);
    color: var(--step-nav-back-text, #334155);
}

.nav-button.next {
    border-color: #ea580c;
    background: var(--step-nav-next-bg, linear-gradient(135deg, #f97316, #ea580c));
    color: var(--step-nav-next-text, #ffffff);
    box-shadow: 0 10px 18px rgba(249, 115, 22, 0.28);
}

.nav-button.next:disabled {
    box-shadow: none;
}

@media (max-width: 900px) {
    .homepage-container {
        padding: 1rem;
    }

    .logo-section {
        justify-content: flex-start;
        flex-direction: row;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .step-flow-container {
        padding: 10px;
    }
}

/* ===== Exact Step Preview Match (Option 3) ===== */
#stepFlow.step-flow-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px;
    background: transparent;
    border: 0;
}

#stepFlow .step-shell {
    border: 1px solid #d5e3f5;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    padding-bottom: 86px;
    position: relative;
}

#stepFlow .hero {
    padding: 18px;
    color: #fff;
    background: var(--step-hero-bg, linear-gradient(132deg, #0f172a 0%, #1e40af 48%, #0ea5e9 100%));
    position: relative;
}

#stepFlow .hero::after {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.6), transparent 66%);
}

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

#stepFlow .hero-topbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

#stepFlow .hero-site-identity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 4px 6px 4px 10px;
    background: rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(3px);
}

#stepFlow .hero-site-name {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.94);
    letter-spacing: 0.01em;
    line-height: 1;
}

#stepFlow .hero-site-logo {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--logo-bg-gradient, linear-gradient(135deg, #0f766e 0%, #0f172a 100%));
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

#stepFlow .hero-site-logo svg {
    width: 14px;
    height: 14px;
    fill: #ffffff;
}

#stepFlow .step-question {
    margin: 0;
    font-family: var(--font-heading, 'Sora', 'Manrope', sans-serif);
    letter-spacing: -0.03em;
    font-size: clamp(30px, 7vw, 44px);
    line-height: 1.02;
    color: var(--step-question-color, #fff);
    text-align: left;
}

#stepFlow .sub {
    margin: 9px 0 0;
    color: var(--step-hint-color, rgba(240, 248, 255, 0.92));
    font-size: 14px;
    max-width: 52ch;
}

#stepFlow .multi-choice-info {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--step-multi-info-text, #1e3a8a);
    background: var(--step-multi-info-bg, rgba(255, 255, 255, 0.92));
    border: 1px solid var(--step-multi-info-border, #dbeafe);
    border-radius: 999px;
    padding: 5px 9px;
}

#stepFlow .body {
    padding: 14px;
}

#stepFlow .progress-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

#stepFlow .progress-row span {
    font-size: 13px;
    color: var(--step-choice-text, #334155);
    font-weight: 700;
}

#stepFlow .progress {
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 16px;
}

#stepFlow #progressBar {
    height: 100%;
    border-radius: inherit;
    background: var(--step-progress-fill, linear-gradient(90deg, #f97316, #0ea5e9));
}

#stepFlow .selected-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
    min-height: 32px;
}

#stepFlow .sel-badge {
    border: 1px solid #d9e5f7;
    background: linear-gradient(135deg, #f8fbff, #eff6ff);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    color: var(--step-choice-text, #334155);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#stepFlow .sel-badge.empty {
    color: #64748b;
    background: #f8fafc;
    border-style: dashed;
}

#stepFlow .sel-badge .icon {
    min-width: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#stepFlow .pill-list {
    display: grid;
    gap: 10px;
}

#stepFlow .choice-card.pill {
    border: 1px solid var(--step-choice-border, #dce6f5);
    border-radius: 999px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--step-choice-bg, #fff);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
    min-height: 62px;
}

#stepFlow .choice-card.pill:hover {
    border-color: var(--step-choice-hover-border, #c2d5f7);
    background: var(--step-choice-hover-bg, #fff);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
    transform: none;
}

#stepFlow .choice-card.pill.selected {
    border-color: var(--step-choice-selected-border, #1d4ed8);
    background: var(--step-choice-selected-bg, linear-gradient(135deg, #eef4ff, #f8fbff));
    box-shadow: 0 10px 20px rgba(29, 78, 216, 0.15);
}

#stepFlow .choice-card.pill .left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

#stepFlow .choice-card.pill .emoji {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #eef5ff;
    display: grid;
    place-items: center;
    font-size: 17px;
    flex-shrink: 0;
}

#stepFlow .choice-card.pill .txt strong {
    display: block;
    font-size: 14px;
    color: var(--step-choice-text, #0f172a);
    line-height: 1.2;
}

#stepFlow .choice-card.pill .txt span {
    display: block;
    font-size: 12px;
    color: var(--step-choice-subtext, #64748b);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 420px;
}

#stepFlow .choice-card.pill .check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--step-choice-check-border, #cbd5e1);
    display: grid;
    place-items: center;
    font-size: 12px;
    color: transparent;
    flex-shrink: 0;
}

#stepFlow .choice-card.pill.selected .check {
    border-color: var(--step-choice-selected-border, #1d4ed8);
    background: var(--step-choice-check-bg, #1d4ed8);
    color: var(--step-choice-check-icon, #ffffff);
}

@media (max-width: 560px) {
    #stepFlow .hero-site-name {
        font-size: 11px;
    }
}

#stepFlow .sticky-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    border-top: 1px solid #d7e3f5;
    padding: 10px 14px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
}

#stepFlow .sticky-nav .btn {
    border: 0;
    border-radius: 12px;
    padding: 11px 12px;
    font-size: 14px;
    font-weight: 700;
}

#stepFlow .sticky-nav .btn.back {
    background: var(--step-nav-back-bg, #eef2f7);
    color: var(--step-nav-back-text, #334155);
}

#stepFlow .sticky-nav .btn.next {
    color: var(--step-nav-next-text, #ffffff);
    background: var(--step-nav-next-bg, linear-gradient(135deg, #f97316, #ea580c));
    box-shadow: 0 10px 18px rgba(249, 115, 22, 0.28);
}

