/* ==========================================================================
   Hotel Procurement ROI Calculator Stylesheet
   Shajjad Khan Portfolio / TawreedFlow Enterprise
   ========================================================================== */

.calc-container {
    max-width: 1080px;
    margin: 0 auto;
}

.calc-header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    padding-bottom: 30px;
}

.calc-title {
    font-size: clamp(2.1rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #ffffff;
}

.calc-tagline {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-secondary, #cbd5e1);
    max-width: 840px;
}

/* 2-Column Calculator Layout */
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin: 36px 0;
    align-items: start;
}

/* Control Panel (Left Column) */
.calc-panel {
    background: var(--surface-1, rgba(14, 22, 40, 0.7));
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    padding: 32px 28px;
}

.calc-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calc-group {
    margin-bottom: 26px;
}

.calc-group:last-child {
    margin-bottom: 0;
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.calc-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
}

.calc-value-display {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-emerald, #10b981);
}

.calc-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-emerald, #10b981);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: #34d399;
}

.calc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.calc-currency-select {
    padding: 10px 14px;
    background: rgba(14, 22, 40, 0.9);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));
    border-radius: 8px;
    color: #ffffff;
    font-family: var(--font-mono, monospace);
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
}

.calc-number-input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(14, 22, 40, 0.9);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));
    border-radius: 8px;
    color: #ffffff;
    font-family: var(--font-mono, monospace);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.calc-number-input:focus {
    border-color: var(--accent-emerald, #10b981);
}

.calc-radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.calc-radio-label {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    border-radius: 8px;
    padding: 12px 14px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.calc-radio-label:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}

.calc-radio-label.active {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.4);
    color: #ffffff;
}

.calc-radio-input {
    display: none;
}

/* Results Display (Right Column) */
.calc-results-card {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, rgba(14, 22, 40, 0.95) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.calc-hero-stat {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

.calc-hero-label {
    font-size: 0.85rem;
    font-family: var(--font-mono, monospace);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim, #7a8aa0);
    margin-bottom: 8px;
}

.calc-hero-number {
    font-size: clamp(2.5rem, 5vw, 3.6rem);
    font-weight: 800;
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    line-height: 1;
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.calc-hero-sub {
    font-size: 0.95rem;
    color: #cbd5e1;
}

/* Breakdown List */
.calc-breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.calc-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 14px 18px;
}

.calc-breakdown-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    display: block;
}

.calc-breakdown-desc {
    font-size: 0.75rem;
    color: var(--text-dim, #7a8aa0);
}

.calc-breakdown-val {
    font-family: var(--font-mono, monospace);
    font-size: 1.1rem;
    font-weight: 700;
    color: #34d399;
}

/* Lead Capture Box inside Results */
.calc-lead-box {
    background: rgba(14, 22, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
}

.calc-lead-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.calc-lead-desc {
    font-size: 0.85rem;
    color: var(--text-secondary, #cbd5e1);
    margin-bottom: 16px;
    line-height: 1.5;
}

.calc-lead-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-lead-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.calc-lead-input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(5, 8, 17, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.calc-lead-input:focus {
    border-color: var(--accent-emerald, #10b981);
}

.calc-lead-btn {
    width: 100%;
    padding: 12px 18px;
    background: var(--accent-emerald, #10b981);
    color: #050811;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease, transform 0.1s ease;
}

.calc-lead-btn:hover {
    background: #34d399;
    transform: translateY(-1px);
}

.calc-lead-status {
    margin-top: 10px;
    font-size: 0.85rem;
    text-align: center;
    display: none;
}

.calc-lead-status.success {
    display: block;
    color: #34d399;
}

.calc-lead-status.error {
    display: block;
    color: #f87171;
}

/* Method Note Box */
.calc-method-note {
    margin-top: 48px;
    padding: 28px;
    background: rgba(14, 22, 40, 0.5);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary, #cbd5e1);
    line-height: 1.6;
}

.calc-method-note h4 {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 10px;
}

@media (max-width: 820px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
    .calc-lead-row {
        grid-template-columns: 1fr;
    }
}
