/* ========================================
   YUK HALAL — Landing Page Styles
   ======================================== */

/* ---------- Custom Properties ---------- */
:root {
  /* Colors */
  --green-900: #1a3c1a;
  --green-800: #1B5E20;
  --green-700: #2E7D32;
  --green-600: #388E3C;
  --green-500: #43A047;
  --green-400: #66BB6A;
  --green-100: #e8f5e9;
  --green-50: #f1f8e9;

  --gold-500: #D4A843;
  --gold-400: #e0be6a;
  --gold-300: #f0d78a;

  --neutral-900: #1a1a2e;
  --neutral-800: #2d2d44;
  --neutral-700: #3d3d56;
  --neutral-600: #555;
  --neutral-500: #777;
  --neutral-400: #999;
  --neutral-300: #c4c4c4;
  --neutral-200: #e2e2e2;
  --neutral-100: #f0f0f0;
  --neutral-50: #f8f8fa;

  --white: #ffffff;
  --whatsapp: #25D366;
  --whatsapp-dark: #1da851;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.5rem;
  --fs-5xl: 3.25rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Borders & Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --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 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
  --shadow-green: 0 4px 20px rgba(46,125,50,0.25);

  /* Transition */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--neutral-800);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.text-accent {
  color: var(--gold-500);
}

.text-muted {
  color: var(--neutral-400);
  font-style: italic;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.icon--sm {
  width: 1em;
  height: 1em;
}

.section {
  padding: var(--space-4xl) 0;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: var(--green-100);
  border-radius: var(--radius-full);
}

.section__title {
  font-size: var(--fs-3xl);
  color: var(--neutral-900);
  margin-bottom: var(--space-md);
}

.section__desc {
  font-size: var(--fs-lg);
  color: var(--neutral-600);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn--sm {
  font-size: var(--fs-sm);
  padding: 0.5rem 1.25rem;
}

.btn--lg {
  font-size: var(--fs-lg);
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
}

.btn--primary {
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(46,125,50,0.35);
}

.btn--accent {
  background: var(--green-700);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--green-800);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,211,102,0.4);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--duration) var(--ease);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-sm) 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.navbar__logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.navbar__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-xl);
  color: var(--green-800);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar__link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--neutral-700);
  transition: color var(--duration) var(--ease);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-600);
  transition: width var(--duration) var(--ease);
}

.navbar__link:hover {
  color: var(--green-700);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 1001;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neutral-800);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.navbar__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, var(--green-50) 0%, var(--white) 40%, var(--white) 60%, var(--green-100) 100%);
  padding-top: 80px;
  overflow: hidden;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 20% 50%, var(--green-700) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, var(--green-700) 1px, transparent 1px),
    radial-gradient(circle at 60% 80%, var(--green-700) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px, 70px 70px;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  box-shadow: 0 2px 10px rgba(212,168,67,0.3);
}

.hero__title {
  font-size: var(--fs-4xl);
  color: var(--neutral-900);
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}

.hero__title-highlight {
  display: block;
  color: var(--green-700);
  margin-top: var(--space-xs);
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--neutral-600);
  margin-bottom: var(--space-xl);
  max-width: 540px;
  line-height: 1.8;
}

.hero__actions {
  margin-bottom: var(--space-xl);
}

.hero__trust {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--green-700);
}

/* Hero Card */
.hero__card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
  text-align: center;
  border: 1px solid var(--green-100);
  position: relative;
}

.hero__card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, var(--green-400), var(--gold-400));
  z-index: -1;
  opacity: 0.5;
}

.hero__card-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto var(--space-lg);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
}

.hero__card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__card-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neutral-500);
  font-weight: 500;
}

.hero__card-name {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--green-800);
}

.hero__card-reg {
  font-size: var(--fs-xs);
  color: var(--neutral-400);
  font-family: monospace;
}

/* Hero Scroll Hint */
.hero__scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-bottom: var(--space-xl);
  color: var(--neutral-400);
  font-size: var(--fs-xs);
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---------- Value Proposition ---------- */
.values {
  background: var(--neutral-50);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--neutral-200);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--green-500), var(--green-700));
  transition: height 0.4s var(--ease);
  border-radius: 0 0 4px 0;
}

.value-card:hover {
  border-color: var(--green-200, #c8e6c9);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.value-card:hover::before {
  height: 100%;
}

.value-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  transition: all var(--duration) var(--ease);
}

.value-card__icon svg {
  width: 24px;
  height: 24px;
}

.value-card:hover .value-card__icon {
  background: var(--green-700);
  color: var(--white);
}

.value-card__title {
  font-size: var(--fs-xl);
  color: var(--neutral-900);
  margin-bottom: var(--space-sm);
}

.value-card__desc {
  font-size: var(--fs-sm);
  color: var(--neutral-600);
  line-height: 1.7;
}

/* ---------- Steps ---------- */
.steps {
  background: var(--white);
  position: relative;
}

.steps__timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.steps__timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  background: linear-gradient(180deg, var(--green-400), var(--green-700));
  border-radius: 2px;
}

.step-card {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  position: relative;
}

.step-card__number {
  width: 60px;
  height: 60px;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-2xl);
  border-radius: 50%;
  box-shadow: var(--shadow-green);
  position: relative;
  z-index: 1;
}

.step-card__content {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-2xl);
  flex: 1;
  border: 1px solid var(--neutral-200);
  transition: all var(--duration) var(--ease);
}

.step-card:hover .step-card__content {
  border-color: var(--green-400);
  box-shadow: var(--shadow-md);
}

.step-card__title {
  font-size: var(--fs-xl);
  color: var(--neutral-900);
  margin-bottom: var(--space-xs);
}

.step-card__desc {
  font-size: var(--fs-sm);
  color: var(--neutral-600);
  line-height: 1.7;
}

.step-card__badge {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--green-100);
  color: var(--green-800);
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid rgba(46, 125, 50, 0.15);
  line-height: 1.5;
}

.step-card__badge .icon {
  color: var(--green-600);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(160deg, var(--green-800) 0%, var(--green-900) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 15% 85%, var(--white) 1px, transparent 1px),
    radial-gradient(circle at 85% 15%, var(--white) 1px, transparent 1px);
  background-size: 50px 50px, 70px 70px;
  pointer-events: none;
}

.cta-box {
  position: relative;
  z-index: 1;
}

.cta-box__content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-box__title {
  font-size: var(--fs-3xl);
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-box__title .text-accent {
  color: var(--gold-400);
}

.cta-box__desc {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-xl);
}

.cta-box__format {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-2xl);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: left;
}

.cta-box__format-line {
  color: var(--white);
  font-size: var(--fs-base);
  padding: var(--space-xs) 0;
}

.cta-box__format-line .text-muted {
  color: rgba(255,255,255,0.5);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--neutral-900);
  color: var(--neutral-300);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  margin-bottom: var(--space-xs);
}

.footer__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-xl);
  color: var(--white);
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: var(--neutral-400);
  max-width: 280px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  color: var(--white);
  margin-bottom: var(--space-lg);
  font-weight: 600;
}

.footer__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-md);
  color: var(--neutral-400);
  line-height: 1.6;
}

.footer__detail .icon {
  color: var(--green-400);
  margin-top: 3px;
}

.footer__detail a {
  color: var(--green-400);
  transition: color var(--duration);
}

.footer__detail a:hover {
  color: var(--green-300, #81c784);
}

.footer__bottom {
  padding-top: var(--space-xl);
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--neutral-500);
}

/* ---------- Floating WhatsApp ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all var(--duration) var(--ease);
}

.fab-whatsapp svg {
  width: 28px;
  height: 28px;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

.fab-whatsapp::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  opacity: 0;
  animation: fabPulse 2.5s infinite ease-out;
}

@keyframes fabPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- Animations ---------- */
.anim-fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}

.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__title {
    font-size: var(--fs-3xl);
  }

  .section__title {
    font-size: var(--fs-2xl);
  }
}

@media (max-width: 768px) {
  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px var(--space-xl) var(--space-xl);
    box-shadow: var(--shadow-xl);
    transition: right var(--duration) var(--ease);
    gap: var(--space-lg);
  }

  .navbar__links.open {
    right: 0;
  }

  .navbar__hamburger {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }

  .hero__subtitle {
    margin: 0 auto var(--space-xl);
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__title {
    font-size: var(--fs-2xl);
  }

  .values__grid {
    grid-template-columns: 1fr;
  }

  .steps__timeline::before {
    left: 24px;
  }

  .step-card__number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: var(--fs-xl);
  }

  .step-card__content {
    padding: var(--space-lg);
  }

  .cta-box__title {
    font-size: var(--fs-2xl);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .btn--lg {
    font-size: var(--fs-base);
    padding: 0.875rem 1.5rem;
  }

  .section {
    padding: var(--space-3xl) 0;
  }
}

@media (max-width: 480px) {
  :root {
    --fs-5xl: 2.25rem;
    --fs-4xl: 2rem;
    --fs-3xl: 1.5rem;
    --fs-2xl: 1.25rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero {
    padding-top: 72px;
  }

  .hero__badge {
    font-size: var(--fs-xs);
  }

  .hero__card {
    padding: var(--space-xl);
  }

  .hero__card-logo {
    width: 100px;
    height: 100px;
  }

  .value-card {
    padding: var(--space-xl);
  }

  .cta-box__format {
    padding: var(--space-md);
  }

  .fab-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .fab-whatsapp svg {
    width: 24px;
    height: 24px;
  }
}
