/* ===================================================================
   PURNAMA KOMPUTER — Jasa Pasang Kabel LAN & WiFi
   Theme: Blue / White / Gray · Mobile-first · Conversion-focused
   =================================================================== */

:root {
  --blue: #1e3a8a;
  --blue-light: #3b82f6;
  --blue-dark: #1e293b;
  --wa: #25d366;
  --wa-dark: #128c7e;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --radius-lg: 14px;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-light); }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--blue-dark); }
h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.75rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .75rem; }
p { margin-bottom: 1rem; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: .5rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

/* ===== Top Bar ===== */
.topbar { background: var(--blue-dark); color: var(--white); font-size: .85rem; padding: .5rem 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; }
.topbar a { color: var(--white); }
.topbar a:hover { color: #93c5fd; }
.topbar-left, .topbar-right { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ===== Header ===== */
.header { background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: var(--container); margin: 0 auto; padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--blue); font-size: 1.15rem; }
.logo img { height: 36px; }
.nav-list { list-style: none; display: flex; gap: 1.5rem; padding: 0; margin: 0; }
.nav-list a { color: var(--gray-700); font-weight: 500; font-size: .95rem; }
.nav-list a:hover, .nav-list a.active { color: var(--blue); }
.header-cta { display: inline-flex; align-items: center; gap: .4rem; }

.mobile-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; flex-direction: column; gap: 5px; }
.mobile-toggle span { display: block; width: 24px; height: 2.5px; background: var(--gray-700); border-radius: 2px; transition: all .3s; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
.mobile-menu { display: none; background: var(--white); border-top: 1px solid var(--gray-200); padding: 1rem 1.25rem; }
.mobile-menu.active { display: block; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0 0 1rem 0; }
.mobile-menu a { display: block; padding: .75rem 0; color: var(--gray-700); font-weight: 500; border-bottom: 1px solid var(--gray-100); }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.5rem; border-radius: var(--radius); font-weight: 600; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: all .2s; }
.btn-whatsapp { background: var(--wa); color: var(--white); }
.btn-whatsapp:hover { background: var(--wa-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-large { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-block { display: flex; width: 100%; }

/* ===== Hero ===== */
.hero { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%); color: var(--white); padding: 4rem 0 5rem; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at top right, rgba(255,255,255,.12), transparent 60%); }
.hero-inner { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; position: relative; }
.hero h1 { color: var(--white); font-size: 2.75rem; line-height: 1.15; margin-bottom: 1.25rem; }
.hero .lead { font-size: 1.15rem; opacity: .95; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-art { display: flex; justify-content: center; align-items: center; }
.hero-art img { max-width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.25)); }

/* ===== Page Header (sub pages) ===== */
.page-header { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%); color: var(--white); padding: 3rem 0 2.5rem; }
.page-header h1 { color: var(--white); font-size: 2.25rem; margin-bottom: .75rem; }
.page-header p { opacity: .95; font-size: 1.05rem; }
.breadcrumb { margin-top: 1.25rem; font-size: .9rem; opacity: .9; }
.breadcrumb a { color: var(--white); text-decoration: underline; }
.breadcrumb span { margin: 0 .5rem; }

/* ===== Sections ===== */
.section { padding: 4rem 0; }
.section-light { background: var(--gray-50); }
.section h2 { text-align: center; margin-bottom: .5rem; }
.section .section-lead { text-align: center; max-width: 720px; margin: 0 auto 3rem; color: var(--gray-700); font-size: 1.05rem; }

/* ===== Service Cards ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.75rem; transition: all .25s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--blue-light); }
.service-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.service-icon img, .service-icon svg { width: 32px; height: 32px; filter: brightness(0) invert(1); }
.service-card h3 { color: var(--blue-dark); margin-bottom: .5rem; }
.service-card p { color: var(--gray-700); font-size: .95rem; margin-bottom: 1rem; }

/* ===== Feature Grid ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.feature { text-align: center; padding: 1.5rem; }
.feature-icon { width: 64px; height: 64px; margin: 0 auto 1rem; background: var(--gray-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.feature-icon svg { width: 32px; height: 32px; stroke: var(--blue); }
.feature h3 { color: var(--blue); margin-bottom: .5rem; }
.feature p { color: var(--gray-700); font-size: .95rem; }

/* ===== Audience Strip ===== */
.audience-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin: 2rem 0; }
.audience-chip { background: var(--white); border: 1px solid var(--gray-200); padding: 1rem; border-radius: var(--radius); text-align: center; font-weight: 500; color: var(--blue-dark); }
.audience-chip span { display: block; font-size: 1.5rem; margin-bottom: .25rem; }

/* ===== Area List ===== */
.area-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.area-item { padding: 1rem 1.25rem; background: var(--white); border-left: 4px solid var(--blue); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.area-item strong { color: var(--blue-dark); display: block; margin-bottom: .25rem; }
.area-item small { color: var(--gray-500); font-size: .85rem; }

/* ===== Process Steps ===== */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; counter-reset: step; }
.process-step { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; position: relative; box-shadow: var(--shadow-sm); }
.process-step::before { counter-increment: step; content: counter(step); position: absolute; top: -15px; left: 20px; width: 36px; height: 36px; background: var(--blue); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.process-step h3 { color: var(--blue); margin-top: .5rem; }

/* ===== Testimonials ===== */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial { background: var(--white); padding: 1.75rem; border-radius: var(--radius-lg); border-left: 4px solid var(--wa); box-shadow: var(--shadow-sm); }
.testimonial-quote { font-style: italic; color: var(--gray-700); margin-bottom: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar { width: 40px; height: 40px; background: var(--blue); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testimonial-name { font-weight: 600; color: var(--blue-dark); font-size: .95rem; }
.testimonial-role { color: var(--gray-500); font-size: .85rem; }

/* ===== Problem/Solution Lists ===== */
.problems-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.problem-item { padding: 1rem 1.25rem; background: #fef2f2; border-left: 4px solid #ef4444; border-radius: var(--radius); color: var(--gray-700); }
.problem-item::before { content: "❌ "; }
.solution-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.solution-item { padding: 1rem 1.25rem; background: #f0fdf4; border-left: 4px solid #22c55e; border-radius: var(--radius); color: var(--gray-700); }
.solution-item::before { content: "✅ "; }

/* ===== CTA Section ===== */
.cta-section { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%); color: var(--white); padding: 3rem 2rem; border-radius: var(--radius-lg); text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: .75rem; }
.cta-section p { opacity: .95; margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-outline { color: var(--white); border-color: var(--white); }
.cta-section .btn-outline:hover { background: var(--white); color: var(--blue); }

/* ===== Article / Content ===== */
.article-content { max-width: 820px; margin: 0 auto; }
.article-content h2 { text-align: left; margin-top: 2.5rem; margin-bottom: 1rem; }
.article-content h3 { margin-top: 1.5rem; }
.article-content ul, .article-content ol { padding-left: 1.5rem; }
.article-content li { margin-bottom: .5rem; }
.lead { font-size: 1.1rem; color: var(--gray-700); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.75rem; }
.contact-card h3 { color: var(--blue); margin-bottom: 1rem; }
.contact-row { display: flex; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--gray-100); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .icon { width: 40px; height: 40px; background: var(--blue); color: var(--white); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem; }
.contact-row strong { display: block; color: var(--blue-dark); margin-bottom: .15rem; }
.contact-row a, .contact-row span { color: var(--gray-700); font-size: .95rem; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ===== Footer ===== */
.footer { background: var(--blue-dark); color: var(--gray-300); padding: 3rem 0 1.5rem; margin-top: 0; }
.footer a { color: var(--gray-300); }
.footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col p { font-size: .9rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid #334155; padding-top: 1.5rem; text-align: center; font-size: .85rem; }

/* ===== Floating WhatsApp ===== */
.fab-whatsapp { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; background: var(--wa); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; box-shadow: 0 8px 24px rgba(37, 211, 102, .4); z-index: 999; transition: all .2s; }
.fab-whatsapp:hover { background: var(--wa-dark); color: var(--white); transform: scale(1.08); }
.fab-whatsapp::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* ===== Location Pages ===== */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.location-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.25rem; text-align: center; transition: all .2s; }
.location-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.location-card h3 { color: var(--blue); margin-bottom: .25rem; font-size: 1.05rem; }
.location-card p { color: var(--gray-700); font-size: .85rem; margin-bottom: .75rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-art { max-width: 360px; margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.9rem; }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 700px) {
  .nav, .header-cta { display: none; }
  .mobile-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-left, .topbar-right { justify-content: center; }
  .section { padding: 3rem 0; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
  .hero { padding: 3rem 0 3.5rem; }
  .hero h1 { font-size: 1.75rem; }
  .page-header h1 { font-size: 1.6rem; }
}