* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #e8e8ed; /* fallback */
}

/* Liquid Glass background blur layer */
.background-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, #c0c4d4, #a0a4b4);
  z-index: -2;
}

.background-blur::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: url('https://www.transparenttextures.com/patterns/asfalt-light.png');
  opacity: 0.05;
  pointer-events: none;
}

/* Main glass container */
.glass-container {
  max-width: 640px;
  width: 100%;
  background: rgba(245, 245, 247, 0.75);
  backdrop-filter: blur(16px);
  border-radius: 48px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  transition: all 0.2s ease;
}

.logo-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.drop {
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

h1 {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: #1c1c1e;
}

.tagline {
  text-align: center;
  color: #6c6c70;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

label {
  font-weight: 500;
  color: #2c2c2e;
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(200, 200, 205, 0.6);
  border-radius: 24px;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  backdrop-filter: blur(4px);
  transition: 0.15s;
}

textarea:focus {
  outline: none;
  border-color: #8e8e93;
  background: rgba(255, 255, 255, 0.85);
}

.glass-btn {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.9rem;
  background: rgba(220, 220, 225, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 500;
  color: #1c1c1e;
  cursor: pointer;
  transition: 0.15s;
  backdrop-filter: blur(4px);
}

.glass-btn:hover {
  background: rgba(200, 200, 208, 0.8);
  transform: scale(0.98);
}

.output-card {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(250, 250, 252, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: fadeIn 0.3s ease;
}

.hidden {
  display: none;
}

.output-header {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2c2c2e;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

.suggestion-text {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  color: #1c1c1e;
}

.wellness-tip {
  padding-top: 1rem;
  border-top: 1px dashed rgba(140, 140, 145, 0.4);
  font-size: 0.95rem;
  color: #3a3a3c;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.reset-btn {
  margin-top: 1.5rem;
  background: none;
  border: 1px solid #8e8e93;
  border-radius: 32px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.1s;
  width: auto;
  display: inline-block;
}

.reset-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.impact-footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.75rem;
  color: #6c6c70;
}

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

@media (max-width: 500px) {
  .glass-container { padding: 1.5rem; }
  .suggestion-text { font-size: 1.1rem; }
}