/* ==========================================================================
   SNAPRINT DIGITAL PRINTING - SHARP TECH & RICH DYNAMIC CONTRAST DESIGN SYSTEM
   Fonts: Space Grotesk (Headings) + Lexend (Body)
   Vibe: Friendly & Terjangkau + High Quality (All-Around Audience)
   ========================================================================== */

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

:root {
  /* Rich & Dynamic Contrast Palette */
  --primary-blue: #0A58CA;          /* Vibrant Tech Blue */
  --primary-blue-hover: #084298;
  --primary-blue-dark: #052C65;
  --primary-blue-light: rgba(10, 88, 202, 0.15);
  
  --electric-azure: #00D2FF;        /* High-Contrast Neon Cyan Glow */
  --electric-azure-dark: #0099CC;
  --electric-azure-light: rgba(0, 210, 255, 0.15);
  
  --navy-ultra-dark: #040914;       /* Ultra Deep Tech Navy */
  --navy-dark: #0B192C;             /* Rich Card Dark Background */
  --navy-surface: #112240;
  --navy-card: #182B4A;
  
  --friendly-emerald: #10B981;      /* High Quality Guarantee Green */
  --friendly-amber: #FF9800;        /* Affordable Price Tag Amber */
  
  /* Neutral Contrast Colors */
  --bg-main: #F4F7FC;
  --bg-card: #FFFFFF;
  --bg-secondary: #EBF1F9;
  --text-main: #0B1727;
  --text-muted: #4B5563;
  --text-light: #8B96A5;
  --border-color: #D0DCEB;
  
  /* Glassmorphism & High-Contrast Shadows */
  --glass-bg: rgba(255, 255, 255, 0.94);
  --glass-border: rgba(0, 210, 255, 0.25);
  --glass-shadow: 0 15px 35px -10px rgba(6, 13, 26, 0.15);
  --card-shadow: 0 10px 24px -5px rgba(11, 25, 44, 0.06), 0 2px 6px -1px rgba(11, 25, 44, 0.03);
  --card-shadow-hover: 0 20px 45px -10px rgba(10, 88, 202, 0.25), 0 0 18px rgba(0, 210, 255, 0.2);
  
  /* Typography - Space Grotesk + Lexend */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Layout Dimensions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --container-max: 1240px;
  --nav-height: 80px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Mode High-Contrast Preset */
[data-theme="dark"] {
  --bg-main: #040914;
  --bg-card: #0D1B2E;
  --bg-secondary: #081220;
  --text-main: #F8FAFC;
  --text-muted: #A0AEC0;
  --text-light: #64748B;
  --border-color: #1E304B;
  
  --glass-bg: rgba(13, 27, 46, 0.94);
  --glass-border: rgba(0, 210, 255, 0.3);
  --glass-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7);
  --card-shadow: 0 12px 32px -6px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 25px 60px -10px rgba(0, 210, 255, 0.35);
  --primary-blue-light: rgba(10, 88, 202, 0.3);
}

/* Reset & Base Rules */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: -0.01em;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container & Tight Section Spacing (No Ambiguous Spaces) */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3.75rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
}

/* Badge System */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  border: 1px solid rgba(10, 88, 202, 0.25);
  margin-bottom: 0.75rem;
}

.badge-pill.azure {
  background: var(--electric-azure-light);
  color: #0088CC;
  border-color: rgba(0, 210, 255, 0.4);
}

.badge-pill.friendly {
  background: rgba(0, 210, 255, 0.2);
  color: #00D2FF;
  border: 1px solid rgba(0, 210, 255, 0.45);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-title span.blue-gradient {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--electric-azure) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Page Banner / Header Bar for Subpages */
.page-banner {
  background: linear-gradient(135deg, var(--navy-ultra-dark) 0%, var(--navy-dark) 50%, var(--primary-blue-dark) 100%);
  color: #FFFFFF;
  padding: 4rem 0 3rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(0, 210, 255, 0.25);
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner-content h1 {
  color: #FFFFFF;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.page-banner-content p {
  color: #A0AEC0;
  font-size: 1.05rem;
  max-width: 650px;
}

/* Breadcrumb Navigation */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: #FFFFFF;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--electric-azure);
}

.breadcrumb-separator {
  opacity: 0.5;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.65rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0F52BA 0%, #06357B 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -4px rgba(15, 82, 186, 0.5), 0 0 12px rgba(0, 210, 255, 0.3);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(15, 82, 186, 0.7), 0 0 20px rgba(0, 210, 255, 0.5);
  background: linear-gradient(135deg, #135AD0 0%, #042250 100%);
}

.btn-azure {
  background: linear-gradient(135deg, #00C6FF 0%, #0A58CA 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -4px rgba(0, 198, 255, 0.45);
}

.btn-azure:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -4px rgba(0, 198, 255, 0.6);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.btn-secondary:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #00D2FF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 8px 18px -4px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -4px rgba(37, 211, 102, 0.6);
}

.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.85rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.025rem; border-radius: var(--radius-md); }

/* Grid Utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* On-Scroll Reveal Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-35px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal-zoom {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed,
.scroll-reveal-left.revealed,
.scroll-reveal-right.revealed,
.scroll-reveal-zoom.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger Delay Classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 2rem; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
  .page-banner { padding: 3rem 0 2.25rem 0; }
  .page-banner-content h1 { font-size: 2rem; }
}
