:root {
    --bg-color: #f8fafc;
    /* Very light gray/white */
    --text-color: #040608;
    /* Hotel Linkage Black */
    --text-muted: #4a5568;
    /* Muted gray */
    --primary-color: #040608;
    /* Hotel Linkage Black */
    --primary-hover: #1a1a1a;
    --accent-color: #C59D46;
    /* Hotel Linkage Gold */
    --accent-hover: #B08A3D;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --card-radius: 16px;
    --transition-speed: 0.2s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Source Sans Pro', 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Removed Background Blobs */
.background-blobs {
    display: none;
}

/* App Container */
.app-container {
    width: 100%;
    max-width: 900px;
    padding: 20px;
    position: relative;
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 10px;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.text-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition-speed);
}

.text-btn:hover {
    background: #f1f5f9;
    color: var(--primary-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.icon-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-speed);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.icon-btn:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Clean Panel (Replaces Glass) */
.glass-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
    padding: 40px;
}

/* Manifesto Styles */
.manifesto-intro {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.6;
}

.manifesto-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.manifesto-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.manifesto-list .icon {
    width: 40px;
    height: 40px;
    background: #f0f9ff;
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.manifesto-list .text strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1rem;
}

.manifesto-list .text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Wizard Card */
.wizard-card {
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.wizard-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    height: 40px;
}

.back-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition-speed);
    margin-right: 15px;
}

.back-btn:hover {
    color: var(--primary-color);
    transform: translateX(-3px);
}

.back-btn.hidden {
    display: none;
}

.progress-indicator {
    flex-grow: 1;
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Wizard Content */
.wizard-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.step-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--primary-color);
}

.step-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.full-width-col {
    grid-column: span 2;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Tooltip Styles */
.info-icon {
    color: var(--accent-color);
    font-size: 0.85rem;
    cursor: help;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--accent-color);
}

.info-icon:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    width: 200px;
    white-space: normal;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    line-height: 1.4;
    text-align: center;
}

.info-icon:hover::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--primary-color);
    z-index: 10;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-speed);
    box-shadow: var(--shadow-sm);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.1);
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-btn {
    position: relative;
}

.checkbox-btn input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-label {
    display: inline-block;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-speed);
    font-size: 0.9rem;
    user-select: none;
    color: var(--text-muted);
}

.checkbox-btn input:checked~.checkbox-label {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 15px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-color);
}

.radio-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

/* Input Group with Toggle */
.input-group-toggle {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-group-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.toggle-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.option-card {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-speed);
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.option-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.option-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.option-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.option-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Info Box */
.info-box {
    background: #f0f9ff;
    /* Light Sky */
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.info-box h4 {
    color: #0369a1;
    /* Dark Sky */
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-list {
    list-style: none;
}

.info-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    color: #334155;
}

.info-list li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s;
}

.modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    width: 90%;
    max-width: 500px;
    padding: 30px;
    transform: scale(1);
    transition: transform 0.3s;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.modal.hidden .modal-content {
    transform: scale(0.95);
}

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

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-speed);
    box-shadow: var(--shadow-sm);
}

.primary-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.full-width {
    width: 100%;
}

.result-box {
    background: #ecfdf5;
    /* Emerald 50 */
    border: 1px solid #10b981;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #065f46;
}

.note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
    font-style: italic;
}

.hidden {
    display: none !important;
}

/* Report Styles */
.report-container {
    background: #fff;
    color: #1e293b;
    padding: 40px;
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid var(--border-color);
}

.report-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.report-header h2 {
    color: #0f172a;
    font-size: 1.8rem;
}

.report-meta {
    text-align: right;
    font-size: 0.9rem;
    color: #64748b;
}

.report-section {
    margin-bottom: 30px;
}

.report-section h3 {
    color: #334155;
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.checklist-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.recommendation-card {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #10b981;
    border: 1px solid #e2e8f0;
    border-left-width: 4px;
}

.financial-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.financial-table th,
.financial-table td {
    border: 1px solid #e2e8f0;
    padding: 12px;
    text-align: left;
}

.financial-table th {
    background: #f1f5f9;
    font-weight: 600;
    color: #0f172a;
}

.tiered-list {
    list-style: none;
    margin-top: 10px;
}

.tiered-list li {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
        display: block;
    }

    .background-blobs,
    .app-header,
    .back-btn,
    .progress-indicator,
    .primary-btn {
        display: none !important;
    }

    .app-container {
        max-width: 100%;
        padding: 0;
    }

    .glass-panel {
        background: white;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .report-container {
        padding: 0;
        border: none;
    }

    .checklist-item input[type="checkbox"] {
        -webkit-appearance: none;
        appearance: none;
        width: 15px;
        height: 15px;
        border: 1px solid black;
        display: inline-block;
    }
}