/* masjidonline.id: static landing site. Light theme, teal/green accent, Islamic geometric motifs. */

@font-face { font-family: "Jakarta"; src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jakarta"; src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --bg: #f6f8f4;
  --bg-tint: #ecf3ee;
  --surface: #ffffff;
  --ink: #10302b;
  --ink-soft: #3f5a55;
  --muted: #5f7570;
  --line: #d9e4dd;
  --teal-900: #0b3d38;
  --teal-800: #0e4d47;
  --teal-700: #10605a;
  --teal-600: #13796f;
  --teal-500: #1b9483;
  --green-500: #3c9a5f;
  --green-100: #e2f1e6;
  --gold: #b48a3c;
  --gold-soft: #efe4cc;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 48, 43, .06), 0 8px 24px rgba(16, 48, 43, .07);
  --wrap: 1120px;
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Jakarta", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font); }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--teal-600); }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--teal-900); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 16px; top: -48px; background: var(--teal-800); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; color: #fff; }

/* Geometric pattern: an 8-point star (khatam) lattice, drawn as a tiling SVG. */
.pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%2313796f' stroke-width='1.1' stroke-opacity='.16'%3E%3Cpath d='M48 14 58 38 82 48 58 58 48 82 38 58 14 48 38 38Z'/%3E%3Cpath d='M24 24H72V72H24Z' transform='rotate(45 48 48)'/%3E%3Cpath d='M24 24H72V72H24Z'/%3E%3Ccircle cx='48' cy='48' r='9'/%3E%3Cpath d='M0 0 14 14M96 0 82 14M0 96 14 82M96 96 82 82M48 0V14M48 82V96M0 48H14M82 48H96'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 96px 96px;
}
.band {
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='18' viewBox='0 0 36 18'%3E%3Cg fill='none' stroke='%23b48a3c' stroke-width='1.2' stroke-opacity='.55'%3E%3Cpath d='M0 9h6M30 9h6M18 1 21.5 5.5 27 6 23 9.5 24.5 15 18 12 11.5 15 13 9.5 9 6 14.5 5.5Z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(246, 248, 244, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-900); font-weight: 700; font-size: 1.125rem; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-weight: 400; font-size: .75rem; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--teal-700); }
.header-cta { padding: 9px 18px; font-size: .92rem; }
@media (max-width: 860px) { .nav { display: none; } .header-cta { margin-inline-start: auto; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; line-height: 1.3; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--teal-700); color: #fff; }
.btn-primary:hover { background: var(--teal-800); color: #fff; }
.btn-ghost { border-color: var(--teal-600); color: var(--teal-700); background: transparent; }
.btn-ghost:hover { background: var(--green-100); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; background: linear-gradient(180deg, var(--bg-tint), var(--bg)); }
.hero .pattern-layer { position: absolute; inset: 0; mask-image: radial-gradient(ellipse 70% 80% at 85% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 30%, #000 10%, transparent 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--teal-700); background: var(--green-100); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.eyebrow svg { width: 14px; height: 14px; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .95rem; margin: 0; }
.note svg { width: 18px; height: 18px; color: var(--teal-600); flex: none; }

/* Hero sample: a miniature of a mosque website in a browser frame */
.preview { position: relative; margin: 0; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(16, 48, 43, .05), 0 24px 48px rgba(16, 48, 43, .12); overflow: hidden; font-size: 13px; line-height: 1.45; }
.preview-badge { margin-inline-start: auto; flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7a5c22; background: var(--gold-soft); padding: 2px 9px; border-radius: 999px; }
.preview-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2ef; border-bottom: 1px solid var(--line); }
.preview-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd8d3; }
.preview-bar i { flex: none; }
.preview-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-inline: 6px 8px; padding: 2px 12px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .78rem; }
.pv-header { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.pv-logo { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-600); color: #fff; flex: none; }
.pv-logo svg { width: 15px; height: 15px; }
.pv-header strong { color: var(--teal-900); font-size: .92rem; white-space: nowrap; }
.pv-nav { display: flex; gap: 10px; margin-inline-start: auto; color: var(--ink-soft); font-size: .78rem; }
.pv-give { padding: 3px 11px; border-radius: 999px; background: #b8860b; color: #fff; font-weight: 600; font-size: .78rem; }
.pv-hero { padding: 26px 18px 22px; text-align: center; background-color: #e3f0ea; }
.pv-greet { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #a07a18; margin-bottom: 6px; }
.pv-title { font-weight: 700; font-size: 1.7rem; line-height: 1.1; color: var(--teal-900); letter-spacing: -.01em; }
.pv-hero p { margin: 8px auto 14px; max-width: 30em; color: var(--ink-soft); font-size: .84rem; }
.pv-ctas { display: flex; justify-content: center; gap: 8px; }
.pv-btn { padding: 6px 14px; border-radius: 999px; background: var(--teal-700); color: #fff; font-weight: 600; font-size: .78rem; }
.pv-btn.gold { background: #b8860b; color: #1f1500; }
.pv-times { list-style: none; margin: 0; padding: 10px 12px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; border-bottom: 1px solid var(--line); }
.pv-times li { display: grid; text-align: center; padding: 6px 2px; border-radius: 8px; background: var(--bg); font-size: .72rem; color: var(--muted); }
.pv-times b { font-size: .86rem; color: var(--teal-800); font-variant-numeric: tabular-nums; }
.pv-times li.now { background: var(--teal-700); color: #cfe9e1; }
.pv-times li.now b { color: #fff; }
.pv-events { padding: 12px 14px 16px; background: var(--bg); }
.pv-events-h { font-weight: 700; color: var(--teal-900); font-size: .95rem; margin-bottom: 8px; }
.pv-event { display: flex; gap: 10px; align-items: flex-start; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.pv-event + .pv-event { margin-top: 8px; }
.pv-date { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--teal-600); color: #fff; font-size: .6rem; line-height: 1; }
.pv-date b { font-size: 1rem; }
.pv-event strong { display: block; color: var(--ink); font-size: .86rem; }
.pv-cat { display: block; color: var(--teal-600); font-weight: 600; font-size: .7rem; }
.pv-meta { display: inline-flex; align-items: center; gap: 4px; margin-inline-end: 10px; color: var(--muted); font-size: .74rem; }
.pv-meta svg { width: 12px; height: 12px; }
@media (max-width: 1080px) { .pv-nav { display: none; } .pv-give { margin-inline-start: auto; } }
@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .preview { max-width: 520px; margin-inline: auto; width: 100%; }
}

/* Service scope notice */
.scope-strip { position: relative; margin-top: -44px; padding-bottom: 44px; }
.scope { display: flex; gap: 18px; align-items: flex-start; padding: 22px 26px; background: var(--surface); border: 1px solid var(--line); border-inline-start: 5px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); }
.scope .icon { margin: 0; color: #8a6a2c; background: var(--gold-soft); }
.scope h2 { font-family: var(--font); font-size: 1.1rem; margin-bottom: 4px; }
.scope p { margin: 0; color: var(--ink-soft); }
@media (max-width: 600px) { .scope { flex-direction: column; gap: 12px; padding: 20px; } }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 46em; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.kicker { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.section-head p { color: var(--ink-soft); font-size: 1.07rem; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }
@media (max-width: 700px) { section { padding: 60px 0; } }

/* About points */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.point { padding: 26px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.point h3 { font-size: 1.1rem; font-family: var(--font); }
.point p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 800px) { .points { grid-template-columns: 1fr; } }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { position: relative; padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(16, 48, 43, .04); }
.icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; color: var(--teal-700); background: var(--green-100); clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
.icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; font-family: var(--font); margin-bottom: 6px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.soon { position: absolute; top: 18px; inset-inline-end: 18px; font-size: .72rem; font-weight: 700; color: #7a5c22; background: var(--gold-soft); padding: 3px 10px; border-radius: 999px; }
.feature.planned .icon { color: #8a6a2c; background: var(--gold-soft); }
.subhead { display: flex; align-items: center; gap: 16px; margin: 56px 0 22px; }
.subhead h3 { margin: 0; font-size: 1.3rem; white-space: nowrap; }
.subhead .band { flex: 1; }
.subnote { color: var(--muted); margin: -10px 0 22px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } .subhead h3 { white-space: normal; } }

/* Hosting options */
.options { max-width: 640px; margin: 0 auto; }
.option { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 34px 32px 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.option.featured { background: linear-gradient(165deg, var(--teal-700), var(--teal-900)); color: #e8f3ef; border-color: transparent; }
.option.featured h3, .option.featured .price { color: #fff; }
.option .pattern { position: absolute; inset: 0; opacity: .55; mask-image: radial-gradient(circle at 100% 0, #000, transparent 60%); -webkit-mask-image: radial-gradient(circle at 100% 0, #000, transparent 60%); }
.option.featured .pattern { filter: brightness(3.5) saturate(0); opacity: .35; }
.option > * { position: relative; }
.tag { align-self: flex-start; font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--green-100); color: var(--teal-700); margin-bottom: 16px; }
.option.featured .tag { background: rgba(255, 255, 255, .14); color: #fff; }
.option h3 { font-size: 1.45rem; }
.price { font-size: 2rem; font-weight: 700; color: var(--teal-700); margin: 4px 0 14px; }
.price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.option.featured .price small { color: #b9d8d0; }
.option p { color: var(--ink-soft); }
.option.featured p { color: #d3e8e2; }
.checks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; margin-top: 3px; color: var(--green-500); flex: none; }
.option.featured .checks svg { color: #8fd6b0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps li { position: relative; padding: 30px 26px 26px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; font-weight: 700; font-size: 1.1rem; color: #fff; background: var(--teal-700); clip-path: polygon(50% 0, 64% 15%, 85% 15%, 85% 36%, 100% 50%, 85% 64%, 85% 85%, 64% 85%, 50% 100%, 36% 85%, 15% 85%, 15% 64%, 0 50%, 15% 36%, 15% 15%, 36% 15%); }
.steps h3 { font-size: 1.1rem; font-family: var(--font); }
.steps p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; color: var(--teal-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; border-inline-end: 2px solid var(--teal-600); border-bottom: 2px solid var(--teal-600); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq details p { color: var(--ink-soft); padding-bottom: 18px; margin: 0; }

/* Contact */
.contact { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 56px 40px; text-align: center; background: linear-gradient(160deg, var(--teal-700), var(--teal-900)); color: #e3f1ec; }
.contact .pattern { position: absolute; inset: 0; filter: brightness(3.5) saturate(0); opacity: .3; }
.contact > * { position: relative; }
.contact h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.contact p { max-width: 40em; margin-inline: auto; color: #cfe5de; }
.contact .btn-primary { background: #fff; color: var(--teal-800); margin-top: 10px; }
.contact .btn-primary:hover { background: var(--green-100); }
.contact ul { list-style: none; padding: 0; margin: 26px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; max-width: 760px; }
.contact li { font-size: .88rem; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #e3f1ec; }
.email { font-weight: 600; }
@media (max-width: 600px) { .contact { padding: 44px 22px; } }

/* Footer */
.site-footer { padding: 36px 0 44px; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.site-footer .band { width: 100%; margin-bottom: 18px; }
.contact .contact-intro { margin: 28px auto 0; }
