/* ============================================
   TimbanganPresisi.com
   Static Site - SEO Optimized | Lead Generation
   ============================================ */

:root {
  --primary: #1a56db;
  --primary-dark: #1e40af;
  --primary-light: #dbeafe;
  --secondary: #059669;
  --secondary-dark: #047857;
  --text-dark: #1f2937;
  --text-medium: #4b5563;
  --text-light: #6b7280;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-section: #f3f4f6;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --whatsapp: #25d366;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--primary-dark); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ HEADER ============ */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.site-logo span { color: var(--text-dark); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: var(--text-medium);
  font-size: 0.9rem;
  font-weight: 500;
}

.main-nav a:hover { color: var(--primary); }

.nav-cta {
  background: var(--whatsapp) !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: #20bd5a !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #1a56db 100%);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #fff;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
}

.hero-cta:hover {
  background: #20bd5a;
  color: #fff;
  transform: translateY(-2px);
}

/* ============ SECTIONS ============ */
.section {
  padding: 60px 20px;
}

.section-alt { background: var(--bg-section); }

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ TRUST BADGES ============ */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding: 32px 20px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-medium);
}

/* ============ PRODUCT GRID ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.product-card a {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============ CTA SECTION ============ */
.cta-section {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: var(--radius-lg);
  max-width: var(--max-width);
  margin: 40px auto;
}

.cta-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 28px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--secondary-dark);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-md);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--secondary-dark);
}

/* ============ LANDING PAGE ============ */
.lp-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #1a56db 100%);
  color: #fff;
  padding: 60px 24px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 40px;
}

.lp-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  color: #fff;
}

.lp-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.lp-hero a {
  display: inline-block;
  background: #25d366;
  color: #fff;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
}

.lp-hero a:hover {
  background: #20bd5a;
  color: #fff;
}

.lp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.lp-badges span {
  padding: 10px 18px;
  background: #f3f4f6;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.lp-grid-item {
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.lp-grid-item strong {
  display: block;
  margin-bottom: 6px;
}

.lp-grid-item span {
  color: #6b7280;
  font-size: 0.9rem;
}

.lp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.lp-tags span {
  padding: 8px 16px;
  background: #dbeafe;
  color: #1e40af;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.lp-testimonial {
  background: #f9fafb;
  border-left: 4px solid #1a56db;
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 40px;
}

.lp-testimonial p {
  font-style: italic;
  color: #4b5563;
  margin-bottom: 8px;
}

.lp-testimonial cite {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f2937;
  font-style: normal;
}

.lp-faq {
  background: #f3f4f6;
  padding: 32px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.lp-faq h2 { margin-top: 0; }

.lp-faq-item {
  margin-bottom: 16px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.lp-faq-item:last-child { margin-bottom: 0; }

.lp-faq-item strong {
  display: block;
  margin-bottom: 6px;
}

.lp-faq-item p {
  color: #4b5563;
  font-size: 0.95rem;
  margin: 0;
}

.lp-cta {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  text-align: center;
  padding: 40px 24px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.lp-cta h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.lp-cta p {
  opacity: 0.9;
  margin-bottom: 20px;
}

.lp-cta a {
  display: inline-block;
  background: #fff;
  color: #047857;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
}

.lp-cta a:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: #047857;
}

/* Page content */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 32px 0 16px;
  color: #1f2937;
}

.page-content p {
  margin-bottom: 16px;
  color: #4b5563;
  line-height: 1.7;
}

.page-content ul, .page-content ol {
  margin-bottom: 32px;
  padding-left: 20px;
  line-height: 2;
}

.page-content li { color: #4b5563; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--text-dark);
  color: #d1d5db;
  padding: 48px 20px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto 32px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-col p {
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col a {
  display: block;
  color: #9ca3af;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #374151;
  font-size: 0.85rem;
  color: #6b7280;
}

/* ============ WA FLOATING ============ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--whatsapp);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  color: #fff;
}

/* ============ BLOG ============ */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.blog-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  transition: box-shadow 0.3s, transform 0.3s;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.blog-card h2 a {
  color: var(--text-dark);
}

.blog-card h2 a:hover {
  color: var(--primary);
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.blog-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.blog-read-more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

/* Article */
.article-header {
  margin-bottom: 32px;
}

.article-header h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--text-light);
}

.article-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text-dark);
}

.article-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 24px 0 8px;
}

.article-content p {
  margin-bottom: 16px;
  color: var(--text-medium);
  line-height: 1.8;
}

.article-content ul, .article-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
  line-height: 1.9;
}

.article-content li {
  color: var(--text-medium);
  margin-bottom: 6px;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--primary-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-content blockquote p {
  margin: 0;
  color: var(--text-dark);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .section-title { font-size: 1.4rem; }
  .lp-hero h1 { font-size: 1.7rem; }
  .lp-hero { padding: 40px 16px; }
  .lp-grid { grid-template-columns: 1fr; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.active { display: flex; }
  .nav-toggle { display: block; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-section { margin: 20px; padding: 40px 20px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 50px 16px; }
  .hero-cta { padding: 14px 24px; font-size: 0.95rem; }
}
