:root {
  --primary-color: #7A3B1E;
  --secondary-color: #5C2910;
  --accent-color: #C8784A;
  --light-color: #FAF2EA;
  --dark-color: #2C1608;
  --gradient-primary: linear-gradient(135deg, #7A3B1E 0%, #5C2910 100%);
  --hover-color: #8E4725;
  --background-color: #FBF7F3;
  --text-color: #3D2B1F;
  --border-color: rgba(122, 59, 30, 0.16);
  --divider-color: rgba(92, 41, 16, 0.10);
  --shadow-color: rgba(92, 41, 16, 0.09);
  --highlight-color: #D4A843;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Lato', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: var(--alt-font);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text-color);
  background-color: var(--background-color);
}

/* Pattern BG — soft diagonal waves */
.pattern-bg {
  background-image:
    radial-gradient(ellipse at 80% 10%, rgba(200, 120, 74, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 90%, rgba(122, 59, 30, 0.06) 0%, transparent 50%),
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 36px,
      rgba(122, 59, 30, 0.03) 36px,
      rgba(122, 59, 30, 0.03) 37px
    );
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* HEADER */
header {
  background: var(--dark-color);
  padding: 1.2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.header-deco-circle {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(200, 120, 74, 0.35);
  display: none;
}

.header-deco-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(200, 120, 74, 0.2);
}

.header-deco-line {
  position: absolute;
  top: 0;
  right: 100px;
  width: 1px;
  height: 100%;
  background: rgba(200, 120, 74, 0.15);
  display: none;
}

@media (min-width: 768px) {
  .header-deco-circle,
  .header-deco-line {
    display: block;
  }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.4rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--main-font);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  width: fit-content;
  color: white;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
  transform: rotate(5deg);
}

/* MAIN */
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 1.8rem 0;
  justify-content: center;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .product-section {
    grid-template-columns: 1fr 1fr;
  }
}

/* LEFT */
.product-left {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.product-image-container {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 14px var(--shadow-color);
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image-container::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-color);
}

.product-image {
  width: 100%;
  padding: 18px 30px;
  height: auto;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .product-image {
    padding: 20px 50px;
  }
}

/* Guarantee — ribbon style */
.guarantee-block {
  background: var(--primary-color);
  color: white;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  position: relative;
  overflow: hidden;
}

.guarantee-block::after {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.guarantee-block h3 {
  font-family: var(--main-font);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.45rem;
  color: var(--highlight-color);
}

.guarantee-block p {
  font-size: 0.81rem;
  line-height: 1.55;
  opacity: 0.93;
}

/* Features icons — horizontal pill style */
.features-icons {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: white;
  border-radius: 40px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 4px var(--shadow-color);
  transition: all 0.25s ease;
}

.feature-item:hover {
  background: var(--light-color);
  border-color: var(--accent-color);
  transform: translateX(3px);
}

.feature-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: var(--light-color);
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.feature-item span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-color);
  font-family: var(--main-font);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.cart-button {
  background: var(--accent-color);
  color: white;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  display: block;
  text-align: center;
  font-family: var(--main-font);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 3px 10px var(--shadow-color);
  transition: all 0.25s ease;
  border: 2px solid var(--primary-color);
}

.cart-button:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px var(--shadow-color);
}

/* RIGHT */
.product-right h1 {
  font-family: var(--main-font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.7rem;
  line-height: 1.1;
}

.price {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 0.7rem 0;
  font-family: var(--main-font);
}

.product-description {
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.product-description p + p {
  margin-top: 0.65rem;
}

.highlight-text {
  background: var(--highlight-color);
  color: var(--dark-color);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  font-size: 0.88rem;
  font-family: var(--main-font);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px var(--shadow-color);
  margin: 1rem 0;
}

.features-list {
  list-style: none;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0;
  font-size: 0.84rem;
  color: var(--text-color);
  line-height: 1.5;
}

.feature-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--accent-color);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.7rem;
  margin-top: 2px;
}

/* RANDOM FULL-WIDTH BLOCK — Cara Kerja (How it works) */
.howworks-section {
  background: var(--light-color);
  padding: 2rem 1.2rem;
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
}

.howworks-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.howworks-section h2 {
  font-family: var(--main-font);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.howworks-section > .howworks-content > p {
  font-size: 0.85rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.howworks-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  position: relative;
}

@media (min-width: 768px) {
  .howworks-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.2rem 1rem;
  box-shadow: 0 2px 8px var(--shadow-color);
  transition: all 0.25s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 14px var(--shadow-color);
  border-color: var(--accent-color);
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 auto 0.7rem;
}

.step-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.step-card h3 {
  font-family: var(--main-font);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--primary-color);
  margin-bottom: 0.4rem;
}

.step-card p {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-color);
}

/* TESTIMONIALS */
.testimonials {
  background: var(--primary-color);
  padding: 2rem 1.2rem;
}

.testimonials h2 {
  font-family: var(--main-font);
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.1rem;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.25s ease;
}

.testimonial:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.testimonial-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.testimonial-name {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--highlight-color);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.testimonial-location {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.75);
}

.testimonial p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

/* FOOTER */
footer {
  background: var(--dark-color);
  color: white;
  padding: 1.5rem 1.2rem;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-content .logo {
  color: white;
}

.footer-content .logo-icon {
  background: var(--accent-color);
  transform: rotate(5deg);
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-nav {
    justify-content: flex-end;
  }
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--highlight-color);
}

.footer-credit {
  text-align: center;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.74rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-credit a {
  color: var(--highlight-color);
  text-decoration: none;
}