/* ============================================
   Happy Couple Class — Landing Page Stylesheet
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --pink-deep: #D63384;
  --pink-deep-hover: #B82870;
  --pink-mid: #E84E94;
  --pink-soft: #F4A6C1;
  --pink-pale: #FDF2F6;
  --pink-blush: #FBD9E4;
  --gold: #F2B94F;
  --gold-soft: #F9D98E;
  --ink: #2B2028;
  --ink-soft: #6E5A62;
  --ink-light: #9E8B93;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(214, 51, 132, 0.08);
  --shadow-md: 0 8px 24px rgba(214, 51, 132, 0.12);
  --shadow-lg: 0 16px 48px rgba(214, 51, 132, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- Utility ---------- */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pink-deep);
  background: var(--pink-blush);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

/* ---------- Scroll Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal-stagger .reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.active .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.active .reveal-item:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.active .reveal-item:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.active .reveal-item:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.active .reveal-item:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.active .reveal-item:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.active .reveal-item:nth-child(6) { transition-delay: 0.55s; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(214, 51, 132, 0.08);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo img {
  height: 42px;
  width: auto;
}

.navbar-logo span {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pink-deep);
  line-height: 1.2;
}

.navbar-logo .logo-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--pink-deep);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(214, 51, 132, 0.3);
}

.btn-primary:hover {
  background: var(--pink-deep-hover);
  box-shadow: 0 6px 24px rgba(214, 51, 132, 0.4);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--pink-deep);
  border: 2px solid var(--pink-deep);
}

.btn-outline:hover {
  background: var(--pink-deep);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

.btn-wa {
  background: var(--pink-deep);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(214, 51, 132, 0.35);
}

.btn-wa:hover {
  background: var(--pink-deep-hover);
  box-shadow: 0 6px 28px rgba(214, 51, 132, 0.45);
  transform: translateY(-2px);
}

.btn-wa svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 140px 0 100px;
  background: linear-gradient(170deg, var(--pink-pale) 0%, var(--white) 50%, var(--pink-blush) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(214, 51, 132, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(242, 185, 79, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--pink-blush);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  max-width: 750px;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--pink-deep);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--pink-blush);
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--pink-blush);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pink-deep);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ============================================
   PILAR (3 Pillars)
   ============================================ */
.pilar {
  padding: 90px 0;
  background: var(--white);
}

.pilar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 10px;
}

.pilar-card {
  background: var(--pink-pale);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.pilar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--pink-deep);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity var(--transition);
}

.pilar-card:hover {
  background: var(--white);
  border-color: var(--pink-blush);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.pilar-card:hover::before {
  opacity: 1;
}

.pilar-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.pilar-icon .material-symbols-outlined {
  font-size: 2.2rem;
  color: var(--white);
}

.pilar-icon.ilmu {
  background: linear-gradient(135deg, var(--pink-blush), var(--pink-soft));
}

.pilar-icon.adab {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}

.pilar-icon.adab .material-symbols-outlined {
  color: var(--ink);
}

.pilar-icon.iman {
  background: linear-gradient(135deg, var(--pink-soft), var(--pink-deep));
}

.pilar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.pilar-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ============================================
   MATERI (Class Topics)
   ============================================ */
.materi {
  padding: 90px 0;
  background: var(--pink-pale);
}

.materi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.materi-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition);
  border: 1px solid rgba(214, 51, 132, 0.06);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.materi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--pink-soft);
}

.materi-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--pink-deep), var(--pink-mid));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.materi-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.materi-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ============================================
   TARGET (For Who)
   ============================================ */
.target {
  padding: 90px 0;
  background: var(--white);
}

.target-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.target-visual {
  background: linear-gradient(135deg, var(--pink-pale), var(--pink-blush));
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

.target-visual::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(214, 51, 132, 0.08);
  top: -40px;
  right: -40px;
}

.target-visual-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.target-visual-emoji {
  margin-bottom: 16px;
}

.target-visual-emoji .material-symbols-outlined {
  font-size: 4.5rem;
  color: var(--pink-deep);
  display: inline-block;
}

.target-visual-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--pink-deep);
  line-height: 1.4;
}

.target-visual-subtext {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 8px;
}

.target-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.target-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: var(--pink-pale);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.target-item:hover {
  background: var(--pink-blush);
  transform: translateX(6px);
}

.target-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pink-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.target-check .material-symbols-outlined {
  font-size: 1.1rem;
  color: var(--white);
}

.target-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.target-item p {
  font-size: 0.83rem;
  color: var(--ink-soft);
}

/* ============================================
   ABOUT (Tentang Kak Suhe)
   ============================================ */
.about {
  padding: 90px 0;
  background: var(--pink-pale);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: center;
}

.about-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--pink-blush);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(214, 51, 132, 0.05), transparent);
  pointer-events: none;
}

.about-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.about-content .about-role {
  font-size: 0.9rem;
  color: var(--pink-deep);
  font-weight: 600;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--pink-blush);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  transition: all var(--transition);
  background: var(--white);
}

.social-link:hover {
  border-color: var(--pink-deep);
  color: var(--pink-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.social-link svg {
  width: 18px;
  height: 18px;
  color: var(--pink-deep);
}

/* ============================================
   KOTA / JADWAL (Cities)
   ============================================ */
.kota {
  padding: 90px 0;
  background: var(--white);
}

.kota-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 10px;
}

.kota-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 26px;
  border-radius: 50px;
  background: var(--pink-pale);
  border: 1.5px solid var(--pink-blush);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  transition: all var(--transition);
}

.kota-tag:hover {
  background: var(--pink-blush);
  border-color: var(--pink-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.kota-tag .material-symbols-outlined {
  font-size: 1.25rem;
  color: var(--pink-deep);
}

.kota-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--ink-light);
  font-style: italic;
}

/* ============================================
   CTA PENUTUP (Final CTA)
   ============================================ */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--pink-deep) 0%, var(--pink-mid) 50%, #C2436B 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.cta-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section .section-title {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.cta-section .cta-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.cta-section .btn-wa-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 44px;
  border-radius: 50px;
  background: var(--white);
  color: var(--pink-deep);
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.cta-section .btn-wa-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-wa-white svg {
  width: 24px;
  height: 24px;
  color: #25D366;
}

.cta-quote {
  margin-top: 36px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 48px 0 32px;
  background: var(--ink);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-logo span {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--pink-soft);
}

.footer-links a svg {
  width: 16px;
  height: 16px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

/* ============================================
   FLOATING WA BUTTON
   ============================================ */
.fab-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition);
  animation: fab-bounce 3s infinite;
}

.fab-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.fab-wa svg {
  width: 30px;
  height: 30px;
  color: var(--white);
}

@keyframes fab-bounce {
  0%, 100% { transform: translateY(0); }
  15% { transform: translateY(-8px); }
  30% { transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .pilar-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .materi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .target-wrapper {
    gap: 40px;
  }

  .about-wrapper {
    grid-template-columns: 240px 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    height: 64px;
  }

  .navbar-logo span {
    font-size: 0.92rem;
  }

  .navbar-logo .logo-sub {
    display: none;
  }

  .btn {
    padding: 10px 22px;
    font-size: 0.85rem;
  }

  .hero {
    padding: 120px 0 70px;
  }

  .hero-stats {
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .pilar-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .materi-grid {
    grid-template-columns: 1fr;
  }

  .target-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .target-visual {
    min-height: 240px;
    padding: 36px;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-avatar {
    max-width: 260px;
    margin: 0 auto;
  }

  .about-socials {
    justify-content: center;
  }

  .cta-section {
    padding: 70px 0;
  }

  .footer-links {
    gap: 16px;
  }

  .fab-wa {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .fab-wa svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .container {
    width: 92%;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 20px;
  }

  .materi-card {
    padding: 24px 20px;
  }

  .cta-section .btn-wa-white {
    padding: 16px 32px;
    font-size: 0.95rem;
  }
}
