/* ════════════════════════════════════════════════════════════════════════ */
/* SURVEY PAGE STYLES                                                       */
/* ════════════════════════════════════════════════════════════════════════ */

/* ── Survey Section (Full-Width Background, Side-by-Side) ──────────────── */
.survey-section {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    margin-top: 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
    padding-top: 100px;
}

/* Dark overlay over entire background */
.survey-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 10, 10, 0.88) 0%,
        rgba(10, 10, 10, 0.72) 45%,
        rgba(10, 10, 10, 0.55) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* ── Survey Hero Section (Left Side) ───────────────────────────────────── */
.survey-hero {
    position: relative;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding: 100px 50px 60px;
}

/* Remove old overlay since section has the overlay now */
.survey-hero-overlay {
    display: none;
}

.survey-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 480px;
    width: 100%;
}

.survey-hero-content h1 {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.text-gold {
    color: #D4A029;
}

.survey-hero-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    margin-bottom: 32px;
}

/* ── Survey Hero Features ──────────────────────────────────────────────── */
.survey-hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.feature-item i {
    color: #D4A029;
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* ── Google Review Badge ───────────────────────────────────────────────── */
.google-review-badge {
    background: white;
    border-radius: 10px;
    padding: 14px 20px;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.review-header {
    margin-bottom: 6px;
}

.google-logo {
    height: 20px;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
}

.stars {
    font-weight: 700;
    color: #0D0D0D;
    font-size: 1.1rem;
}

.stars i {
    color: #FFA500;
    font-size: 0.9rem;
}

.review-text {
    font-size: 0.75rem;
    color: #666;
}

/* ── Survey Container (Right Side) ────────────────────────────────────── */
.survey-container {
    width: 50%;
    padding: 30px 40px 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ── Survey Wrapper (The Card) ─────────────────────────────────────────── */
.survey-wrapper {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Let it size naturally — no fixed max-height that causes scrolling */
}

/* ── Survey Card Header (Logo) ────────────────────────────────────────── */
.survey-card-header {
    padding: 16px 32px;
    background: var(--dark, #0D0D0D);
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.survey-card-logo {
    width: 25%;
    object-fit: contain;
}

/* ── Progress Bar ──────────────────────────────────────────────────────── */
.survey-progress {
    padding: 16px 32px 10px;
    background: white;
    flex-shrink: 0;
}

.progress-bar {
    height: 4px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: #D4A029;
    transition: width 0.4s ease;
}

.progress-text {
    font-size: 0.82rem;
    color: #555;
    text-align: center;
    font-weight: 500;
}

/* ── Form Container ───────────────────────────────────────────────────── */
.survey-form {
    padding: 20px 32px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    /* No overflow/scroll — everything visible naturally */
}

.question-container {
    flex: 1;
}

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

.question-container {
    animation: fadeIn 0.3s ease;
}

/* ── Question Content ──────────────────────────────────────────────────── */
.question-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.question-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0D0D0D;
    margin: 0;
    line-height: 1.3;
}

.question-hint {
    font-size: 0.88rem;
    color: #888;
    margin: 0;
    font-style: italic;
}

/* ── Answer Options ───────────────────────────────────────────────────── */
.question-answers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 2px solid #D4A029;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    color: #0D0D0D;
    font-weight: 600;
    min-height: 44px;
}

.option-label:hover {
    background: #D4A029;
    color: white;
    border-color: #0D0D0D;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.option-label.selected,
.option-label.radio input[type="radio"]:checked ~ *,
.option-label.checkbox input[type="checkbox"]:checked ~ * {
    background: #D4A029;
    border-color: #0D0D0D;
}

.option-input {
    display: none;
}

.option-text {
    font-size: 0.95rem;
    color: #0D0D0D;
    cursor: pointer;
    flex: 1;
    text-align: center;
}

/* ── Form Inputs ──────────────────────────────────────────────────────── */
.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    background: white;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #D4A029;
    background: rgba(212, 160, 41, 0.02);
}

.form-input::placeholder {
    color: #aaa;
}

/* ── Consent Checkbox ──────────────────────────────────────────────────── */
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.consent-label:hover {
    border-color: #D4A029;
    background: rgba(212, 160, 41, 0.02);
}

.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #D4A029;
}

.consent-label span {
    font-size: 0.88rem;
    color: #444;
    line-height: 1.5;
    cursor: pointer;
}

/* ── Navigation Buttons ────────────────────────────────────────────────── */
.survey-navigation {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 16px 32px;
    background: white;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
    margin-top: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-gold {
    background: #D4A029;
    color: #0D0D0D;
    flex: 1;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-gold:hover {
    background: #b8891f;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(212, 160, 41, 0.4);
}

.btn-secondary {
    background: #0D0D0D;
    color: white;
    border: 2px solid #0D0D0D;
}

.btn-secondary:hover {
    background: #1a1a1a;
    border-color: #D4A029;
}

/* ── Error Message ────────────────────────────────────────────────────── */
.error-message {
    background: #fee;
    border-left: 4px solid #e74c3c;
    color: #c0392b;
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    animation: slideDown 0.3s ease;
}

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

/* ════════════════════════════════════════════════════════════════════════ */
/* RESULTS PAGE STYLES                                                      */
/* ════════════════════════════════════════════════════════════════════════ */

.survey-results {
    padding: 28px 32px;
    overflow-y: auto;
}

.results-header {
    text-align: center;
    margin-bottom: 24px;
}

.results-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0D0D0D;
    margin: 0 0 8px 0;
}

.results-header h2 span {
    color: #D4A029;
}

.results-header p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* ── Price Cards ──────────────────────────────────────────────────────── */
.results-cards {
    margin-bottom: 24px;
}

.price-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 28px;
    transition: all 0.3s ease;
}

.price-card.main-card {
    border-color: #D4A029;
    box-shadow: 0 8px 32px rgba(212, 160, 41, 0.15);
    animation: popIn 0.4s ease;
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

.card-header {
    text-align: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0D0D0D;
    margin: 0 0 6px 0;
}

.card-tagline {
    font-size: 0.82rem;
    color: #D4A029;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
}

.card-features {
    margin: 20px 0;
}

.card-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #333;
}

.card-features i {
    color: #D4A029;
    font-size: 1rem;
}

.card-pricing {
    text-align: center;
    padding: 20px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
}

.price-label {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 8px 0;
}

.price-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #D4A029;
    margin: 0;
}

.price-material {
    font-size: 0.95rem;
    color: #999;
    margin: 6px 0 0 0;
}

.card-timer {
    text-align: center;
    margin: 20px 0;
}

.card-timer p {
    font-size: 0.82rem;
    color: #999;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-item span {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #D4A029;
    line-height: 1;
    margin-bottom: 4px;
}

.countdown-item label {
    font-size: 0.72rem;
    color: #999;
    font-weight: 600;
    text-transform: lowercase;
}

.card-cta-text {
    font-size: 0.88rem;
    color: #0D0D0D;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
}

.card-disclaimer {
    font-size: 0.82rem;
    color: #999;
    text-align: center;
    margin: 16px 0 0 0;
    line-height: 1.5;
}

.card-disclaimer strong {
    color: #0D0D0D;
}

.results-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.results-footer .btn {
    width: 100%;
}

/* ════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE DESIGN                                                        */
/* ════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
    .survey-hero-content h1 {
        font-size: 2rem;
    }

    .survey-hero {
        padding: 40px 30px;
    }

    .survey-container {
        padding: 30px 20px 30px 10px;
    }
}

@media (max-width: 900px) {
    .survey-section {
        flex-direction: column;
        min-height: 100vh;
        height: auto;
        background-attachment: scroll;
    }

    .survey-section::before {
        background: rgba(10, 10, 10, 0.82);
    }

    .survey-hero {
        width: 100%;
        padding: 40px 24px 32px;
        min-height: auto;
        justify-content: flex-start;
    }

    .survey-hero-content {
        max-width: 100%;
        text-align: center;
    }

    .survey-hero-content h1 {
        font-size: 1.8rem;
        text-align: center;
    }

    .survey-hero-content p {
        text-align: center;
    }

    .survey-hero-features {
        align-items: center;
    }

    .google-review-badge {
        margin: 0 auto;
    }

    .survey-container {
        width: 100%;
        padding: 20px 16px 40px;
    }

    .survey-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .survey-hero {
        padding: 30px 16px 24px;
    }

    .survey-hero-content h1 {
        font-size: 1.5rem;
    }

    .survey-hero-content p {
        font-size: 0.88rem;
    }

    .survey-card-header {
        padding: 14px 20px;
    }

    .survey-card-logo {
        height: 36px;
    }

    .survey-progress {
        padding: 14px 20px 8px;
    }

    .survey-form {
        padding: 16px 20px 0;
    }

    .survey-navigation {
        padding: 14px 20px;
        flex-direction: column-reverse;
        gap: 8px;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
    }

    .question-title h2 {
        font-size: 1.1rem;
    }

    .option-label {
        padding: 10px 14px;
        min-height: 40px;
    }

    .option-text {
        font-size: 0.88rem;
    }

    .form-input {
        font-size: 16px;
        padding: 11px 12px;
    }

    .survey-results {
        padding: 20px 20px;
    }

    .results-header h2 {
        font-size: 1.3rem;
    }

    .price-card {
        padding: 20px;
    }

    .price-amount {
        font-size: 1.8rem;
    }

    .countdown-item span {
        font-size: 1.2rem;
    }
}