/* ============================================
   TARG PAINT — Global Stylesheet
   Design: Warm Industrial Professional
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary:    #1A2F4B;
  --primary-lt: #243d61;
  --accent:     #E07B2B;
  --accent-dk:  #c4661c;
  --teal:       #2B8C7A;
  --teal-lt:    #3aab97;
  --bg:         #FAFAF8;
  --bg-warm:    #F5F0EA;
  --white:      #FFFFFF;
  --text:       #1A1A1A;
  --text-muted: #6B7A8D;
  --border:     #E2DDD6;
  --shadow-sm:  0 2px 8px rgba(26,47,75,0.08);
  --shadow-md:  0 8px 30px rgba(26,47,75,0.12);
  --shadow-lg:  0 20px 60px rgba(26,47,75,0.18);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'DM Sans', -apple-system, sans-serif;
  --max-w:      1200px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p  { font-size: 1rem; color: var(--text-muted); }

/* ---- Layout Helpers ---- */
.container   { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section     { padding: 80px 0; }
.section-sm  { padding: 50px 0; }
.grid-2      { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3      { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4      { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: var(--transition);
  border: 2px solid transparent; white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: var(--white); border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(224,123,43,0.35); }
.btn-secondary {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: white; }
.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }
.btn-teal {
  background: var(--teal); color: white; border-color: var(--teal);
}
.btn-teal:hover { background: var(--teal-lt); border-color: var(--teal-lt); transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; border-radius: 10px; }
.btn-wa {
  background: #25D366; color: white; border-color: #25D366;
}
.btn-wa:hover { background: #1da851; border-color: #1da851; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }

/* ---- Navbar ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  background: rgba(26, 47, 75, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.navbar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-text {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 800;
  color: white; letter-spacing: -0.5px;
}
.nav-logo-text span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,0.8); padding: 8px 14px; border-radius: 6px;
  font-size: 0.9rem; font-weight: 500; transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: white; background: rgba(255,255,255,0.1); }
.nav-links a.active { color: var(--accent); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.88rem; }
.nav-mobile-btn { display: none; background: none; border: none; color: white; cursor: pointer; }

/* Segment Badge */
.segment-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 20px;
}
.badge-retail { background: rgba(224,123,43,0.15); color: var(--accent); border: 1px solid rgba(224,123,43,0.3); }
.badge-b2b    { background: rgba(43,140,122,0.15); color: var(--teal);   border: 1px solid rgba(43,140,122,0.3); }
.badge-white  { background: rgba(255,255,255,0.15); color: white;        border: 1px solid rgba(255,255,255,0.3); }

/* ---- Section Labels ---- */
.section-label {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}

/* ---- Cards ---- */
.card {
  background: white; border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.card-icon-accent  { background: rgba(224,123,43,0.12); }
.card-icon-teal    { background: rgba(43,140,122,0.12); }
.card-icon-primary { background: rgba(26,47,75,0.08); }
.card h3 { margin-bottom: 8px; }
.card p  { font-size: 0.95rem; }

/* ---- Stats Bar ---- */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; background: var(--primary); border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  padding: 32px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-head); font-size: 2.4rem; font-weight: 800;
  color: var(--accent); display: block; line-height: 1;
}
.stat-label { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-top: 6px; }

/* ---- Testimonial Cards ---- */
.testi-card {
  background: white; border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.testi-stars { color: #F59E0B; font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 14px; }
.testi-text  { color: var(--text); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  background: var(--bg-warm);
}
.testi-avatar-placeholder {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: white;
}
.testi-name { font-weight: 700; font-size: 0.9rem; }
.testi-loc  { font-size: 0.8rem; color: var(--text-muted); }

/* ---- Forms ---- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem;
  background: white; color: var(--text); transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224,123,43,0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ---- FAQ ---- */
.faq-item {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; padding: 20px 24px;
  background: white; border: none; cursor: pointer; font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  transition: var(--transition);
}
.faq-question:hover { background: var(--bg-warm); }
.faq-question .arrow { transition: var(--transition); font-size: 0.8rem; }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-answer.open { max-height: 300px; padding: 0 24px 20px; }
.faq-item.active .arrow { transform: rotate(180deg); }

/* ---- Process Steps ---- */
.step-item { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; font-family: var(--font-head);
}
.step-connector { width: 2px; height: 48px; background: var(--border); margin: 6px 0 6px 21px; }

/* ---- Footer ---- */
.footer {
  background: var(--primary); color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo-text { font-size: 1.6rem; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-top: 12px; line-height: 1.7; }
.footer-col h4 { color: white; font-size: 0.85rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-item .icon { font-size: 1rem; margin-top: 2px; }
.footer-contact-item span { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0; display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: var(--transition);
}
.social-btn:hover { background: var(--accent); color: white; border-color: var(--accent); }

/* ---- WhatsApp Float ---- */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: white; padding: 14px 22px; border-radius: 100px;
  font-weight: 700; font-size: 0.9rem; box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: var(--transition); cursor: pointer; text-decoration: none;
  animation: bounce-in 0.6s 1s both;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 10px 32px rgba(37,211,102,0.55); color: white; }
.wa-float .wa-icon { font-size: 1.2rem; }
@keyframes bounce-in {
  0% { opacity: 0; transform: scale(0.5) translateY(20px); }
  70% { transform: scale(1.05) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---- Page Hero ---- */
.page-hero {
  background: var(--primary); padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(224,123,43,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(43,140,122,0.12) 0%, transparent 50%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: white; margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.7); max-width: 560px; font-size: 1.1rem; }

/* ---- Highlight Box ---- */
.highlight-box {
  background: linear-gradient(135deg, var(--accent) 0%, #c4661c 100%);
  border-radius: var(--radius-lg); padding: 48px;
  color: white; position: relative; overflow: hidden;
}
.highlight-box::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

/* ---- Chip / Tags ---- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-warm); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 100px; font-size: 0.8rem; font-weight: 500;
}
.chip-check::before { content: '✓'; color: var(--teal); font-weight: 700; }

/* ---- Table ---- */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { background: var(--primary); color: white; padding: 16px; text-align: left; font-size: 0.88rem; }
.compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--bg-warm); }
.check { color: var(--teal); font-weight: 700; }
.cross { color: #EF4444; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .navbar-inner { height: 60px; }
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-btn { display: block; }
  .nav-mobile-btn svg { width: 24px; height: 24px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .wa-float .wa-text { display: none; }
  .wa-float { padding: 16px; border-radius: 50%; }
  .highlight-box { padding: 32px 24px; }
  .page-hero { padding: 120px 0 60px; }
}

/* ---- Animations ---- */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- Nav Mobile Menu ---- */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--primary); padding: 88px 24px 32px;
  flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.85); padding: 14px 20px; border-radius: 10px;
  font-size: 1.05rem; font-weight: 500; transition: var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu a:hover { color: white; background: rgba(255,255,255,0.08); }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }
