/* ============================================
   ABERAHARJA.BALI — STYLE SHEET
   ============================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  background: #fafafa;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- GRADIENTS --- */
.text--gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5); }

.btn--outline {
  background: transparent;
  color: #1a1a2e;
  border: 2px solid #e0e0e0;
}
.btn--outline:hover { border-color: #667eea; color: #667eea; }

.btn--wa {
  background: #25D366;
  color: white;
}
.btn--wa:hover { background: #1da851; }

.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.wa-icon { font-size: 18px; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -0.5px;
}
.logo__dot { color: #667eea; }

.nav { display: flex; gap: 32px; }
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: #555;
  transition: color 0.3s;
}
.nav__link:hover { color: #667eea; }

.header__cta { font-size: 14px; padding: 10px 20px; }

.menu-toggle { display: none; background: none; border: none; font-size: 28px; cursor: pointer; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(102,126,234,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(118,75,162,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,138.7C672,128,768,160,864,181.3C960,203,1056,213,1152,197.3C1248,181,1344,139,1392,117.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 100px 0 60px;
}

.hero__badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__desc {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero__actions .btn--outline { border-color: rgba(255,255,255,0.2); color: white; }
.hero__actions .btn--outline:hover { border-color: white; }

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.stat {
  text-align: center;
}
.stat__num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: white;
}
.stat__label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 0;
}
.section--alt {
  background: white;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(102,126,234,0.1);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 17px;
  color: #666;
  max-width: 500px;
  margin: 0 auto;
}

/* --- Service Category --- */
.service-category {
  margin-bottom: 64px;
}
.category-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a1a2e;
}

.service-note {
  margin-top: 16px;
  font-size: 14px;
  color: #888;
  font-style: italic;
}

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

/* --- CARDS --- */
.card {
  background: white;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border-color: #ddd;
}

.card--ws { background: linear-gradient(180deg, #f0f4ff 0%, white 60%); }
.card--featured {
  background: linear-gradient(180deg, #fef3e2 0%, white 60%);
  border-color: #f0d9a0;
}
.card--featured:hover { border-color: #e0c080; }

.card__badge {
  position: absolute;
  top: -10px;
  right: 20px;
  padding: 4px 14px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.card__icon { font-size: 40px; margin-bottom: 16px; }
.card__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card__desc { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 16px; }
.card__price { font-size: 15px; margin-bottom: 20px; color: #444; }
.card__price strong { color: #1a1a2e; font-size: 18px; }

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__content p {
  color: #555;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
}

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.value-icon { font-size: 20px; }

.visual-card {
  background: linear-gradient(135deg, #f5f7ff, #f0f0ff);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-placeholder {
  text-align: center;
  color: #999;
}
.visual-placeholder span { font-size: 64px; display: block; margin-bottom: 12px; }
.visual-placeholder p { font-size: 14px; }

/* ============================================
   STEPS
   ============================================ */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
  flex: 1;
  padding: 32px 20px;
  background: white;
  border: 1px solid #eee;
  border-radius: 20px;
}
.step__num {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}
.step__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step__desc { font-size: 14px; color: #666; line-height: 1.6; }
.step__arrow { font-size: 28px; color: #ccc; padding-top: 40px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 32px 24px;
}

.testimonial--placeholder {
  background: linear-gradient(135deg, #fafafa, #f5f5ff);
  border-style: dashed;
}

.testimonial__stars { font-size: 18px; margin-bottom: 16px; }
.testimonial__text { font-size: 15px; color: #444; line-height: 1.7; margin-bottom: 24px; font-style: italic; }

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author__avatar { font-size: 32px; }
.testimonial__author div { font-size: 13px; }
.testimonial__author strong { display: block; font-size: 14px; }
.testimonial__author span { color: #888; }

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  text-align: center;
}

.cta__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta__desc {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 36px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer .logo { color: white; }

.footer__tagline {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.footer__links h4 {
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer__links a {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.3s;
}
.footer__links a:hover { color: #667eea; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .menu-toggle { display: block; }

  .nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    gap: 16px;
  }

  .hero__stats { gap: 24px; flex-wrap: wrap; }

  .grid--2, .grid--3 { grid-template-columns: 1fr; }

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

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

  .steps {
    flex-direction: column;
    max-width: 400px;
  }
  .step__arrow {
    transform: rotate(90deg);
    padding: 0;
    text-align: center;
  }

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

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

/* Mobile */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero__stats { gap: 20px; }
  .about__values { grid-template-columns: 1fr; }
}
