/* ============================================================
   ALAT WA — REDESIGN CSS (branch new compatible)
   Prefix: aw- untuk menghindari conflict dengan Bootstrap/style.css
   ============================================================ */

:root {
  --aw-teal: #03989E;
  --aw-teal-dark: #007a7f;
  --aw-teal-light: #e0f7f7;
  --aw-purple: #7c3aed;
  --aw-orange: #f97316;
  --aw-dark: #1e293b;
  --aw-gray: #64748b;
  --aw-light: #f8fafc;
  --aw-white: #ffffff;
  --aw-border: #e2e8f0;
  --aw-shadow: 0 4px 24px rgba(3,152,158,0.12);
  --aw-radius: 16px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', 'Public Sans', 'Segoe UI', system-ui, sans-serif; }

/* ── TOP BAR ── */
.aw-topbar {
  background: var(--aw-teal);
  color: white; text-align: center;
  padding: 9px 16px; font-size: 13px; font-weight: 500; line-height: 1.5;
}
.aw-topbar-badge {
  background: rgba(255,255,255,0.25); border-radius: 6px;
  padding: 2px 8px; font-weight: 700; margin: 0 3px;
}

/* ── NAVBAR — tombol & height override ── */
.navbar-area .navbar {
  padding-top: 8px;
  padding-bottom: 8px;
  align-items: center;
}
.navbar-area .navbar-nav {
  align-items: center;
}
.navbar-area .main-btn {
  height: 38px !important;
  line-height: 34px !important;
  padding: 0 18px !important;
  font-size: 14px !important;
  color: #fff !important;
}
.navbar-area .main-btn:hover {
  color: #fff !important;
}

/* ── TOP ADS BAR ── */
.aw-top-ads {
  background: var(--aw-teal);
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  /* tidak sticky — hilang saat scroll */
}

/* Saat navbar jadi sticky — nempel di paling atas (topbar sudah scroll lewat) */
.sticky {
  top: 0 !important;
  margin-top: 0 !important;
}

/* ── BUTTONS ── */
.aw-btn-primary {
  background: var(--aw-teal); color: white !important;
  padding: 12px 24px; border-radius: 10px;
  font-weight: 700; font-size: 15px; border: 2px solid var(--aw-teal);
  text-decoration: none !important; display: inline-block;
  transition: all 0.2s; cursor: pointer;
  box-shadow: 0 4px 14px rgba(3,152,158,0.3);
}
.aw-btn-primary:hover { background: var(--aw-teal-dark) !important; border-color: var(--aw-teal-dark) !important; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(3,152,158,0.4) !important; }
.aw-btn-secondary {
  background: white; color: var(--aw-teal) !important;
  padding: 12px 24px; border-radius: 10px;
  font-weight: 700; font-size: 15px; border: 2px solid var(--aw-teal);
  text-decoration: none !important; display: inline-block; transition: all 0.2s;
}
.aw-btn-secondary:hover { background: var(--aw-teal-light); transform: translateY(-2px); }
.aw-btn-outline {
  background: white; color: var(--aw-teal) !important;
  padding: 12px 24px; border-radius: 10px;
  font-weight: 700; font-size: 15px; border: 2px solid var(--aw-teal);
  text-decoration: none !important; transition: all 0.2s;
}
.aw-btn-outline:hover { background: var(--aw-teal-light); }

/* ── SECTION ── */
.aw-section { padding: 80px 0; }
.aw-alt-bg { background: var(--aw-light); }
.aw-section-title { margin-bottom: 48px; }
.aw-section-title h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; color: var(--aw-dark); line-height: 1.2; }
.aw-section-title p { font-size: 16px; color: var(--aw-gray); margin-top: 10px; }
.aw-label {
  display: inline-block;
  background: var(--aw-teal-light); color: var(--aw-teal-dark);
  border-radius: 100px; padding: 5px 16px; font-size: 13px; font-weight: 600; margin-bottom: 12px;
}

/* ── HERO ENHANCEMENTS ── */
.aw-hero-badge {
  display: inline-block;
  background: rgba(3,152,158,0.1);
  color: #03989E;
  border: 1px solid rgba(3,152,158,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.list-feature-hero {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 15px;
  color: #1e293b;
}
.aw-hero-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.aw-hero-stat {
  text-align: center;
}
.aw-hero-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #03989E;
  line-height: 1.1;
}
.aw-hero-stat span {
  font-size: 12px;
  color: #64748b;
}
.aw-hero-stat-divider {
  width: 1px;
  height: 36px;
  background: #e2e8f0;
}

/* ── HERO ── */
.aw-hero-section {
  background: linear-gradient(135deg, #f0fffe 0%, #e8f4fd 50%, #f5f0ff 100%);
  padding: 70px 0 50px; min-height: 85vh; display: flex; align-items: center;
}
.aw-badge {
  display: inline-flex; align-items: center;
  background: var(--aw-teal-light); color: var(--aw-teal-dark);
  border-radius: 100px; padding: 6px 16px; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(3,152,158,0.2);
}
.aw-hero-title {
  font-size: clamp(26px, 3.5vw, 46px) !important;
  font-weight: 800 !important; line-height: 1.2 !important; color: var(--aw-dark) !important;
  margin: 16px 0 !important;
}
.aw-highlight { color: var(--aw-teal); }
.aw-hero-features { padding: 16px 0; display: flex; flex-direction: column; gap: 8px; }
.aw-feat-item { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.aw-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.aw-hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.aw-stat-item { text-align: center; }
.aw-stat-item strong { display: block; font-size: 26px; font-weight: 800; color: var(--aw-teal); }
.aw-stat-item span { font-size: 12px; color: var(--aw-gray); }
.aw-hero-img { text-align: center; }
.aw-hero-img img { border-radius: 16px; max-width: 100%; }

/* ── LOGOS STRIP ── */
.aw-logos-strip { background: var(--aw-light); padding: 28px 0; border-top: 1px solid var(--aw-border); border-bottom: 1px solid var(--aw-border); }
.aw-logos-label { text-align: center; color: var(--aw-gray); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.aw-logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 28px; }
.aw-logos-row span { color: var(--aw-gray); font-weight: 700; font-size: 14px; opacity: 0.65; }

/* ── ABOUT/VALUE CONTENT ── */
.aw-about-content { padding: 10px 0 20px; }
.aw-about-content h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: var(--aw-dark); margin-bottom: 14px; line-height: 1.25; }
.aw-about-content p { font-size: 15px; color: var(--aw-gray); line-height: 1.7; }
.aw-value-desc { font-size: 16px !important; line-height: 1.8 !important; }
.aw-social-proof { font-size: 18px; font-weight: 700; color: var(--aw-dark); margin-top: 16px; }

/* ── FEATURE CARDS ── */
.aw-feature-card {
  background: white; border-radius: var(--aw-radius); padding: 28px;
  border: 1px solid var(--aw-border); height: 100%; margin-bottom: 24px;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.aw-feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--aw-teal), var(--aw-purple));
  opacity: 0; transition: opacity 0.3s;
}
.aw-feature-card:hover { box-shadow: var(--aw-shadow); transform: translateY(-4px); border-color: var(--aw-teal); }
.aw-feature-card:hover::before { opacity: 1; }
.aw-feature-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--aw-teal-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.aw-feature-icon img { width: 32px; height: 32px; object-fit: contain; }
.aw-feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--aw-dark); }
.aw-feature-card p { font-size: 14px; color: var(--aw-gray); line-height: 1.6; margin: 0; }
.aw-feat-tag { display: inline-block; margin-top: 12px; background: var(--aw-teal-light); color: var(--aw-teal-dark); border-radius: 6px; padding: 3px 10px; font-size: 11px; font-weight: 600; }

/* ── PRICING ── */
.aw-pricing-toggle {
  display: inline-flex; background: white; border-radius: 12px; padding: 4px;
  border: 1px solid var(--aw-border); gap: 2px;
  /* selalu horizontal, tidak pernah stack */
  flex-wrap: nowrap;
}
.aw-ptoggle {
  padding: 9px 16px; border-radius: 9px; border: none;
  font-size: 13px; font-weight: 600; cursor: pointer;
  background: none; color: var(--aw-gray); transition: all 0.2s; position: relative;
  white-space: nowrap;
}
.aw-ptoggle.active { background: var(--aw-teal); color: white; box-shadow: 0 2px 8px rgba(3,152,158,0.3); }
.aw-save-badge {
  background: var(--aw-orange); color: white; font-size: 9px; font-weight: 700;
  border-radius: 100px; padding: 1px 5px; margin-left: 4px; vertical-align: middle;
}

/* Cards wrapper */
.aw-pricing-scroll-wrap {
  display: flex;
  gap: 20px;
  padding: 16px 4px 24px;
  /* desktop: center */
  justify-content: center;
  flex-wrap: wrap;
}

/* Mobile: horizontal scroll */
@media (max-width: 900px) {
  .aw-pricing-scroll-wrap {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-left: 16px;
    padding-right: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--aw-teal) #f1f5f9;
  }
  .aw-pricing-scroll-wrap::-webkit-scrollbar { height: 4px; }
  .aw-pricing-scroll-wrap::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 4px; }
  .aw-pricing-scroll-wrap::-webkit-scrollbar-thumb { background: var(--aw-teal); border-radius: 4px; }
}

.aw-pricing-card {
  background: white; border-radius: var(--aw-radius); padding: 28px;
  border: 2px solid var(--aw-border); transition: all 0.3s; position: relative;
  width: 300px;
  min-width: 280px;
  flex: 0 0 300px;
  scroll-snap-align: start;
}
.aw-pricing-popular { border-color: var(--aw-teal); box-shadow: 0 8px 40px rgba(3,152,158,0.15); }
.aw-popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--aw-teal), var(--aw-purple));
  color: white; border-radius: 100px; padding: 4px 18px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.aw-plan-name { font-size: 12px; font-weight: 700; color: var(--aw-teal); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.aw-plan-price { font-size: 30px; font-weight: 800; color: var(--aw-dark); line-height: 1; }
.aw-plan-price small { font-size: 14px; font-weight: 500; color: var(--aw-gray); }
.aw-plan-period { font-size: 12px; color: var(--aw-gray); margin: 4px 0 10px; }
.aw-plan-desc { font-size: 13px; color: var(--aw-gray); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--aw-border); }

/* Hint geser — hanya muncul di mobile */
.aw-pricing-hint {
  display: none;
  text-align: center;
  font-size: 12px;
  color: var(--aw-gray);
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .aw-pricing-hint { display: block; }
}

/* ── DEMO CS AI ── */
.aw-chat-demo { background: white; border-radius: var(--aw-radius); border: 1px solid var(--aw-border); overflow: hidden; box-shadow: var(--aw-shadow); }
.aw-chat-demo-header { background: var(--aw-teal); color: white; padding: 14px 18px; display: flex; align-items: center; gap: 10px; }
.aw-chat-demo-header strong { font-size: 14px; }
.aw-chat-demo-header small { opacity: 0.85; }
.aw-chat-demo-body { padding: 16px; min-height: 220px; max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: #f8fafc; }
.aw-demo-msg { max-width: 80%; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.aw-demo-bot { background: white; border-radius: 0 12px 12px 12px; align-self: flex-start; border: 1px solid var(--aw-border); }
.aw-demo-user { background: var(--aw-teal); color: white; border-radius: 12px 0 12px 12px; align-self: flex-end; }
.aw-chat-demo-quickbtns { padding: 8px 14px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--aw-border); background: #f8fafc; }
.aw-quick-btn { background: var(--aw-teal-light); color: var(--aw-teal-dark); border: none; border-radius: 8px; padding: 5px 12px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.aw-quick-btn:hover { background: var(--aw-teal); color: white; }
.aw-chat-demo-input { padding: 12px 14px; display: flex; gap: 8px; border-top: 1px solid var(--aw-border); }
.aw-chat-demo-input input { flex: 1; padding: 9px 14px; border-radius: 9px; border: 1px solid var(--aw-border); font-size: 14px; outline: none; }
.aw-chat-demo-input input:focus { border-color: var(--aw-teal); }
.aw-chat-demo-input button { background: var(--aw-teal); color: white; padding: 9px 18px; border-radius: 9px; border: none; font-weight: 700; cursor: pointer; font-size: 14px; transition: background 0.2s; }
.aw-chat-demo-input button:hover { background: var(--aw-teal-dark); }

/* ── FAQ ── */
.aw-faq-list { display: flex; flex-direction: column; gap: 10px; }
.aw-faq-item { background: white; border-radius: 12px; border: 1px solid var(--aw-border); overflow: hidden; }
.aw-faq-q {
  width: 100%; padding: 18px 22px; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; font-weight: 600; color: var(--aw-dark);
  cursor: pointer; text-align: left; transition: background 0.2s; gap: 12px;
}
.aw-faq-q:hover, .aw-faq-q[aria-expanded="true"] { background: var(--aw-teal-light); color: var(--aw-teal-dark); }
.aw-faq-icon { color: var(--aw-teal); font-size: 22px; font-weight: 400; flex-shrink: 0; }
.aw-faq-a { padding: 0 22px; }
.aw-faq-a p { padding: 4px 0 18px; font-size: 14px; color: var(--aw-gray); line-height: 1.7; margin: 0; }

/* ── FEATURES PAGE ── */
.aw-features-hero {
  background: linear-gradient(135deg, #f0fffe 0%, #e8f4fd 50%, #f0f7ff 100%);
  padding: 80px 0 60px;
  text-align: center;
}
.aw-features-hero-title {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--aw-dark);
  line-height: 1.2;
  margin: 14px 0 12px;
}
.aw-features-hero-sub {
  font-size: 16px;
  color: var(--aw-gray);
  max-width: 560px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

/* Official API Banner */
.aw-official-api-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
  border: 2px solid rgba(21,101,192,0.2);
  border-radius: 20px;
  padding: 48px;
}
.aw-official-api-visual {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(21,101,192,0.15);
  padding: 32px 24px;
  box-shadow: 0 8px 32px rgba(21,101,192,0.1);
}
.aw-api-pill {
  background: #f0f7ff;
  border: 1px solid rgba(21,101,192,0.2);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #1565C0;
  text-align: center;
}

/* Compare Table */
.aw-compare-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--aw-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.aw-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.aw-compare-table th {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--aw-dark);
  background: var(--aw-light);
  border-bottom: 2px solid var(--aw-border);
}
.aw-compare-table th small {
  display: block;
  font-weight: 400;
  color: var(--aw-gray);
  margin-top: 3px;
}
.aw-compare-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: #475569;
  border-bottom: 1px solid var(--aw-border);
}
.aw-compare-table tr:last-child td { border-bottom: none; }
.aw-compare-table tr:hover td { background: var(--aw-light); }
.aw-col-official {
  background: rgba(21,101,192,0.04) !important;
  border-left: 2px solid rgba(21,101,192,0.2);
}
.aw-compare-table th.aw-col-official {
  background: #e3f0ff !important;
  color: #1565C0 !important;
}

@media (max-width: 768px) {
  .aw-official-api-banner {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 28px;
  }
}

/* ── FOOTER NEW ── */
.aw-footer {
  background: var(--aw-dark);
  color: #cbd5e1;
  padding: 64px 0 0;
  margin-top: 0;
}

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

/* Brand Column */
.aw-footer-brand {}
.aw-footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: 16px;
  display: block;
  filter: brightness(0) invert(1);
}
.aw-footer-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 20px;
}
.aw-footer-socials {
  display: flex;
  gap: 10px;
}
.aw-social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8 !important;
  font-size: 16px;
  text-decoration: none !important;
  transition: all 0.2s;
}
.aw-social-btn:hover {
  background: var(--aw-teal);
  border-color: var(--aw-teal);
  color: #fff !important;
  transform: translateY(-2px);
}

/* Nav Columns */
.aw-footer-col {}
.aw-footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.aw-footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.aw-footer-links li a {
  font-size: 14px;
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.2s;
}
.aw-footer-links li a:hover {
  color: #fff !important;
}

/* Support Column */
.aw-footer-contact-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.aw-footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #94a3b8;
}
.aw-footer-contact-list li i {
  color: var(--aw-teal);
  font-size: 16px;
  flex-shrink: 0;
}
.aw-footer-contact-list li a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.2s;
}
.aw-footer-contact-list li a:hover {
  color: #fff !important;
}

/* Divider */
.aw-footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0;
}

/* Bottom Bar */
.aw-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 10px;
}
.aw-footer-copy {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}
.aw-footer-copy a {
  color: var(--aw-teal) !important;
  text-decoration: none !important;
}
.aw-footer-disclaimer {
  font-size: 12px;
  color: #475569;
  margin: 0;
  text-align: right;
}
.aw-footer-disclaimer a {
  color: #64748b !important;
  text-decoration: underline !important;
}

/* Footer Responsive */
@media (max-width: 991px) {
  .aw-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .aw-footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 576px) {
  .aw-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .aw-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .aw-footer-disclaimer {
    text-align: center;
  }
}

/* ── WA FLOAT ── */
#contact-wa, .aw-wa-float {
  position: fixed !important; bottom: 24px; right: 24px; z-index: 999;
  background: #25d366; width: 58px; height: 58px;
  border-radius: 50%; display: flex !important; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: all 0.3s;
  animation: aw-pulse 2s infinite;
}
#contact-wa:hover, .aw-wa-float:hover { transform: scale(1.1); }
@keyframes aw-pulse { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,0.4)} 50%{box-shadow:0 4px 32px rgba(37,211,102,0.65)} }

/* ── BACK TO TOP ── */
#scrollUp {
  background: var(--aw-teal) !important;
  opacity: 0 !important; pointer-events: none !important;
  transition: opacity 0.3s !important;
}
#scrollUp.visible { opacity: 1 !important; pointer-events: auto !important; }



/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .aw-hero-section { min-height: auto; padding: 50px 0 40px; }
  .aw-hero-stats { gap: 16px; }
  .aw-section { padding: 50px 0; }
}
@media (max-width: 576px) {
  .aw-hero-btns { flex-direction: column; }
  .aw-hero-btns a { text-align: center; }
  .aw-pricing-toggle { flex-direction: column; }
  .aw-ptoggle { text-align: center; }
}
