/* ================== HERO ================== */
.hero {
  background: var(--gradient-hero); color: #fff;
  padding: 100px 0 140px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(22, 154, 196, 0.4) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 2;
}
.hero h1 {
  font-size: 46px; color: #fff; margin-bottom: 18px;
  line-height: 1.15; font-weight: 800; letter-spacing: -0.5px;
}
.hero h1 span {
  color: var(--color-accent); position: relative; display: inline-block;
}
.hero h1 span::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 8px; background: rgba(255, 106, 0, 0.25); z-index: -1;
}
.hero p {
  font-size: 17px; color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px; max-width: 500px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-buttons .btn-primary {
  background: var(--color-accent);
  box-shadow: 0 6px 20px rgba(255, 106, 0, 0.4);
}
.hero-buttons .btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.5);
}
.hero-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.10); color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}
.hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff; color: #fff;
}
.hero-image {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.15);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(22,154,196,0.4) 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-placeholder { font-size: 110px; opacity: 0.4; color: #fff; }

/* ================== SECTION ================== */
.section { padding: 80px 0; background: var(--color-bg); }
.section-alt { background: var(--color-bg-section); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-header .label {
  display: inline-block; padding: 6px 16px;
  background: var(--color-accent-soft); color: var(--color-accent);
  border: 1px solid rgba(255, 106, 0, 0.3); border-radius: 999px;
  font-size: 12px; font-weight: 600; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.section-header h2 { font-size: 34px; margin-bottom: 14px; letter-spacing: -0.5px; }
.section-header p { color: var(--color-text-secondary); font-size: 16px; }

/* ================== ABOUT / PROFILE ================== */
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.profile-card { text-align: center; }
.profile-card .icon {
  width: 68px; height: 68px; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #fff;
  box-shadow: 0 8px 24px rgba(22, 154, 196, 0.30);
}
.profile-card h3 { font-size: 18px; margin-bottom: 10px; }
.profile-card p { color: var(--color-text-secondary); font-size: 14px; }

/* =============================================================
   KELAS TERSEDIA (Request 6)
   ============================================================= */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.class-card {
  background: var(--color-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  transition: var(--transition);
}
.class-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.class-blue   { border-top: 5px solid #169AC4; }
.class-orange { border-top: 5px solid #FF6A00; }
.class-green  { border-top: 5px solid #16A34A; }

.class-card.class-recommended {
  border: 2px solid var(--color-accent);
  box-shadow: 0 12px 36px rgba(255, 106, 0, 0.20);
  transform: scale(1.03);
}
.class-card.class-recommended:hover { transform: scale(1.03) translateY(-6px); }
.class-ribbon {
  position: absolute; top: 12px; right: -8px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: #fff; padding: 6px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  border-radius: 4px 0 0 4px;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.35);
}
.class-ribbon::after {
  content: ''; position: absolute; right: 0; bottom: -8px;
  border: 4px solid transparent;
  border-top-color: #B84800; border-left-color: #B84800;
}
.class-card-head { text-align: center; }
.class-mascot {
  font-size: 56px; line-height: 1;
  display: inline-block; margin-bottom: 8px;
  animation: float 3s ease-in-out infinite;
}
.class-card-head h3 {
  font-size: 22px; margin: 0;
  color: var(--color-text-heading); letter-spacing: -0.3px;
}
.class-team {
  font-size: 13px; color: var(--color-text-secondary);
  margin: 4px 0 0; font-weight: 500;
}

.class-price {
  text-align: center;
  font-size: 28px; font-weight: 800;
  color: var(--color-primary); letter-spacing: -1px;
  padding: 12px 0; border-top: 1px dashed var(--color-border);
  border-bottom: 1px dashed var(--color-border);
}
.class-price span {
  font-size: 13px; font-weight: 500;
  color: var(--color-text-secondary); margin-left: 4px;
}
.class-recommended .class-price { color: var(--color-accent); }

.class-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.class-features li {
  font-size: 13px; color: var(--color-text-main);
  padding-left: 4px;
}

.class-meta {
  background: var(--color-bg-section);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12.5px; color: var(--color-text-main);
}

/* =============================================================
   JADWAL LATIHAN — Kids-Friendly (Request 7)
   ============================================================= */
.schedule-section {
  position: relative; overflow: hidden;
}
.schedule-section::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(22, 154, 196, 0.06) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(255, 106, 0, 0.06) 0%, transparent 30%);
  pointer-events: none;
}
.schedule-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; position: relative; z-index: 1;
}

.team-card {
  background: var(--color-card);
  border: 3px solid var(--color-border);
  border-radius: 24px;
  padding: 28px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.team-card::before {
  content: ''; position: absolute;
  top: -40%; right: -20%;
  width: 200px; height: 200px;
  border-radius: 50%; opacity: 0.10;
  pointer-events: none;
}
.team-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: var(--shadow-lg);
}
.team-blue   { border-color: rgba(22, 154, 196, 0.4); }
.team-blue::before   { background: #38BDF8; }
.team-orange { border-color: rgba(255, 106, 0, 0.4); }
.team-orange::before { background: #FF6A00; }
.team-green  { border-color: rgba(34, 197, 94, 0.4); }
.team-green::before  { background: #22C55E; }

.team-recommended {
  border-color: var(--color-accent);
  box-shadow: 0 16px 40px rgba(255, 106, 0, 0.25);
  transform: scale(1.04);
}
.team-recommended:hover { transform: scale(1.04) translateY(-8px) rotate(-1deg); }
.team-ribbon {
  position: absolute; top: 18px; left: -34px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: #fff;
  padding: 6px 36px; font-size: 11px; font-weight: 800;
  letter-spacing: 2px; transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.40);
}

.team-mascot-big {
  font-size: 86px; line-height: 1;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.team-name {
  font-size: 18px; margin: 0;
  color: var(--color-text-heading); font-weight: 700;
}
.team-grup {
  display: inline-block;
  background: var(--color-primary-light); color: var(--color-primary);
  padding: 4px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  border: 1px solid rgba(22, 154, 196, 0.3);
}
.team-orange .team-grup {
  background: var(--color-accent-soft); color: var(--color-accent);
  border-color: rgba(255, 106, 0, 0.3);
}
.team-green .team-grup {
  background: var(--badge-success-bg); color: var(--badge-success-text);
  border-color: var(--badge-success-border);
}

.team-schedule {
  list-style: none; padding: 0; margin: 8px 0 0;
  width: 100%; display: flex; flex-direction: column; gap: 10px;
}
.schedule-item {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--color-bg-section);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px; transition: var(--transition);
}
.schedule-item:hover {
  border-color: var(--color-primary);
  transform: translateX(4px);
}
.schedule-day {
  font-weight: 600; color: var(--color-text-heading);
  display: flex; align-items: center; gap: 6px;
}
.schedule-time {
  background: var(--color-card);
  color: var(--color-primary);
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  border: 1px solid var(--color-border);
  white-space: nowrap;
}
.team-orange .schedule-time { color: var(--color-accent); }
.team-green .schedule-time { color: var(--color-success); }

.team-location {
  margin-top: auto;
  background: var(--color-card);
  border: 1px dashed var(--color-border-strong);
  padding: 8px 14px; border-radius: 999px;
  font-size: 12px; color: var(--color-text-main);
}

/* ================== GALLERY ================== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: rgba(255, 255, 255, 0.6);
  cursor: pointer; transition: var(--transition);
}
[data-theme="dark"] .gallery-item {
  background: linear-gradient(135deg, var(--color-card) 0%, var(--color-primary-dark) 100%);
  color: rgba(255, 255, 255, 0.3);
}
.gallery-item:hover {
  transform: scale(1.03); border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ================== CONTACT ================== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  text-align: center; padding: 32px 22px;
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); transition: var(--transition);
}
.contact-card:hover {
  border-color: var(--color-primary); transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.contact-card .icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: var(--color-primary-light); color: var(--color-primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.contact-card h4 { font-size: 16px; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--color-text-secondary); }
.contact-card a { font-size: 14px; color: var(--color-accent); font-weight: 500; cursor: pointer; }
.contact-card a:hover { color: var(--color-accent-hover); }

/* ================== CTA ================== */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff; padding: 70px 30px; border-radius: var(--radius-lg); text-align: center;
  margin-bottom: 80px; position: relative; overflow: hidden;
  box-shadow: 0 20px 50px rgba(22, 154, 196, 0.25);
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.30) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section > * { position: relative; z-index: 2; }
.cta-section h2 { color: #fff; font-size: 30px; margin-bottom: 14px; letter-spacing: -0.5px; }
.cta-section p {
  color: rgba(255, 255, 255, 0.92); margin-bottom: 28px;
  max-width: 600px; margin-left: auto; margin-right: auto; font-size: 16px;
}
.cta-section .btn-primary {
  background: var(--color-accent);
  box-shadow: 0 6px 20px rgba(255, 106, 0, 0.45);
}
.cta-section .btn-primary:hover {
  background: var(--color-accent-hover); transform: translateY(-2px);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 968px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0 100px; }
  .hero h1 { font-size: 32px; }
  .profile-grid, .gallery-grid, .contact-grid { grid-template-columns: 1fr; }
  .classes-grid { grid-template-columns: 1fr; }
  .class-card.class-recommended { transform: scale(1); }
  .schedule-grid { grid-template-columns: 1fr; }
  .team-recommended { transform: scale(1); }
  .section { padding: 50px 0; }
  .section-header h2 { font-size: 26px; }
  .cta-section { padding: 50px 24px; }
  .cta-section h2 { font-size: 24px; }
}
@media (min-width: 969px) and (max-width: 1100px) {
  .classes-grid, .schedule-grid { gap: 16px; }
}
