/* ===================================
   Site Header (Homepage Style)
   =================================== */
.site-header {
    background: #1a1a1a;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Prevent site-header from changing in dark mode */
[data-theme="dark"] .site-header {
    background: #1a1a1a !important;
}


.site-header__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.site-header__logo-link {
    display: flex;
    align-items: center;
}

.site-header__logo {
    height: 60px;
    width: auto;
}

.site-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.site-nav__link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.site-nav__link:hover {
    color: #0693e3;
    transform: translateY(-2px);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Tool Title Section */
.tool-title-section {
    background: var(--bg-primary, #fff);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--border-primary, #ddd);
}

.tool-title {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
}

.tool-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary, #666);
    margin: 0;
    line-height: 1.5;
}

/* Responsive Site Header */
@media (max-width: 768px) {
    .site-header__container {
        justify-content: center;
        text-align: center;
    }

    .site-nav {
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }

    .site-header__actions {
        width: 100%;
        justify-content: center;
    }

    .tool-title {
        font-size: 1.5rem;
    }

    .tool-subtitle {
        font-size: 0.95rem;
    }
}



/* =====================================================
   TOUCH-UP & MAINTENANCE TIMELINE CALCULATOR
   Time & Longevity Aesthetic
   ===================================================== */

/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
  /* Primary Colors - Time & Longevity Theme */
  --time-blue: #3B82F6;
  --maintenance-purple: #8B5CF6;
  --warning-orange: #F97316;
  --well-maintained-green: #10B981;
  --critical-red: #EF4444;
  --kofi-red: #FF5E5B;

  /* Timeline Colors */
  --timeline-green: #10B981;
  --timeline-yellow: #F59E0B;
  --timeline-orange: #F97316;
  --timeline-red: #EF4444;

  /* Backgrounds */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-card: #FFFFFF;

  /* Text Colors */
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;

  /* Borders */
  --border-primary: #E2E8F0;
  --border-secondary: #CBD5E1;
  --border-accent: #8B5CF6;

  /* Status Colors */
  --success-green: #10B981;
  --warning-yellow: #F59E0B;
  --error-red: #EF4444;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;

  /* Border Radius */
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

/* ========== DARK MODE VARIABLES ========== */
body.dark-mode {
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-tertiary: #334155;
  --bg-card: #1E293B;

  --text-primary: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;

  --border-primary: #334155;
  --border-secondary: #475569;
}

/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: var(--transition);
  position: relative;
  min-height: 100vh;
}

/* Subtle Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ========== MAIN CONTAINER ========== */
.touch-up-timeline {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* ========== HEADER ========== */
.touch-up-timeline__header {
  padding: var(--spacing-lg) var(--spacing-md);
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  border-bottom: 3px solid var(--maintenance-purple);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.touch-up-timeline__header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--spacing-md);
  align-items: center;
}

/* Logo */
.touch-up-timeline__logo-container {
  display: flex;
  align-items: center;
}

.touch-up-timeline__logo {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform var(--transition);
}

.touch-up-timeline__logo:hover {
  transform: scale(1.05);
}

/* Title Group */
.touch-up-timeline__title-group {
  text-align: center;
}

.touch-up-timeline__header-title {
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--spacing-xs);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.touch-up-timeline__header-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

/* Header Buttons */
.touch-up-timeline__header-buttons {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.touch-up-timeline__embed-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  padding: var(--spacing-sm) var(--spacing-md);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.touch-up-timeline__embed-button:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.embed-icon {
  font-size: 1.1rem;
}

.embed-text {
  font-size: 0.875rem;
}

.touch-up-timeline__dark-mode-toggle {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.touch-up-timeline__dark-mode-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.dark-mode-icon {
  font-size: 1.2rem;
}

/* ========== MAIN CONTENT ========== */
.touch-up-timeline__main {
  flex: 1;
  padding: var(--spacing-2xl) 0;
}

.touch-up-timeline__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ========== TABS ========== */
.touch-up-timeline__tabs {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
  overflow-x: auto;
  padding-bottom: var(--spacing-sm);
}

.touch-up-timeline__tab {
  flex: 1;
  min-width: 150px;
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--bg-card);
  border: 2px solid var(--border-primary);
  border-radius: var(--border-radius);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.touch-up-timeline__tab:hover {
  border-color: var(--maintenance-purple);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.touch-up-timeline__tab--active {
  background: linear-gradient(135deg, var(--time-blue), var(--maintenance-purple));
  border-color: var(--maintenance-purple);
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
}

/* ========== TAB CONTENT ========== */
.touch-up-timeline__tab-content {
  display: none;
}

.touch-up-timeline__tab-content--active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== SECTION ========== */
.touch-up-timeline__section {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-primary);
}

.touch-up-timeline__section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.touch-up-timeline__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--time-blue), var(--maintenance-purple));
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.touch-up-timeline__section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
}

.touch-up-timeline__subsection-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--border-primary);
}

/* ========== FORMS ========== */
.touch-up-timeline__form {
  margin-bottom: var(--spacing-xl);
}

.touch-up-timeline__form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.touch-up-timeline__form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.touch-up-timeline__form-group--full {
  grid-column: 1 / -1;
}

.touch-up-timeline__label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.touch-up-timeline__label-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.touch-up-timeline__label-help {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.touch-up-timeline__input,
.touch-up-timeline__select {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid var(--border-primary);
  border-radius: var(--border-radius);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.touch-up-timeline__input:focus,
.touch-up-timeline__select:focus {
  outline: none;
  border-color: var(--maintenance-purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.touch-up-timeline__input-with-unit {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  position: relative;
}

.touch-up-timeline__unit-prefix {
  position: absolute;
  left: var(--spacing-md);
  color: var(--text-secondary);
  font-weight: 600;
  pointer-events: none;
}

.touch-up-timeline__input-with-unit input {
  flex: 1;
}

.touch-up-timeline__input-with-unit input[type="number"] {
  padding-left: 2.5rem;
}

.touch-up-timeline__unit {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Checkboxes */
.touch-up-timeline__checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
}

.touch-up-timeline__checkbox {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm);
  border: 2px solid var(--border-primary);
  border-radius: var(--border-radius);
  background: var(--bg-primary);
  cursor: pointer;
  transition: var(--transition);
}

.touch-up-timeline__checkbox:hover {
  border-color: var(--maintenance-purple);
  background: var(--bg-tertiary);
}

.touch-up-timeline__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.touch-up-timeline__checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.touch-up-timeline__color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Radio Buttons */
.touch-up-timeline__radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.touch-up-timeline__radio {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  border: 2px solid var(--border-primary);
  border-radius: var(--border-radius);
  background: var(--bg-primary);
  cursor: pointer;
  transition: var(--transition);
}

.touch-up-timeline__radio:hover {
  border-color: var(--maintenance-purple);
  background: var(--bg-tertiary);
}

.touch-up-timeline__radio input[type="radio"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.touch-up-timeline__radio-label {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Buttons */
.touch-up-timeline__btn {
  padding: var(--spacing-md) var(--spacing-xl);
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}

.touch-up-timeline__btn--primary {
  background: linear-gradient(135deg, var(--time-blue), var(--maintenance-purple));
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.touch-up-timeline__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.touch-up-timeline__btn--secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 2px solid var(--border-primary);
}

.touch-up-timeline__btn--secondary:hover {
  border-color: var(--maintenance-purple);
  color: var(--maintenance-purple);
  transform: translateY(-2px);
}

/* ========== RESULTS ========== */
.touch-up-timeline__results {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 2px solid var(--border-primary);
}

.touch-up-timeline__results-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

/* Urgency Card */
.touch-up-timeline__urgency-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl);
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-lg);
  border-left: 6px solid var(--success-green);
  margin-bottom: var(--spacing-xl);
}

.touch-up-timeline__urgency-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.touch-up-timeline__urgency-content {
  flex: 1;
}

.touch-up-timeline__urgency-level {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.touch-up-timeline__urgency-message {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Results Grid */
.touch-up-timeline__results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.touch-up-timeline__result-card {
  background: var(--bg-card);
  border: 2px solid var(--border-primary);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  transition: var(--transition);
}

.touch-up-timeline__result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.touch-up-timeline__result-card--highlight {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  border-color: var(--maintenance-purple);
  border-width: 3px;
}

.touch-up-timeline__result-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

.touch-up-timeline__result-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.touch-up-timeline__result-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Fading Order */
.touch-up-timeline__fading-order {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.touch-up-timeline__fading-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.touch-up-timeline__fading-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md);
  background: var(--bg-card);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--timeline-yellow);
}

.touch-up-timeline__fading-item-name {
  font-weight: 600;
  color: var(--text-primary);
}

.touch-up-timeline__fading-item-years {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Recommendations */
.touch-up-timeline__recommendations {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1));
  border: 2px solid var(--well-maintained-green);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
}

.touch-up-timeline__recommendation-text {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.7;
}

/* ========== INFO CARD ========== */
.touch-up-timeline__info-card {
  background: var(--bg-tertiary);
  border-left: 4px solid var(--time-blue);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.touch-up-timeline__info-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ========== MAINTENANCE SCHEDULE ========== */
.touch-up-timeline__maintenance-schedule {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.touch-up-timeline__maintenance-card {
  background: var(--bg-card);
  border: 2px solid var(--border-primary);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  transition: var(--transition);
}

.touch-up-timeline__maintenance-card:hover {
  border-color: var(--maintenance-purple);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.touch-up-timeline__maintenance-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--border-primary);
}

.touch-up-timeline__maintenance-icon {
  font-size: 2rem;
}

.touch-up-timeline__maintenance-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.touch-up-timeline__maintenance-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.touch-up-timeline__maintenance-list li {
  padding-left: var(--spacing-lg);
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.touch-up-timeline__maintenance-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--well-maintained-green);
  font-weight: 700;
}

/* ========== SUN DAMAGE CALCULATOR ========== */
.touch-up-timeline__sun-damage {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(234, 179, 8, 0.1));
  border: 2px solid var(--warning-orange);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.touch-up-timeline__mini-form {
  margin-top: var(--spacing-lg);
}

.touch-up-timeline__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: var(--spacing-md);
  align-items: end;
}

.touch-up-timeline__sun-results {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 2px solid rgba(249, 115, 22, 0.3);
}

.touch-up-timeline__sun-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.touch-up-timeline__sun-stat {
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--bg-card);
  border-radius: var(--border-radius);
}

.touch-up-timeline__sun-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-xs);
}

.touch-up-timeline__sun-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--warning-orange);
}

.touch-up-timeline__sun-recommendation {
  padding: var(--spacing-lg);
  background: var(--bg-card);
  border-radius: var(--border-radius);
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

/* ========== COST CALCULATOR ========== */
.touch-up-timeline__cost-summary {
  margin-bottom: var(--spacing-2xl);
}

.touch-up-timeline__cost-card {
  padding: var(--spacing-xl);
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-lg);
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.touch-up-timeline__cost-card--total {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
  border: 3px solid var(--maintenance-purple);
}

.touch-up-timeline__cost-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-sm);
}

.touch-up-timeline__cost-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.touch-up-timeline__cost-breakdown {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.touch-up-timeline__cost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.touch-up-timeline__cost-stat {
  padding: var(--spacing-lg);
  background: var(--bg-card);
  border: 2px solid var(--border-primary);
  border-radius: var(--border-radius-lg);
  text-align: center;
}

.touch-up-timeline__cost-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-xs);
}

.touch-up-timeline__cost-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Cost Comparison */
.touch-up-timeline__cost-comparison {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.touch-up-timeline__comparison-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.touch-up-timeline__comparison-card {
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  text-align: center;
}

.touch-up-timeline__comparison-card--good {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
  border: 3px solid var(--well-maintained-green);
}

.touch-up-timeline__comparison-card--poor {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
  border: 3px solid var(--critical-red);
}

.touch-up-timeline__comparison-card h5 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.touch-up-timeline__comparison-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.touch-up-timeline__comparison-detail {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
}

.touch-up-timeline__comparison-savings {
  font-size: 1rem;
  font-weight: 600;
  color: var(--well-maintained-green);
}

.touch-up-timeline__comparison-extra {
  font-size: 1rem;
  font-weight: 600;
  color: var(--critical-red);
}

.touch-up-timeline__budget-tip {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  border: 2px solid var(--time-blue);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
}

.touch-up-timeline__budget-tip p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.7;
}

/* ========== READINESS CHECKER ========== */
.touch-up-timeline__readiness-questions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.touch-up-timeline__question {
  padding: var(--spacing-lg);
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-lg);
}

.touch-up-timeline__question-label {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.touch-up-timeline__checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.touch-up-timeline__readiness-status {
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  border: 3px solid;
}

.touch-up-timeline__readiness-status h4 {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-sm);
}

.touch-up-timeline__readiness-status p {
  font-size: 1.1rem;
  margin: 0;
}

.touch-up-timeline__readiness-details,
.touch-up-timeline__readiness-action {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.touch-up-timeline__attention-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.touch-up-timeline__attention-list li {
  padding: var(--spacing-md);
  padding-left: var(--spacing-xl);
  background: var(--bg-card);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--warning-orange);
  position: relative;
  color: var(--text-primary);
}

.touch-up-timeline__attention-list li::before {
  content: '⚠️';
  position: absolute;
  left: var(--spacing-sm);
}

.touch-up-timeline__readiness-action p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.7;
}

/* ========== FOOTER ========== */
.touch-up-timeline__footer {
  background: var(--bg-primary);
  border-top: 3px solid var(--maintenance-purple);
  padding: var(--spacing-2xl) var(--spacing-lg);
  margin-top: var(--spacing-2xl);
  text-align: center;
}

.touch-up-timeline__footer-logo-section {
  margin-bottom: var(--spacing-lg);
}

.touch-up-timeline__footer-logo {
  height: 60px;
  width: auto;
  margin: 0 auto;
}

.touch-up-timeline__support-section {
  margin-top: var(--spacing-lg);
}

.touch-up-timeline__support-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.touch-up-timeline__kofi {
  display: inline-block;
  transition: var(--transition);
}

.touch-up-timeline__kofi:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.touch-up-timeline__kofi-img {
  height: 45px;
  transition: var(--transition);
}

.touch-up-timeline__footer-info {
  margin-top: var(--spacing-lg);
}

.touch-up-timeline__copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.touch-up-timeline__disclaimer {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-style: italic;
}

/* ========== MODAL ========== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.modal[style*="display: flex"],
.modal[style*="display:flex"] {
  display: flex !important;
}

.modal-content {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--spacing-2xl);
  position: relative;
  animation: modalSlideIn 0.3s ease;
  box-shadow: var(--shadow-xl);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  color: var(--critical-red);
  background: var(--bg-secondary);
  transform: rotate(90deg);
}

.modal-content h2 {
  font-size: 1.75rem;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
}

.modal-content p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

#embedCode {
  width: 100%;
  height: 120px;
  padding: var(--spacing-md);
  border: 2px solid var(--border-primary);
  border-radius: var(--border-radius);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  resize: vertical;
  margin-bottom: var(--spacing-md);
}

.copy-btn {
  background: var(--maintenance-purple);
  color: white;
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.copy-btn:hover {
  background: #7C3AED;
  transform: translateY(-2px);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .touch-up-timeline__form-grid,
  .touch-up-timeline__maintenance-schedule {
    grid-template-columns: 1fr;
  }

  .touch-up-timeline__results-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .touch-up-timeline__header-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    text-align: center;
  }

  .touch-up-timeline__logo-container {
    justify-content: center;
  }

  .touch-up-timeline__header-buttons {
    justify-content: center;
  }

  .touch-up-timeline__header-title {
    font-size: 1.5rem;
  }

  .touch-up-timeline__header-subtitle {
    font-size: 0.8rem;
  }

  .embed-text {
    display: none;
  }

  .touch-up-timeline__tabs {
    flex-direction: column;
  }

  .touch-up-timeline__tab {
    width: 100%;
  }

  .touch-up-timeline__section {
    padding: var(--spacing-lg);
  }

  .touch-up-timeline__checkbox-grid {
    grid-template-columns: 1fr;
  }

  .touch-up-timeline__form-row {
    grid-template-columns: 1fr;
  }

  .touch-up-timeline__sun-stats,
  .touch-up-timeline__cost-grid,
  .touch-up-timeline__comparison-cards {
    grid-template-columns: 1fr;
  }

  .feedback-form-grid {
    grid-template-columns: 1fr;
  }

  .feedback-card {
    padding: var(--spacing-lg);
  }

  .feedback-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .touch-up-timeline__header-title {
    font-size: 1.25rem;
  }

  .touch-up-timeline__section-title {
    font-size: 1.35rem;
  }

  .touch-up-timeline__cost-value {
    font-size: 2rem;
  }

  .touch-up-timeline__result-value {
    font-size: 1.5rem;
  }

  .modal-content {
    width: 95%;
    padding: var(--spacing-lg);
  }
}


/* Lock tool header colors in dark mode */
[data-theme="dark"] .header,
[data-theme="dark"] [class*="__header"] {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}


/* ===================================
   Feedback Card (Standardized)
   =================================== */
.feedback-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg, 12px);
  padding: var(--spacing-xl, 2.5rem);
  box-shadow: var(--shadow-lg, 0 4px 20px rgba(0, 0, 0, 0.1));
  max-width: 900px;
  margin: 0 auto;
  border: 3px solid #9b51e0;
}

/* Dark mode - subtle border */
[data-theme="dark"] .feedback-card {
  border: 2px solid var(--border-primary);
}

.feedback-header {
  text-align: center;
  margin-bottom: var(--spacing-xl, 2.5rem);
}

.feedback-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md, 1.5rem);
  line-height: 1.2;
}

.feedback-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-md, 1.5rem);
}

.feedback-callout {
  background: var(--bg-secondary);
  padding: var(--spacing-md, 1.5rem);
  border-radius: var(--border-radius, 8px);
  border-left: 4px solid var(--artist-purple, #9b51e0);
  font-size: 1rem;
  color: var(--text-primary);
  margin-top: var(--spacing-md, 1.5rem);
}

.feedback-callout strong {
  color: var(--artist-purple, #9b51e0);
}

/* Form Styles */
.feedback-form {
  margin-top: var(--spacing-lg, 2rem);
}

.feedback-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg, 2rem);
  margin-bottom: var(--spacing-lg, 2rem);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs, 0.5rem);
}

.form-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--spacing-sm, 1rem) var(--spacing-md, 1.5rem);
  border: 2px solid var(--border-primary);
  border-radius: var(--border-radius, 8px);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition, all 0.3s);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--artist-purple, #9b51e0);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .feedback-card {
    padding: var(--spacing-lg, 2rem);
  }

  .feedback-title {
    font-size: 1.5rem;
  }

  .feedback-subtitle {
    font-size: 1rem;
  }

  .feedback-form-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md, 1.5rem);
  }
}
