* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  min-height: 100vh;
}

a {
  text-decoration: none;
}

.center-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.welcome-card,
.form-card,
.card,
.hero-card,
.mini-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.welcome-card {
  max-width: 500px;
  width: 100%;
  text-align: center;
  padding: 40px 30px;
}

.logo-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}

.welcome-card h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.welcome-card p {
  color: #cbd5e1;
  margin-bottom: 24px;
  line-height: 1.6;
}

.btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-block;
  color: white;
  font-weight: bold;
  transition: 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.secondary {
  background: rgba(255,255,255,0.12);
}

.danger {
  background: #ef4444;
}

.full {
  width: 100%;
}

.form-card {
  width: 100%;
  max-width: 450px;
  padding: 30px;
}

.form-card h2 {
  margin-bottom: 10px;
  font-size: 28px;
}

.form-card p {
  color: #cbd5e1;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #e2e8f0;
}

.form-group input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.12);
  color: white;
}

.switch-text {
  text-align: center;
  margin-top: 16px;
  color: #cbd5e1;
}

.switch-text a {
  color: #4ade80;
  font-weight: bold;
}

.topbar {
  width: 100%;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  gap: 14px;
}

.brand {
  font-size: 26px;
  font-weight: bold;
  color: #22c55e;
}

.top-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.top-links a {
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
}

.top-links a.active,
.top-links a:hover {
  background: #22c55e;
  color: #0f172a;
  font-weight: bold;
}

.container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px 30px;
}

.hero-card {
  padding: 30px;
  margin-bottom: 24px;
}

.hero-card h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.hero-card p {
  color: #cbd5e1;
  line-height: 1.6;
}

.dashboard-grid,
.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.mini-card,
.card {
  padding: 24px;
}

.mini-card h3,
.card h2 {
  margin-bottom: 12px;
}

.mini-card p,
.profile-info p,
.result-box,
.diet-list li {
  color: #dbeafe;
  line-height: 1.7;
}

.big-number {
  font-size: 34px;
  font-weight: bold;
  color: #4ade80;
  margin: 16px 0;
}

.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.result-box {
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
}

.diet-list {
  padding-left: 18px;
}

.mt-20 {
  margin-top: 20px;
}

@media (max-width: 700px) {
  .welcome-card h1 {
    font-size: 34px;
  }

  .hero-card h1 {
    font-size: 28px;
  }
  .logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: bold;
  color: #22c55e;
}

.logo-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  padding: 4px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: bold;
  color: #22c55e;
}

.logo-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  padding: 4px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
}