/* ==========================================================================
   PT. DES GREEN NUSANTARA - CORPORATE LANDING PAGE STYLESHEET
   Design Theme: Modern Eco-Tech & Enterprise Innovation
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* --- Root & Theme Variables --- */
:root {
  /* Color Palette - Dark Mode (Default) */
  --bg-primary: #070D18;
  --bg-secondary: #0D1627;
  --bg-card: rgba(16, 28, 48, 0.75);
  --bg-card-hover: rgba(22, 38, 66, 0.9);
  --bg-glass: rgba(15, 23, 42, 0.65);
  --bg-alt: #0B1322;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(16, 185, 129, 0.35);
  --border-color-cyan: rgba(6, 182, 212, 0.35);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --primary: #10B981;
  --primary-light: #34D399;
  --primary-dark: #059669;
  --primary-glow: rgba(16, 185, 129, 0.25);
  
  --secondary: #06B6D4;
  --secondary-light: #38BDF8;
  --secondary-dark: #0284C7;
  --secondary-glow: rgba(6, 182, 212, 0.25);

  --accent-amber: #F59E0B;
  --accent-purple: #8B5CF6;
  
  --gradient-primary: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
  --gradient-accent: linear-gradient(135deg, #34D399 0%, #38BDF8 50%, #818CF8 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-dark: linear-gradient(180deg, #070D18 0%, #0D1627 100%);
  --gradient-hero: radial-gradient(circle at 42% 6%, rgba(16, 185, 129, 0.11) 0%, rgba(6, 182, 212, 0.045) 36%, transparent 68%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Shadows & Elevation */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.25);
  --shadow-cyan-glow: 0 0 30px rgba(6, 182, 212, 0.25);

  /* Layout */
  --container-width: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --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-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Light Mode Theme --- */
[data-theme="light"] {
  --bg-primary: #F8FAFC;
  --bg-secondary: #EDF2F7;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-alt: #F1F5F9;
  
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-glow: rgba(16, 185, 129, 0.4);
  --border-color-cyan: rgba(6, 182, 212, 0.4);

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  
  --primary-glow: rgba(16, 185, 129, 0.15);
  --secondary-glow: rgba(6, 182, 212, 0.15);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px -8px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.18);
  
  --gradient-dark: linear-gradient(180deg, #F8FAFC 0%, #EDF2F7 100%);
  --gradient-hero: radial-gradient(circle at 42% 6%, rgba(16, 185, 129, 0.075) 0%, rgba(6, 182, 212, 0.035) 36%, transparent 68%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* --- Container & Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-spacing {
  padding-top: 3.25rem;
  padding-bottom: 2rem;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--primary-light);
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 0.85rem;
}

[data-theme="light"] .section-tag {
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-dark);
}

.section-tag svg {
  width: 13px;
  height: 13px;
}

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

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.95rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.025rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-accent-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Background Ambient Glows */
.bg-ambient {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

.bg-ambient.green {
  background: var(--primary);
}

.bg-ambient.cyan {
  background: var(--secondary);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.975rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  color: #FFFFFF;
}

.btn-secondary {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-color-glow);
  color: var(--primary-light);
}

.btn-outline:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

[data-theme="light"] .btn-outline {
  color: var(--primary-dark);
}

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

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   NAVIGATION BAR (SEAMLESS AT TOP, FLOATING GLASS PILL ON SCROLL)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.72rem 0 0.35rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  padding: 0.5rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0.35rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  box-shadow: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .nav-wrapper {
  padding: 0.38rem 0.85rem 0.38rem 0.65rem;
  background: rgba(7, 13, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(16, 185, 129, 0.12);
}

.navbar.scrolled .nav-wrapper:hover {
  background: rgba(7, 13, 24, 0.94);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.55), 0 0 25px rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .nav-wrapper {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

[data-theme="light"] .navbar.scrolled .nav-wrapper {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .navbar.scrolled .nav-wrapper:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.1), 0 0 15px rgba(16, 185, 129, 0.15);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  padding-right: 0.5rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-brand:hover {
  transform: scale(1.02);
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  transition: transform var(--transition-fast);
}

.nav-brand:hover .brand-logo-img {
  transform: scale(1.12) rotate(6deg);
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6));
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-title {
  font-family: var(--font-heading);
  font-size: 0.985rem;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: var(--text-primary);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-brand:hover .nav-brand-title {
  color: var(--primary-light);
}

.nav-brand-sub {
  font-size: 0.585rem;
  font-weight: 800;
  letter-spacing: 2.8px;
  color: var(--primary);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: transparent;
  padding: 0.2rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.navbar.scrolled .nav-menu {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .navbar.scrolled .nav-menu {
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.34rem 0.7rem;
  border-radius: var(--radius-full);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-light) !important;
  background: rgba(16, 185, 129, 0.07);
}

.nav-link.active {
  color: var(--primary-light) !important;
  background: rgba(16, 185, 129, 0.09);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.14);
  font-weight: 700;
}

.nav-link.active:hover {
  background: rgba(16, 185, 129, 0.13);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.22);
}

[data-theme="light"] .nav-link:hover {
  background: rgba(16, 185, 129, 0.07);
  color: var(--primary-dark) !important;
}

[data-theme="light"] .nav-link.active {
  color: var(--primary-dark) !important;
  background: rgba(16, 185, 129, 0.09);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.theme-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .theme-toggle {
  border-color: rgba(15, 23, 42, 0.12);
}

.navbar.scrolled .theme-toggle {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-color);
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.45);
  transform: rotate(20deg) scale(1.08);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
}

#navCtaBtn {
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  gap: 0.4rem;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.2);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

#navCtaBtn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5), 0 0 15px rgba(6, 182, 212, 0.35);
}

#navCtaBtn:active {
  transform: translateY(0) scale(0.98);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
  transition: all var(--transition-normal);
}

/* ==========================================================================
   HERO SECTION (SPACIOUS, MAJESTIC & ELEGANT)
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 88vh;
  padding-top: 9.5rem;
  padding-bottom: 5.5rem;
  display: flex;
  align-items: center;
  background-image:
    radial-gradient(ellipse 52% 70% at 16% 24%, rgba(16, 185, 129, 0.26) 0%, rgba(16, 185, 129, 0.08) 34%, transparent 67%),
    radial-gradient(ellipse 50% 68% at 84% 24%, rgba(6, 182, 212, 0.22) 0%, rgba(56, 189, 248, 0.07) 36%, transparent 68%),
    linear-gradient(110deg, rgba(7, 13, 24, 0.7) 0%, rgba(7, 13, 24, 0.78) 48%, rgba(7, 13, 24, 0.9) 100%),
    url('../assets/backgrounds/hero-tech-waves.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

[data-theme="light"] .hero {
  background-image:
    radial-gradient(ellipse 55% 72% at 14% 22%, rgba(52, 211, 153, 0.27) 0%, rgba(16, 185, 129, 0.1) 34%, transparent 66%),
    radial-gradient(ellipse 52% 70% at 86% 24%, rgba(56, 189, 248, 0.24) 0%, rgba(6, 182, 212, 0.08) 36%, transparent 68%),
    linear-gradient(110deg, rgba(248, 250, 252, 0.8) 0%, rgba(240, 253, 250, 0.78) 48%, rgba(239, 246, 255, 0.84) 100%),
    url('../assets/backgrounds/hero-tech-waves.jpg');
}

.hero::before {
  content: '';
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 36%, rgba(52, 211, 153, 0.26) 0%, transparent 26%),
    radial-gradient(circle at 78% 34%, rgba(56, 189, 248, 0.22) 0%, transparent 28%);
  filter: blur(42px);
  opacity: 0.72;
  transform-origin: center;
  animation: hero-ambient-drift 13s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.58), rgba(56, 189, 248, 0.6), transparent);
  box-shadow: 0 -10px 36px rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .hero::before {
  opacity: 0.58;
  filter: blur(52px);
}

[data-theme="light"] .hero::after {
  opacity: 0.68;
  box-shadow: 0 -10px 34px rgba(6, 182, 212, 0.15);
}

@keyframes hero-ambient-drift {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(0.98);
  }
  100% {
    transform: translate3d(1.5%, 1%, 0) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.78fr);
  gap: clamp(2.5rem, 5vw, 4.75rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  padding-left: clamp(0.5rem, 1.6vw, 1.25rem);
  transform: translateY(-4.5rem);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.1vw, 2.6rem);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  max-width: 670px;
  transform: translateY(-1rem);
}

.hero-description {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.58;
  margin-bottom: 1.25rem;
  max-width: 555px;
  transform: translateY(-1rem);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.45rem;
  transform: translateY(-1.5rem);
}

.hero-buttons .btn {
  padding: 0.58rem 1.15rem;
  font-size: 0.85rem;
}

.hero-buttons .btn-secondary {
  background: transparent;
  border-color: transparent;
  color: var(--text-secondary);
  padding-inline: 0.65rem;
}

.hero-buttons .btn-secondary:hover {
  color: var(--primary-light);
  background: rgba(16, 185, 129, 0.06);
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 520px;
  padding-top: 0.15rem;
  border-top: 0;
  transform: translateY(5.5rem);
}

.stat-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0 1.25rem;
  border-left: 1px solid var(--border-color);
}

.stat-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.15rem;
}

.stat-number span {
  color: var(--primary);
}

.stat-label {
  font-size: 0.675rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.25;
}

/* Hero Visual / Mockup Card (Compact & Refined) */
.hero-visual {
  position: relative;
  max-width: 580px;
  margin-left: auto;
  width: 100%;
}

.hero-card-main {
  max-width: 430px;
  margin-left: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 0.85rem 0.95rem 0.75rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.035) inset;
  position: relative;
  overflow: hidden;
}

.hero-card-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border-color);
}

.window-dots {
  display: flex;
  gap: 4px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-color);
}

.window-dots span:nth-child(1) { background: #EF4444; }
.window-dots span:nth-child(2) { background: #F59E0B; }
.window-dots span:nth-child(3) { background: #10B981; }

.system-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.675rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 5px #10B981;
  animation: pulse-ring 2s infinite;
}

.tech-badge {
  font-size: 0.675rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.12);
  color: var(--secondary-light);
  border: 1px solid var(--border-color-cyan);
}

.hero-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-feat-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.66rem 0.35rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  transition: all var(--transition-fast);
}

.hero-feat-card:hover {
  background: rgba(16, 185, 129, 0.045);
  border-color: var(--border-color);
  transform: none;
}

.hero-feat-card:last-child {
  border-bottom: 0;
}

.hero-feat-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feat-icon.cyan {
  background: rgba(6, 182, 212, 0.14);
  color: var(--secondary-light);
}

.hero-feat-icon.purple {
  background: rgba(139, 92, 246, 0.14);
  color: #A78BFA;
}

.hero-feat-info {
  flex-grow: 1;
}

.hero-feat-info h4 {
  font-size: 0.775rem;
  font-weight: 700;
  margin-bottom: 0.08rem;
  color: var(--text-primary);
}

.hero-feat-info p {
  font-size: 0.66rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin: 0;
}

/* ==========================================================================
   OPTION 2: KINETIC COVERFLOW 3D (GALERI FUTURISTIK BESAR & DINAMIS)
   ========================================================================== */
.hero-coverflow-container {
  margin-top: 2rem;
  width: 100%;
  position: relative;
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 0 1.75rem 0;
  user-select: none;
  transform: translateX(-56px); /* Pas & Presisi */
}

.coverflow-stage {
  position: relative;
  width: 100%;
  height: 270px;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
}

.coverflow-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px; /* Sangat Besar, Lebar & Jelas */
  height: 255px;
  margin-top: -127.5px;
  margin-left: -210px;
  border-radius: 18px;
  overflow: hidden;
  background: #030712;
  cursor: pointer;
  transform-origin: center center;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.8s ease,
              filter 0.8s ease,
              box-shadow 0.8s ease,
              border-color 0.4s ease;
  will-change: transform, opacity, filter;
}

.coverflow-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
}

/* Glass Reflection Highlight Sweep */
.coverflow-card-reflection {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.03) 40%, transparent 60%);
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}

/* 3D Coverflow Kinetic Positions */
/* Center Active Card (Dominant, Flat, Fully Focused, Crisp) */
.coverflow-card.pos-center {
  transform: translate3d(0, 0, 75px) rotateY(0deg) scale(1);
  z-index: 10;
  opacity: 1;
  filter: none;
  border: 1.5px solid rgba(16, 185, 129, 0.6);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.75), 0 0 35px rgba(16, 185, 129, 0.35);
}

.coverflow-card.pos-center:hover {
  border-color: #34D399;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.85), 0 0 45px rgba(16, 185, 129, 0.45);
}

/* Right Wing Card (Tilted 34deg facing left, Offset Right) */
.coverflow-card.pos-right {
  transform: translate3d(115px, 0, -50px) rotateY(-34deg) scale(0.84);
  z-index: 5;
  opacity: 0.72;
  filter: brightness(0.78) contrast(0.95);
  border: 1px solid var(--border-color);
  box-shadow: -15px 15px 35px rgba(0, 0, 0, 0.55);
}

.coverflow-card.pos-right:hover {
  opacity: 0.95;
  filter: brightness(0.92);
}

/* Left Wing Card (Tilted 34deg facing right, Offset Left) */
.coverflow-card.pos-left {
  transform: translate3d(-115px, 0, -50px) rotateY(34deg) scale(0.84);
  z-index: 5;
  opacity: 0.72;
  filter: brightness(0.78) contrast(0.95);
  border: 1px solid var(--border-color);
  box-shadow: 15px 15px 35px rgba(0, 0, 0, 0.55);
}

.coverflow-card.pos-left:hover {
  opacity: 0.95;
  filter: brightness(0.92);
}

/* Floor Ambient Glow */
.coverflow-ambient-glow {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%) rotateX(65deg);
  width: 420px;
  height: 140px;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.25) 0%, rgba(6, 182, 212, 0.12) 50%, transparent 70%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 1;
}

[data-theme="light"] .coverflow-card.pos-center {
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22), 0 0 25px rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   TRUST LOGOS / CLIENTS BANNER (ELEGANT SHOWCASE)
   ========================================================================== */
.trust-banner {
  padding: 3.5rem 0 2rem 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-alt) 50%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.trust-glow {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 180px;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.trust-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.25rem auto;
  position: relative;
  z-index: 1;
}

.trust-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--primary-light);
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 0.65rem;
}

[data-theme="light"] .trust-pill-tag {
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-dark);
}

.trust-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.35rem;
  letter-spacing: -0.015em;
}

.trust-subtext {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto;
}

.logo-ticker {
  display: flex;
  overflow: hidden;
  user-select: none;
  position: relative;
  z-index: 1;
  padding: 2rem 0 2.25rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.ticker-track {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  animation: ticker 42s linear infinite;
  white-space: nowrap;
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.ticker-card {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-shrink: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* Fluid continuous GPU accelerated transform */
  transform: translate3d(0, calc(var(--card-lift, 0px) - 12px), 0) scale(var(--card-scale, 0.94));
  opacity: var(--card-opacity, 0.75);
  z-index: var(--card-z, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18),
              0 calc(var(--card-glow, 0) * 10px) calc(var(--card-glow, 0) * 28px) rgba(0, 0, 0, calc(var(--card-glow, 0) * 0.4)),
              0 0 calc(var(--card-glow, 0) * 22px) rgba(16, 185, 129, calc(var(--card-glow, 0) * 0.22));
  border-color: rgba(16, 185, 129, calc(0.12 + var(--card-glow, 0) * 0.55));
}

[data-theme="light"] .ticker-card {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04),
              0 calc(var(--card-glow, 0) * 10px) calc(var(--card-glow, 0) * 28px) rgba(15, 23, 42, calc(var(--card-glow, 0) * 0.11)),
              0 calc(var(--card-glow, 0) * 4px) calc(var(--card-glow, 0) * 10px) rgba(15, 23, 42, calc(var(--card-glow, 0) * 0.05)),
              0 0 calc(var(--card-glow, 0) * 14px) rgba(16, 185, 129, calc(var(--card-glow, 0) * 0.1));
  border-color: rgba(16, 185, 129, calc(0.14 + var(--card-glow, 0) * 0.42));
}

.ticker-card.provinsi {
  background: linear-gradient(135deg, rgba(16, 185, 129, calc(0.08 + var(--card-glow, 0) * 0.12)) 0%, rgba(6, 182, 212, calc(0.04 + var(--card-glow, 0) * 0.06)) 100%), var(--bg-card);
  border-color: rgba(16, 185, 129, calc(0.25 + var(--card-glow, 0) * 0.5));
}

[data-theme="light"] .ticker-card.provinsi {
  background: linear-gradient(135deg, rgba(16, 185, 129, calc(0.04 + var(--card-glow, 0) * 0.08)) 0%, rgba(6, 182, 212, calc(0.02 + var(--card-glow, 0) * 0.04)) 100%), #ffffff;
  border-color: rgba(16, 185, 129, calc(0.28 + var(--card-glow, 0) * 0.38));
}

.ticker-card.industry {
  background: linear-gradient(135deg, rgba(6, 182, 212, calc(0.06 + var(--card-glow, 0) * 0.1)) 0%, rgba(139, 92, 246, calc(0.03 + var(--card-glow, 0) * 0.05)) 100%), var(--bg-card);
  border-color: rgba(6, 182, 212, calc(0.2 + var(--card-glow, 0) * 0.45));
}

[data-theme="light"] .ticker-card.industry {
  background: linear-gradient(135deg, rgba(6, 182, 212, calc(0.03 + var(--card-glow, 0) * 0.06)) 0%, rgba(139, 92, 246, calc(0.015 + var(--card-glow, 0) * 0.03)) 100%), #ffffff;
  border-color: rgba(6, 182, 212, calc(0.22 + var(--card-glow, 0) * 0.35));
}

.ticker-logo-shield {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transform: scale(calc(1 + var(--card-glow, 0) * 0.07));
  border-color: rgba(16, 185, 129, calc(0.15 + var(--card-glow, 0) * 0.45));
}

[data-theme="light"] .ticker-logo-shield {
  background: rgba(0, 0, 0, 0.03);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ticker-logo-shield img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.ticker-logo-shield svg {
  color: var(--secondary-light);
  width: 22px;
  height: 22px;
}

.ticker-card.provinsi .ticker-logo-shield {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.12);
}

.ticker-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}

.ticker-entity {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.ticker-card.provinsi .ticker-entity {
  color: var(--primary-light);
}

[data-theme="light"] .ticker-card.provinsi .ticker-entity {
  color: var(--primary-dark);
}

.ticker-role {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 0.15rem;
}

.ticker-card.provinsi .ticker-role {
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   ABOUT & VISION-MISSION SECTION
   ========================================================================== */
.about-section {
  background: var(--bg-primary);
  position: relative;
  padding-top: 3.25rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.25rem;
  align-items: stretch;
}

.vision-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  position: relative;
  backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.vision-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
}

.vision-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid var(--border-color-glow);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.about-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.vision-text {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--text-primary);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.vision-author {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.author-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mission-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mission-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.mission-item:hover {
  border-color: var(--border-color-glow);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.mission-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.14);
  color: var(--primary-light);
  font-weight: 800;
  font-size: 0.825rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="light"] .mission-num {
  color: var(--primary-dark);
}

.mission-content {
  font-size: 0.915rem;
  color: var(--text-secondary);
  line-height: 1.58;
}

.mission-content strong {
  color: var(--text-primary);
}

/* ==========================================================================
   SERVICES SECTION (OUR SERVICES)
   ========================================================================== */
.services-section {
  background: var(--bg-secondary);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-glow);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  background: var(--bg-card-hover);
}

.service-card:hover::before {
  background: var(--gradient-primary);
}

.service-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
  background: var(--gradient-primary);
  color: #FFFFFF;
  transform: scale(1.06);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.35;
}

.service-desc {
  font-size: 0.915rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-color);
}

.service-feat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.service-feat-item svg {
  color: var(--primary);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-light);
  transition: gap var(--transition-fast);
}

[data-theme="light"] .service-link {
  color: var(--primary-dark);
}

.service-link:hover {
  gap: 0.75rem;
}
}

/* ==========================================================================
   DES GREEN ERP SHOWCASE & INTERACTIVE STUDIO
   ========================================================================== */
.erp-section {
  background: var(--bg-primary);
  position: relative;
}

/* Interactive ERP Showcase Component */
.erp-showcase-wrapper {
  margin-bottom: 4rem;
}

.erp-showcase-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.erp-showcase-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0.75rem 0 1rem;
}

.erp-showcase-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.erp-showcase-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.erp-showcase-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.erp-showcase-item-header {
  margin-bottom: 1.15rem;
}

.showcase-item-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.showcase-item-badge.accounting {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid var(--border-color-glow);
  color: var(--primary-light);
}

.showcase-item-badge.gis {
  background: rgba(6, 182, 212, 0.14);
  border: 1px solid var(--border-color-cyan);
  color: var(--secondary-light);
}

[data-theme="light"] .showcase-item-badge.accounting {
  color: var(--primary-dark);
}

[data-theme="light"] .showcase-item-badge.gis {
  color: var(--secondary-dark);
}

.showcase-item-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}

.showcase-item-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Studio Mockup Browser Frame */
.erp-mockup-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-color-glow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 30px rgba(16, 185, 129, 0.1);
  backdrop-filter: blur(25px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mockup-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  gap: 0.5rem;
}

.mockup-url-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mockup-url-bar svg {
  color: var(--primary);
  flex-shrink: 0;
}

.mockup-action-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.live-sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary-light);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-color-glow);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.mockup-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid var(--border-color-cyan);
  color: var(--secondary-light);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mockup-zoom-btn:hover {
  background: var(--secondary);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.mockup-screens-container {
  position: relative;
  width: 100%;
  background: #060b13;
}

.screen-image-wrapper {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #070d18;
  border-bottom: 1px solid var(--border-color);
  height: 310px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.erp-screen-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.45s ease;
}

.screen-image-wrapper:hover .erp-screen-img {
  transform: scale(1.03);
}

.screen-overlay-prompt {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 13, 24, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(3px);
}

.screen-image-wrapper:hover .screen-overlay-prompt {
  opacity: 1;
}

.zoom-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #FFFFFF;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.screen-image-wrapper:hover .zoom-pill {
  transform: translateY(0);
}

.screen-features-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.screen-feat-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  line-height: 1.4;
}

.screen-feat-badge .feat-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.screen-feat-badge strong {
  display: block;
  font-size: 0.825rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.screen-feat-badge span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.775rem;
}

.screen-feat-badge:hover {
  border-color: var(--border-color-glow);
  transform: translateY(-2px);
}

/* Lightbox Modal */
.image-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.image-lightbox-modal.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
}

.lightbox-container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  width: 100%;
  max-height: 94vh;
  background: var(--bg-card);
  border: 1px solid var(--border-color-glow);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  animation: modal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.lightbox-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.lightbox-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.lightbox-body {
  overflow: auto;
  padding: 1rem;
  background: #050b14;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.erp-banner-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%), var(--bg-card);
  border: 1px solid var(--border-color-glow);
  border-radius: var(--radius-xl);
  padding: 3rem 2.75rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}

.erp-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.erp-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.14);
  border: 1px solid var(--border-color-cyan);
  color: var(--secondary-light);
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.erp-lead-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 1.15rem;
}

.erp-sub-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

/* ERP Modules Grid */
.erp-modules-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.module-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.45rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition-normal);
}

.module-item-card:hover {
  border-color: var(--border-color-cyan);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.module-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.12);
  color: var(--secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.module-info h4 {
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.module-info p {
  font-size: 0.835rem;
  color: var(--text-secondary);
  line-height: 1.52;
}

/* ERP Clients Grid */
.erp-clients-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  backdrop-filter: blur(15px);
}

.erp-clients-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.erp-clients-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.erp-clients-subtitle {
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.6;
}

.erp-clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.35rem;
}

.client-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.client-card:hover {
  border-color: var(--border-color-glow);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.client-badge {
  font-size: 0.725rem;
  font-weight: 800;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

[data-theme="light"] .client-badge {
  color: var(--primary-dark);
}

.client-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.client-branches {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.15rem;
}

.client-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary-light);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  word-break: break-all;
}

/* ==========================================================================
   PRODUCTS & GOVERNMENT PORTFOLIO SECTION
   ========================================================================== */
.products-section {
  background: var(--bg-secondary);
  position: relative;
}

.portfolio-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.portfolio-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.filter-tab-btn {
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--primary);
}

.filter-tab-btn.active {
  background: var(--gradient-primary);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.search-box-wrapper {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 2.85rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-normal);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.65rem 1.45rem 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  backdrop-filter: blur(10px);
}

/* Portfolio Card Thumbnail */
.portfolio-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.5rem;
  background: #060b13;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.portfolio-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.portfolio-thumb-wrapper:hover .portfolio-thumb-img {
  transform: scale(1.05);
}

.thumb-zoom-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(7, 13, 24, 0.85);
  border: 1px solid var(--border-color-glow);
  color: var(--primary-light);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(5px);
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.portfolio-thumb-wrapper:hover .thumb-zoom-tag {
  opacity: 1;
  transform: translateY(-2px);
  background: var(--primary);
  color: #FFFFFF;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-glow);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-hover);
}

.portfolio-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.95rem;
}

.portfolio-card-top-with-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}

.gov-logo-badge {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 9px;
  padding: 4px;
  transition: transform var(--transition-fast);
}

.portfolio-card:hover .gov-logo-badge {
  transform: scale(1.1);
  border-color: var(--border-color-glow);
}

.portfolio-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex-grow: 1;
}

.portfolio-year {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.ticker-gov-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.portfolio-category-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-light);
  border: 1px solid var(--border-color-glow);
  white-space: nowrap;
}

[data-theme="light"] .portfolio-category-badge {
  color: var(--primary-dark);
}

.portfolio-category-badge.erp {
  background: rgba(6, 182, 212, 0.12);
  color: var(--secondary-light);
  border-color: var(--border-color-cyan);
}

.portfolio-category-badge.consulting {
  background: rgba(245, 158, 11, 0.12);
  color: #FBBF24;
  border-color: rgba(245, 158, 11, 0.3);
}

.portfolio-category-badge.provinsi {
  background: rgba(16, 185, 129, 0.2);
  color: var(--primary-light);
  border-color: var(--primary);
  font-weight: 800;
}

[data-theme="light"] .portfolio-category-badge.provinsi {
  background: rgba(16, 185, 129, 0.18);
  color: var(--primary-dark);
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.portfolio-desc {
  font-size: 0.865rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.portfolio-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border-color);
}

.project-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.project-btn-link:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

/* ==========================================================================
   MILESTONE & ROADMAP SECTION
   ========================================================================== */
.milestone-section {
  background: var(--bg-primary);
  position: relative;
}

.milestone-section .section-header {
  margin-bottom: 2rem;
}

.milestone-timeline {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: block;
}

.milestone-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 50%, #8B5CF6 100%);
  transform: translateX(-50%);
}

.timeline-block {
  position: relative;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.timeline-block:last-child {
  margin-bottom: 0;
}

/* Compact staircase: each alternating card rises into the open space
   beside the preceding card while preserving the vertical zig-zag flow. */
.timeline-block + .timeline-block {
  margin-top: -5.5rem;
}

.timeline-block:nth-child(odd) {
  justify-content: flex-start;
  padding-right: 50%;
}

.timeline-block:nth-child(even) {
  justify-content: flex-end;
  padding-left: 50%;
}

.timeline-node {
  position: absolute;
  left: 50%;
  top: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--primary);
  color: var(--primary-light);
  transform: translate(-50%, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.825rem;
  z-index: 2;
  box-shadow: 0 0 15px var(--primary-glow);
}

.timeline-block:nth-child(2) .timeline-node {
  border-color: var(--secondary);
  color: var(--secondary-light);
  box-shadow: 0 0 15px var(--secondary-glow);
}

.timeline-block:nth-child(3) .timeline-node {
  border-color: #A78BFA;
  color: #C4B5FD;
  box-shadow: 0 0 15px rgba(167, 139, 250, 0.4);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  backdrop-filter: blur(15px);
  position: relative;
  width: calc(100% - 1.25rem);
  height: auto;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.timeline-block:nth-child(odd) .timeline-card {
  margin-right: 1.25rem;
}

.timeline-block:nth-child(even) .timeline-card {
  margin-left: 1.25rem;
}

.timeline-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-color-glow);
  box-shadow: var(--shadow-lg);
}

.timeline-year-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
}

.timeline-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  line-height: 1.35;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.timeline-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.855rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.timeline-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

/* ==========================================================================
   CONTACT & CONSULTATION SECTION
   ========================================================================== */
.contact-section {
  background: var(--bg-secondary);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.25rem;
  align-items: stretch;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(15px);
}

.contact-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.contact-card-desc {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.6;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.75rem 0;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-color-glow);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="light"] .contact-icon-box {
  color: var(--primary-dark);
}

.contact-detail-text h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  font-weight: 800;
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: 0.985rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

.contact-detail-text a:hover {
  color: var(--primary-light);
}

/* Contact Form Card */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.925rem;
  outline: none;
  transition: all var(--transition-normal);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 1.25rem 0 1.75rem 0;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FLOATING ELEMENTS (WHATSAPP & BACK TO TOP)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 6.5rem;
  z-index: 990;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateY(-3px);
}

/* ==========================================================================
   VIEWPORT REVEAL ANIMATION
   Uses the individual `translate` property so existing component transforms
   (hero positioning, hover effects, coverflow, and ticker) stay untouched.
   ========================================================================== */
.reveal-enabled .viewport-reveal {
  opacity: 0;
  translate: 0 52px;
  scale: 0.985;
  transition:
    opacity 0.82s cubic-bezier(0.16, 1, 0.3, 1),
    translate 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    scale 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-enabled .viewport-reveal.is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

/* Dark mode needs a stronger visual delta so the upward entrance remains
   perceptible against deep backgrounds and glowing card surfaces. */
:where(html[data-theme='dark']).reveal-enabled .viewport-reveal {
  opacity: 0.06;
  translate: 0 84px;
  scale: 0.97;
  filter: blur(7px) brightness(0.72);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    translate 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    scale 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

:where(html[data-theme='dark']).reveal-enabled .viewport-reveal.is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  filter: blur(0) brightness(1);
}

/* The hero heading is already inside the viewport at page load. A dedicated
   keyframe guarantees a visible first entrance even when the observer resolves
   immediately during refresh. */
@keyframes heroTitleViewportIn {
  0% {
    opacity: 0;
    translate: 0 96px;
    scale: 0.955;
    filter: blur(7px) brightness(0.72);
  }

  55% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    filter: blur(0) brightness(1);
  }
}

.reveal-enabled .hero-title.viewport-reveal.is-visible {
  animation: heroTitleViewportIn 1.25s cubic-bezier(0.16, 1, 0.3, 1) 80ms both;
}

@keyframes heroComponentViewportIn {
  0% {
    opacity: 0;
    translate: 0 82px;
    scale: 0.97;
    filter: blur(6px) brightness(0.76);
  }

  60% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    filter: blur(0) brightness(1);
  }
}

.reveal-enabled .hero-visual.viewport-reveal.is-visible,
.reveal-enabled .hero-description.viewport-reveal.is-visible,
.reveal-enabled .hero-buttons.viewport-reveal.is-visible,
.reveal-enabled .hero-stats.viewport-reveal.is-visible {
  animation: heroComponentViewportIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms) both;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-enabled .viewport-reveal,
  .reveal-enabled .viewport-reveal.is-visible,
  :where(html[data-theme='dark']).reveal-enabled .viewport-reveal,
  :where(html[data-theme='dark']).reveal-enabled .viewport-reveal.is-visible {
    opacity: 1;
    translate: none;
    scale: none;
    filter: none;
    transition: none;
  }

  .reveal-enabled .hero-title.viewport-reveal.is-visible,
  .reveal-enabled .hero-visual.viewport-reveal.is-visible,
  .reveal-enabled .hero-description.viewport-reveal.is-visible,
  .reveal-enabled .hero-buttons.viewport-reveal.is-visible,
  .reveal-enabled .hero-stats.viewport-reveal.is-visible {
    animation: none;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1080px) {
  .navbar {
    padding: 0.5rem 0;
  }

  .nav-wrapper {
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: stretch;
    border-radius: 0;
    border: none;
    border-left: 1px solid var(--border-color);
    padding: 5rem 1.5rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.28);
    transition: right var(--transition-normal);
    z-index: 999;
    gap: 0.4rem;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu .nav-link {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.925rem;
    border-radius: var(--radius-md);
  }

  .nav-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

@media (max-width: 1024px) {
  .about-grid,
  .erp-banner-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .erp-showcase-list {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero {
    min-height: auto;
    padding-top: 7.5rem;
    padding-bottom: 4rem;
  }

  .hero-content {
    padding-left: 0;
    transform: translateY(-3.45rem);
  }

  .hero-title,
  .hero-description {
    transform: translateY(-0.75rem);
  }

  .hero-buttons {
    transform: translateY(-1.2rem);
  }

  .hero-stats {
    transform: translateY(4.45rem);
  }

  .hero-coverflow-container {
    transform: none;
    max-width: 100%;
    margin-top: 1.5rem;
    overflow: hidden;
  }

  .coverflow-card {
    width: 320px;
    height: 195px;
    margin-top: -97.5px;
    margin-left: -160px;
  }

  .coverflow-card.pos-right {
    transform: translate3d(85px, 0, -40px) rotateY(-28deg) scale(0.84);
  }

  .coverflow-card.pos-left {
    transform: translate3d(-85px, 0, -40px) rotateY(28deg) scale(0.84);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .milestone-timeline::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 20px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 50%, #8B5CF6 100%);
    transform: translateX(-50%);
  }

  .milestone-timeline {
    display: block;
  }

  .timeline-block:nth-child(odd),
  .timeline-block:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    padding-top: 0;
    justify-content: flex-start;
    margin-bottom: 1.25rem;
    margin-top: 0;
  }

  .timeline-block:last-child {
    margin-bottom: 0;
  }

  .timeline-node {
    left: 20px;
    top: 1rem;
  }

  .timeline-block:nth-child(odd) .timeline-card,
  .timeline-block:nth-child(even) .timeline-card {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  html {
    overflow-x: hidden;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #navCtaBtn span.btn-text {
    display: none;
  }

  .hero-content {
    transform: translateY(-1.5rem);
  }

  .hero-title,
  .hero-description {
    transform: translateY(0);
  }

  .hero-buttons {
    transform: translateY(-0.4rem);
  }

  .hero-stats {
    transform: translateY(3.5rem);
  }

  /* Unified mobile card geometry */
  .vision-card,
  .mission-wrapper,
  .mission-item,
  .service-card,
  .erp-showcase-item,
  .erp-mockup-frame,
  .erp-banner-card,
  .module-item-card,
  .erp-clients-box,
  .client-card,
  .portfolio-card,
  .timeline-card,
  .contact-info-card,
  .contact-form-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .about-grid,
  .services-grid,
  .erp-showcase-list,
  .modules-grid,
  .erp-clients-grid,
  .portfolio-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-grid {
    gap: 1.25rem;
  }

  .vision-card {
    padding: 1.5rem 1.25rem;
    border-radius: 1.35rem;
  }

  .vision-icon-box {
    margin-bottom: 1rem;
  }

  .about-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
  }

  .vision-text {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .vision-author {
    margin-top: 1.25rem;
    padding-top: 1rem;
  }

  .mission-list {
    gap: 0.7rem;
  }

  .mission-item {
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border-radius: 0.9rem;
  }

  .mission-content {
    min-width: 0;
    font-size: 0.875rem;
  }

  .services-grid {
    gap: 1rem;
  }

  .service-card {
    padding: 1.4rem 1.25rem;
    border-radius: 1.35rem;
  }

  .service-icon-wrapper {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }

  .service-title {
    font-size: 1.12rem;
    margin-bottom: 0.6rem;
  }

  .service-desc {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  .service-features {
    padding-top: 0.9rem;
    margin-bottom: 1rem;
  }

  .erp-showcase-wrapper {
    margin-bottom: 2.25rem;
  }

  .erp-showcase-list {
    gap: 1.5rem;
  }

  .erp-showcase-item,
  .erp-mockup-frame {
    overflow: hidden;
  }

  .mockup-frame-bar {
    padding: 0.55rem 0.65rem;
    flex-wrap: nowrap;
  }

  .mockup-url-bar {
    display: none;
  }

  .erp-banner-card {
    padding: 1.5rem 1.25rem;
    margin-bottom: 2.25rem;
    border-radius: 1.35rem;
  }

  .modules-grid {
    gap: 0.85rem;
    margin-bottom: 2.25rem;
  }

  .module-item-card {
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 1rem;
  }

  .module-info {
    min-width: 0;
  }

  .erp-clients-box {
    padding: 1.4rem 1rem;
    border-radius: 1.35rem;
  }

  .erp-clients-header {
    margin-bottom: 1.4rem;
  }

  .erp-clients-title {
    font-size: 1.4rem;
  }

  .erp-clients-grid {
    gap: 0.85rem;
  }

  .client-card {
    padding: 1.1rem;
    border-radius: 0.9rem;
  }

  .portfolio-controls {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .portfolio-filter-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
  }

  .filter-tab-btn {
    width: 100%;
    padding: 0.65rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.3;
    white-space: normal;
  }

  .portfolio-grid {
    gap: 1rem;
  }

  .portfolio-card {
    padding: 1.25rem 1.1rem;
    border-radius: 1.1rem;
    overflow: hidden;
  }

  .portfolio-card-top,
  .portfolio-card-top-with-logo,
  .portfolio-card-meta {
    min-width: 0;
  }

  .milestone-timeline::before {
    left: 14px;
  }

  .timeline-block:nth-child(odd),
  .timeline-block:nth-child(even) {
    padding-left: 38px;
  }

  .timeline-node {
    left: 14px;
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .timeline-card {
    padding: 1.2rem 1.1rem;
    border-radius: 1.1rem;
  }

  .timeline-year-tag {
    font-size: 1.25rem;
  }

  .timeline-card h4 {
    font-size: 1rem;
  }

  .timeline-list li {
    padding-left: 1.1rem;
    font-size: 0.825rem;
  }

  .contact-grid {
    gap: 1rem;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 1.4rem 1.2rem;
    border-radius: 1.35rem;
    overflow: hidden;
  }

  .contact-card-title {
    font-size: 1.3rem;
  }

  .contact-detail-list {
    gap: 1rem;
    margin: 1.25rem 0;
  }

  .contact-detail-item {
    gap: 0.8rem;
    min-width: 0;
  }

  .contact-icon-box {
    width: 40px;
    height: 40px;
  }

  .contact-detail-text {
    min-width: 0;
  }

  .contact-detail-text p,
  .contact-detail-text a {
    font-size: 0.9rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .contact-form,
  .form-group,
  .form-control {
    min-width: 0;
    max-width: 100%;
  }

  .erp-tab-switcher {
    flex-direction: column;
    border-radius: var(--radius-lg);
    width: 100%;
  }

  .erp-tab-btn {
    justify-content: center;
    width: 100%;
  }

  .mockup-frame-bar {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .mockup-url-bar {
    order: 3;
    max-width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .stat-item {
    padding-inline: 0.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .floating-whatsapp {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
  }

  .back-to-top {
    bottom: 1.5rem;
    right: 5.5rem;
    width: 42px;
    height: 42px;
  }
}

/* Card Filtering Animation */
@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
