/* =============================================
   Pipa Jaya Profesional — style.css
   Primary:#1a3a52 (Navy) Accent:#2196f3 (Bright Blue) Bg:#e3f2fd
   ============================================= */

:root {
  --primary: #1a3a52;
  --primary-dark: #0d1f2d;
  --primary-light: #2c5282;
  --accent: #2196f3;
  --accent-light: #64b5f6;
  --accent-very-light: #bbdefb;
  --bg: #e3f2fd;
  --bg-white: #f5fbff;
  --text: #1a3a52;
  --text-light: #37606e;
  --text-muted: #607d8b;
  --white: #ffffff;
  --success: #4caf50;
  --danger: #f44336;
  --shadow: 0 2px 12px rgba(26,58,82,0.15);
  --shadow-md: 0 4px 24px rgba(26,58,82,0.2);
  --radius: 10px;
  --radius-lg: 18px;
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  padding-top: 40px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── DEMO BAR ── */
.demo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--primary);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  padding: 0 16px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.03em;
}
.demo-bar a { color: var(--accent-light); text-decoration: underline; }
.demo-bar a:hover { color: var(--white); }

/* ── CHECKBOX HACK NAV ── */
#nav-toggle { display: none; }

header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 40px;
  z-index: 1000;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  position: relative;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--primary);
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-menu li a {
  display: block;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.nav-menu li a:hover {
  background: var(--accent-very-light);
  text-decoration: none;
  color: var(--primary);
}
.nav-menu li a.active {
  background: var(--primary);
  color: var(--white);
}
.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
}
.nav-cta:hover {
  background: var(--primary-light) !important;
  text-decoration: none;
}

/* ── HAMBURGER ── */
.hamburger-label {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger-label span {
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* MOBILE NAV */
@media (max-width: 768px) {
  .hamburger-label { display: flex; }
  .nav-menu {
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: var(--shadow);
  }
  #nav-toggle:checked ~ header .nav-menu {
    max-height: 500px;
  }
  #nav-toggle:checked ~ header .hamburger-label span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  #nav-toggle:checked ~ header .hamburger-label span:nth-child(2) {
    opacity: 0;
  }
  #nav-toggle:checked ~ header .hamburger-label span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }
  .nav-menu li { width: 100%; }
  .nav-menu li a {
    padding: 12px 20px;
    border-radius: 0;
  }
}

/* ── HERO SECTION ── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}
.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.hero-icon-wrap {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 24px;
  line-height: 1.7;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}
.badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
}
.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover {
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-light);
  text-decoration: none;
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--bg);
  color: var(--primary);
}
.btn-secondary:hover {
  background: var(--accent-very-light);
  text-decoration: none;
}

/* ── CONTAINER ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── STATS SECTION ── */
.stats {
  background: var(--white);
  padding: 40px 20px;
  border-top: 1px solid var(--accent-very-light);
  border-bottom: 1px solid var(--accent-very-light);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.stat-item {
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 4px;
}
.stat-item span {
  display: block;
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ── SECTION ── */
.section {
  padding: 60px 20px;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
  text-align: center;
}
.divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0 auto 20px;
  border-radius: 2px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  text-align: center;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-very-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--primary);
}
.card p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}
.card-price {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

/* ── STEPS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-num {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.step-body h4 {
  color: var(--primary);
  margin-bottom: 8px;
}
.step-body p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ── TESTIMONIAL ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.testi-card .stars {
  color: #ffc107;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.testi-quote {
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 8px;
}
.testi-card p {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}
.testi-author {
  display: flex;
  gap: 12px;
  align-items: center;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.testi-name {
  font-weight: 700;
  color: var(--primary);
}
.testi-loc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}
.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 1.05rem;
  margin-bottom: 24px;
  opacity: 0.95;
}

/* ── FOOTER ── */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 20px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  margin-bottom: 16px;
}
.footer-col h4 {
  color: var(--accent-light);
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--accent-light);
  text-decoration: none;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* ── FORM ── */
form {
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--accent-very-light);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-very-light);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ── UTILITY ── */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  body { padding-top: 40px; }
  header { top: 40px; }
  .hero { padding: 40px 20px; }
  .hero h1 { font-size: 1.8rem; }
  .section { padding: 40px 20px; }
  .section-title { font-size: 1.5rem; }
  .cta-banner h2 { font-size: 1.5rem; }
  .footer-grid { gap: 24px; }
}
