/* SekatBot — kulit situs publik. Diambil dari landing page D:\Website\SekatBot (tema WhatsApp hijau + aksen indigo). */

/* Font disimpan sendiri (SIL OFL, lisensi di folder fonts/) — CSP kerangka hanya mengizinkan 'self'. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter/Inter-UI-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter/Inter-UI-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter/Inter-UI-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); }

:root {
  --bg: #ffffff;
  --bg-alt: #f0fdf5;
  --border: #e2e8f0;
  --text-heading: #0f172a;
  --text-main: #334155;
  --text-muted: #64748b;
  --wa: #128c7e;
  --wa-dark: #075e54;
  --wa-bright: #25d366;
  --brand: #6366f1;
  --danger: #c0392b;
  --danger-soft: #fdecea;
  --warn: #9a6700;
  --warn-soft: #fff6dd;
  --code-bg: #eef2ff;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-lg: 0 18px 40px rgba(7,94,84,.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body { font-family: var(--font-sans); color: var(--text-main); line-height: 1.7; -webkit-font-smoothing: antialiased; background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1; }

a { color: var(--brand); text-decoration: none; transition: .2s ease; }
a:hover { color: var(--wa); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.glow-bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 12% 0%, rgba(37,211,102,.12) 0%, transparent 48%),
    radial-gradient(circle at 90% 100%, rgba(99,102,241,.10) 0%, transparent 50%);
}

code { background: var(--code-bg); color: var(--wa); padding: 1px 6px; border-radius: 6px; font-size: .86em; }

/* Nav */
.navbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text-heading); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.brand:hover { color: var(--text-heading); }
.brand em { font-style: normal; color: var(--wa); }
.brand-logo { width: 30px; height: auto; border-radius: 8px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--text-heading); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { color: var(--text-heading); font-weight: 600; font-size: .92rem; padding: 8px 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text-heading); border-radius: 2px; }
.nav-mobile { display: none; border-top: 1px solid var(--border); background: #fff; padding: 12px 24px 18px; }
.nav-mobile a { display: block; padding: 10px 0; color: var(--text-heading); font-weight: 500; border-bottom: 1px solid var(--border); }
.nav-mobile a:last-child { border-bottom: 0; }
.navbar.open .nav-mobile { display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font-family: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; transition: all .2s ease; border: 1px solid transparent; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--wa); color: #fff; box-shadow: 0 4px 12px rgba(18,140,126,.32); }
.btn-primary:hover { background: var(--wa-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--border); color: var(--text-heading); background: #fff; }
.btn-outline:hover { border-color: var(--wa); color: var(--wa); transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.nav-cta { padding: 10px 22px; font-size: .9rem; }

/* Hero */
.hero { padding: 84px 0 76px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-block; padding: 7px 18px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--wa); font-size: .82rem; font-weight: 600; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.hero-title { font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--text-heading); }
.grad { background: linear-gradient(90deg, var(--wa), var(--wa-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc { margin-top: 20px; color: var(--text-muted); font-size: 1.1rem; max-width: 520px; }
.hero-desc strong { color: var(--text-heading); }
.hero-buttons { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding: 0; color: var(--text-muted); font-weight: 600; font-size: .92rem; }
.hero-points li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--wa-bright); margin-right: 8px; vertical-align: middle; }

/* Chat demo */
.chat-demo { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.chat-window { width: 100%; max-width: 340px; background: #ece5dd; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid #e6ded5; }
.chat-head { display: flex; align-items: center; gap: 10px; background: var(--wa-dark); color: #fff; padding: 12px 14px; }
.chat-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--wa-bright); flex-shrink: 0; }
.chat-head strong { display: block; font-size: .9rem; }
.chat-head small { display: block; font-size: .72rem; opacity: .8; }
.chat-body { padding: 16px 12px 8px; display: flex; flex-direction: column; gap: 8px; min-height: 300px; }
.bubble { max-width: 82%; padding: 9px 12px; border-radius: 12px; font-size: .86rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.bubble.in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.bubble.in.img { background: #e2ffe7; }
.bubble.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; }
.chat-input { margin: 6px 12px 14px; background: #fff; border-radius: 999px; padding: 9px 16px; color: var(--text-muted); font-size: .85rem; }
.demo-caption { color: var(--text-muted); font-size: .85rem; text-align: center; max-width: 340px; }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { max-width: 660px; margin: 0 auto 46px; }
.section-header.center { text-align: center; }
.section-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; letter-spacing: -.01em; color: var(--text-heading); }
.section-subtitle { color: var(--text-muted); margin-top: 10px; font-size: 1.05rem; }

/* What is */
.what-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.what-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.what-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--wa); color: #fff; font-weight: 800; margin-bottom: 16px; }
.what-card h3 { font-family: var(--font-display); color: var(--text-heading); margin-bottom: 8px; font-size: 1.2rem; }
.what-card p { color: var(--text-muted); font-size: 1rem; }
.what-card strong { color: var(--text-heading); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fc-icon { width: 46px; height: 46px; border-radius: 12px; background: #e2ffe7; color: var(--wa); display: grid; place-items: center; margin-bottom: 16px; }
.fc-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-family: var(--font-display); color: var(--text-heading); font-size: 1.08rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: .93rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); }
.step-num { width: 40px; height: 40px; border-radius: 10px; background: #e2ffe7; color: var(--wa); font-weight: 800; font-size: 1.1rem; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-family: var(--font-display); color: var(--text-heading); font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: .95rem; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chips span { background: #fff; border: 1px solid var(--border); color: var(--text-main); padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-sm); }

/* Catatan penting */
.notice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.notice-card { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--wa); border-radius: var(--radius-sm); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.notice-card h3 { font-family: var(--font-display); color: var(--text-heading); font-size: 1rem; margin-bottom: 6px; }
.notice-card p { color: var(--text-muted); font-size: .92rem; }

/* CTA */
.cta-box { text-align: center; padding: 56px 32px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(180deg, #fff, var(--bg-alt)); box-shadow: var(--shadow-sm); }
.cta-box .hero-buttons { justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: #f1f5f9; padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; color: var(--text-heading); }
.footer-brand .brand-logo { width: 26px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--text-muted); font-size: .9rem; font-weight: 500; }
.footer-links a:hover { color: var(--wa); }
.footer-copy { color: var(--text-muted); font-size: .9rem; }

/* Halaman form (masuk, daftar, lupa & reset password) */
.auth { padding: 64px 0 84px; }
.auth-card { max-width: 440px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-family: var(--font-display); color: var(--text-heading); font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; }
.auth-sub { color: var(--text-muted); margin: 6px 0 24px; font-size: .95rem; }
.auth-card form { display: grid; gap: 16px; }
.auth-card label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--text-heading); }
.auth-card input { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; font: inherit; font-size: .95rem; color: var(--text-heading); background: #fff; transition: border-color .2s, box-shadow .2s; }
.auth-card input:focus { outline: none; border-color: var(--wa); box-shadow: 0 0 0 4px rgba(18,140,126,.12); }
.auth-card .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.auth-card .actions .btn { flex: 1; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: .82rem; margin: 22px 0 14px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-google { display: flex; justify-content: center; min-height: 40px; }
.auth-links { margin-top: 22px; text-align: center; color: var(--text-muted); font-size: .92rem; }
#message { margin-top: 16px; font-size: .92rem; color: var(--wa-dark); }
#message:empty { display: none; }
#message.error { color: var(--danger); background: var(--danger-soft); padding: 10px 14px; border-radius: 10px; }
.auth-card pre { margin-top: 12px; padding: 12px; background: var(--code-bg); border-radius: 10px; font-size: .8rem; overflow-x: auto; }

/* Halaman teks (syarat, privasi) */
.prose-wrap { padding: 56px 0 84px; }
.prose { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 44px; box-shadow: var(--shadow-sm); }
.prose h1 { font-family: var(--font-display); color: var(--text-heading); font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.01em; }
.prose .meta { color: var(--text-muted); font-size: .9rem; margin: 6px 0 22px; }
.prose h2 { font-family: var(--font-display); color: var(--text-heading); font-size: 1.15rem; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--text-main); font-size: .98rem; }
.prose ul, .prose ol { padding-left: 22px; margin: 8px 0; display: grid; gap: 6px; }
.draft-note { background: var(--warn-soft); color: var(--warn); border-radius: 12px; padding: 12px 16px; font-size: .9rem; font-weight: 500; margin-bottom: 8px; }

/* 404 */
.notfound { padding: 96px 0; text-align: center; }
.notfound-code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; line-height: 1; }
.notfound h1 { font-family: var(--font-display); color: var(--text-heading); font-size: 1.6rem; margin: 12px 0 8px; }
.notfound p { color: var(--text-muted); }
.notfound .hero-buttons { justify-content: center; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: all .7s cubic-bezier(.16,1,.3,1); }
.reveal.active { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid, .what-grid, .notice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links, .nav-actions .nav-login, .nav-actions .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .prose { padding: 28px 22px; }
  .auth-card { padding: 28px 22px; }
}

/* Harga */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-name { font-family: var(--font-display); color: var(--text-heading); font-size: 1.25rem; font-weight: 800; }
.price-amount { font-family: var(--font-display); color: var(--wa); font-size: 1.9rem; font-weight: 800; margin: 10px 0 4px; }
.price-amount span { color: var(--text-muted); font-family: var(--font-sans); font-size: .9rem; font-weight: 500; }
.price-desc { color: var(--text-muted); font-size: .95rem; }
.price-features { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; flex: 1; }
.price-features li { color: var(--text-main); font-size: .95rem; padding-left: 22px; position: relative; }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--wa); font-weight: 700; }
.pricing-empty { grid-column: 1 / -1; text-align: center; color: var(--text-muted); padding: 32px; background: #fff; border: 1px dashed var(--border); border-radius: var(--radius-lg); }
.pricing-empty p { margin-bottom: 14px; }
.pricing-note { text-align: center; color: var(--text-muted); font-size: .9rem; margin-top: 28px; }
