/* ===== Tripti Tea — Premium UI Layer ===== */

:root {
  --green-dark: #0f2e1f;
  --green: #1b4332;
  --green-mid: #2d6a4f;
  --green-light: #52b788;
  --green-pale: #e8f5ee;
  --red: #b91c1c;
  --red-brand: #d42027;
  --gold: #b8860b;
  --gold-light: #d4a84b;
  --gold-pale: #f5e6c8;
  --cream: #f9f6f0;
  --cream-dark: #ebe4d8;
  --brown: #2a1f14;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --shadow: 0 4px 30px rgba(15, 46, 31, 0.06);
  --shadow-md: 0 8px 40px rgba(15, 46, 31, 0.1);
  --shadow-lg: 0 20px 60px rgba(15, 46, 31, 0.14);
  --shadow-gold: 0 8px 32px rgba(184, 134, 11, 0.25);
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(212, 168, 75, 0.06) 0%, transparent 50%),
    var(--cream);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1240px;
}

/* — Topbar — */
.topbar {
  background: linear-gradient(90deg, var(--green-dark) 0%, #163d28 50%, var(--green-dark) 100%);
  border-bottom: 1px solid rgba(212, 168, 75, 0.2);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.topbar a {
  color: var(--gold-light);
  font-weight: 500;
}

/* — Header — */
.header {
  background: rgba(249, 246, 240, 0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(27, 67, 50, 0.06);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(15, 46, 31, 0.08);
}
.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(200px, 30%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0.6;
}
.logo__img {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(212, 168, 75, 0.3);
}
.logo__text {
  letter-spacing: -0.02em;
}
.nav__link {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav__link::after {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.cart-btn {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow);
}
.cart-btn:hover {
  border-color: var(--gold-light);
  background: var(--gold-pale);
}

/* — Marquee — */
.marquee {
  background: linear-gradient(90deg, var(--red-brand) 0%, #a01818 50%, var(--red-brand) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.marquee__track span:nth-child(odd) {
  color: rgba(255, 255, 255, 0.95);
}
.marquee__track span:nth-child(even) {
  color: var(--gold-light);
}

/* — Buttons — */
.btn--primary {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-dark) 100%);
  box-shadow: 0 6px 24px rgba(27, 67, 50, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-mid) 100%);
  box-shadow: 0 10px 32px rgba(27, 67, 50, 0.4);
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--brown);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-gold);
  font-weight: 700;
}
.btn--outline {
  border-color: var(--green-mid);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}

/* — Section headers — */
.section-tag {
  position: relative;
  padding: 6px 20px;
  background: var(--green-pale);
  border-radius: 50px;
  border: 1px solid rgba(27, 67, 50, 0.08);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}
.section-tag--light {
  background: rgba(212, 168, 75, 0.15);
  border-color: rgba(212, 168, 75, 0.3);
  color: var(--gold-light);
}
.section-title {
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--brown) 0%, var(--green-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 20px auto 0;
  border-radius: 2px;
}

/* — Hero — */
.hero {
  padding: 80px 0 120px;
  background:
    radial-gradient(ellipse 80% 50% at 90% 10%, rgba(212, 168, 75, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 90%, rgba(27, 67, 50, 0.08) 0%, transparent 50%),
    var(--cream);
}
.hero__badge {
  background: linear-gradient(135deg, var(--white) 0%, var(--gold-pale) 100%);
  border: 1px solid rgba(184, 134, 11, 0.25);
  box-shadow: var(--shadow);
  color: var(--green-dark);
}
.hero__title {
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.hero__title em {
  background: linear-gradient(135deg, var(--green-mid), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__desc {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
}
.hero__frame {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero__frame::before {
  border: 2px solid rgba(212, 168, 75, 0.4);
  border-radius: var(--radius-xl);
}
.hero__card {
  border: 1px solid var(--cream-dark);
  backdrop-filter: blur(8px);
}
.stat {
  padding: 16px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow);
  min-width: 100px;
  text-align: center;
}
.stat strong {
  color: var(--gold);
  font-size: 2rem;
}

/* — Trust strip — */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
  padding: 20px 0;
}
.trust-strip__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px 48px;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.trust-strip__item span {
  font-size: 1.25rem;
}

/* — Features — */
.features {
  background: var(--white);
  position: relative;
}
.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.feature {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.feature:hover {
  background: var(--cream);
}
.feature__icon-wrap {
  background: linear-gradient(145deg, var(--white), var(--green-pale));
  border: 1px solid rgba(27, 67, 50, 0.06);
}

/* — Product cards — */
.featured {
  background:
    linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}
.product-card {
  border: 1px solid rgba(27, 67, 50, 0.06);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  position: relative;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(145deg, rgba(212,168,75,0.3), transparent 40%, rgba(27,67,50,0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover::before { opacity: 1; }
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 168, 75, 0.2);
}
.product-card__image-wrap {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}
.product-card__image {
  object-fit: contain;
  padding: 12px;
}
.product-card__badge {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
  box-shadow: 0 2px 8px rgba(184, 134, 11, 0.4);
  letter-spacing: 0.08em;
}
.product-card__body {
  padding: 24px;
  border-top: 1px solid var(--cream-dark);
}
.product-card__price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--green-dark);
}
.product-card__add {
  background: linear-gradient(135deg, var(--green-pale), var(--white));
  border: 1px solid var(--green-mid);
}
.product-card__add:hover {
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  border-color: transparent;
}

/* — Filters — */
.filter-btn {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  letter-spacing: 0.03em;
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  box-shadow: 0 4px 16px rgba(27, 67, 50, 0.3);
  border-color: transparent;
}

/* — Banner — */
.banner {
  background: linear-gradient(135deg, #0a2218 0%, var(--green-dark) 40%, #163d28 100%);
}
.banner__image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(212, 168, 75, 0.25);
}
.banner__content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
}

/* — Testimonials — */
.testimonials {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}
.testimonial {
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold-pale);
  pointer-events: none;
}
.testimonial:hover {
  border-color: rgba(212, 168, 75, 0.3);
}

/* — About — */
.about__image-wrap {
  border-radius: var(--radius-xl);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.about__experience {
  background: linear-gradient(135deg, var(--red-brand), #8b1515);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* — Newsletter — */
.newsletter {
  background:
    linear-gradient(135deg, var(--green-dark) 0%, #0f2e1f 50%, var(--green) 100%);
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter__form input {
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* — Contact — */
.contact__card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow);
}
.contact__card:hover {
  border-color: rgba(212, 168, 75, 0.4);
  box-shadow: var(--shadow-md);
}
.contact__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* — Footer — */
.footer {
  background: linear-gradient(180deg, #1a120c 0%, var(--brown) 100%);
  border-top: 3px solid var(--gold);
}
.footer__col h4 {
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

/* — Page hero (inner pages) — */
.page-hero {
  background: linear-gradient(135deg, #0a2218 0%, var(--green-dark) 35%, #1b4332 70%, #163d28 100%);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

/* — Product detail — */
.product-detail__main-img {
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}
.product-detail__name {
  letter-spacing: -0.02em;
}
.product-detail__price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green-dark);
}
.product-detail__trust {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* — Cart & Checkout — */
.cart-page__main,
.cart-page__summary,
.checkout-form,
.checkout-summary {
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
}
.success-card {
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-lg);
}
.success-icon {
  background: linear-gradient(135deg, var(--green-pale), var(--white));
  border: 2px solid var(--green-mid);
}

/* — Steps — */
.steps {
  background: linear-gradient(180deg, var(--white), var(--cream));
}
.step.active span {
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.3);
}

/* — Toast — */
.toast {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .trust-strip__inner { gap: 16px 24px; justify-content: flex-start; }
  .trust-strip__item { font-size: 0.75rem; }
  .hero__stats { flex-wrap: wrap; gap: 12px; }
  .stat { min-width: auto; flex: 1; padding: 12px 16px; }
}
