/* ==========================================================================
   MaheraKids - Exact Design Match to landing.png & feature.png
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Paytone+One&display=swap');

:root {
  /* Brand Tokens Revisi 1 */
  --color-primary: #0f4c5c;
  --color-primary-dark: #0a333e;
  --color-primary-light: #166b82;
  --color-accent-lime: #10b981;
  --color-accent-lime-hover: #059669;
  --color-accent-soft-green: #d1fae5;
  --color-accent-yellow: #f59e0b;
  --color-accent-yellow-light: #fef3c7;
  --color-accent-yellow-dark: #d97706;
  --color-accent-blue: #0284c7;
  --color-accent-blue-soft: #e0f2fe;

  /* Colors from landing.png & feature.png */
  --header-bg: #ffffff;
  --nav-active-bg: #10b981;
  --hero-bg-top: #e8f5e9;
  --hero-bg-hill: #a3e635;
  --teal-dark: #0f4c5c;
  --teal-button: #0f4c5c;
  --pink-title: #f43f5e;
  --orange-bright: #f97316;
  
  /* 6 Program Colors */
  --prog-lime: #10b981;
  --prog-orange: #f59e0b;
  --prog-cyan: #0284c7;
  --prog-purple: #8c4da0;
  --prog-teal: #0f4c5c;
  --prog-blue: #1c75bc;

  /* Card Colors Feature.png */
  --badge-green: #10b981;
  --badge-orange: #f59e0b;
  --badge-cyan: #0284c7;
  --badge-purple: #8b5cf6;
  --badge-red: #ef4444;
  --badge-blue: #2563eb;
  --badge-navy: #1e3a8a;

  --text-dark: #1e293b;
  --radius-card: 16px;
  --radius-pill: 50px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  background-color: #f4f9f4;
  /* SVG School Doodle Background Pattern */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23004d40' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='0.08'%3E%3C!-- Buku --%3E%3Cpath d='M20 30 Q 30 25 40 30 V 55 Q 30 50 20 55 Z M40 30 Q 50 25 60 30 V 55 Q 50 50 40 55 Z'/%3E%3C!-- Pensil --%3E%3Cpath d='M100 25 L 120 45 L 90 75 L 75 75 L 75 60 Z M110 35 L 95 50'/%3E%3C!-- Topi Toga --%3E%3Cpath d='M25 110 L 45 100 L 65 110 L 45 120 Z M35 115 V 125 Q 45 130 55 125 V 115'/%3E%3C!-- Penggaris --%3E%3Cpath d='M100 100 L 140 140 M110 110 L 115 105 M120 120 L 125 115 M130 130 L 135 125'/%3E%3C!-- Lampu Ide --%3E%3Ccircle cx='130' cy='30' r='10'/%3E%3Cpath d='M125 40 H 135 M127 44 H 133'/%3E%3C!-- Atom IPA --%3E%3Cellipse cx='35' cy='70' rx='12' ry='5' transform='rotate(30 35 70)'/%3E%3Cellipse cx='35' cy='70' rx='12' ry='5' transform='rotate(-30 35 70)'/%3E%3C!-- Matematika 1+2 --%3E%3Ctext x='85' y='85' font-size='12' font-family='sans-serif' font-weight='bold' fill='%23004d40' stroke='none'%3E1+2=%3C/text%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Floating School Icons Elements */
.school-doodle-float {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  font-size: 2rem;
  opacity: 0.25;
  animation: floatDoodle 5s ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
}

@keyframes floatDoodle {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
  100% { transform: translateY(-18px) rotate(-5deg); }
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Fredoka', cursive, sans-serif;
}

.title-3d {
  font-family: 'Paytone One', 'Fredoka', sans-serif;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ==========================================================================
   Header (landing.png)
   ========================================================================== */
.site-header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 0.75rem 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  background: #10b981;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.brand-text {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #0f4c5c;
  line-height: 1.1;
}

.brand-text span {
  color: #10b981;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: #334155;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.nav-menu a.active, .nav-menu a:hover {
  background: #a3e635;
  color: #1a4301;
}

.btn-cek-invoice {
  background: #004d40;
  color: white !important;
  font-weight: 700;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(0,77,64,0.3);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.btn-cek-invoice:hover {
  background: #00332c;
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #004d40;
}

/* ==========================================================================
   Hero Section (landing.png)
   ========================================================================== */
.hero-wrapper {
  background: linear-gradient(180deg, #dcfce7 0%, #bbf7d0 40%, #86efac 100%);
  position: relative;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero-background-graphics {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.paper-plane {
  position: absolute;
  font-size: 2.5rem;
  opacity: 0.7;
}

.plane-left { top: 15%; left: 8%; transform: rotate(-15deg); }
.plane-right { top: 20%; right: 10%; transform: rotate(25deg); }
.star-icon { position: absolute; color: #f59e0b; font-size: 1.5rem; }

.hero-content-flex {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.student-illustration-container {
  display: flex;
  justify-content: center;
}

.illustration-box {
  width: 240px;
  height: 280px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 4px solid #ffffff;
  position: relative;
  transition: transform 0.3s ease;
}

.illustration-box:hover {
  transform: scale(1.04);
}

.avatar-graphic {
  font-size: 7rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.student-label {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0f4c5c;
}

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

.hero-title-main {
  font-size: 3.5rem;
  line-height: 1.1;
  color: #004d40;
  margin-bottom: 0.5rem;
}

.hero-title-sub {
  font-family: 'Paytone One', 'Fredoka', sans-serif;
  font-size: 3.2rem;
  color: #f43f5e;
  text-shadow: 3px 3px 0px #ffffff, 5px 5px 0px rgba(0,0,0,0.1);
  letter-spacing: 1px;
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 700;
  color: #164e63;
  margin: 1.2rem 0 1.8rem;
}

.btn-daftar-now {
  background: #004d40;
  color: white;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.9rem 2.6rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(0,77,64,0.4);
  border: 3px solid #ffffff;
  transition: all 0.25s ease;
}

.btn-daftar-now:hover {
  background: #00332c;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0,77,64,0.55);
}

/* Green Hill Curve */
.hill-curve {
  width: 100%;
  height: 60px;
  background: #f4f9f4;
  border-radius: 100% 100% 0 0;
  margin-top: -30px;
  position: relative;
  z-index: 3;
}

/* ==========================================================================
   6 Program Utama Kami (TK & SD Awal) Banner & Cards (landing.png)
   ========================================================================== */
.section-banner-title {
  background: #84cc16;
  color: #1a4301;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  text-align: center;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-pill);
  max-width: 750px;
  margin: 0 auto 2.5rem;
  box-shadow: 0 4px 12px rgba(132, 204, 22, 0.3);
  text-transform: uppercase;
}

.six-programs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.card-prog-6 {
  border-radius: 16px;
  padding: 1.5rem 0.8rem;
  text-align: center;
  color: white;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.card-prog-6:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.card-prog-6 .icon-holder {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
}

.card-prog-6 .prog-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
}

/* Card Specific Colors matching landing.png */
.c-lime { background: var(--prog-lime); }
.c-orange { background: var(--prog-orange); }
.c-cyan { background: var(--prog-cyan); }
.c-purple { background: var(--prog-purple); }
.c-teal { background: var(--prog-teal); }
.c-blue { background: var(--prog-blue); }

/* ==========================================================================
   Program Belajar Lengkap Cards (landing.png)
   ========================================================================== */
.complete-program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.program-level-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  border: 3px solid #e2e8f0;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.program-level-card:hover {
  transform: translateY(-6px);
}

.level-badge-header {
  padding: 0.75rem 1rem;
  color: white;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.badge-sd { background: #84cc16; }
.badge-smp { background: #06b6d4; }
.badge-sma { background: #8b5cf6; }
.badge-mhs { background: #0f766e; }

.level-body {
  padding: 1.8rem 1rem;
}

.level-avatar {
  font-size: 4rem;
  margin-bottom: 0.8rem;
}

.level-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.level-subtext {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #475569;
}

/* ==========================================================================
   Feature.png - Bimbingan Belajar Semua Jenjang (Exact Match feature.png)
   ========================================================================== */
.feature-main-wrapper {
  background: linear-gradient(180deg, #fffbeb 0%, #ecfdf5 100%);
  border: 4px solid #fef08a;
  border-radius: 32px;
  padding: 3rem 2rem;
  margin: 4rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-header-banner {
  text-align: center;
  margin-bottom: 2.5rem;
}

.feature-badge-top {
  display: inline-block;
  background: #004d40;
  color: white;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  padding: 0.5rem 1.8rem;
  border-radius: var(--radius-pill);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.feature-main-title {
  font-family: 'Paytone One', 'Fredoka', sans-serif;
  font-size: 2.8rem;
  color: #f59e0b;
  -webkit-text-stroke: 2px #004d40;
  text-shadow: 3px 3px 0 #004d40;
  margin-bottom: 0.5rem;
}

.yellow-ribbon-sub {
  display: inline-block;
  background: #facc15;
  color: #713f12;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.4rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid #ca8a04;
}

/* 3 Level Columns Grid matching feature.png */
.feature-columns-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.level-col-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 2px solid #e2e8f0;
}

.level-col-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.level-col-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1e293b;
}

.level-col-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 700;
}

/* Subject Badges matching feature.png pill colors & icons */
.subject-pill-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.subject-pill {
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.subject-pill:hover {
  transform: translateX(4px);
}

.pill-icon {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.sp-green { background: #84cc16; }
.sp-orange { background: #f97316; }
.sp-cyan { background: #06b6d4; }
.sp-purple { background: #8b5cf6; }
.sp-red { background: #ef4444; }
.sp-blue { background: #2563eb; }
.sp-navy { background: #1e3a8a; }

/* Bottom Feature Section: Value Box & Contact Card */
.feature-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.value-props-box {
  background: #004d40;
  color: white;
  border-radius: 24px;
  padding: 2rem;
  border: 3px dashed #a3e635;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.value-prop-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
}

.check-badge {
  width: 28px;
  height: 28px;
  background: #a3e635;
  color: #1a4301;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-address-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  border: 2px solid #cbd5e1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-header-tag {
  background: #004d40;
  color: white;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  text-align: center;
  padding: 0.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.cp-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: #1e293b;
}

.cp-wa-icon {
  width: 32px;
  height: 32px;
  background: #22c55e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ==========================================================================
   Formulir Pendaftaran Simpel Section (landing.png)
   ========================================================================== */
.form-wrapper {
  background: #e0f2fe;
  border-radius: 28px;
  padding: 3rem 2rem;
  border: 3px solid #7dd3fc;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: 2px solid #94a3b8;
  font-family: inherit;
  font-size: 1rem;
  background: white;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #0284c7;
}

.checkbox-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
  background: white;
  padding: 1.25rem;
  border-radius: 14px;
  border: 2px solid #cbd5e1;
}

.checkbox-lbl {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.checkbox-lbl input {
  width: 18px;
  height: 18px;
  accent-color: #004d40;
}

/* ==========================================================================
   Cek Invoice Section (landing.png)
   ========================================================================== */
.invoice-wrapper {
  background: white;
  border-radius: 28px;
  padding: 3rem 2rem;
  text-align: center;
  border: 3px solid #cbd5e1;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.invoice-input-group {
  max-width: 600px;
  margin: 1.8rem auto 0;
  display: flex;
  gap: 0.8rem;
}

.invoice-input-group input {
  flex: 1;
  padding: 0.9rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 2px solid #94a3b8;
  font-size: 1rem;
}

.btn-cari-invoice {
  background: #004d40;
  color: white;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0 2rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cari-invoice:hover {
  background: #00332c;
}

/* ==========================================================================
   Footer (landing.png)
   ========================================================================== */
.site-footer {
  background: #00332c;
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h3 {
  font-size: 1.3rem;
  color: #a3e635;
  margin-bottom: 1.2rem;
}

.footer-col p, .footer-col ul {
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: white;
  width: 100%;
  max-width: 550px;
  border-radius: 24px;
  padding: 2.2rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-content-flex {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .six-programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .complete-program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-columns-3 {
    grid-template-columns: 1fr;
  }
  .feature-bottom-grid {
    grid-template-columns: 1fr;
  }
  .footer-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .six-programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .complete-program-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-2col {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}
