:root {
  --primary: #f75f34;
  --secondary: #5a4d3d;
  --bg: #fbf6f0;
  --card-bg: #fff;
  --rounded: 16px;
  --shadow: 0 4px 16px rgba(60,0,0,0.12);
}

body {
  background: var(--bg);
  font-family: 'Segoe UI', 'Montserrat', sans-serif;
  color: var(--secondary);
  margin: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 6vw;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  letter-spacing: 1px;
}

.user-welcome {
  font-weight: 600;
  color: #f75f34;
  margin-left: 22px;
  letter-spacing: 0.02em;
  font-size: 1.13rem;
  min-width: 80px;
}

.nav-links {
  display: flex;
  gap: 2vw;
  list-style: none;
}
.nav-links li a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links li a:hover {
  color: var(--primary);
}
.auth-buttons {
  display: flex;
  gap: 1vw;
}

.signup-btn, .login-btn {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 20px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 6px #fff4;
  margin-left: 8px;
  cursor: pointer;
  transition: transform 0.12s;
  text-decoration: none;
  outline: none;
}
.login-btn {
  background: var(--secondary);
}
.signup-btn:hover, .login-btn:hover {
  transform: translateY(-2px) scale(1.04);
}

/* Hero Banner */
.hero {
  background: linear-gradient(90deg, #feead7 60%, #f75f34 100%);
  padding: 3rem 2rem 2rem;
  text-align: center;
}
.hero-content h1 {
  font-size: 2.3rem;
  color: var(--secondary);
  margin-bottom: .5rem;
  font-weight: 700;
}
.hero-content p {
  max-width: 480px;
  margin: 0 auto 1.2rem;
  color: #5a4d3ddd;
  font-size: 1.1rem;
}
.hero-tags span {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  border-radius: 12px;
  padding: 4px 16px;
  margin: 0 2px 12px 2px;
  font-size: .95rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.cta-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.cta-btn {
  display: inline-block;
  margin: 0 auto;
  padding: 10px 32px;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 24px;
  box-shadow: 0 5px 18px #fb844444;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: .03em;
  transition: background .18s, transform .12s;
  text-decoration: none;
}
.cta-btn:hover { background: var(--primary); transform: scale(1.07); }

/* Meal Plans Section */
.meal-plans {
  margin: 2.5rem auto;
  padding: 0 5vw;
}
.meal-plans h2 {
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
}

.meal-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.tab {
  background: #ffe3c0;
  color: var(--secondary);
  border: none;
  border-radius: var(--rounded);
  font-weight: 600;
  padding: 8px 28px;
  margin: 0;
  cursor: pointer;
  transition: background .2s;
}
.tab.active, .tab:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px #fff7;
}

.plans {
  display: flex;
  flex-wrap: wrap;
  gap: 2vw;
  justify-content: center;
}
.plan-card {
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: var(--rounded);
  width: 320px;
  min-height: 450px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
  transition: transform .15s, box-shadow .15s;
}
.plan-card:hover {
  transform: scale(1.035) translateY(-5px) rotate(-1deg);
  box-shadow: 0 10px 32px #f75e3422;
}
.plan-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.plan-info {
  padding: 18px 19px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.badge {
  display: inline-block;
  font-size: .77rem;
  background: #f9e899;
  color: #997b25;
  border-radius: 8px;
  padding: 2.5px 13px;
  float: right;
  margin-bottom: 5px;
  font-weight: bold;
  letter-spacing: 1px;
}
.badge.fresh { background: #c7f5bb; color: #206d21;}
.badge.comfort { background: #d9cff6; color: #5c3da3;}
.plan-info h3 { margin: 7px 0 9px; }
.plan-info p { color: #655933; font-size: .98rem; margin-bottom: 13px;}
.plan-info ul { list-style: none; padding: 0; margin: 0 0 12px 0;}
.plan-info ul li { font-size: .96rem; color: #7f6a3d; margin-bottom: 3px;}
.pricing { margin-top: 5px; }
.pricing span {
  display: inline-block;
  background: #f7f3e2;
  border-radius: 6px;
  color: var(--primary);
  font-weight: bold;
  font-size: .92rem;
  padding: 5px 14px;
  margin-right: 6px;
  box-shadow: 0 1px 5px #fff4;
  margin-top: 4px;
}

.plan-info .cta-container {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.plan-info .cta-btn {
  display: inline-block;
  margin: 0 auto;
}

/* Payment and Billing */
.payment-billing {
  display: flex;
  flex-wrap: wrap;
  gap: 4vw;
  justify-content: center;
  padding: 2.5rem 5vw 3rem 5vw;
  background: #fff1e7;
  border-radius: 2rem;
  margin: 3.5rem auto 0;
  box-shadow: 0 4px 28px #f75f3412;
}
.payment-info, .recent-transactions {
  min-width: 300px;
  flex: 1 1 350px;
  background: var(--card-bg);
  border-radius: var(--rounded);
  box-shadow: var(--shadow);
  padding: 1.6rem 1rem;
  margin-bottom: 1rem;
}
.payment-methods .card-info {
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .7rem;
}
.expiry { font-size: .92rem; color: #98763b; margin-left: 9px;}
.default {
  background: var(--primary);
  color: #fff;
  border-radius: 9px;
  font-size: .9rem;
  padding: 2px 11px;
  margin-left: 14px;
}

.add-payment {
  margin-top: 1rem;
  background: #fff3da;
  color: var(--primary);
  border: 1px dashed var(--primary);
  border-radius: 7px;
  padding: 8px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.add-payment:hover {
  background: #fffbe5;
}

.user-address-area {
  margin-top: 14px;
  text-align: left;
  font-size: 1.05em;
  color: #5a4d3d;
}

.recent-transactions ul {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}
.recent-transactions li {
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  color: #7e6347;
}
.date {
  color: #b49a7e;
  font-size: .93rem;
  margin-left: 1.5em;
}
.view-all {
  font-size: .97rem;
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
}

/* Footer */
footer {
  background: #fff;
  text-align: center;
  padding: 1.2rem 0 .6rem 0;
  font-size: .95rem;
  color: #b2a18a;
  box-shadow: 0 -2px 12px #f75f3412;
  margin-top: 2rem;
  border-radius: 28px 28px 0 0;
}

@media (max-width: 1050px){
  .plans { flex-direction: column; align-items: center; }
  .payment-billing { flex-direction: column; padding: 1.5rem 2vw; }
}
@media (max-width: 700px){
  .navbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .nav-links { gap: 1vw; }
  .auth-buttons { flex-direction: row; gap: 8px; margin-bottom: 6px; }
  .hero-content h1 { font-size: 1.6rem; }
  .plans { gap: 1rem; }
  .plan-card { min-width: 92vw; max-width: 95vw;}
  .payment-info, .recent-transactions { min-width: auto; width: 98vw; }
  .meal-plans, .payment-billing { padding: 0 1vw; }
  .hero { padding: 1.5rem .5rem; }
}
