/* ===================================
   KEMENAGNIASUTARA - style.css
   Modern, Professional, Responsive
   =================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #1a56db;
  --primary-dark: #1340a8;
  --primary-light:#e8f0fe;
  --accent:       #f59e0b;
  --green:        #10b981;
  --teal:         #0d9488;
  --red:          #ef4444;
  --purple:       #8b5cf6;
  --dark:         #0f172a;
  --body:         #1e293b;
  --muted:        #64748b;
  --border:       #e2e8f0;
  --bg:           #f8fafc;
  --white:        #ffffff;
  --radius:       12px;
  --shadow:       0 4px 24px rgba(15,23,42,.08);
  --shadow-lg:    0 12px 40px rgba(15,23,42,.14);
  --transition:   all .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── Container ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .925rem;
  padding: 10px 22px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary  { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,86,219,.35); }
.btn-outline  { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost    { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-white    { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover { background: var(--primary-light); }
.btn-lg       { padding: 14px 30px; font-size: 1rem; border-radius: 10px; }
.w-full       { width: 100%; justify-content: center; }

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: .9rem;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--dark);
  cursor: pointer;
  margin-left: auto;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.mobile-menu a { text-decoration: none; color: var(--body); font-weight: 500; }
.mobile-menu.open { display: flex; }

/* ── Hero ── */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1a3a7c 60%, #1a56db 100%);
  color: var(--white);
  padding: 100px 0 90px;
  overflow: hidden;
  text-align: center;
}
.hero-bg-shape {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99,149,255,.18) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #a5c7ff;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.highlight {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  max-width: 600px;
  margin: 0 auto 36px;
  color: rgba(255,255,255,.75);
  font-size: 1.08rem;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 8px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.stat strong { font-size: 1.2rem; font-weight: 700; }
.stat span   { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.2);
}

/* ── Section shared ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 12px;
}
.section-header p { color: var(--muted); max-width: 520px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-header.light h2 { color: var(--white); }
.section-header.light p  { color: rgba(255,255,255,.7); }

/* ── Features ── */
.features { padding: 96px 0; background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.feature-icon.green  { background: #dcfce7; color: #16a34a; }
.feature-icon.blue   { background: #dbeafe; color: var(--primary); }
.feature-icon.yellow { background: #fef9c3; color: #ca8a04; }
.feature-icon.purple { background: #ede9fe; color: #7c3aed; }
.feature-icon.red    { background: #fee2e2; color: #dc2626; }
.feature-icon.teal   { background: #ccfbf1; color: var(--teal); }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.feature-card p  { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* ── About ── */
.about { padding: 96px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.about-text > p { color: var(--muted); margin-bottom: 28px; line-height: 1.75; }
.about-list {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: .95rem;
}
.about-list li i { color: var(--green); flex-shrink: 0; }
.about-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Visual Card (mock dashboard) ── */
.about-visual { display: flex; justify-content: center; }
.visual-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 380px;
  overflow: hidden;
}
.vc-header {
  background: #f1f5f9;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.vc-dot { width: 10px; height: 10px; border-radius: 50%; }
.vc-dot.red    { background: #ef4444; }
.vc-dot.yellow { background: #f59e0b; }
.vc-dot.green  { background: #22c55e; }
.vc-title {
  margin-left: 12px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
}
.vc-body { padding: 24px 20px; }
.vc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.vc-row:last-of-type { border-bottom: none; }
.vc-label { color: var(--muted); }
.vc-val   { font-weight: 700; }
.blue-text   { color: var(--primary); }
.green-text  { color: var(--green); }
.yellow-text { color: var(--accent); }
.vc-bar-section { margin-top: 20px; }
.vc-bar-label { font-size: .8rem; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.vc-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
}
.vc-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--primary), #60a5fa);
  border-radius: 4px 4px 0 0;
  transition: var(--transition);
}
.vc-bar:hover { opacity: .8; }

/* ── Quick Access ── */
.quick-access {
  padding: 96px 0;
  background: linear-gradient(135deg, #0f172a, #1a3a7c);
}
.qa-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.qa-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  color: var(--white);
  transition: var(--transition);
}
.qa-card:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.qa-card.featured {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(26,86,219,.4);
  transform: scale(1.03);
}
.qa-card.featured:hover { transform: scale(1.05) translateY(-3px); }
.qa-card > i { font-size: 2.2rem; margin-bottom: 18px; display: block; color: #93c5fd; }
.qa-card.featured > i { color: var(--white); }
.qa-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.qa-card p  { font-size: .9rem; color: rgba(255,255,255,.65); margin-bottom: 24px; line-height: 1.6; }
.qa-card.featured p { color: rgba(255,255,255,.8); }

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .brand-icon { background: var(--primary); }
.footer-brand .brand-name { color: var(--white); font-size: 1.1rem; }
.footer-brand > p { margin-top: 8px; font-size: .88rem; max-width: 280px; line-height: 1.6; }
.footer-links { display: flex; gap: 40px; }
.fl-col { display: flex; flex-direction: column; gap: 10px; }
.fl-col strong { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.fl-col a { text-decoration: none; color: rgba(255,255,255,.55); font-size: .88rem; transition: var(--transition); }
.fl-col a:hover { color: var(--white); }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: .83rem;
  color: rgba(255,255,255,.35);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 28px; }
}
@media (max-width: 600px) {
  .hero { padding: 72px 0 64px; }
  .hero h1 { font-size: 2rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { gap: 4px; }
  .stat { padding: 0 16px; }
  .features, .about, .quick-access { padding: 64px 0; }
  .qa-card.featured { transform: scale(1); }
}
