* {
    box-sizing: border-box;
}

:root {
    --bg-dark: #07111f;
    --bg-mid: #0f172a;
    --bg-light: #11233f;
    --green: #22c55e;
    --green-dark: #16a34a;
    --blue: #38bdf8;
    --white: #ffffff;
    --text-soft: rgba(255,255,255,0.78);
    --text-faint: rgba(255,255,255,0.58);
    --card: rgba(255,255,255,0.10);
    --card-strong: rgba(255,255,255,0.14);
    --border: rgba(255,255,255,0.16);
    --shadow: 0 24px 70px rgba(0,0,0,0.28);
    --input-bg: rgba(255,255,255,0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 90px;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    min-height: 100vh;
    color: var(--white);
    background:
            radial-gradient(circle at 15% 20%, rgba(34,197,94,0.22), transparent 30%),
            radial-gradient(circle at 85% 25%, rgba(56,189,248,0.18), transparent 28%),
            radial-gradient(circle at 50% 85%, rgba(34,197,94,0.12), transparent 30%),
            linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-mid) 45%, var(--bg-light) 100%);
    overflow-x: hidden;
    position: relative;
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.55;
    pointer-events: none;
    animation: floatOrb 10s ease-in-out infinite;
    z-index: 0;
}

.orb-1 {
    width: 280px;
    height: 280px;
    background: rgba(34,197,94,0.18);
    top: 8%;
    left: -60px;
}

.orb-2 {
    width: 220px;
    height: 220px;
    background: rgba(56,189,248,0.16);
    top: 58%;
    right: -50px;
    animation-delay: 1.5s;
}

.orb-3 {
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.08);
    bottom: 12%;
    left: 12%;
    animation-delay: 3s;
}

.page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 18px 50px;
    position: relative;
    z-index: 2;
}

.hero {
    text-align: center;
    padding: 52px 16px 34px;
    animation: fadeUp 0.8s ease both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.92);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero h1 {
    margin: 0 0 14px;
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.hero p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-highlights {
    margin: 26px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 980px;
}

.hero-pill {
    text-align: left;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeUp 0.8s ease both;
}

.hero-pill strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.98rem;
}

.hero-pill span {
    color: var(--text-soft);
    font-size: 0.93rem;
    line-height: 1.5;
}

.content {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 22px;
    align-items: start;
}

.main,
.sidebar {
    min-width: 0;
}

.sidebar {
    align-self: start;
    position: sticky;
    top: 130px;
    height: fit-content;
}

.card {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 28px 24px;
    margin-bottom: 20px;
    animation: cardIn 0.8s cubic-bezier(.2,.8,.2,1) both;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 40%, rgba(34,197,94,0.06));
    pointer-events: none;
}

.card > * {
    position: relative;
    z-index: 1;
}

.top-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 160px;
    background: radial-gradient(circle, rgba(34,197,94,0.22), transparent 68%);
    filter: blur(24px);
    pointer-events: none;
}

.small-glow {
    width: 240px;
    height: 100px;
    top: -50px;
}

.card h2 {
    margin: 0 0 16px;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.step {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #8df0b1;
    font-weight: 700;
    margin-bottom: 10px;
}

.card p.section-copy {
    margin: -4px 0 18px;
    color: var(--text-soft);
    line-height: 1.6;
    font-size: 0.95rem;
}

label {
    display: block;
    margin-bottom: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    background: rgba(255,255,255,0.06);
    color: white;
}

label:hover {
    transform: translateY(-2px);
    border-color: rgba(34,197,94,0.45);
    background: rgba(34,197,94,0.10);
    box-shadow: 0 12px 24px rgba(0,0,0,0.16);
}

label.option-selected {
    border-color: rgba(34,197,94,0.70);
    background: rgba(34,197,94,0.14);
    box-shadow: 0 0 0 1px rgba(34,197,94,0.20), 0 14px 28px rgba(0,0,0,0.16);
}

label span {
    display: inline-block;
    vertical-align: middle;
    font-weight: 600;
}

input[type="radio"] {
    accent-color: var(--green);
    margin-right: 10px;
    transform: scale(1.08);
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 14px 15px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    font-size: 14px;
    color: white;
    background: rgba(255,255,255,0.08);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-sizing: border-box;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255,255,255,0.42);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(34,197,94,0.60);
    box-shadow: 0 0 0 4px rgba(34,197,94,0.14);
    background: rgba(255,255,255,0.11);
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    border: 0;
    border-radius: 18px;top: 120px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    box-shadow: 0 18px 36px rgba(34,197,94,0.28);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(34,197,94,0.34);
    filter: brightness(1.03);
}

.submit-btn:active {
    transform: translateY(0);
}

.sidebar {
    align-self: start;
    position: sticky;
    top: 65px;
    height: fit-content;
}

.summary-card {
    position: relative;
    width: 100%;
    margin-top: 0;
}

.summary-total {
    margin-top: 18px;
    padding: 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(34,197,94,0.18), rgba(15,23,42,0.7));
    border: 1px solid rgba(34,197,94,0.20);
    text-align: center;
}

.summary-total small {
    display: block;
    color: rgba(255,255,255,0.74);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
}

.summary-total strong {
    font-size: 2rem;
    letter-spacing: -0.04em;
}

#quoteSummary {
    line-height: 1.8;
    color: rgba(255,255,255,0.88);
    font-size: 14px;
}

#quoteSummary .line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

#quoteSummary .line:last-child {
    border-bottom: 0;
}

#quoteSummary .label {
    color: rgba(255,255,255,0.72);
}

#quoteSummary .value {
    font-weight: 700;
    text-align: right;
}

.summary-note {
    margin-top: 14px;
    color: rgba(255,255,255,0.58);
    font-size: 0.9rem;
    line-height: 1.6;
}

hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.10);
    margin: 14px 0;
}

.fade-in {
    animation: fadeUp 0.6s ease both;
}

.hidden-section {
    display: none;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatOrb {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-18px) translateX(10px);
    }
}

@media (max-width: 980px) {
    .content {
        grid-template-columns: 1fr;
    }

    .summary-card {
        position: static;
        top: auto;
    }
}

@media (max-width: 760px) {
    .page {
        padding: 14px 12px 34px;
    }

    .hero {
        padding: 34px 8px 24px;
    }

    .hero p {
        font-size: 0.98rem;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 20px 18px;
        border-radius: 24px;
    }

    .submit-btn {
        padding: 16px;
    }

    .summary-total strong {
        font-size: 1.7rem;
    }
}

/* FORCE image cards to stay normal size */
.image-grid {
    display: grid !important;
    gap: 16px !important;
}

.image-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.image-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.image-option {
    display: block !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    max-width: 100% !important;
}

.image-option:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(34,197,94,0.5) !important;
    box-shadow: 0 14px 28px rgba(0,0,0,0.18) !important;
}

.image-option img {
    display: block !important;
    width: 100% !important;
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    border: 0 !important;
    transition: transform 0.3s ease !important;
}

.image-option:hover img {
    transform: scale(1.05) !important;
}

.image-option span {
    display: block !important;
    padding: 14px 16px 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.4 !important;
}

.image-option input[type="radio"] {
    display: none !important;
}

.image-option.option-selected {
    border: 2px solid #22c55e !important;
    background: rgba(34,197,94,0.10) !important;
    box-shadow: 0 0 0 1px rgba(34,197,94,0.24), 0 18px 30px rgba(0,0,0,0.20) !important;
}

.simple-choice-grid label {
    display: block !important;
    margin-bottom: 0 !important;
}

@media (max-width: 900px) {
    .image-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 700px) {
    .image-grid-2,
    .image-grid-3 {
        grid-template-columns: 1fr !important;
    }

    .image-option img {
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
    }
}