:root {
      --primary: #0ea5e9;
      --primary-dark: #0369a1;
      --accent: #22c55e;
      --bg: #f3f4f6;
      --card-bg: #ffffff;
      --text: #111827;
      --muted: #6b7280;
      --border: #e5e7eb;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }

    body {
      min-height: 100vh;
      display: flex;
      justify-content: center;
      background: radial-gradient(circle at top, #e0f2fe 0, #f3f4f6 40%, #f9fafb 100%);
      color: var(--text);
    }

    .page {
      width: 100%;
      max-width: 1000px;
      padding: 16px;
    }

    header {
      margin-bottom: 14px;
    }

    /* ====== LOGO PALING ATAS (RESPONSIF) ====== */
    .top-logo-bar {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      margin-bottom: 10px;
    }

    .top-logo-img {
      max-height: 52px;
      height: auto;
      width: auto;
      max-width: 100%;
      display: block;
    }

    @media (max-width: 480px) {
      .top-logo-bar {
        justify-content: center;
      }
      .top-logo-img {
        max-height: 44px;
      }
    }

    .hero-card {
      border-radius: 22px;
      padding: 12px;
      background: linear-gradient(135deg,#0ea5e9,#22c55e);
      color: #eff6ff;
      border: 1px solid rgba(15,23,42,0.15);
      box-shadow: 0 18px 40px rgba(15,23,42,0.25);
      margin-bottom: 16px;
    }

    .hero-banner {
      width: 100%;
      border-radius: 18px;
      display: block;
      max-height: 260px;
      object-fit: cover;
      border: 1px solid rgba(248,250,252,0.9);
      margin-bottom: 10px;
    }

    .hero-cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      justify-content: space-between;
    }

    .btn-hero {
      border-radius: 999px;
      border: none;
      padding: 10px 16px;
      background: #22c55e;
      color: #022c22;
      font-weight: 700;
      font-size: 14px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 14px 26px rgba(34,197,94,0.5);
    }

    .btn-hero span.icon {
      font-size: 18px;
    }

    .btn-hero:active {
      transform: translateY(1px);
      box-shadow: 0 10px 20px rgba(34,197,94,0.5);
    }

    .hero-mini-note {
      font-size: 11px;
      opacity: .95;
      max-width: 280px;
    }

    .section {
      margin-bottom: 16px;
    }

    .section-title {
      font-size: 16px;
      margin-bottom: 4px;
    }

    .section-text {
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 8px;
      line-height: 1.6;
    }

    .category-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0,1fr));
      gap: 10px;
    }

    @media (max-width: 720px) {
      .category-grid {
        grid-template-columns: minmax(0,1fr);
      }
    }

    .cat-card {
      border-radius: 16px;
      padding: 10px 12px;
      background: #ffffff;
      border: 1px solid var(--border);
      box-shadow: 0 8px 18px rgba(15,23,42,0.08);
    }

    .cat-title {
      font-weight: 600;
      font-size: 14px;
      margin-bottom: 3px;
    }

    .cat-sub {
      font-size: 11px;
      color: var(--muted);
      margin-bottom: 6px;
    }

    .cat-chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
    }

    .chip {
      font-size: 10px;
      padding: 2px 8px;
      border-radius: 999px;
      background: #e5f3ff;
      color: #0f172a;
    }

    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(15,23,42,0.75);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 40;
      padding: 16px;
    }

    .modal {
      width: 100%;
      max-width: 520px;
      border-radius: 20px;
      background: #ffffff;
      border: 1px solid var(--border);
      box-shadow: 0 24px 60px rgba(0,0,0,0.35);
      color: var(--text);
      max-height: 100vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .modal-header {
      padding: 14px 18px 10px;
      border-bottom: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 8px;
    }

    .modal-title-wrap {
      font-size: 15px;
    }

    .modal-title {
      font-weight: 700;
      margin-bottom: 2px;
    }

    .modal-subtitle {
      font-size: 11px;
      color: var(--muted);
    }

    .modal-close {
      border: none;
      background: transparent;
      color: #9ca3af;
      cursor: pointer;
      font-size: 16px;
    }

    .modal-body {
      padding: 12px 18px 14px;
      overflow-y: auto;
    }

    .step-indicator {
      font-size: 11px;
      margin-bottom: 6px;
      color: var(--muted);
    }

    .progress-bar {
      height: 4px;
      border-radius: 999px;
      background: #e5e7eb;
      margin-bottom: 10px;
      overflow: hidden;
    }

    .progress-fill {
      height: 100%;
      width: 20%;
      background: linear-gradient(90deg,#22c55e,#0ea5e9);
      transition: width .2s;
    }

    .step-dots {
      display: flex;
      justify-content: space-between;
      margin: 8px 0 12px;
    }

    .dot {
      width: 26px;
      height: 26px;
      border-radius: 999px;
      border: 2px solid #e5e7eb;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      color: #9ca3af;
      background: #ffffff;
    }

    .dot.active {
      border-color: #22c55e;
      background: #22c55e;
      color: #022c22;
      font-weight: 600;
    }

    .form-group {
      margin-bottom: 10px;
    }

    /* ===== LABEL + ICON ===== */
    .field-label {
      font-size: 12px;
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 4px;
    }

    .field-icon {
      width: 20px;
      height: 20px;
      border-radius: 999px;
      background: #e5f3ff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
    }

    .input {
      width: 100%;
      border-radius: 10px;
      border: 1px solid #d1d5db;
      background: #ffffff;
      color: var(--text);
      padding: 7px 10px;
      font-size: 13px;
    }

    .input::placeholder {
      color: #9ca3af;
    }

    .input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(14,165,233,0.3);
    }

    .is-invalid {
      border-color: #ef4444 !important;
      box-shadow: 0 0 0 3px rgba(239,68,68,0.3) !important;
    }

    select.input {
      padding-right: 30px;
    }

    .help-text {
      font-size: 11px;
      color: var(--muted);
      margin-top: 3px;
    }

    .step { display: none; }
    .step.active { display: block; }

    .share-buttons {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin: 10px 0;
    }

    .btn-share {
      border-radius: 999px;
      border: none;
      padding: 9px 12px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      color: #ffffff;
    }

    .btn-wa { background: #22c55e; }
    .btn-fb { background: #1877f2; }
    .btn-tg { background: #0ea5e9; }

    .btn-share span.icon { font-size: 18px; }

    .share-note {
      font-size: 11px;
      color: var(--muted);
      margin-bottom: 4px;
    }

    .share-counter { font-size: 11px; margin-top: 4px; }
    .share-done    { font-size: 11px; color: #16a34a; margin-top: 4px; display: none; }

    .summary-box {
      border-radius: 12px;
      border: 1px solid #e5e7eb;
      padding: 8px 10px;
      font-size: 12px;
      margin-top: 6px;
      background: #f9fafb;
    }

    .modal-footer {
      border-top: 1px solid #e5e7eb;
      padding: 10px 18px 12px;
      display: flex;
      justify-content: space-between;
      gap: 8px;
    }

    .btn-secondary, .btn-primary {
      flex: 1;
      display: flex;
      border-radius: 999px;
      padding: 9px 12px;
      border: none;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      justify-content: center;
      align-items: center;
    }

    .btn-secondary { background: #e5e7eb; color: #111827; }
    .btn-primary   { background: #22c55e; color: #022c22; }

    .btn-primary:disabled { opacity: .4; cursor: not-allowed; }

    footer {
      margin-top: 8px;
      font-size: 11px;
      color: var(--muted);
      text-align: center;
    }

    html { scroll-behavior: smooth; }

    /* ===== LOADING KECIL DI TOMBOL LANJUT ===== */
    .btn-loading::after {
      content: "";
      width: 14px;
      height: 14px;
      border-radius: 999px;
      border: 2px solid rgba(255,255,255,0.6);
      border-top-color: #ffffff;
      animation: spin 0.6s linear infinite;
      display: inline-block;
    }

    .btn-loading span {
      display: none;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }