/* ============================================================
   ELANGWEB JASA BACKLINK PBN — STYLESHEET
   Upload ke: /wp-content/uploads/ atau /wp-content/themes/your-theme/
   Lalu enqueue via functions.php atau Custom CSS Elementor
   ============================================================ */

:root {
  --elw-primary: #0f4c81;
  --elw-accent: #f97316;
  --elw-accent2: #22c55e;
  --elw-dark: #0d1b2a;
  --elw-mid: #1e3a5f;
  --elw-light: #f0f6ff;
  --elw-text: #1e293b;
  --elw-muted: #64748b;
  --elw-white: #ffffff;
  --elw-border: #e2eaf4;
  --elw-shadow: 0 4px 24px rgba(15,76,129,0.10);
  --elw-radius: 16px;
}

.elw-wrap * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.elw-wrap {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--elw-text);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.elw-hero {
  background: linear-gradient(135deg, var(--elw-dark) 0%, var(--elw-mid) 60%, #1a4f7a 100%);
  color: var(--elw-white);
  padding: 72px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.elw-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(249,115,22,0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.elw-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(34,197,94,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.elw-badge {
  display: inline-block;
  background: rgba(249,115,22,0.18);
  border: 1px solid rgba(249,115,22,0.4);
  color: #fdba74;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.elw-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.elw-hero h1 span {
  color: var(--elw-accent);
}

.elw-hero p.elw-sub {
  font-size: clamp(15px, 2.5vw, 18px);
  color: #b8d4f0;
  max-width: 620px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.elw-hero-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.elw-stat-pill {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--elw-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.elw-stat-pill .dot {
  width: 8px; height: 8px;
  background: var(--elw-accent2);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
}

.elw-cta-btn {
  display: inline-block;
  background: var(--elw-accent);
  color: var(--elw-white);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 6px 24px rgba(249,115,22,0.35);
  position: relative;
  z-index: 1;
}

.elw-cta-btn:hover {
  background: #ea6c0a;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(249,115,22,0.45);
  color: var(--elw-white);
  text-decoration: none;
}

.elw-cta-secondary {
  display: inline-block;
  color: #93c5fd;
  font-size: 14px;
  margin-top: 16px;
  text-decoration: underline;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

/* ===== RANK CHECKER ===== */
.elw-rank-section {
  background: var(--elw-light);
  padding: 48px 24px;
  text-align: center;
  border-bottom: 1px solid var(--elw-border);
}

.elw-rank-section h2 {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--elw-primary);
  margin-bottom: 8px;
}

.elw-rank-section p {
  color: var(--elw-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.elw-rank-inner {
  max-width: 600px;
  margin: 0 auto;
  background: var(--elw-white);
  border-radius: var(--elw-radius);
  padding: 28px;
  box-shadow: var(--elw-shadow);
  border: 1px solid var(--elw-border);
}

/* ===== SECTION LABELS & TITLES ===== */
.elw-section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--elw-accent);
  margin-bottom: 12px;
  display: block;
}

.elw-section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: var(--elw-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.elw-section-desc {
  color: var(--elw-muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ===== PROBLEM ===== */
.elw-problem {
  background: var(--elw-white);
  padding: 64px 24px;
  text-align: center;
}

.elw-pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.elw-pain-card {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}

.elw-pain-card .icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.elw-pain-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 8px;
}

.elw-pain-card p {
  font-size: 14px;
  color: #7f1d1d;
  line-height: 1.5;
}

/* ===== WHY US ===== */
.elw-why {
  background: var(--elw-light);
  padding: 64px 24px;
}

.elw-why-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.elw-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.elw-feature-card {
  background: var(--elw-white);
  border-radius: var(--elw-radius);
  padding: 28px 24px;
  text-align: left;
  box-shadow: var(--elw-shadow);
  border: 1px solid var(--elw-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.elw-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15,76,129,0.14);
}

.elw-feature-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--elw-primary), var(--elw-mid));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.elw-feature-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--elw-dark);
  margin-bottom: 8px;
}

.elw-feature-card p {
  font-size: 14px;
  color: var(--elw-muted);
  line-height: 1.6;
}

/* ===== GUARANTEE ===== */
.elw-guarantee {
  background: linear-gradient(135deg, var(--elw-primary), var(--elw-mid));
  padding: 48px 24px;
  text-align: center;
  color: var(--elw-white);
}

.elw-guarantee-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.elw-guarantee-badge {
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.12);
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.elw-guarantee-badge span:first-child {
  font-size: 28px;
  font-weight: 800;
  color: #fbbf24;
}

.elw-guarantee-text h3 {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.elw-guarantee-text p {
  font-size: 15px;
  color: #b8d4f0;
  max-width: 500px;
}

/* ===== PROCESS ===== */
.elw-process {
  background: var(--elw-white);
  padding: 64px 24px;
  text-align: center;
}

.elw-steps {
  display: flex;
  gap: 0;
  max-width: 880px;
  margin: 40px auto 0;
  flex-wrap: wrap;
  justify-content: center;
}

.elw-step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.elw-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -8px;
  top: 20px;
  font-size: 20px;
  color: var(--elw-accent);
}

.elw-step-num {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--elw-accent), #fb923c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--elw-white);
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(249,115,22,0.3);
}

.elw-step h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--elw-dark);
  margin-bottom: 8px;
}

.elw-step p {
  font-size: 13px;
  color: var(--elw-muted);
  line-height: 1.5;
}

/* ===== PRICING ===== */
.elw-pricing {
  background: var(--elw-light);
  padding: 64px 24px;
  text-align: center;
}

.elw-pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.elw-pricing-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 36px;
}

.elw-pricing-table-wrap {
  margin-bottom: 32px;
}

.elw-pricing-divider {
  text-align: center;
  margin: 32px 0;
  position: relative;
}

.elw-pricing-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--elw-border);
}

.elw-pricing-divider span {
  background: var(--elw-light);
  padding: 0 16px;
  position: relative;
  color: var(--elw-muted);
  font-size: 13px;
  font-weight: 600;
}

.elw-pricing-footnote {
  margin-top: 20px;
  font-size: 13px;
  color: var(--elw-muted);
}

/* ===== TESTIMONIALS ===== */
.elw-testi {
  background: var(--elw-white);
  padding: 64px 24px;
  text-align: center;
}

.elw-testi-intro {
  color: var(--elw-muted);
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto 40px;
}

.elw-testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.elw-testi-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--elw-border);
  box-shadow: var(--elw-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.elw-testi-img-wrap:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(15,76,129,0.15);
  border-color: var(--elw-primary);
}

.elw-testi-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== LIGHTBOX ===== */
.elw-lightbox {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.25s, visibility 0.25s;
}

.elw-lightbox.elw-lb-active {
  visibility: visible;
  opacity: 1;
}

.elw-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.25s;
}

.elw-lightbox.elw-lb-active img {
  transform: scale(1);
}

.elw-lightbox-close {
  position: fixed;
  top: 20px; right: 24px;
  font-size: 24px;
  color: var(--elw-white);
  cursor: pointer;
  font-weight: 400;
  line-height: 1;
  background: rgba(255,255,255,0.15);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 100000;
}

.elw-lightbox-close:hover {
  background: rgba(255,255,255,0.28);
}

/* ===== TRUST SIGNALS ===== */
.elw-trust {
  background: var(--elw-dark);
  padding: 48px 24px;
  text-align: center;
}

.elw-trust-inner {
  max-width: 900px;
  margin: 0 auto;
}

.elw-trust h3 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--elw-white);
  margin-bottom: 32px;
}

.elw-trust-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.elw-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 14px 22px;
  border-radius: 50px;
  color: var(--elw-white);
  font-size: 14px;
  font-weight: 600;
}

.elw-trust-item .tick {
  color: var(--elw-accent2);
  font-size: 16px;
}

/* ===== FAQ ===== */
.elw-faq {
  background: var(--elw-light);
  padding: 64px 24px;
}

.elw-faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.elw-faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.elw-faq-item {
  background: var(--elw-white);
  border: 1px solid var(--elw-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

/* FAQ menggunakan max-height bukan display:none/block
   supaya tidak bentrok dengan Elementor yang inject display:none */
.elw-faq-q {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--elw-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.15s;
  user-select: none;
  -webkit-user-select: none;
}

.elw-faq-q:hover {
  background: var(--elw-light);
}

.elw-faq-q .elw-chevron {
  font-size: 18px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--elw-primary);
  display: inline-block;
  line-height: 1;
}

.elw-faq-item.elw-faq-open .elw-faq-q .elw-chevron {
  transform: rotate(180deg);
}

.elw-faq-item.elw-faq-open .elw-faq-q {
  background: var(--elw-light);
  color: var(--elw-primary);
}

/* KUNCI: pakai max-height bukan display toggle */
.elw-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 22px;
  font-size: 14px;
  color: var(--elw-muted);
  line-height: 1.7;
  border-top: 0px solid var(--elw-border);
}

.elw-faq-item.elw-faq-open .elw-faq-a {
  max-height: 400px;
  padding: 16px 22px 20px;
  border-top: 1px solid var(--elw-border);
}

/* ===== FINAL CTA ===== */
.elw-final-cta {
  background: linear-gradient(135deg, var(--elw-accent) 0%, #f97316 50%, #fb923c 100%);
  padding: 64px 24px;
  text-align: center;
  color: var(--elw-white);
}

.elw-final-cta h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 700;
  margin-bottom: 16px;
}

.elw-final-cta p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.elw-btn-white {
  display: inline-block;
  background: var(--elw-white);
  color: var(--elw-accent);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.elw-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.2);
  color: var(--elw-accent);
  text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .elw-step:not(:last-child)::after {
    display: none;
  }
  .elw-guarantee-inner {
    flex-direction: column;
  }
  .elw-steps {
    gap: 20px;
  }
}
