:root {
  --bg: #070b14;
  --card: #0f172a; 
  --accent: #3b82f6; 
  --accent-glow: rgba(59, 130, 246, 0.2);
  --success: #10b981;
  --muted: #94a3b8;
  --glass: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --text-main: #f1f5f9;
}

html, body {
  margin: 0;
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  background: radial-gradient(circle at top right, #0f172a, #070b14);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.landing-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding: 20px;
  animation: fadeIn 1s ease-in-out;
}

.logo-container {
  margin-bottom: 1rem;
}

.logo-img {
  width: 80px;
  height: 80px;
}

.logo-container-small {
  margin-bottom: 0.5rem;
}

.logo-img-small {
  width: 60px;
  height: 60px;
}


.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.card {
  background: var(--card);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

/* Step Indicator Styling */
.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.ind {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.ind.active {
  color: var(--accent);
  opacity: 1;
  text-shadow: 0 0 10px var(--accent-glow);
}

/* Section Title */
.section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Typography */
h1 { 
  margin: 0; 
  font-size: 32px; 
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(to bottom right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p.lead { color: var(--muted); margin-bottom: 0; font-size: 16px; }

/* Form Elements */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 24px; }

.question { margin-bottom: 20px; }
.question label { 
  display: block; 
  margin-bottom: 8px; 
  font-weight: 600; 
  font-size: 14px; 
  color: #cbd5e1;
}

select, textarea {
  width: 100%;
  background: #070b14;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-size: 15px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

select:focus, textarea:focus { 
  border-color: var(--accent); 
  box-shadow: 0 0 0 4px var(--accent-glow);
  outline: none;
}

textarea { min-height: 100px; resize: vertical; }

/* Radio Card Styling */
.radio-card {
  position: relative;
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  opacity: 0;
}

.card-content {
  background: var(--glass);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-content i { font-size: 24px; color: var(--muted); }

.radio-card input:checked + .card-content {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.radio-card input:checked + .card-content i { color: var(--accent); }

/* Buttons */
.btn {
  background: var(--accent);
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
}

.btn-start {
  padding: 16px 32px;
  font-size: 16px;
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: #fff;
}

/* Result UI */
.summary-box {
  background: var(--glass);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  margin-top: 20px;
}

.week-item {
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.week-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.progress { 
  height: 10px; 
  background: rgba(255, 255, 255, 0.05); 
  border-radius: 20px; 
}

.progress > i { 
  display: block; 
  height: 100%; 
  background: linear-gradient(90deg, #3b82f6, #2dd4bf); 
  border-radius: 20px;
  width: 0%; 
  transition: width 1.5s ease-out; 
}

.badge {
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Loader Animation */
.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
}

.loader {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
}

.loader span {
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulsate 1.4s infinite ease-in-out both;
}

.loader span:nth-child(1) { animation-delay: -0.32s; }
.loader span:nth-child(2) { animation-delay: -0.16s; }

@keyframes pulsate {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

/* Steps Display */
.step { display: none; }
.step.active { display: block; animation: fadeIn 0.4s ease-out; }

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

footer { margin-top: 48px; color: var(--muted); font-size: 13px; text-align: center; }
footer a { color: var(--accent); text-decoration: none; }

@media(max-width: 640px) { 
  .grid { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .step-indicator { font-size: 12px; }
}
.btn-nav {
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-nav:hover:not(:disabled) {
    background: var(--accent-glow) !important;
    color: var(--accent) !important;
}

.btn-nav:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.week-card-active {
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.week-card-active:hover {
    transform: scale(1.01);
}
.week-item-mini {
    transition: all 0.2s ease;
}

.week-item-mini:hover {
    background: var(--accent-glow) !important;
    border-color: var(--accent) !important;
    transform: translateX(5px);
}

.btn-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--glass);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-nav:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.btn-nav:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}