/* ============================================
   akubayarin.com — Main Stylesheet
   Responsive: Mobile, Tablet, Desktop
   ============================================ */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
address { font-style: normal; }

/* --- CSS Variables --- */
:root {
  --green-50:  #EAF3DE;
  --green-100: #C0DD97;
  --green-200: #97C459;
  --green-500: #3B6D11;
  --green-700: #27500A;
  --green-900: #173404;
  --wa-green:  #25D366;
  --gray-50:   #f9f9f7;
  --gray-100:  #f1f0eb;
  --gray-200:  #e2e1da;
  --gray-400:  #9e9d97;
  --gray-600:  #5f5e5a;
  --gray-900:  #1a1a1a;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
}

.logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green-500);
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.logo span { color: var(--gray-400); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--gray-600);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green-500); }

.btn-wa-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--green-500);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}
.btn-wa-nav:hover { background: var(--green-700); }
.btn-wa-nav:active { transform: scale(0.97); }

/* Hamburger */
.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: var(--gray-900);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 5rem 0 4rem;
  background: #ffffff;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-50);
  color: var(--green-500);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
}
h1 span { color: var(--green-500); }

.hero p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-wa-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa-green);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}
.btn-wa-hero:hover { background: #1ebc59; }
.btn-wa-hero:active { transform: scale(0.97); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--green-500);
  border: 1.5px solid var(--green-500);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--green-50); }

.area-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.area-pills li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 99px;
  padding: 7px 14px;
  font-size: 0.8125rem;
  color: var(--gray-600);
}
.area-pills li svg { color: var(--green-500); flex-shrink: 0; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 5rem 0; }
.section-alt { background: var(--gray-50); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-500);
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.section-sub {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================
   CARA KERJA
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}
.step-card:hover { box-shadow: var(--shadow-md); }

.step-num {
  width: 36px;
  height: 36px;
  background: var(--green-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green-500);
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}
.step-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ============================================
   KENAPA KAMI
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}
.why-card:hover { box-shadow: var(--shadow-md); }

.why-icon {
  width: 44px;
  height: 44px;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--green-500);
}

.why-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.4rem;
}
.why-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 0.75rem;
  background: transparent;
  color: var(--green-500);
  border: 1px solid var(--green-500);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-maps:hover { background: var(--green-50); }

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  transition: background 0.15s;
}
.faq-q:hover { background: var(--gray-50); }
.faq-q[aria-expanded="true"] { color: var(--green-500); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform 0.25s;
}
.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--green-500);
}

.faq-a {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.faq-a[hidden] { display: none; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--green-500);
  padding: 5rem 0;
}

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

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--green-50);
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.cta-banner p {
  font-size: 1rem;
  color: var(--green-100);
  margin-bottom: 2rem;
}

.btn-wa-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-50);
  color: var(--green-500);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.1s;
}
.btn-wa-cta:hover { background: #ffffff; }
.btn-wa-cta:active { transform: scale(0.97); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-900);
  color: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 1.25rem 3rem;
}

.footer-brand .logo { color: #ffffff; margin-bottom: 0.5rem; }
.footer-brand .logo span { color: var(--gray-400); }
.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}
.footer-brand address {
  font-size: 0.8125rem;
  color: var(--gray-400);
  line-height: 1.65;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.footer-links a,
.footer-contact a {
  display: block;
  font-size: 0.9rem;
  color: #cccccc;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--green-100); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--gray-400);
  text-align: center;
}

/* ============================================
   FLOATING WA BUTTON
   ============================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: var(--wa-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

/* ============================================
   RESPONSIVE — TABLET (max 900px)
   ============================================ */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================
   RESPONSIVE — MOBILE (max 640px)
   ============================================ */
@media (max-width: 640px) {
  /* Navbar */
  .hamburger { display: flex; }
  .btn-wa-nav { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    gap: 0;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
    font-size: 1rem;
  }
  .nav-links a:last-child { border-bottom: none; }

  /* Hero */
  .hero { padding: 3rem 0 2.5rem; }
  h1 { font-size: 1.875rem; }
  .hero p { font-size: 1rem; }

  .btn-wa-hero, .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  /* Sections */
  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; }

  /* Cards full width on very small screens */
  .steps-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* FAQ */
  .faq-q { padding: 1rem 1.25rem; font-size: 0.9rem; }
  .faq-a { padding: 0 1.25rem 1rem; }

  /* CTA */
  .cta-banner { padding: 3.5rem 0; }
  .btn-wa-cta {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.25rem 2rem;
  }
  .footer-brand { grid-column: auto; }

  /* Float button */
  .wa-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
