:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --primary: #2e8fb6;
  --primary-700: #1b6c8f;
  --outline: #e5e7eb;
}

* { box-sizing: border-box; }
html { height: 100%; }
body {
  min-height: 100%;
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  border-bottom: none;
}
.site-header.theme-white { --header-bg: rgba(255,255,255,0.9); --header-text: #0f172a; --header-muted: #334155; --header-outline: #e5e7eb; background: var(--header-bg); border-bottom: 1px solid var(--header-outline); }
.site-header.theme-navy { --header-bg: #0d1630; --header-text: #eaf0ff; --header-muted: #b8c2df; --header-outline: #24334f; background: var(--header-bg); border-bottom: 1px solid var(--header-outline); }
.site-header.theme-transparent { --header-bg: transparent; --header-text: #ffffff; --header-muted: #eaf0ff; --header-outline: transparent; }
.site-header .container { width: 100%; max-width: 100%; margin: 0; padding-inline: 16px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand-wrap { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 80px; height: 80px; border-radius: 50%; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0,0,0,.32)); transform: scale(1.06); transition: transform .2s ease, filter .2s ease; }
.brand { font-weight: 700; letter-spacing: .4px; color: var(--header-text, #0f172a); text-decoration: none; font-size: clamp(20px, 3vw, 28px); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--header-muted, #334155); text-decoration: none; padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: clamp(16px, 2.4vw, 20px); letter-spacing: .3px; }
.nav a:hover { color: var(--header-text, #0f172a); }
.nav a.active { color: var(--header-text, #0f172a); border-bottom: 2px solid var(--primary); border-radius: 0; }

/* Dropdown */
.nav li.has-dropdown { position: relative; }
.nav .dropdown-toggle { background: transparent; border: none; color: var(--header-muted, #334155); padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: clamp(16px, 2.4vw, 20px); letter-spacing: .3px; cursor: pointer; }
.nav .dropdown-toggle:hover { color: var(--header-text, #0f172a); }
.nav .dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; background: var(--header-bg, #fff); border: 1px solid var(--header-outline, #e5e7eb); border-radius: 12px; box-shadow: 0 12px 28px rgba(16,24,40,0.16); padding: 8px; display: none; }
.nav li.has-dropdown.open .dropdown { display: block; }
.nav li.has-dropdown:hover .dropdown { display: block; }
.nav .dropdown a { display: block; color: var(--header-muted, #334155); font-size: 16px; padding: 8px 10px; border-radius: 8px; }
.nav .dropdown a:hover { background: rgba(2,8,23,0.06); color: var(--header-text, #0f172a); }

.hamburger { display: none; background: transparent; border: none; cursor: pointer; }
.hamburger span { display:block; width:24px; height:2px; background: var(--text); margin:5px 0; border-radius:2px; }

/* Hero styles moved to assets/css/pages/home.css */

/* Buttons */
.btn { display:inline-block; padding:10px 16px; border-radius: 10px; text-decoration:none; font-weight:600; }
.btn-primary { background: var(--primary); color: #00121f; }
.btn-primary:hover { background: var(--primary-700); color: #00121f; }
.btn-outline { border: 1px solid var(--outline); color: var(--text); }
.btn-outline:hover { background: #1a2238; }
.btn-success { background: #25D366; color: #00121f; border: 1px solid transparent; }
.btn-success:hover { background: #1DAE54; color: #00121f; }

/* Sections */
.section { padding: 40px 0; }
.tab-section { display: none; }
.tab-section.is-visible { display: block; }

.features { padding: 30px 0 50px; }
.grid { display:grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--outline); border-radius: 12px; padding: 16px; }
.card h3 { margin: 4px 0 8px; }
.list { margin: 0; padding-left: 18px; color: var(--muted); }

/* Company styles moved to assets/css/pages/company.css */

/* Footer styles moved to assets/css/components/footer.css */

/* Responsive */
@media (max-width: 900px) {
  .grid.two { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hamburger { display:block; }
  /* Panel menu mobile: muncul sebagai dropdown di sisi kanan */
  .nav { position: fixed; top: 56px; right: 12px; left: auto; width: min(86vw, 280px); background: var(--header-bg, #fff); border: 1px solid var(--header-outline, transparent); border-radius: 12px; box-shadow: 0 12px 28px rgba(16,24,40,0.16); transform: translateY(-16px) scale(0.98); opacity: 0; pointer-events: none; transition: transform .2s ease, opacity .2s ease; z-index: 1001; max-height: calc(100vh - 72px); overflow-y: auto; -webkit-overflow-scrolling: touch; display: none; visibility: hidden; }
  .nav.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; display: block; visibility: visible; }
  .nav ul { flex-direction: column; padding: 10px; gap: 6px; backdrop-filter: none; }
  .nav a { display: block; width: 100%; text-align: left; }
  .nav .dropdown { position: static; box-shadow: none; border: none; padding: 0; margin-left: 8px; }
  .nav .dropdown-toggle { width: 100%; text-align: left; }
  .nav li.has-dropdown.open .dropdown { display: block; }
  .brand-logo { width: 64px; height: 64px; transform: scale(1.03); filter: drop-shadow(0 4px 12px rgba(0,0,0,.3)); }
  .grid.three { grid-template-columns: 1fr; }
}
