/* SHIDDIQ-PRO Landing Page */

.landing-page {
  --lp-green-900: #0a241e;
  --lp-green-800: #0f3329;
  --lp-green-700: #164a3d;
  --lp-green-600: #1d5c4c;
  --lp-gold: #d4a843;
  --lp-gold-dark: #b8922f;
  --lp-cream: #f4f6f5;
  font-family: 'Nunito', sans-serif;
  overflow-x: clip;
}

.lp-header {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-btn-masuk {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(10, 36, 30, 0.45);
  border: 1.5px solid rgba(212, 168, 67, 0.7);
}

.lp-btn-masuk:hover,
.lp-btn-masuk.is-open {
  background: rgba(212, 168, 67, 0.14);
  border-color: var(--lp-gold);
  color: #fff;
}

/* Hero with photographic background */
.lp-hero {
  background: #0a241e;
  height: calc(100vh - 76px);
  max-height: calc(100vh - 76px);
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.lp-header-inner {
  width: 100%;
  min-width: 0;
  padding-left: 16px;
  padding-right: 16px;
}

@media (max-width: 767px) {
  .lp-header-nav {
    display: none;
  }

  .lp-logo-text {
    display: none;
  }
}

@media (min-width: 640px) {
  .lp-header-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 1024px) {
  .lp-header-inner {
    padding-left: 28px;
    padding-right: 28px;
  }
}

.lp-hero-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: 20px;
  padding-bottom: 16px;
  padding-left: 16px;
  padding-right: 16px;
  align-items: flex-start;
  text-align: left;
}

@media (min-width: 640px) {
  .lp-hero-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 1024px) {
  .lp-hero-inner {
    padding-left: 28px;
    padding-right: 28px;
  }
}

.lp-hero-copy {
  width: 100%;
  max-width: 540px;
  margin-left: 0;
  margin-right: auto;
  align-self: flex-start;
  text-align: left;
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/landing/hero-bg.png?v=2');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.lp-hero-book-stage {
  position: absolute;
  right: clamp(48px, 7vw, 110px);
  top: 4px;
  bottom: 78px;
  width: min(48vw, 620px);
  z-index: 6;
  display: none;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .lp-hero-book-stage {
    display: flex;
  }
}

.lp-hero-book-wrap {
  position: relative;
  z-index: 5;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.lp-hero-book {
  height: 100%;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.lp-float-panel {
  position: absolute;
  right: 4px;
  top: 14%;
  z-index: 8;
  width: 180px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(10, 36, 30, 0.72);
  border: 1px solid rgba(212, 168, 67, 0.28);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: auto;
}

.lp-hero-book-mobile-img {
  width: min(280px, 70%);
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
}

.lp-hero-visual {
  display: none;
}

.lp-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 22, 0.92) 0%, rgba(8, 28, 22, 0.78) 38%, rgba(8, 28, 22, 0.35) 62%, rgba(8, 28, 22, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 28, 22, 0.25) 0%, transparent 28%, rgba(8, 28, 22, 0.55) 100%);
  pointer-events: none;
}

.lp-cta-primary {
  background: var(--lp-gold);
  color: var(--lp-green-900);
  box-shadow: 0 8px 24px rgba(212, 168, 67, 0.28);
}

.lp-cta-secondary {
  color: #fff;
  background: rgba(10, 36, 30, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.lp-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.lp-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.lp-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.lp-trust-item > i {
  font-size: 14px;
  margin-top: 3px;
}

.lp-trust-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.lp-trust-sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  margin-top: 1px;
}

.lp-trust-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.lp-float-panel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.lp-float-panel-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 67, 0.15);
  color: var(--lp-gold);
  font-size: 12px;
  flex-shrink: 0;
}

.lp-float-panel-title {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.lp-float-panel-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  margin-top: 2px;
}

.lp-hero-bar {
  margin-top: auto;
  flex-shrink: 0;
  background: rgba(8, 28, 22, 0.72);
  border-top: 1px solid rgba(212, 168, 67, 0.22);
  backdrop-filter: blur(12px);
}

.lp-hero-bar-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lp-hero-bar-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 67, 0.14);
  color: var(--lp-gold);
  font-size: 13px;
  flex-shrink: 0;
}

.lp-hero-bar-title {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.lp-hero-bar-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  line-height: 1.35;
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .lp-hero {
    height: auto;
    max-height: none;
    min-height: calc(100vh - 76px);
  }

  .lp-hero-bg {
    background-position: 72% center;
  }

  .lp-hero-scrim {
    background:
      linear-gradient(180deg, rgba(8, 28, 22, 0.78) 0%, rgba(8, 28, 22, 0.88) 55%, rgba(8, 28, 22, 0.94) 100%),
      linear-gradient(90deg, rgba(8, 28, 22, 0.7) 0%, rgba(8, 28, 22, 0.35) 100%);
  }

  .lp-trust-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  .lp-hero {
    height: auto;
    max-height: none;
    min-height: auto;
  }

  .lp-hero-inner {
    padding-top: 16px;
    padding-bottom: 12px;
  }

  .lp-hero-bg {
    background-position: 85% center;
  }
}

/* ═══ Tentang / Materi Pembelajaran ═══ */
.lp-tentang {
  background: #f3f5f4;
  padding-top: 48px;
}

.lp-tentang-deco {
  position: absolute;
  color: rgba(22, 74, 61, 0.07);
  font-size: 140px;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.lp-tentang-deco-book {
  left: 2%;
  top: 8%;
  transform: rotate(-12deg);
}

.lp-tentang-deco-mosque {
  right: 3%;
  top: 6%;
  font-size: 120px;
  transform: rotate(6deg);
}

.lp-tentang-leaf {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 60% 40% 55% 45%;
  background: radial-gradient(circle at 30% 30%, rgba(22, 74, 61, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.lp-tentang-leaf-l {
  left: 18%;
  top: 22%;
}

.lp-tentang-leaf-r {
  right: 16%;
  top: 18%;
}

.lp-tentang-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 22px 20px 28px;
  box-shadow: 0 4px 20px rgba(15, 51, 41, 0.06);
  border: 1px solid rgba(15, 51, 41, 0.05);
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}

.lp-tentang-card:hover {
  box-shadow: 0 10px 28px rgba(15, 51, 41, 0.1);
  transform: translateY(-2px);
}

.lp-tentang-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 74, 61, 0.09);
  color: var(--lp-green-700);
  font-size: 16px;
  margin-bottom: 14px;
}

.lp-tentang-card-arrow {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 74, 61, 0.08);
  color: var(--lp-green-700);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lp-tentang-card-arrow:hover {
  background: var(--lp-green-800);
  color: #fff;
}

.lp-tentang-benefits {
  background: #e9eeec;
  border-top: 1px solid rgba(15, 51, 41, 0.06);
}

.lp-tentang-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-tentang-benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 74, 61, 0.1);
  color: var(--lp-green-700);
  font-size: 14px;
  flex-shrink: 0;
}

.lp-tentang-benefit-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--lp-green-900);
  line-height: 1.25;
}

.lp-tentang-benefit-desc {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .lp-tentang-deco {
    font-size: 90px;
    opacity: 0.8;
  }
}

@media (max-width: 640px) {
  .lp-tentang {
    padding-top: 36px;
  }

  .lp-tentang-deco,
  .lp-tentang-leaf {
    display: none;
  }
}

/* ═══ Kontak / Footer ═══ */
.lp-kontak {
  background: #071a15;
}

.lp-kontak-card {
  text-align: center;
  padding: 28px 20px 26px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-kontak-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-gold);
  font-size: 18px;
  border: 1.5px solid rgba(212, 168, 67, 0.65);
  background: rgba(212, 168, 67, 0.08);
}

.lp-kontak-card-label {
  color: var(--lp-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.lp-kontak-card-value {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
}

.lp-kontak-col-title {
  color: var(--lp-gold);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

.lp-kontak-social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  transition: color 0.2s, background 0.2s;
}

.lp-kontak-social:hover {
  color: var(--lp-gold);
  background: rgba(212, 168, 67, 0.12);
}

.lp-kontak-newsletter {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.lp-kontak-newsletter-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  padding: 11px 14px;
  outline: none;
}

.lp-kontak-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.lp-kontak-newsletter-btn {
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lp-gold);
  color: var(--lp-green-900);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.lp-kontak-newsletter-btn:hover {
  opacity: 0.92;
}

.lp-kontak-bottom {
  position: relative;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lp-kontak-bottom-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.lp-kontak-bottom-rule::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 2px;
  background: var(--lp-gold);
  border-radius: 2px;
}

.landing-page .lp-serif {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* Hero arch frame */
.lp-hero-arch {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 48vw);
  height: min(620px, 75vh);
  pointer-events: none;
}

.lp-hero-arch-inner {
  position: absolute;
  inset: 8%;
  border-radius: 50% 50% 45% 45% / 30% 30% 70% 70%;
  overflow: hidden;
  border: 3px solid var(--lp-gold);
  box-shadow: 0 0 0 8px rgba(212, 168, 67, 0.15), inset 0 0 60px rgba(0,0,0,0.3);
}

.lp-hero-arch-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,51,41,0.4) 0%, rgba(10,36,30,0.2) 100%);
}

.lp-hero-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,67,0.12) 0%, transparent 70%);
  filter: blur(20px);
}

/* Book 3D */
.lp-book-scene {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-book-wrap {
  position: relative;
  z-index: 10;
  width: 268px;
  height: 358px;
  margin: 0 auto;
  transform: perspective(1100px) rotateY(-22deg) rotateX(4deg);
  transform-style: preserve-3d;
}

.lp-book {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  border-radius: 4px 10px 10px 4px;
  box-shadow:
    22px 28px 55px rgba(0, 0, 0, 0.55),
    6px 8px 20px rgba(0, 0, 0, 0.25),
    -3px 0 10px rgba(0, 0, 0, 0.2);
}

.lp-book-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 18px;
  z-index: 3;
  background: linear-gradient(90deg, #051410 0%, #0a241e 35%, #123528 70%, #0f2920 100%);
  border-radius: 4px 0 0 4px;
  box-shadow: inset -2px 0 6px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-book-spine-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(212, 168, 67, 0.75);
  text-transform: uppercase;
  user-select: none;
}

.lp-book-cover {
  position: absolute;
  left: 18px;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  border-radius: 2px 10px 10px 2px;
  overflow: hidden;
  background: #0f3329;
  box-shadow: inset -6px 0 14px rgba(0, 0, 0, 0.18);
}

.lp-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.lp-book-cover-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.06) 28%,
    transparent 52%,
    rgba(0, 0, 0, 0.08) 100%
  );
  pointer-events: none;
}

.lp-book-pages {
  position: absolute;
  right: -11px;
  top: 6px;
  bottom: 6px;
  width: 11px;
  z-index: 1;
  border-radius: 0 2px 2px 0;
  background: repeating-linear-gradient(
    180deg,
    #f5f0e6 0px,
    #f5f0e6 2px,
    #e8e0d0 2px,
    #e8e0d0 3px
  );
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.15);
  transform: rotateY(72deg);
  transform-origin: left center;
}

.lp-book-bottom {
  position: absolute;
  left: 18px;
  right: -4px;
  bottom: -5px;
  height: 8px;
  z-index: 0;
  background: linear-gradient(180deg, #c9bfb0, #a89888);
  transform: rotateX(-78deg);
  transform-origin: top center;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.lp-book-pedestal {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%) rotateX(68deg);
  width: 200px;
  height: 22px;
  background: radial-gradient(ellipse at center, var(--lp-gold) 0%, var(--lp-gold-dark) 72%, #9a7424 100%);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(212, 168, 67, 0.45);
  z-index: 5;
}

.lp-book-floor-shadow {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-42%);
  width: 220px;
  height: 28px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.42) 0%, transparent 72%);
  filter: blur(6px);
  z-index: 0;
}

/* Floating badge */
.lp-float-badge {
  position: absolute;
  z-index: 20;
  background: white;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.04);
  white-space: nowrap;
}

.lp-float-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(22, 74, 61, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-green-700);
  font-size: 13px;
}

/* Stats overlap cards */
.lp-stats-overlap {
  margin-top: -48px;
  position: relative;
  z-index: 20;
}

.lp-stat-card {
  background: white;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
}

/* Feature card */
.lp-feature-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  height: 100%;
  transition: box-shadow 0.2s;
}

.lp-feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* Learning step */
.lp-step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  margin: 0 auto 12px;
}

.lp-step-line {
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 0;
  border-top: 2px dashed #d1d5db;
}

/* Testimonial */
.lp-testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  max-width: 560px;
  margin: 0 auto;
}

.lp-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  line-height: 0.6;
  color: var(--lp-gold);
  opacity: 0.35;
}

/* Footer arch */
.lp-footer-arch {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  overflow: hidden;
  pointer-events: none;
}

.lp-footer-arch svg {
  width: 100%;
  height: 100%;
}

/* Nav underline active */
@keyframes authDropIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lp-nav-active {
  color: var(--lp-gold) !important;
  border-bottom: 2px solid var(--lp-gold);
  padding-bottom: 4px;
}

/* Hero wave */
.lp-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.lp-hero-wave svg {
  width: 100%;
  height: 80px;
}

@media (max-width: 1024px) {
  .lp-hero-arch {
    opacity: 0.3;
    width: 100%;
    right: -20%;
  }
  .lp-book-scene {
    min-height: 340px;
    max-width: 320px;
  }
  .lp-book-wrap {
    transform: perspective(1000px) rotateY(-16deg) rotateX(3deg) scale(0.88);
  }
}

@media (max-width: 640px) {
  .lp-book-wrap {
    transform: perspective(900px) rotateY(-12deg) rotateX(2deg) scale(0.78);
  }
  .lp-book-pedestal {
    width: 170px;
  }
}
