:root {
    --primary-color: #af5e41;
    /* Rustic Orange */
    --primary-hover: #8f4b33;
    --text-dark: #2C3E50;
    --text-muted: #6c757d;
    --bg-light: #F9F9F9;
    --card-bg: #FFFFFF;
    --border-color: #e0e0e0;
    --selected-bg: #fff0f5;
    --success-color: #28a745;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --font-family: 'Outfit', sans-serif;
    --nav-height: 70px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--nav-height);
    /* Space for fixed nav */
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
}

.nav-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.price-display {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 10px rgba(175, 94, 65, 0.2);
    transition: transform 0.2s;
}

.price-display:hover {
    transform: scale(1.05);
}

.app-container {
    width: 100%;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* Ensure footer stays at bottom */
    position: relative;
    padding-bottom: 20px;
}

/* Wizard Container */
.wizard-container {
    width: 100%;
    max-width: 900px;
    padding: 40px 20px;
    flex-grow: 1;
    /* Takes available space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Centers content vertically */
}

/* Step Styles */
.step-container {
    width: 100%;
    text-align: center;
    animation: fadeIn 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Horizontally center contents */
}

.step-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Options Grid */
.options-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}

/* Option Card */
.option-card {
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 20px;
    width: 160px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.option-card.selected {
    border-color: var(--primary-color);
    background-color: var(--selected-bg);
}

.option-icon {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    transition: color 0.3s;
}

.option-card.selected .option-icon {
    color: var(--primary-color);
}

.option-label {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Checkmark Overlay */
.check-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.option-card.selected .check-overlay {
    display: flex;
}

/* Quantity Selectors */
.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    background: #eef2f5;
    padding: 4px 8px;
    border-radius: 20px;
}

.qty-btn {
    background: white;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-dark);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-size: 0.9rem;
}

.qty-btn:hover {
    background: #dcdcdc;
}

.qty-val {
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 15px;
}

/* Footer Buttons (Wizard Navigation) */
.wizard-footer {
    width: 100%;
    max-width: 900px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 40px;
    /* Raised to make room for copyright footer if needed, or overlap */
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    z-index: 900;
    pointer-events: none;
}

.wizard-footer>* {
    pointer-events: auto;
}

.nav-btn {
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-family);
    display: flex;
    align-items: center;
    gap: 10px;
}

.next-btn {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(209, 27, 80, 0.3);
}

.next-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.prev-btn {
    background-color: white;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
}

.prev-btn:hover {
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
}

.hidden {
    display: none;
}

/* App Footer (Copyright) */
.app-footer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 15px;
    width: 100%;
    background-color: var(--bg-light);
    /* Matches body */
    /* z-index: 100; // Below nav buttons */
}

.developer-name {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-name:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }

    60% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

/* Intro Button Large */
.intro-btn {
    font-size: 1.3rem;
    padding: 18px 40px;
    margin-top: 2rem;
    /* Center it specifically if needed, but flex takes care */
}

/* Binary Options (Yes/No) larger */
.binary-option-card {
    width: 200px;
    padding: 25px;
}

.option-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.option-card:hover .option-image {
    transform: scale(1.1);
}

/* Price Tooltip */
.card-price-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
    white-space: nowrap;
}

.option-card:hover .card-price-overlay {
    opacity: 1;
}

/* Custom Toast Notification */
.toast-container {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #af5e41;
    /* Primary color */
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    z-index: 2000;
    box-shadow: 0 10px 25px rgba(209, 27, 80, 0.4);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.4s;
    opacity: 0;
    pointer-events: none;
}

/* Success View */
.success-view {
    text-align: center;
    padding: 40px 20px;
    animation: slideIn 0.5s ease-out;
}

.toast-container.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.success-icon {
    font-size: 80px;
    color: #2ecc71;
    margin-bottom: 24px;
    display: block;
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-title {
    font-size: 32px;
    margin-bottom: 16px;
    color: #2C3E50;
}

.success-msg {
    font-size: 18px;
    color: #555;
    margin-bottom: 8px;
}

.success-subtitle {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 30px;
}

@keyframes scaleUp {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
}

.toast-content i {
    font-size: 1.2rem;
}

/* Summary Page Styles */
.summary-page {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.summary-subtitle {
    font-size: 18px;
    color: #2C3E50;
    margin-bottom: 10px;
}

.summary-main-price {
    font-size: 42px;
    font-weight: 700;
    color: #af5e41;
    margin-bottom: 30px;
}

.summary-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    text-align: left;
}

.summary-form-group {
    display: flex;
    flex-direction: column;
}

.summary-form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #7f8c8d;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.summary-form-group input {
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    font-family: inherit;
    font-size: 15px;
    background: transparent;
    outline: none;
    transition: border-color 0.3s;
}

.summary-form-group input:focus {
    border-color: #af5e41;
}

.summary-table-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #2C3E50;
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.summary-table th {
    background: #af5e41;
    color: white;
    padding: 12px;
    font-weight: 600;
    text-align: center;
}

.summary-table th:first-child {
    text-align: left;
}

.summary-table td {
    padding: 15px;
    border: 1px solid #eee;
    text-align: center;
}

.summary-table td:first-child {
    text-align: left;
}

.category-row {
    background: #2C3E50;
}

.category-row td {
    color: white !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    padding: 8px 15px !important;
}

.table-opt-price {
    font-size: 12px;
    color: #7f8c8d;
}

.table-opt-label {
    font-weight: 600;
    color: #2C3E50;
}

.total-cell {
    color: #af5e41;
    font-weight: 700;
    font-size: 18px;
}

.terms-box {
    border: 2px solid #2C3E50;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    background: #fdfdfd;
}

.terms-content {
    max-height: 120px;
    overflow-y: auto;
    font-size: 11px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
    padding-right: 10px;
}

/* Custom Scrollbar for Terms */
.terms-content::-webkit-scrollbar {
    width: 10px;
}

.terms-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.terms-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.acceptance-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.terms-label {
    font-size: 14px;
    font-weight: 600;
    color: #2C3E50;
}

/* Switch Styling */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2ecc71;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2ecc71;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.summary-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.done-btn {
    background: #af5e41;
    color: white;
    border: none;
    padding: 12px 60px;
    border-radius: 4px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s, background 0.3s;
}

.done-btn:hover {
    background: #b01643;
    transform: translateY(-2px);
}

.whatsapp-btn {
    background: #25D366 !important;
}

.whatsapp-btn:hover {
    background: #128C7E !important;
}

.back-link {
    font-size: 14px;
    color: #7f8c8d;
    cursor: pointer;
    transition: color 0.3s;
}

/* Intro Grid Styles */
.intro-grid {
    margin: 60px 0 40px;
    width: 100%;
}

.intro-header {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.intro-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.intro-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.intro-col {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Premium soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.intro-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.intro-icon {
    font-size: 32px;
    color: white;
    background: var(--primary-color);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(175, 94, 65, 0.3);
}

.intro-col h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: serif;
    font-weight: 600;
}

.intro-col p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    font-weight: 300;
}

/* Deliverables Box */
.deliverables-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.deliverables-box h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deliverables-list {
    list-style: none;
    padding: 0;
}

.deliverables-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #444;
}

.deliverables-list li i {
    color: var(--primary-color);
}