/* =========================================================
   LANDING PAGE - MODERN STYLES WITH GREEN & YELLOW ACCENTS
   ========================================================= */

/* === Color Variables Override === */
:root {
  --color-primary: #15803d;
  --color-primary-dark: #166534;
  --color-primary-light: #22c55e;
  --color-accent: #facc15;
  --color-accent-light: #fef08a;

  --color-bg-page: #f0fdf4;
  --color-bg-content: #ffffff;
  --color-text-main: #1c1c1c;
  --color-text-muted: #64748b;

  --font-base: 'Inter', Arial, sans-serif;
  --font-heading: 'Inter', Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 32px rgba(21,128,61,0.15);

  --max-width: 800px;
}

/* === Base Styles === */
body {
  font-family: var(--font-base);
  color: var(--color-text-main);
  background: var(--color-bg-page);
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
  margin-bottom: 16px;
  color: #000;
}

h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
}

h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin-top: 12px;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  border-radius: 4px;
}

p {
  margin-bottom: 14px;
  color: var(--color-text-main);
}

strong {
  font-weight: 700;
}

/* === Layout === */
.page-wrapper {
  padding: 0 16px;
}

.content-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-bg-content);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* === Navigation === */
.main-nav {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 0;
  margin: 0 -100vw;
  margin-top: 0;
  padding-left: 100vw;
  padding-right: 100vw;
  box-shadow: 0 4px 20px rgba(21, 128, 61, 0.25);
  position: relative;
  z-index: 10;
}

.main-nav::before,
.main-nav::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to right, var(--color-primary-dark), transparent);
  pointer-events: none;
}

.main-nav::before {
  left: 0;
  background: linear-gradient(to right, var(--color-primary-dark), transparent);
}

.main-nav::after {
  right: 0;
  background: linear-gradient(to left, var(--color-primary-dark), transparent);
}

.main-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.main-nav a {
  display: block;
  padding: 16px 24px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--color-accent);
  transition: width 0.3s ease;
  border-radius: 3px 3px 0 0;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 60%;
}

.main-nav a:hover {
  color: var(--color-accent-light);
}

.main-nav a.active {
  color: white;
  background: rgba(0,0,0,0.1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
  padding: 10px;
}

/* === Hero Section === */
.section.hero {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(180deg, #f0fdf4 0%, white 100%);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero h1 .bgkuning {
  display: block;
  background: linear-gradient(135deg, var(--color-accent) 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.75rem;
  margin-top: 0.5rem;
}

/* === Sections === */
.section {
  padding: 2.5rem 2rem;
}

.two-column {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.two-column .half {
  flex: 1;
}

.two-column img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* === Highlight Classes === */
.highlight {
  color: var(--color-primary);
  font-weight: 700;
}

.bgkuning {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
  padding: 2px 10px;
  border-radius: 6px;
  font-weight: 700;
}

.bgmerah {
  background: linear-gradient(135deg, #fca5a5 0%, #ef4444 100%);
  color: white;
  padding: 2px 10px;
  border-radius: 6px;
  font-weight: 700;
}

.bghijau {
  background: linear-gradient(135deg, #bbf7d0 0%, var(--color-primary-light) 100%);
  padding: 2px 10px;
  border-radius: 6px;
  font-weight: 700;
}

/* === List Icons === */
.list-icon {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.list-icon li {
  padding: 0.75rem 0 0.75rem 2.5rem;
  position: relative;
  border-bottom: 1px solid #f0fdf4;
}

.list-icon li:last-child {
  border-bottom: none;
}

.list-icon li::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
}

.list-icon li.benar::before {
  content: "✅";
}

.list-icon li.salah::before {
  content: "❌";
}

/* === Buttons === */
.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(21, 128, 61, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(21, 128, 61, 0.5);
  color: white;
}

/* === FAQ === */
.faq-item {
  background: #fafafa;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.faq-question {
  background: linear-gradient(135deg, #f0fdf4 0%, white 100%);
  border: none;
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  color: var(--color-primary-dark);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: linear-gradient(135deg, #dcfce7 0%, white 100%);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: translateY(-50%) rotate(45deg);
}

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

.faq-question.active + .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 1.25rem 1.5rem;
  margin: 0;
  color: var(--color-text-muted);
}

/* === Site Header Image (800px max) === */
.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  background: none;
}

.site-header img {
  width: 100%;
  max-width: 800px;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* === Footer (800px max) === */
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  background: none;
  padding: 0;
}

.site-footer img {
  width: 100%;
  max-width: 800px;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* === Pricing Section === */
.text-center {
  text-align: center;
}

#order {
  background: linear-gradient(180deg, white 0%, #f0fdf4 100%);
  border-radius: var(--radius-lg);
}

.text-center.bgkuning {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  margin: 1rem 0;
  font-size: 2rem;
  color: var(--color-primary-dark);
}

/* === Responsive === */
@media (max-width: 768px) {
  /* Mobile nav modern styling */
  .main-nav {
    margin: 0;
    padding: 0;
    background: var(--color-primary);
    position: relative;
  }

  .main-nav::before,
  .main-nav::after {
    display: none;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
    display: none;
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
  }

  .main-nav ul.open {
    display: flex;
  }

  .main-nav a {
    color: var(--color-text-main);
    padding: 14px 20px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1rem;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: var(--color-bg-page);
    color: var(--color-primary);
  }

  .main-nav a::after {
    display: none;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero h1 .bgkuning {
    font-size: 1.25rem;
  }

  .two-column {
    flex-direction: column;
    gap: 1.5rem;
  }

  .section {
    padding: 2rem 1.25rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .main-nav ul {
    flex-wrap: wrap;
  }

  .main-nav a {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
}
