/* ============================================================
   LaRe's Music Studio — Website CSS
   Modern Purple & Light Design System (Company Profile 2026 & Form Updated)
   ============================================================ */

:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-deep: #4c1d95;
  --purple-bg-start: #581c87;
  --purple-bg-end: #3b0764;
  --accent: #f59e0b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --text-dark: #0f172a;
  --text-gray: #475569;
  --text-muted: #94a3b8;
  --border-light: #e2e8f0;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
.text-gradient {
  background: linear-gradient(135deg, #a855f7, #c084fc, #e879f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-accent { color: var(--accent); }

/* ── CONTAINER ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-white {
  background: #ffffff;
  color: #581c87;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  background: #f8fafc;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45);
}
.btn-outline-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}
.btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-outline {
  background: transparent;
  color: var(--text-gray);
  border: 1px solid var(--border-light);
}
.btn-outline:hover { background: #f1f5f9; color: var(--text-dark); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}
.navbar.scrolled, .navbar-solid {
  background: rgba(59, 7, 100, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.logo-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
  font-weight: 600;
  margin-left: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}
.nav-links a:not(.btn) {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:not(.btn):hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #ffffff; border-radius: 2px; }

/* ── HERO SECTION (PURPLE TOP) ── */
.hero-wrapper {
  background: linear-gradient(145deg, var(--purple-bg-start) 0%, #4c1d95 60%, var(--purple-bg-end) 100%);
  color: #ffffff;
  padding-top: 130px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero-wrapper::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}
.hero-text { max-width: 580px; }
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #e9d5ff;
  margin-bottom: 24px;
}
.hero-title-main {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 32px;
}
.hero-btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-image-card img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

/* ── STATS COUNTER BAR ── */
.stats-bar-container {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 40px;
  margin-top: 20px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item-col { padding: 8px; }
.stat-num-val {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-txt-lbl {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ── SECTION COMMON ── */
.section-white { background: #ffffff; padding: 90px 0; }
.section-light { background: var(--bg-light); padding: 90px 0; }
.section-header-center { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-tag-purple { font-size: 0.85rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; display: block; }
.section-title-dark { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--text-dark); letter-spacing: -0.02em; margin-bottom: 16px; }
.section-desc-gray { font-size: 1rem; color: var(--text-gray); line-height: 1.6; }

/* ── ABOUT SECTION ── */
.about-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}
.about-img-mic {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.about-paragraph {
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 28px;
}
.feature-cards-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-item-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #f8fafc;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.feature-item-row:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: #d8b4fe;
  box-shadow: var(--shadow-md);
}
.feature-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.icon-box-purple { background: #f3e8ff; color: #7c3aed; }
.icon-box-pink { background: #fce7f3; color: #ec4899; }
.icon-box-green { background: #dcfce7; color: #16a34a; }
.feature-info-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.feature-info-content p {
  font-size: 0.92rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ── FOUNDER CARD ── */
.founder-card-box {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  background: linear-gradient(135deg, #f3e8ff 0%, #faf5ff 100%);
  border: 1px solid #e9d5ff;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 56px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.founder-badge-head {
  display: inline-block;
  padding: 4px 14px;
  background: #7c3aed;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.founder-name-txt {
  font-size: 1.8rem;
  font-weight: 800;
  color: #3b0764;
  margin-bottom: 4px;
}
.founder-sub-txt {
  font-size: 0.95rem;
  font-weight: 600;
  color: #6d28d9;
  margin-bottom: 14px;
}
.founder-quote-txt {
  margin-top: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border-left: 4px solid #7c3aed;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 0.92rem;
  color: #581c87;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

/* ── TEACHERS SECTION ── */
.teachers-grid-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.teacher-card-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.teacher-card-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #c084fc;
}
.teacher-avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}
.teacher-name-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.teacher-spec-txt {
  font-size: 0.82rem;
  color: #6d28d9;
  background: #f3e8ff;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-block;
}

/* ── CLASSES SECTION ── */
.classes-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}
.class-card-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.class-card-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #c084fc;
}
.class-card-img-holder {
  height: 220px;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.class-card-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.class-card-item:hover .class-card-img-holder img {
  transform: scale(1.05);
}
.class-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.class-title-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.class-name-txt {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-dark);
}
.class-age-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: #047857;
  background: #d1fae5;
  padding: 4px 10px;
  border-radius: 999px;
}
.class-desc-txt {
  font-size: 0.92rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.class-card-footer {
  margin-top: auto;
}
.btn-class-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-class-cta:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

/* ── RULES SECTION ── */
.rules-wrapper-box {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border: 1px solid #e9d5ff;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 20px;
}
.rules-title-head {
  font-size: 1.4rem;
  font-weight: 800;
  color: #3b0764;
  margin-bottom: 24px;
  text-align: center;
}
.rules-four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.rule-card-mini {
  background: #ffffff;
  border: 1px solid #f0abfc;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.rule-card-mini:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.rule-card-mini h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #581c87;
  margin-bottom: 6px;
}
.rule-card-mini p {
  font-size: 0.82rem;
  color: #64748b;
}

/* ── FOOTER SECTION ── */
.footer-dark {
  background: #1e1b4b;
  color: #cbd5e1;
  padding: 70px 0 30px;
  margin-top: 0;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 360px;
}
.footer-col-nav h5 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-col-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-nav li {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
}
.footer-col-nav a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition);
}
.footer-col-nav a:hover {
  color: #a855f7;
}
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* ── FORM PAGE STYLING ── */
.form-page {
  background: linear-gradient(135deg, #3b0764 0%, #4c1d95 50%, #581c87 100%);
  min-height: 100vh;
  color: #ffffff;
}
.form-main {
  display: flex;
  justify-content: center;
  padding: 120px 24px 60px;
}
.form-wrapper {
  background: #ffffff;
  color: var(--text-dark);
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.form-header { text-align: center; margin-bottom: 32px; }
.form-logo {
  width: 56px; height: 56px;
  background: #f3e8ff; color: var(--primary);
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 16px;
}
.form-header h1 { font-size: 1.8rem; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }
.form-header p { color: var(--text-gray); font-size: 0.95rem; }

.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  font-family: inherit;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
.required { color: #e11d48; }
.field-hint { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.field-error { font-size: 0.8rem; color: #e11d48; margin-top: 4px; display: block; }

.kelas-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 8px; }
.kelas-option input[type="checkbox"] { display: none; }
.kelas-card {
  border: 1px solid var(--border-light);
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; transition: var(--transition);
}
.kelas-option input:checked + .kelas-card {
  border-color: var(--primary);
  background: #f3e8ff;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}
.kelas-icon { font-size: 1.5rem; }
.kelas-info strong { display: block; font-size: 0.92rem; color: var(--text-dark); }
.kelas-info span { font-size: 0.78rem; color: var(--text-gray); }
.kelas-check { margin-left: auto; color: var(--primary); font-weight: bold; opacity: 0; }
.kelas-option input:checked + .kelas-card .kelas-check { opacity: 1; }

.rules-info-box {
  background: #f3e8ff;
  border: 1px solid #e9d5ff;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.rules-info-box h4 { font-size: 0.95rem; font-weight: 700; color: #581c87; margin-bottom: 8px; }
.rules-info-box ul { padding-left: 20px; font-size: 0.85rem; color: #475569; }

.checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.88rem; color: var(--text-gray); }

.form-actions { display: flex; gap: 14px; justify-content: flex-end; margin-top: 28px; }

.success-state { text-align: center; padding: 40px 20px; }
.success-icon { font-size: 3.5rem; margin-bottom: 16px; }
.success-state h2 { font-size: 1.6rem; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.success-state p { color: var(--text-gray); margin-bottom: 24px; }
.hidden { display: none !important; }

/* ── RESPONSIVE MOBILE & TABLET ── */
@media (max-width: 1024px) {
  .teachers-grid-layout { grid-template-columns: repeat(3, 1fr); }
  .classes-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(59, 7, 100, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-text { margin: 0 auto; }
  .hero-btn-group { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .about-grid-layout { grid-template-columns: 1fr; gap: 32px; }
  .founder-card-box { grid-template-columns: 1fr; padding: 28px; gap: 24px; }

  .teachers-grid-layout { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .classes-cards-grid { grid-template-columns: 1fr; gap: 24px; }
  .rules-four-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 32px; }

  .kelas-options { grid-template-columns: 1fr; }
  .form-wrapper { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .teachers-grid-layout { grid-template-columns: repeat(2, 1fr); }
  .rules-four-grid { grid-template-columns: 1fr; }
}
