:root {
  --c-primary: #c00000;
  --c-primary-dark: #900000;
  --c-accent: #ff8080;
  --c-soft: #ffc0c0;
  --c-ink: #1a1a1a;
  --c-muted: #505060;
  --c-bg: #ffffff;
  --c-bg-alt: #f7f1f1;
  --c-border: #eadcdc;
  --c-on-primary: #ffffff;
  --max-w: 1080px;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(160, 40, 40, 0.12);
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn--primary {
  background: var(--c-primary);
  color: var(--c-on-primary);
}

.btn--primary:hover {
  background: var(--c-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(192, 0, 0, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}

.btn--ghost:hover {
  background: var(--c-soft);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.2rem;
}

.brand__logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}

.brand__name {
  white-space: nowrap;
}

.nav__links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-muted);
}

.nav__links a:hover {
  color: var(--c-primary);
}

/* Pautan "Menu Utama" dalam menu mobile sahaja */
.nav-back {
  display: none;
  color: var(--c-primary);
  font-weight: 700;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--c-ink);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.lang-toggle {
  border: 1px solid var(--c-border);
  background: #fff;
  color: var(--c-ink);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lang-toggle:hover {
  background: var(--c-soft);
}

/* Hero */
.hero {
  background: radial-gradient(1200px 600px at 80% -10%, var(--c-soft), transparent 60%),
              linear-gradient(180deg, #fff, var(--c-bg-alt));
  padding: 72px 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--c-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin-bottom: 14px;
}

.hero__slogan {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero__desc {
  color: var(--c-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 28px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__logo {
  width: min(100%, 380px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  object-fit: contain;
}

/* Stats */
.stats {
  background: var(--c-primary);
  color: var(--c-on-primary);
  padding: 28px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat__num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 0.95rem;
  opacity: 0.92;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section__head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Features */
.features {
  background: #fff;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  padding: 28px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--c-muted);
  font-size: 0.95rem;
}

/* How */
.how {
  background: var(--c-bg-alt);
}

.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid var(--c-border);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--c-muted);
  font-size: 0.95rem;
}

/* Specs */
.specs__grid {
  max-width: 720px;
  margin: 0 auto;
}

.specs__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.specs__list li {
  padding: 16px 18px;
  background: var(--c-bg-alt);
  border-radius: var(--radius);
  border-left: 4px solid var(--c-primary);
}

.specs__list strong {
  display: block;
  margin-bottom: 2px;
}

.specs__list span {
  color: var(--c-muted);
}

/* Company */
.company {
  background: #fff;
}

.company__inner {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 40px;
  align-items: center;
}

.company__logo {
  width: min(100%, 220px);
  object-fit: contain;
}

.company__desc {
  color: var(--c-muted);
  margin-bottom: 20px;
}

.company__contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 600;
}

.company__contact a:hover {
  color: var(--c-primary);
}

/* CTA */
.cta {
  background: radial-gradient(800px 400px at 50% -20%, var(--c-accent), transparent 70%),
              var(--c-primary);
  color: #fff;
  text-align: center;
}

.cta__inner {
  max-width: 640px;
}

.cta__inner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta__inner p {
  margin-bottom: 28px;
  font-size: 1.1rem;
  opacity: 0.94;
}

.cta .btn--primary {
  background: #fff;
  color: var(--c-primary);
}

.cta .btn--primary:hover {
  background: var(--c-soft);
}

/* Footer */
.footer {
  background: #141414;
  color: #eee;
  padding: 36px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__brand .brand__name {
  color: #fff;
}

.footer__slogan {
  color: var(--c-accent);
  font-weight: 700;
}

.footer__copy {
  color: #aaa;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    padding: 10px 24px;
    box-shadow: 0 18px 40px rgba(160, 40, 40, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-bottom: 1px solid var(--c-border);
  }

  .nav__links.open {
    max-height: 560px;
  }

  .nav__links a {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--c-bg-alt);
  }

  .nav__links a:last-child {
    border-bottom: none;
  }

  .nav__links .nav-back {
    display: block;
  }

  .back-home {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 48px 0;
  }

  .hero__inner,
  .company__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .features__grid,
  .how__steps {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}