/* ============================================================
   LANDING PAGE — WG PANEL (Light + Modern)
   ============================================================ */

:root {
  --grad-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --grad-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --grad-danger: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
  --grad-warning: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
  --grad-info: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  --grad-purple: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
  --grad-sunset: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
  --grad-aurora: linear-gradient(135deg, #00c9ff 0%, #92fe9d 100%);

  --bg: #f4f6fb;
  --bg-card: #ffffff;
  --bg-alt: #f8f9fc;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.idx-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.idx-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.idx-navbar.scrolled { box-shadow: var(--shadow-md); }

.idx-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  gap: 1rem;
}

.idx-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.idx-brand i {
  font-size: 1.5rem;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.idx-nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.idx-nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.idx-nav-links a:hover { color: #667eea; }

.idx-nav-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.idx-lang-toggle {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.idx-lang-toggle:hover {
  border-color: #667eea;
  color: #667eea;
}

.idx-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.idx-btn-primary {
  background: var(--grad-primary);
  color: #fff;
}

.idx-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: #fff;
}

/* ============================================================
   HERO
   ============================================================ */
.idx-hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.idx-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 45%);
  z-index: 0;
}

.idx-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.idx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.idx-hero-badge i { font-size: 1rem; }

.idx-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.idx-hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2rem;
}

.idx-hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.idx-btn-hero {
  background: var(--grad-primary);
  color: #fff;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  border-radius: 10px;
}

.idx-btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
  color: #fff;
}

.idx-btn-hero-ghost {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  border-radius: 10px;
}

.idx-btn-hero-ghost:hover {
  border-color: #667eea;
  color: #667eea;
  transform: translateY(-2px);
}

.idx-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.idx-hero-stat {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 0.5rem;
  box-shadow: var(--shadow-sm);
}

.idx-hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.idx-hero-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ============================================================
   SECTION
   ============================================================ */
.idx-section { padding: 4rem 0; }
.idx-section-alt { background: var(--bg-alt); }

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

.idx-section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.idx-section-head p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   GRID FITUR
   ============================================================ */
.idx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.idx-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.idx-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

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

.idx-card:hover::before { transform: scaleX(1); }

.idx-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.ic-primary { background: var(--grad-primary); }
.ic-success { background: var(--grad-success); }
.ic-danger  { background: var(--grad-danger); }
.ic-warning { background: var(--grad-warning); }
.ic-info    { background: var(--grad-info); }
.ic-purple  { background: var(--grad-purple); }
.ic-sunset  { background: var(--grad-sunset); }
.ic-aurora  { background: var(--grad-aurora); }

.idx-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.idx-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

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

.idx-step {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.idx-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.idx-step-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.idx-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.75rem 0 0.5rem;
  color: var(--text);
}

.idx-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   REQUIREMENTS
   ============================================================ */
.idx-req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.idx-req-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

.idx-req-card:hover { box-shadow: var(--shadow-md); }

.idx-req-head {
  background: var(--grad-primary);
  color: #fff;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.idx-req-head i { font-size: 1.75rem; }
.idx-req-head h3 { font-size: 1.05rem; font-weight: 700; margin: 0; }

.idx-req-list {
  list-style: none;
  padding: 1.25rem 1.5rem;
  margin: 0;
}

.idx-req-list li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.idx-req-list li:last-child { border-bottom: none; }

.idx-req-list li::before {
  content: '\F26E';
  font-family: 'bootstrap-icons';
  color: #10b981;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.idx-req-list code {
  background: #fef3c7;
  color: #92400e;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.85em;
}

/* ============================================================
   FAQ
   ============================================================ */
.idx-faq {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.idx-faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: all 0.2s;
}

.idx-faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: #667eea;
}

.idx-faq-item summary {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.idx-faq-item summary::-webkit-details-marker { display: none; }

.idx-faq-item summary::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  font-size: 1.1rem;
  color: #667eea;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.idx-faq-item[open] summary::after {
  content: '\F286';
}

.idx-faq-item p {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.idx-faq-item p code {
  background: #fef3c7;
  color: #92400e;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.85em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.idx-footer {
  background: #1a1a2e;
  color: #fff;
  padding: 2.5rem 0 1.5rem;
}

.idx-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.idx-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
}

.idx-footer-brand i { font-size: 1.5rem; }
.idx-footer-brand small {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 0.5rem;
}

.idx-footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.idx-footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.idx-footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  width: 100%;
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .idx-nav-links { display: none; }
  .idx-nav-inner { padding: 0.7rem 1rem; }
  .idx-hero { padding: 3rem 0 2.5rem; }
  .idx-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .idx-section { padding: 3rem 0; }
  .idx-grid { grid-template-columns: 1fr; }
  .idx-steps { grid-template-columns: 1fr; }
  .idx-req-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .idx-container { padding: 0 1rem; }
  .idx-hero-cta { flex-direction: column; }
  .idx-btn-hero, .idx-btn-hero-ghost { width: 100%; justify-content: center; }
  .idx-footer-brand { flex-direction: column; }
  .idx-footer-brand small { margin-left: 0; }
}