:root {
    --color-primary: #123456;
    /* Navy Blue */
    --color-primary-light: #1A4A7A;
    --color-accent: #E53E3E;
    /* Bold Red for CTAs */
    --color-accent-hover: #C53030;
    --color-accent-blue: #3182CE;
    --color-bg: #F7FAFC;
    /* Light gray */
    --color-white: #FFFFFF;
    --color-text: #2D3748;
    --color-text-muted: #718096;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- BUTTONS --- */
.cta-primary,
.cta-secondary {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
}

.cta-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(229, 62, 62, 0.4);
}

.cta-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.5);
}

.cta-secondary {
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 100%;
}

.cta-secondary:hover {
    background-color: var(--color-primary-light);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(229, 62, 62, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* --- NAVIGATION --- */
.top-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 48px;
    width: auto;
}

.nav-brand-name {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-family: 'Outfit', sans-serif;
}

.nav-cta {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .nav-cta {
        display: none;
    }

    .nav-brand-name {
        font-size: 1.25rem;
    }
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/hero_bg_edited.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0 140px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(18, 52, 86, 0.95) 0%, rgba(18, 52, 86, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-headline {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero-headline .highlight {
    color: #FFD700;
    /* Gold */
}

.hero-subheadline {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-bullets {
    list-style: none;
    text-align: left;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 16px 40px;
    margin: 0 auto 40px auto;
    width: fit-content;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.05);
    padding: 24px 32px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-bullets li {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 500;
}

.hero-bullets li svg {
    width: 24px;
    height: 24px;
    color: #FFD700;
    margin-right: 12px;
}

.microtext {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 12px;
}

/* --- PRICE PACKAGE SECTION --- */
.price-package {
    padding: 20px 0 80px 0;
    position: relative;
    z-index: 10;
    margin-top: -100px;
}

.package-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 16px;
}

@media (min-width: 992px) {
    .package-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }
}

.package-card {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card.standard {
    box-shadow: var(--shadow-md);
    margin-top: 40px;
    /* Align slightly lower than featured */
}

.package-card.standard .package-header {
    background: #F7FAFC;
    color: var(--color-text);
}

.package-card.standard .package-price {
    color: var(--color-primary);
}

.package-card.featured {
    border: 2px solid var(--color-accent);
    z-index: 2;
}

@media (min-width: 992px) {
    .package-card.featured {
        transform: scale(1.05);
    }

    .package-card.featured:hover {
        transform: scale(1.08);
        /* slight extra bump on hover */
    }
}

.package-header {
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 40px 16px 32px;
    /* Slight horizontal padding reduction */
    position: relative;
    border-radius: 20px 20px 0 0;
}

.package-header h2 {
    font-size: 1.5rem;
    /* Reduced from 1.75 to help avoid wrapping */
    margin-bottom: 8px;
    line-height: 1.3;
}

.package-tag {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    transform: translateY(-50%);
    /* Keeps it perfectly centered on top edge */
    background: var(--color-accent);
    color: var(--color-white);
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.875rem;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    /* Prevent tag text from wrapping */
}

.package-price {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 8px;
    color: #FFD700;
    line-height: 1;
}

.package-desc {
    font-size: 1rem;
    opacity: 0.9;
}

.package-body {
    padding: 40px 32px;
}

.package-includes {
    list-style: none;
    margin-bottom: 32px;
}

.package-includes li {
    padding: 12px 0;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.package-includes li:last-child {
    border-bottom: none;
}

.package-includes li::before {
    content: '✓';
    color: var(--color-accent-blue);
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.25rem;
}

/* --- SCARCITY SECTION --- */
.scarcity {
    background-color: #FFF5F5;
    border-top: 2px solid #FED7D7;
    border-bottom: 2px solid #FED7D7;
    padding: 40px 0;
    text-align: center;
}

.scarcity h2 {
    color: var(--color-accent);
    font-size: 2rem;
    margin-bottom: 16px;
}

.scarcity p {
    font-size: 1.125rem;
    margin-bottom: 24px;
    color: var(--color-text);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

/* --- TRUST SECTION --- */
.trust {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 48px;
    color: var(--color-primary);
}

.trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 64px;
}

.trust-item {
    background: var(--color-white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    flex: 1;
    min-width: 180px;
    max-width: 200px;
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-item h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.trust-item p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--color-accent-blue);
    font-style: italic;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(49, 130, 206, 0.1);
    font-family: serif;
}

.reviewer {
    margin-top: 16px;
    font-weight: 700;
    font-style: normal;
    color: var(--color-primary);
}

/* --- BEFORE/AFTER SECTION --- */
.transformation {
    padding: 80px 0;
    background-color: var(--color-white);
}

.transformation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.transformation-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66.66%;
    /* 3:2 Aspect Ratio */
    background: #E2E8F0;
}

.placeholder-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.before-img {
    background: url('images/before.png') center/cover;
}

.after-img {
    background: url('images/after.png') center/cover;
}

.placeholder-img span {
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 24px;
    border-radius: 8px;
}

/* --- FORM SECTION & WIZARD --- */
.form-section {
    padding: 80px 0 300px 0;
    background-color: var(--color-bg);
    color: var(--color-text);
}

.flex-center {
    display: flex;
    justify-content: center;
}

.form-card {
    background: var(--color-white);
    color: var(--color-text);
    padding: 64px 48px 48px 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 650px;
    border: 1px solid #E2E8F0;
    position: relative;
    overflow: hidden;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h2 {
    color: var(--color-text);
    font-size: 2rem;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--color-text-muted);
}

/* Wizard Progress Bar */
.wizard-progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: #EDF2F7;
}

.wizard-progress-bar {
    height: 100%;
    background-color: var(--color-accent);
    width: 20%;
    /* Initial width */
    transition: width 0.4s ease-in-out;
}

/* Wizard Steps */
.wizard-step {
    display: none;
    animation: slideIn 0.4s ease-out;
}

.wizard-step.active {
    display: block;
}

.wizard-step h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    text-align: center;
    color: var(--color-primary);
}

.step-desc {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

/* Selectable Radio Cards */
.radio-card-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.radio-card-grid.col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.radio-card-grid.col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.radio-card {
    cursor: pointer;
    position: relative;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 12px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    background-color: var(--color-white);
    transition: all 0.2s ease;
    height: 100%;
    min-height: 90px;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.card-title {
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--color-text);
}

.card-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.radio-card:hover .card-content {
    border-color: #CBD5E0;
    background-color: #F7FAFC;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Checked State */
.radio-card input[type="radio"]:checked+.card-content {
    border-color: var(--color-accent-blue);
    background-color: rgba(49, 130, 206, 0.05);
    box-shadow: 0 0 0 1px var(--color-accent-blue);
}

.radio-card input[type="radio"]:checked+.card-content::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-accent-blue);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Checkbox Cards for Multi-select */
.checkbox-card {
    cursor: pointer;
    position: relative;
}

.checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-card:hover .card-content {
    border-color: #CBD5E0;
    background-color: #F7FAFC;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.checkbox-card input[type="checkbox"]:checked+.card-content {
    border-color: var(--color-accent-blue);
    background-color: rgba(49, 130, 206, 0.05);
    box-shadow: 0 0 0 1px var(--color-accent-blue);
}

.checkbox-card input[type="checkbox"]:checked+.card-content::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-accent-blue);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Standard Inputs */
.standard-input {
    margin-bottom: 24px;
}

.standard-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.standard-input input {
    width: 100%;
    padding: 16px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1.125rem;
    transition: all 0.2s;
}

.standard-input input:focus {
    outline: none;
    border-color: var(--color-accent-blue);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

/* Wizard Footer Navigation */
.wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E2E8F0;
}

.btn-back {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    font-size: 1rem;
    padding: 8px;
    transition: color 0.2s;
    visibility: hidden;
    /* Hidden on step 1 */
}

.btn-back:hover {
    color: var(--color-text);
}

.btn-next,
.btn-submit {
    min-width: 160px;
}

.hidden {
    display: none !important;
}

#formSuccess {
    text-align: center;
    padding: 24px 0;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

/* --- FOOTER --- */
footer {
    background-color: #0d263b;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 32px 0;
    font-size: 0.875rem;
}

/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-container {
    background: var(--color-white);
    width: 90%;
    max-width: 800px;
    height: 80vh;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #E2E8F0;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--color-text);
}

.modal-body {
    flex-grow: 1;
    overflow: hidden;
    background: #f8fafc;
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-bullets {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .package-price {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .form-card {
        padding: 32px 24px;
    }

    /* Mobile Form Cards Optimization */
    .radio-card-grid.col-2,
    .radio-card-grid.col-3 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .card-content {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 16px 20px;
        min-height: auto;
    }

    .card-icon {
        margin-bottom: 0;
        margin-right: 16px;
        font-size: 1.75rem;
    }

    .card-title {
        font-size: 1rem;
    }
}