/* ==========================================================================
   appsaya.web.id — Stylesheet bersama
   Tema: Profesional modern (hero gradient gelap + latar bertekstur halus)
   ========================================================================== */

:root {
  --bg: #eef2fb;
  --bg-2: #e5eaf7;
  --surface: #ffffff;
  --text: #131722;
  --text-soft: #5a6070;
  --border: #e4e8f2;
  --accent: #2f6bff;
  --accent-dark: #1c47c9;
  --accent-2: #7b5cff;
  --accent-soft: #eaf1ff;
  --wa: #25D366;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 10px 30px rgba(24, 39, 75, .08), 0 2px 6px rgba(24, 39, 75, .05);
  --shadow-lg: 0 24px 60px rgba(24, 39, 75, .16);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Latar bertekstur halus, bukan putih polos */
  background:
    radial-gradient(700px 500px at 100% 0%, rgba(123, 92, 255, .07), transparent 60%),
    radial-gradient(600px 500px at 0% 20%, rgba(47, 107, 255, .07), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; color: var(--text); }
.brand-mark { height: 36px; width: auto; display: block; }
@media (max-width: 480px) { .brand { gap: 8px; font-size: 1.05rem; } .brand-mark { height: 30px; } }
.brand span {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-soft); font-weight: 500; font-size: .96rem; padding: 6px 0; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 2px;
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.5rem; color: var(--text); }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--border); padding: 8px 24px 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: .96rem; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .08s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 8px 22px rgba(47, 107, 255, .35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(47, 107, 255, .45); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #c9d2e6; color: var(--text); transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: #1db757; color: #fff; box-shadow: 0 12px 30px rgba(37, 211, 102, .45); transform: translateY(-1px); }

/* ---------- Hero (gradient gelap premium) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #e9eefc;
  padding: 96px 0 84px;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(47, 107, 255, .35), transparent 55%),
    radial-gradient(800px 520px at 92% 0%, rgba(123, 92, 255, .32), transparent 55%),
    linear-gradient(165deg, #0a0f22 0%, #131a38 48%, #1a2350 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 40%, transparent 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  line-height: 1.08; letter-spacing: -.03em;
  margin: 0 0 18px; max-width: 20ch; color: #fff;
}
.hero p.lead { font-size: 1.16rem; color: rgba(233, 238, 252, .78); max-width: 60ch; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: #cdd9ff; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
  backdrop-filter: blur(4px);
}
/* Ombak pemisah lembut di dasar hero */
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: var(--bg);
  clip-path: ellipse(75% 100% at 50% 100%);
  z-index: 1;
}

/* Watermark logo di hero */
.hero-watermark {
  position: absolute; top: -18px; right: -30px;
  width: 340px; height: auto; opacity: .07; z-index: 0;
  pointer-events: none; transform: rotate(-6deg);
}
@media (max-width: 720px) { .hero-watermark { width: 200px; right: -40px; opacity: .06; } }

/* Animasi masuk halus untuk konten hero */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero .eyebrow { animation: fadeUp .5s ease both; }
.hero h1 { animation: fadeUp .6s .06s ease both; }
.hero p.lead { animation: fadeUp .6s .14s ease both; }
.hero .hero-cta { animation: fadeUp .6s .22s ease both; }
@media (prefers-reduced-motion: reduce) { .hero .eyebrow, .hero h1, .hero p.lead, .hero .hero-cta { animation: none; } }

/* ---------- Sections ---------- */
section { padding: 72px 0; position: relative; }
.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); letter-spacing: -.02em; margin: 0 0 12px; }
.section-head p { color: var(--text-soft); font-size: 1.06rem; margin: 0; }
.bg-soft {
  background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.35));
  border-top: 1px solid rgba(255,255,255,.6);
  border-bottom: 1px solid var(--border);
}

/* ---------- Grid & Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d5deef; }
.card h3 { margin: 14px 0 8px; font-size: 1.16rem; letter-spacing: -.01em; }
.card p { color: var(--text-soft); margin: 0; font-size: .99rem; }
.card .icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 14px; font-size: 1.35rem; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 18px rgba(47, 107, 255, .28);
}

/* ---------- Article list ---------- */
.article-card { display: flex; flex-direction: column; }
.article-card .tag { font-size: .78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.article-card h3 { margin: 8px 0 10px; font-size: 1.22rem; }
.article-card .meta { color: var(--text-soft); font-size: .85rem; margin-top: auto; padding-top: 16px; }
.article-card a.readmore { font-weight: 600; margin-top: 12px; display: inline-block; }

/* ---------- Article page ---------- */
.article {
  max-width: 800px; margin: 48px auto; padding: 52px 56px 44px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; box-shadow: var(--shadow);
}
@media (max-width: 620px) { .article { padding: 32px 22px; margin: 20px 16px; } }
.article .tag { font-size: .8rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -.02em; line-height: 1.15; margin: 12px 0 14px; }
.article .meta { color: var(--text-soft); font-size: .9rem; margin-bottom: 32px; }
.article h2 { font-size: 1.45rem; margin: 38px 0 12px; letter-spacing: -.01em; }
.article p { margin: 0 0 18px; }
.article ul { padding-left: 20px; margin: 0 0 18px; }
.article li { margin-bottom: 8px; }
.article blockquote {
  margin: 26px 0; padding: 16px 22px;
  border-left: 4px solid var(--accent);
  background: linear-gradient(120deg, var(--accent-soft), #fff);
  border-radius: 0 12px 12px 0; color: var(--text);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 620px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px; background: var(--surface); box-shadow: var(--shadow);
  text-align: center; transition: transform .14s ease, box-shadow .14s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-card .icon { font-size: 2.1rem; margin-bottom: 12px; }
.contact-card h3 { margin: 0 0 6px; }
.contact-card p { color: var(--text-soft); margin: 0 0 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff; border-radius: 24px; padding: 56px 44px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin: 0 0 12px; letter-spacing: -.02em; }
.cta-band p { color: rgba(255, 255, 255, .92); max-width: 54ch; margin: 0 auto 28px; font-size: 1.06rem; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); box-shadow: none; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .24); color: #fff; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .14s ease, box-shadow .14s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
  box-shadow: var(--shadow-lg); transform: translateY(-6px);
}
@media (max-width: 860px) { .price-card.featured { transform: none; } }
.price-card .plan { font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; color: var(--text-soft); }
.price-card .price { font-size: 2.15rem; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 2px; }
.price-card .price small { font-size: .85rem; font-weight: 600; color: var(--text-soft); }
.price-card .price-note { color: var(--text-soft); font-size: .92rem; margin: 0 0 20px; min-height: 40px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
.price-card li { position: relative; padding-left: 26px; font-size: .96rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.price-card .btn { margin-top: auto; justify-content: center; width: 100%; }
.badge-pop {
  position: absolute; top: 18px; right: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .14s ease, box-shadow .14s ease;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testi-card .stars { color: #f5b301; letter-spacing: 2px; margin-bottom: 12px; font-size: .95rem; }
.testi-card p.quote { margin: 0 0 22px; font-size: 1rem; line-height: 1.62; }
.testi-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-card .avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.testi-card .who strong { display: block; font-size: .95rem; }
.testi-card .who span { color: var(--text-soft); font-size: .85rem; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,.75));
  padding: 44px 0; color: var(--text-soft); font-size: .92rem;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer a { color: var(--text-soft); }
.footer a:hover { color: var(--text); }
.footer .foot-links { display: flex; gap: 20px; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
