/* ===================================================================
   WAGO DIGITAL MULTI - DESIGN SYSTEM & STYLESHEET
   Inspirasi: id.seedbacklink.com (Clean Light Corporate & Agency Look)
   Warna Utama: Royal Blue (#2563EB), Slate Text (#0F172A, #334155), Clean White (#FFFFFF)
   =================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-muted: #F1F5F9;

  --border-light: #E2E8F0;
  --border-hover: #CBD5E1;

  --text-heading: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-dim: #94A3B8;

  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-light: #EFF6FF;
  --primary-border: #BFDBFE;

  --accent-cyan: #0284C7;
  --accent-green: #16A34A;
  --accent-green-light: #DCFCE7;

  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 16px 24px -4px rgba(15, 23, 42, 0.08), 0 6px 12px -4px rgba(15, 23, 42, 0.04);
}

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

body {
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ==========================================
   SVG ICON HELPER
   ========================================== */
.icon-svg {
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  vertical-align: -0.2em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ==========================================
   HEADER & NAVBAR (SEEDBACKLINK STYLE)
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: 72px;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta {
  background-color: var(--primary);
  color: #FFFFFF;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2);
  transition: background-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
  min-height: 40px;
}

.nav-cta:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: var(--text-heading);
  min-height: 42px;
  min-width: 42px;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.mobile-toggle:hover {
  background-color: var(--bg-subtle);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #FFFFFF;
  padding: 24px;
  flex-direction: column;
  gap: 6px;
  z-index: 999;
  overflow-y: auto;
  border-top: 1px solid var(--border-light);
}

.mobile-drawer.active {
  display: flex;
}

.mobile-drawer a {
  color: var(--text-heading);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.mobile-drawer a:hover,
.mobile-drawer a.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

.mobile-drawer .mobile-divider {
  height: 1px;
  background-color: var(--border-light);
  margin: 8px 0;
}

.mobile-drawer .mobile-cta-btn {
  background-color: var(--primary);
  color: #FFFFFF;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  margin-top: 10px;
  text-decoration: none;
}

/* ==========================================
   GLOBAL CONTAINERS & TYPOGRAPHY
   ========================================== */
main {
  flex: 1;
}

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

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background-color: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
  min-height: 48px;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-heading);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
  min-height: 48px;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* ==========================================
   HERO SECTION (SEEDBACKLINK LOOK)
   ========================================== */
.hero-wrapper {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(30, 58, 138, 0.85) 100%), url('/hero-backdrop.jpg') center/cover no-repeat;
  padding: 140px 24px 90px;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  font-size: 0.825rem;
  font-weight: 700;
  font-family: var(--font-heading);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.8vw, 3.7rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title-highlight {
  color: #93C5FD;
}

.hero-subtitle {
  color: #E2E8F0;
  font-size: clamp(1.05rem, 1.8vw, 1.225rem);
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 38px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-hero-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transition: all 0.15s ease;
  min-height: 48px;
}

.btn-hero-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text-heading);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.15s ease;
  min-height: 48px;
}

.btn-hero-secondary:hover {
  background-color: #FFFFFF;
  transform: translateY(-2px);
}

/* SEEDBACKLINK STATS CARD GRID (WHITE FLOATING CONTAINER) */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  background-color: #FFFFFF;
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
  border: 1px solid var(--border-light);
}

.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 8px 12px;
}

.hero-stat-card:not(:last-child) {
  border-right: 1px solid var(--border-light);
}

.stat-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
}

.stat-desc {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* ==========================================
   WORKFLOW SHOWCASE SECTION (WEB STUDIO ILLUSTRATION)
   ========================================== */
.workflow-section {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 80px 24px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.workflow-img-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-subtle);
}

.workflow-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.workflow-steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.workflow-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.workflow-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.workflow-step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.workflow-step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================
   SEEDBACKLINK STYLE BANNER CTA
   ========================================== */
.cta-banner-wrapper {
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.35);
  margin-top: 64px;
}

.cta-banner-content {
  padding: 48px 40px 48px 48px;
  color: #FFFFFF;
  max-width: 600px;
  z-index: 2;
  position: relative;
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  color: #FFFFFF;
}

.cta-banner-desc {
  color: #DBEAFE;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}

.cta-banner-btn {
  background-color: #0F172A;
  color: #FFFFFF;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-family: var(--font-heading);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-banner-btn:hover {
  background-color: #000000;
  transform: translateY(-2px);
}

.cta-banner-img-box {
  position: absolute;
  right: 20px;
  bottom: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 1;
}

.cta-banner-img {
  height: 100%;
  max-height: 330px;
  width: auto;
  object-fit: contain;
  object-position: bottom right;
  display: block;
}

/* ==========================================
   PORTFOLIO SECTION (5 REAL PROJECTS)
   ========================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.project-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.project-browser-header {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #CBD5E1;
}

.browser-url-pill {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.775rem;
  color: var(--text-muted);
  font-family: monospace;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 0 2px var(--accent-green-light);
  flex-shrink: 0;
}

.project-body {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-category {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 10px;
  line-height: 1.35;
}

.project-desc {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.project-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.project-features li {
  font-size: 0.875rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-icon {
  color: var(--accent-green);
  width: 1rem;
  height: 1rem;
}

.project-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.badge-live-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-green);
  background-color: var(--accent-green-light);
  padding: 3px 10px;
  border-radius: 999px;
}

.btn-visit {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.btn-visit:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* ==========================================
   SERVICES GRID (LAYANAN)
   ========================================== */
.services-section {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================
   PRICING SECTION (PAKET HARGA)
   ========================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.15);
  transform: scale(1.02);
}

.featured-pill {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-divider {
  height: 1px;
  background-color: var(--border-light);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li svg {
  margin-top: 3px;
}

.btn-pricing {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.925rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  border: 1px solid var(--border-light);
  background-color: var(--bg-subtle);
  color: var(--text-heading);
}

.pricing-card.featured .btn-pricing,
.btn-pricing.primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.btn-pricing:hover {
  background-color: var(--primary-hover);
  color: #FFFFFF;
  border-color: var(--primary-hover);
}

/* ==========================================
   AFFILIATE SECTION (AYFN PARTNERSHIP)
   ========================================== */
.affiliate-section {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.affiliate-box {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}

.affiliate-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.affiliate-content {
  display: flex;
  flex-direction: column;
}

.affiliate-visual-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  background-color: #F8FAFC;
}

.affiliate-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.affiliate-badge-float {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.affiliate-badge-title {
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-heading);
}

.affiliate-badge-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.affiliate-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 28px;
}

.affiliate-features-list li {
  font-size: 0.925rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
}

.affiliate-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* PROGRAM HIGHLIGHTS GRID */
.affiliate-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.program-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px 18px;
  transition: all 0.2s ease;
}

.program-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.program-country {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.program-name {
  font-family: var(--font-heading);
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.program-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================
   MODAL DIALOG (IPAYMU VERIFICATION READY)
   ========================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--text-heading);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background-color: #FFFFFF;
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: 0.925rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* ==========================================
   SUBPAGE STYLING (FAQ, TERMS, REFUND, KONTAK)
   ========================================== */
.page-wrapper {
  padding: 120px 24px 80px;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

.page-head {
  text-align: center;
  margin-bottom: 48px;
}

.content-box {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.content-section h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.content-section p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.content-section ul, .content-section ol {
  padding-left: 24px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

/* ACCORDION FAQ ITEM */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.faq-question:hover {
  background-color: var(--bg-subtle);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  display: block;
}

/* ==========================================
   CONTACT PAGE DETAILS
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.contact-card-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.contact-card-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
}

.contact-card-value a {
  color: var(--primary);
  text-decoration: none;
}

.contact-card-value a:hover {
  text-decoration: underline;
}

/* ==========================================
   FOOTER (SEEDBACKLINK LOOK)
   ========================================== */
footer {
  background-color: #0F172A;
  color: #CBD5E1;
  padding: 72px 24px 32px;
  margin-top: auto;
  border-top: 1px solid #1E293B;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #334155;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 20px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94A3B8;
}

.footer-contact-item a {
  color: #60A5FA;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-contact-item a:hover {
  color: #93C5FD;
  text-decoration: underline;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  max-width: 1200px;
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.825rem;
  color: #64748B;
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1080px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 960px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cta-banner-wrapper {
    flex-direction: column;
    padding: 40px 24px 0;
    text-align: center;
    min-height: auto;
  }
  .cta-banner-content {
    padding: 0 0 24px;
    max-width: 100%;
  }
  .cta-banner-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-banner-img-box {
    position: static;
    height: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  .cta-banner-img {
    max-height: 270px;
    width: auto;
  }
  .affiliate-grid {
    grid-template-columns: 1fr;
  }
  .affiliate-programs-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  header {
    height: 64px;
  }
  .mobile-drawer {
    top: 64px;
  }
  .nav-brand img {
    height: 36px;
  }
  .hero-wrapper {
    padding: 110px 16px 54px;
  }
  .section-container {
    padding: 60px 16px;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-stat-card:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 14px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .content-box {
    padding: 24px 18px;
  }
  .affiliate-box {
    padding: 24px 18px;
  }
}
