/* ============================================================
   RELIVASTEP 2.0 – Kenya's premium EMS brand
   Clean, modern, mobile-first
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');

:root {
  --navy: #0B1A3A;
  --navy-light: #1E2F5A;
  --teal: #008080;
  --teal-light: #20B2AA;
  --gold: #F5A623;
  --gold-light: #FFC857;
  --gray-100: #F5F7FA;
  --gray-200: #E4E9F2;
  --gray-600: #5A6A8A;
  --white: #FFFFFF;
  --shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
  --radius: 1rem;
  --radius-lg: 1.5rem;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: #1A2C3E;
  background: var(--white);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--gray-200);
  padding: 0.8rem 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo img {
  height: 45px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: #1A2C3E;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

.cart-link {
  background: var(--navy);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-badge {
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 2.5rem;
  font-weight: 700;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: #1A2C3E;
  box-shadow: 0 4px 12px rgba(245,166,35,0.3);
}

.btn-primary:hover {
  background: #e59400;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: white;
}

.btn-secondary {
  background: var(--teal);
  color: white;
}

.btn-secondary:hover {
  background: #006666;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0B1A3A 0%, #1A3A5A 100%);
  color: white;
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,128,128,0.2);
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--gold);
}

.hero-price {
  font-size: 2rem;
  font-weight: 800;
  margin: 1rem 0;
}

.hero-price small {
  font-size: 1rem;
  text-decoration: line-through;
  color: #aaa;
  margin-left: 0.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #ccc;
}

.hero-img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Section */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.step-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.step-num {
  display: inline-block;
  background: var(--teal);
  color: white;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform 0.2s;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* Testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testi-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.testi-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* Upsell banner */
.upsell-banner {
  background: linear-gradient(135deg, #0B1A3A, #1A3A5A);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
}

.upsell-banner img {
  width: 200px;
  border-radius: var(--radius);
}

.upsell-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 0;
}

.faq-question {
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 0.5rem;
}

/* Cart */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 0;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.cart-summary {
  background: var(--gray-100);
  padding: 1.5rem;
  border-radius: var(--radius);
  position: sticky;
  top: 100px;
}

/* Footer */
.site-footer {
  background: #0B1A3A;
  color: white;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #2a3a5a;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .btn {
    padding: 0.7rem 1.5rem;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
