/* ===================================================
   PT. SYIAR MEDIA NUSANTARA
   Premium Islamic Dark Mode Landing Page
   Version: 1.0.0
   =================================================== */

/* ===================== CSS VARIABLES ===================== */
:root {
  --primary: #14B8A6;
  --primary-dark: #0F766E;
  --primary-light: #2DD4BF;
  --primary-glow: rgba(20, 184, 166, 0.25);
  --primary-glow-soft: rgba(20, 184, 166, 0.12);
  --secondary: #0F766E;
  --bg-dark: #08141A;
  --bg-surface: #0F172A;
  --bg-card: rgba(15, 23, 42, 0.85);
  --bg-glass: rgba(20, 184, 166, 0.06);
  --accent-gold: #D4AF37;
  --accent-gold-light: #F0CC50;
  --text-white: #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-muted: #64748B;
  --border-glass: rgba(20, 184, 166, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --shadow-primary: 0 0 40px rgba(20, 184, 166, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 16px 48px rgba(20, 184, 166, 0.25);
  --radius-card: 20px;
  --radius-btn: 12px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Poppins', sans-serif;
}

/* ===================== RESET & BASE ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--primary);
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  loading: lazy;
}

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

/* ===================== UTILITY CLASSES ===================== */
.z-1 { z-index: 1; }
.section-pad { padding: 100px 0; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-primary-brand { color: var(--primary) !important; }
.text-gold { color: var(--accent-gold) !important; }

/* ===================== SECTION COMMON ===================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-glow-soft);
  border: 1px solid var(--border-glass);
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
  border-radius: 2px;
  margin: 24px auto 0;
}

/* ===================== BUTTONS ===================== */
.btn-primary-brand {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-family: var(--font);
  padding: 14px 28px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.4);
  position: relative;
  overflow: hidden;
}
.btn-primary-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.btn-primary-brand:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(20, 184, 166, 0.55);
  color: #fff;
}
.btn-primary-brand:hover::before { opacity: 1; }
.btn-primary-brand span, .btn-primary-brand i { position: relative; z-index: 1; }

.btn-outline-brand {
  background: transparent;
  color: var(--primary-light);
  border: 2px solid var(--primary);
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-family: var(--font);
  padding: 12px 26px;
  transition: var(--transition);
}
.btn-outline-brand:hover {
  background: var(--primary-glow-soft);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 24px var(--primary-glow);
  border-color: var(--primary-light);
}

/* ===================== NAVBAR ===================== */
#mainNav {
  background: transparent;
  padding: 18px 0;
  transition: all 0.4s ease;
  z-index: 1000;
}
#mainNav.scrolled {
  background: rgba(8, 20, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
  padding: 12px 0;
}
/* Navbar Logo */
.navbar-logo {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(1);
  transition: var(--transition);
}
.navbar-logo:hover {
  filter: brightness(1.1) drop-shadow(0 0 8px rgba(20, 184, 166, 0.5));
}
#mainNav.scrolled .navbar-logo {
  height: 40px;
}
@media (max-width: 575px) {
  .navbar-logo { height: 38px; }
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.brand-sub {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.08em;
}
.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 12px !important;
  border-radius: 8px;
  transition: var(--transition);
}
.navbar-nav .nav-link:hover {
  color: var(--primary-light) !important;
  background: var(--primary-glow-soft);
}
.btn-wa-nav {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.87rem;
  padding: 10px 18px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}
.btn-wa-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  color: #fff !important;
}
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(8, 20, 26, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 16px;
    margin-top: 12px;
  }
  .btn-wa-nav { margin-top: 8px; }
}

/* ===================== HERO SECTION ===================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--bg-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 6s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  from { transform: scale(1) translate(0, 0); opacity: 0.8; }
  to { transform: scale(1.15) translate(-30px, 30px); opacity: 1; }
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 184, 166, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.geo-shape {
  position: absolute;
  border: 1px solid rgba(20, 184, 166, 0.15);
  border-radius: 50%;
  pointer-events: none;
  animation: geoRotate 20s linear infinite;
}
.geo-1 {
  width: 300px;
  height: 300px;
  top: 15%;
  right: 10%;
  border-color: rgba(20, 184, 166, 0.1);
  animation-duration: 25s;
}
.geo-2 {
  width: 500px;
  height: 500px;
  top: 5%;
  right: 5%;
  border-color: rgba(20, 184, 166, 0.06);
  animation-duration: 35s;
  animation-direction: reverse;
}
.geo-3 {
  width: 180px;
  height: 180px;
  bottom: 20%;
  left: 5%;
  border-color: rgba(212, 175, 55, 0.12);
  animation-duration: 18s;
}
@keyframes geoRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.particle-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 184, 166, 0.35) 1px, transparent 1px);
  background-size: 120px 120px;
  pointer-events: none;
  opacity: 0.4;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(212, 175, 55, 0.08) 100%);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: var(--primary-light);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.1);
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.18;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 520px;
}

.service-item {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 5px 0;
  font-weight: 500;
  transition: color 0.2s;
}
.service-item:hover { color: var(--primary-light); }
.service-item i { font-size: 0.8rem; }

/* Hero Mockup */
.hero-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-glow-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.18) 0%, transparent 70%);
  z-index: 0;
  animation: heroGlow 4s ease-in-out infinite alternate;
}

.mockup-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  animation: floatMockup 4s ease-in-out infinite;
}
@keyframes floatMockup {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

.mockup-screen {
  background: linear-gradient(145deg, #1E293B 0%, #0F172A 100%);
  border-radius: 16px;
  border: 1px solid rgba(20, 184, 166, 0.2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(20, 184, 166, 0.15);
  overflow: hidden;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.browser-dots { display: flex; gap: 5px; }
.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #28CA41; }
.browser-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: monospace;
}

.browser-content {
  padding: 16px;
  min-height: 260px;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.preview-logo {
  width: 80px;
  height: 10px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 5px;
}
.preview-nav { display: flex; gap: 8px; }
.preview-nav span {
  width: 30px;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.preview-hero { padding: 16px 0; }
.preview-headline {
  width: 75%;
  height: 16px;
  background: linear-gradient(90deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.1) 100%);
  border-radius: 8px;
  margin-bottom: 8px;
}
.preview-sub {
  width: 55%;
  height: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 5px;
  margin-bottom: 16px;
}
.preview-btn {
  width: 120px;
  height: 30px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}

.preview-cards {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.preview-card {
  flex: 1;
  height: 60px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(20, 184, 166, 0.15);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.preview-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
}

/* Float badges */
.float-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  color: var(--text-white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(20, 184, 166, 0.15);
  white-space: nowrap;
  z-index: 2;
}
.badge-1 { top: -10px; left: -20px; }
.badge-2 { bottom: 60px; right: -20px; }
.badge-3 { bottom: -5px; left: 20px; }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
  opacity: 0.6;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}
.scroll-indicator span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* ===================== STATS SECTION ===================== */
.stats-section {
  background: var(--bg-surface);
}
.stats-card {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.06) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 8px 0;
  box-shadow: var(--shadow-primary);
  overflow: hidden;
  position: relative;
}
.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent-gold), var(--primary), transparent);
}
.stat-item {
  padding: 32px 20px;
  position: relative;
  border-right: 1px solid var(--border-subtle);
}
.stat-item:last-child { border-right: none; }
@media (max-width: 767px) {
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border-subtle); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
}
.stat-number {
  display: inline-block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-plus, .stat-pct {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-light);
  vertical-align: top;
  margin-top: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 8px;
  line-height: 1.4;
}

/* ===================== PORTFOLIO ===================== */
.portfolio-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.section-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 184, 166, 0.05) 2px, transparent 2px);
  background-size: 40px 40px;
  pointer-events: none;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  height: 100%;
}
.portfolio-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.portfolio-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.portfolio-thumb-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  position: relative;
}
.portfolio-card:hover .portfolio-thumb-inner {
  transform: scale(1.06);
}

/* Real screenshot image cards */
.port-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-surface);
}
.port-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .port-img {
  transform: scale(1.06);
}

/* Simulated website previews */
.port-sholawat {
  background: linear-gradient(145deg, #0d1f2e 0%, #0F172A 100%);
}
.port-istighfar {
  background: linear-gradient(145deg, #1a0d2e 0%, #0F172A 100%);
}
.port-istiqomah {
  background: linear-gradient(145deg, #0d2e1a 0%, #0F172A 100%);
}
.port-sedekah {
  background: linear-gradient(145deg, #2e1a0d 0%, #0F172A 100%);
}

.port-screen {
  margin: 10px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  height: calc(100% - 20px);
  overflow: hidden;
}
.port-header-bar {
  background: rgba(0,0,0,0.3);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.port-dots { display: flex; gap: 4px; }
.port-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.port-dots span:nth-child(1) { background: rgba(255,95,87,0.7); }
.port-dots span:nth-child(2) { background: rgba(255,189,46,0.7); }
.port-dots span:nth-child(3) { background: rgba(40,202,65,0.7); }

.port-content { padding: 10px; }
.port-title-bar {
  width: 60%;
  height: 8px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 4px;
  margin-bottom: 10px;
}
.port-circles { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.port-circle {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  opacity: 0.7;
}
.port-circle.big { width: 36px; height: 36px; }
.port-circle.small { width: 24px; height: 24px; opacity: 0.4; }
.port-lines { display: flex; flex-direction: column; gap: 5px; }
.port-lines div {
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}
.port-lines div:first-child { width: 80%; }
.port-lines div:nth-child(2) { width: 65%; }
.port-lines div:nth-child(3) { width: 50%; }

.port-stat-row { display: flex; gap: 6px; margin: 8px 0; }
.port-stat {
  flex: 1;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(20, 184, 166, 0.2);
  background: rgba(20, 184, 166, 0.06);
}

.port-progress {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.port-prog-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 4px;
}

.port-donation-card {
  background: rgba(20, 184, 166, 0.06);
  border: 1px solid rgba(20, 184, 166, 0.15);
  border-radius: 8px;
  padding: 8px;
  margin: 8px 0;
}
.port-don-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}
.port-don-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), #F0CC50);
  border-radius: 3px;
}
.port-don-nums { display: flex; justify-content: space-between; }
.port-don-nums span {
  width: 35%;
  height: 5px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 26, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.btn-port-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  transform: translateY(10px);
  transition: transform 0.35s ease;
}
.portfolio-card:hover .btn-port-view { transform: translateY(0); }
.btn-port-view:hover { color: #fff; box-shadow: 0 4px 20px rgba(20,184,166,0.5); }

.portfolio-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.portfolio-info {
  padding: 18px;
}
.portfolio-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
}
.portfolio-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ===================== SERVICES ===================== */
.services-section {
  background: var(--bg-surface);
}
.service-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover {
  border-color: var(--primary);
  background: rgba(20, 184, 166, 0.08);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(15, 118, 110, 0.1) 100%);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-light);
  margin: 0 auto 16px;
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.4);
  transform: scale(1.1);
}
.service-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
  line-height: 1.4;
}
.service-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ===================== WHY/KEUNGGULAN ===================== */
.why-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.why-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.why-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 28px 22px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.why-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.why-card:hover {
  border-color: rgba(20, 184, 166, 0.35);
  background: rgba(20, 184, 166, 0.07);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.15);
}
.why-card:hover::after { opacity: 1; }
.why-card-special {
  border-color: rgba(212, 175, 55, 0.3) !important;
  background: rgba(212, 175, 55, 0.04) !important;
}
.why-card-special:hover {
  border-color: rgba(212, 175, 55, 0.5) !important;
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15) !important;
}

.why-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(20, 184, 166, 0.12);
  position: absolute;
  top: 14px;
  right: 18px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.why-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(15, 118, 110, 0.1) 100%);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary-light);
  margin-bottom: 16px;
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}
.why-card-special .why-icon {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--accent-gold);
}
.why-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
  line-height: 1.45;
}
.why-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.65;
}
.free-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  color: var(--bg-dark);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.12em;
  margin-top: 10px;
}

/* ===================== TESTIMONI ===================== */
.testi-section {
  background: var(--bg-surface);
  overflow: hidden;
}
.testi-card {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  transition: var(--transition);
  height: 100%;
  position: relative;
  margin: 4px;
}
.testi-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.15);
}
.testi-quote {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 10px;
}
.testi-stars { color: var(--accent-gold); font-size: 0.9rem; }
.testi-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 28px;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}
.testi-name { font-weight: 700; color: var(--text-white); font-size: 0.9rem; }
.testi-role { font-size: 0.78rem; color: var(--primary); font-weight: 500; }

/* Swiper customization */
.testiSwiper .swiper-slide {
  height: auto;
}
.testi-pagination { margin-top: 24px; }
.swiper-pagination-bullet {
  background: var(--primary) !important;
  opacity: 0.3 !important;
  width: 8px !important;
  height: 8px !important;
}
.swiper-pagination-bullet-active {
  opacity: 1 !important;
  width: 24px !important;
  border-radius: 4px !important;
  transition: width 0.3s ease !important;
}

/* ===================== PENAWARAN KHUSUS ===================== */
.offer-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.offer-glow-left {
  position: absolute;
  top: -100px;
  left: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.offer-glow-right {
  position: absolute;
  bottom: -100px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.offer-card {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(212, 175, 55, 0.06) 50%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 28px;
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(20, 184, 166, 0.1), 0 20px 60px rgba(0, 0, 0, 0.3);
}
.offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold), var(--primary));
}
.offer-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(20, 184, 166, 0.06) 2px, transparent 2px);
  background-size: 28px 28px;
  pointer-events: none;
}
@media (max-width: 767px) {
  .offer-card { padding: 36px 24px; }
}
.offer-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.08em;
}
.offer-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 16px;
}
.offer-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.offer-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.offer-feat {
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  color: var(--primary-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}
.btn-offer-cta {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-family: var(--font);
  padding: 16px 30px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}
.btn-offer-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
  color: #fff;
}
.offer-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* ===================== CONTACT / FORM ===================== */
.contact-section {
  background: var(--bg-surface);
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  transition: var(--transition);
}
.contact-info-item:hover {
  border-color: var(--primary);
  background: rgba(20, 184, 166, 0.08);
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}
.contact-info-label { font-size: 0.75rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-info-value { font-size: 0.9rem; color: var(--text-white); font-weight: 500; }

.btn-wa-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 2px solid #25D366;
  color: #25D366;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn-wa-outline:hover {
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

/* Contact Form Card */
.contact-form-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  padding: 40px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
}
@media (max-width: 767px) { .contact-form-card { padding: 24px 18px; } }

.form-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.form-header-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}
.form-title { font-size: 1.25rem; font-weight: 800; color: var(--text-white); margin-bottom: 4px; }
.form-subtitle { font-size: 0.82rem; color: var(--text-secondary); }

.form-label-custom {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: block;
}

.input-group-custom {
  position: relative;
}
.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1rem;
  z-index: 2;
}
.textarea-wrap .input-icon {
  top: 18px;
  transform: none;
}

.form-control-custom {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  padding: 14px 16px 14px 44px;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-control-custom:focus {
  border-color: var(--primary);
  background: rgba(20, 184, 166, 0.06);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}
.form-control-custom::placeholder { color: rgba(255,255,255,0.25); }

.btn-submit-form {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-family: var(--font);
  font-size: 1rem;
  padding: 16px;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}
.btn-submit-form:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5);
  color: #fff;
}
.form-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ===================== FOOTER ===================== */
.footer-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}
.footer-top-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent-gold), var(--primary), transparent);
}
.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(20, 184, 166, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.footer-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.footer-tagline { font-size: 0.82rem; }
.btn-wa-footer {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}
.btn-wa-footer:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  color: #fff;
}
.footer-heading {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '→';
  color: var(--primary);
  font-size: 0.7rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }

/* ===================== FLOATING WHATSAPP ===================== */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition);
}
.float-wa:hover { transform: scale(1.05); }

.float-wa-inner {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
  transition: var(--transition);
}
.float-wa:hover .float-wa-inner {
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.7);
}

.float-wa-pulse, .float-wa-pulse-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: waPulse 2.5s ease-out infinite;
  z-index: 1;
}
.float-wa-pulse-2 {
  animation-delay: 1s;
  background: rgba(37, 211, 102, 0.2);
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

.float-wa-tooltip {
  display: flex;
  flex-direction: column;
  background: rgba(8, 20, 26, 0.95);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 12px;
  padding: 8px 14px;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  order: -1;
}
.float-wa:hover .float-wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}
.float-wa-tooltip span { font-size: 0.82rem; font-weight: 700; color: #fff; }
.float-wa-tooltip small { font-size: 0.68rem; color: #25D366; }

/* ===================== BACK TO TOP ===================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-glass);
  color: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(12px);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
  .section-pad { padding: 70px 0; }
  .hero-section { padding-top: 100px; }
  .hero-title { font-size: 2rem; }
  .float-badge { display: none; }
  .mockup-container { max-width: 380px; margin: 0 auto; }
  .contact-form-card { padding: 28px 20px; }
}

@media (max-width: 575px) {
  .section-pad { padding: 56px 0; }
  .hero-section { min-height: auto; padding: 100px 0 60px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .offer-card { padding: 28px 18px; }
  .float-wa { bottom: 16px; right: 16px; }
  .float-wa-inner { width: 56px; height: 56px; font-size: 1.5rem; }
  .float-wa-pulse, .float-wa-pulse-2 { width: 56px; height: 56px; }
  .back-to-top { bottom: 16px; left: 16px; }
}

/* ===================== LOADING / REVEAL ANIMATIONS ===================== */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}

/* Smooth gradient text fix for Safari */
.text-gradient, .text-gradient-gold {
  -webkit-text-fill-color: transparent;
}
