/*
 * ProKit — Landing page styles (prefix .lp- agar tidak bentrok dengan app)
 * Identitas visual: putih + oranye — sama seperti app/views/landing/show.html.erb.
 */

:root {
  --bg: #f8f6f2;
  --surface: #ffffff;
  --surface-2: #fdf1e3;
  --ink: #1d1712;
  --muted: #6b6058;
  --line: #ece5d9;
  --brand: #d6540a;
  --brand-bright: #ff7a1a;
  --brand-soft: #fbe4d0;
  --brand-line: #f3c8a0;
  --ok: #1f8a70;
  --danger: #b91c1c;
  --danger-soft: #fef2f2;
  --danger-line: #fecaca;
}

/* ── Reset & base ── */
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; margin: 0; padding: 0; }
body.lp {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
.lp a { color: inherit; text-decoration: none; }
.lp img { max-width: 100%; display: block; }

/* ── Layout helpers ── */
.lp-container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.lp-narrow    { max-width: 760px; }
.lp-center    { text-align: center; margin-left: auto; margin-right: auto; }
.lp-section   { padding: 88px 0; }
.lp-alt       { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-sub       { color: var(--muted); margin-top: -8px; margin-bottom: 36px; }

/* ── Typography ── */
.lp-h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; line-height: 1.1;
         letter-spacing: -0.02em; color: var(--ink); margin-bottom: 20px; }
.lp-h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; color: var(--ink);
         letter-spacing: -0.01em; margin-bottom: 20px; }
.lp-h3 { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.lp-lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); margin-bottom: 32px; max-width: 560px; }
.lp-body { color: var(--muted); font-size: 1.02rem; }
.lp-eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
              text-transform: uppercase; color: var(--brand); margin-bottom: 18px;
              padding: 6px 14px; background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: 999px; }

/* ── Buttons ── */
.lp-btn { display: inline-block; background: var(--brand); color: #fff; font-weight: 600;
          padding: 11px 22px; border-radius: 10px; font-size: 0.95rem;
          transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
          box-shadow: 0 10px 24px -10px rgba(214,84,10,.55); }
.lp-btn:hover { background: var(--brand-bright); transform: translateY(-1px); }
.lp-btn-lg { padding: 14px 30px; font-size: 1.02rem; }
.lp-btn-sm { padding: 8px 16px; font-size: 0.85rem; box-shadow: none; }
.lp-btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); box-shadow: none; }
.lp-btn-ghost:hover { background: var(--surface-2); border-color: var(--brand); }

/* ── Navbar ── */
.lp-nav { position: sticky; top: 0; z-index: 50; background: rgba(248,246,242,.86);
          backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.lp-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.lp-logo { font-size: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: 0.02em; }
.lp-nav-links { display: flex; align-items: center; gap: 22px; }
.lp-nav-links > a { font-size: 0.9rem; color: var(--muted); transition: color .15s; }
.lp-nav-links > a:hover { color: var(--ink); }
.lp-nav-back { font-weight: 600; }

/* ── Footer ── */
.lp-footer { border-top: 1px solid var(--line); padding: 44px 0; background: var(--surface); }
.lp-footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.lp-footer-tag { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

/* ── Contact page ── */
.lp-contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; margin-top: 48px; align-items: start; }
.lp-contact-info { display: flex; flex-direction: column; gap: 32px; }
.lp-contact-item { display: flex; gap: 16px; align-items: flex-start; }
.lp-contact-icon { font-size: 1.4rem; margin-top: 2px; flex-shrink: 0; }
.lp-contact-label { font-size: 0.72rem; font-weight: 700; color: var(--muted); text-transform: uppercase;
                    letter-spacing: 0.08em; margin-bottom: 6px; }
.lp-contact-value { color: var(--ink); font-size: 0.95rem; line-height: 1.7; }
.lp-contact-email { color: var(--brand); font-size: 1rem; font-weight: 600; }
.lp-contact-email:hover { text-decoration: underline; }

.lp-contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px;
                        box-shadow: 0 1px 2px rgba(29,23,18,.05), 0 12px 30px -12px rgba(29,23,18,.14); }
.lp-field { margin-bottom: 20px; }
.lp-field-label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted);
                  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.lp-field-input { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 9px;
                  color: var(--ink); font-size: 0.95rem; padding: 10px 14px; outline: none;
                  transition: border-color .15s; font-family: inherit; }
.lp-field-input:focus { border-color: var(--brand); }
.lp-field-textarea { resize: vertical; min-height: 120px; }

.lp-contact-error { background: var(--danger-soft); border: 1px solid var(--danger-line); color: var(--danger);
                    border-radius: 8px; padding: 10px 14px; font-size: 0.875rem; margin-bottom: 16px; }
.lp-contact-success { background: #eaf7f2; border: 1px solid var(--ok); color: #0f6650;
                      border-radius: 8px; padding: 20px; font-size: 0.95rem;
                      display: flex; align-items: center; gap: 12px; }
.lp-contact-success span { font-size: 1.4rem; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .lp-nav-links > a:not(.lp-btn):not(.lp-nav-back) { display: none; }
  .lp-section { padding: 64px 0; }
  .lp-footer-inner { flex-direction: column; }
  .lp-contact-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .lp-contact-form-wrap { padding: 24px; }
}
