/* ==========================================================================
   DEEPSEA WEB — Design System & Custom Vanilla CSS
   Theme: Deep Oceanic Dark Mode with Bioluminescent Cyan & Sapphire Highlights
   Typography: Plus Jakarta Sans & Outfit
   Layout: Justified Precision Alignment (Rata Kanan-Kiri yang Rapi & Proporsional)
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-dark-900: #030712;
  --bg-dark-800: #060e1d;
  --bg-dark-750: #0a162c;
  --bg-dark-700: #0f203f;
  --bg-card: rgba(11, 24, 48, 0.72);
  --bg-card-hover: rgba(16, 35, 71, 0.88);
  --border-subtle: rgba(56, 189, 248, 0.15);
  --border-glow: rgba(0, 229, 255, 0.45);
  
  --primary-cyan: #00e5ff;
  --primary-cyan-rgb: 0, 229, 255;
  --primary-blue: #2563eb;
  --primary-blue-glow: #3b82f6;
  --accent-teal: #05d6a4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  
  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #8494ab;
  --text-highlight: #38bdf8;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows & Glows */
  --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 10px 30px -10px rgba(0, 7, 24, 0.7), 0 0 1px 1px rgba(56, 189, 248, 0.12);
  --shadow-glow: 0 0 25px rgba(0, 229, 255, 0.25);
  --shadow-glow-lg: 0 0 50px rgba(0, 229, 255, 0.35);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout */
  --container-max: 1360px;
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 22px;
  --border-radius-xl: 32px;
}

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

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

section[id], header[id], main > section {
  scroll-margin-top: 96px;
}

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

/* Background Atmosphere */
.ocean-ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  background: 
    radial-gradient(circle at 15% 20%, rgba(0, 229, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(5, 214, 164, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, #030712 0%, #060e1d 50%, #030712 100%);
}

#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.55;
  pointer-events: none;
}

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

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p {
  color: var(--text-body);
  margin-bottom: 1rem;
}

/* Rata Kanan-Kiri Presisi (Justified Elegance) */
.text-justified {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

a {
  color: var(--primary-cyan);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: #70f0ff;
}

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

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

/* Top Announcement Banner */
.top-notice-bar {
  background: linear-gradient(90deg, #07152b 0%, #0e2b58 50%, #07152b 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  z-index: 100;
}

.notice-pill {
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--primary-cyan);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pulsing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-teal);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-teal);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Main Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(4, 11, 23, 0.85);
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(3, 8, 18, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 74px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #00e5ff 0%, #2563eb 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-symbol svg {
  width: 24px;
  height: 24px;
  color: #030712;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  line-height: 1.1;
}

.brand-title span {
  color: var(--primary-cyan);
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.desktop-nav li {
  white-space: nowrap;
}

.desktop-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 0.45rem 0.2rem;
  white-space: nowrap;
  display: inline-block;
  transition: color var(--transition-fast);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--primary-cyan);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-cyan);
  box-shadow: 0 0 8px var(--primary-cyan);
  transition: width var(--transition-fast);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, #00e5ff 0%, #0099ff 100%);
  color: #030a16;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4df0ff 0%, #29adff 100%);
  color: #020610;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 229, 255, 0.5);
}

.btn-secondary {
  background: rgba(15, 32, 63, 0.6);
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(22, 47, 92, 0.85);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 229, 255, 0.2);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ae771 0%, #17a696 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
}

.btn-outline {
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  background: rgba(0, 229, 255, 0.05);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.5rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  height: calc(100vh - 76px);
  background: rgba(4, 11, 23, 0.98);
  backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  padding: 2rem;
  z-index: 998;
  border-top: 1px solid var(--border-subtle);
  overflow-y: auto;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-drawer ul a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(14, 38, 77, 0.6);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-cyan);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.15);
}

.hero-title {
  margin-bottom: 1.4rem;
  line-height: 1.15;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #80e5ff 50%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-cyan);
  line-height: 1;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: baseline;
}

.metric-number span {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-left: 2px;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Hero Visual & Mockup */
.hero-visual-wrapper {
  position: relative;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow), 0 25px 60px -15px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: var(--bg-dark-800);
}

.hero-visual-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-visual-card:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  padding: 0.85rem 1.2rem;
  background: rgba(6, 17, 36, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
  animation: floatSlow 5s ease-in-out infinite;
}

.hero-badge-top {
  top: -20px;
  right: -15px;
}

.hero-badge-bottom {
  bottom: -22px;
  left: -20px;
  animation-delay: -2.5s;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.badge-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(0, 229, 255, 0.12);
  color: var(--primary-cyan);
}

.badge-content h4 {
  font-size: 0.92rem;
  margin-bottom: 0.1rem;
  color: var(--text-main);
}

.badge-content p {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   CLIENT MARQUEE & TRUST BAR
   ========================================================================== */
.trust-bar {
  padding: 2.5rem 0;
  background: rgba(5, 13, 27, 0.7);
  border-bottom: 1px solid rgba(56, 189, 248, 0.08);
}

.trust-bar-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.trust-bar-header p {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0;
}

.client-chips-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.client-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(11, 25, 49, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.18);
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.client-chip:hover {
  background: rgba(18, 41, 80, 0.9);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
  transform: translateY(-2px);
}

.chip-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-teal);
  box-shadow: 0 0 8px var(--accent-teal);
}

.chip-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.chip-domain {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--primary-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 0;
}

/* ==========================================================================
   PORTFOLIO CLIENT SHOWCASE (The Core of the Prompt)
   ========================================================================== */
.portfolio-section {
  background: linear-gradient(180deg, #030712 0%, #060e1d 50%, #030712 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.portfolio-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: rgba(11, 24, 48, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: var(--text-body);
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}

.filter-btn:hover {
  background: rgba(18, 39, 78, 0.8);
  border-color: var(--primary-cyan);
  color: var(--text-main);
}

.filter-btn.active {
  background: linear-gradient(135deg, #00e5ff 0%, #2563eb 100%);
  color: #030712;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.portfolio-card:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), 0 20px 40px -10px rgba(0, 0, 0, 0.7);
}

.card-header-bar {
  padding: 0.9rem 1.25rem;
  background: rgba(6, 14, 29, 0.8);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.domain-pill {
  font-size: 0.75rem;
  color: var(--text-highlight);
  background: rgba(0, 229, 255, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  font-family: monospace;
}

.card-preview-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #020610;
}

.card-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-card:hover .card-preview-thumb img {
  transform: scale(1.06);
}

.card-overlay-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(3, 8, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.client-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.client-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-teal);
  letter-spacing: 0.05em;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.card-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.card-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.tech-tag {
  background: rgba(15, 32, 63, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.15);
  font-size: 0.72rem;
  color: var(--text-highlight);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-weight: 500;
}

.card-client-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  background: rgba(7, 16, 32, 0.6);
  border-radius: var(--border-radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  border: 1px dashed rgba(56, 189, 248, 0.15);
}

.card-client-contact svg {
  width: 14px;
  height: 14px;
  color: var(--primary-cyan);
  flex-shrink: 0;
}

.card-footer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: auto;
}

/* ==========================================================================
   WHY JUSTIFIED ELEGANCE & FULL SEO (Spesialisasi Agensi)
   ========================================================================== */
.philosophy-section {
  background: var(--bg-dark-900);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.philosophy-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

.feature-check-list {
  list-style: none;
  margin: 1.8rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.check-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid var(--primary-cyan);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-item h5 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--text-main);
}

.check-item p {
  font-size: 0.88rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Live SEO Audit Mockup Display */
.seo-audit-mockup {
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-glow), 0 20px 50px rgba(0, 0, 0, 0.8);
  position: relative;
}

.audit-score-gauges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

.gauge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gauge-circle {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  position: relative;
}

.gauge-green {
  background: conic-gradient(var(--accent-teal) 360deg, transparent 0deg);
  color: #030712;
  box-shadow: 0 0 16px rgba(5, 214, 164, 0.4);
}

.gauge-circle::after {
  content: '';
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #09172e;
  z-index: 1;
}

.gauge-circle span {
  position: relative;
  z-index: 2;
  color: var(--accent-teal);
}

.gauge-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-body);
}

.audit-checklist-preview {
  background: rgba(6, 15, 30, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: var(--border-radius-md);
  padding: 1.2rem;
}

.audit-checklist-preview h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-cyan);
  margin-bottom: 0.85rem;
}

.audit-rule-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(56, 189, 248, 0.08);
  font-size: 0.82rem;
}

.audit-rule-item:last-child {
  border-bottom: none;
}

.audit-status-badge {
  color: var(--accent-teal);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  background: var(--bg-dark-800);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 2.2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-md);
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
  margin-bottom: 1.4rem;
  font-size: 1.6rem;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--primary-cyan);
  color: #030712;
  box-shadow: 0 0 20px var(--primary-cyan);
  transform: scale(1.05);
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.service-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(56, 189, 248, 0.1);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.service-features-list li::before {
  content: '▸';
  color: var(--primary-cyan);
}

/* ==========================================================================
   INTERACTIVE COST CALCULATOR (Kalkulator Estimasi Biaya & Waktu)
   ========================================================================== */
.calculator-section {
  background: var(--bg-dark-900);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.calculator-wrapper {
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--border-radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-glow), 0 30px 60px rgba(0, 0, 0, 0.8);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3rem;
}

.calc-step-title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.calc-step-num {
  width: 28px;
  height: 28px;
  background: var(--primary-cyan);
  color: #030712;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.calc-radio-card {
  position: relative;
  cursor: pointer;
}

.calc-radio-card input {
  position: absolute;
  opacity: 0;
}

.calc-card-ui {
  background: rgba(8, 20, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--border-radius-md);
  padding: 1.1rem;
  transition: all var(--transition-fast);
  height: 100%;
}

.calc-radio-card:hover .calc-card-ui {
  border-color: var(--primary-cyan);
  background: rgba(14, 34, 69, 0.85);
}

.calc-radio-card input:checked + .calc-card-ui {
  border-color: var(--primary-cyan);
  background: rgba(0, 229, 255, 0.12);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

.calc-card-ui h5 {
  font-size: 0.96rem;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.calc-card-ui p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.4;
}

.addon-checkboxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.addon-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 20, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 0.85rem 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.addon-label:hover {
  border-color: var(--primary-cyan);
}

.addon-label input:checked ~ .addon-info h6 {
  color: var(--primary-cyan);
}

.addon-info {
  display: flex;
  flex-direction: column;
}

.addon-info h6 {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.addon-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.addon-price-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-teal);
  background: rgba(5, 214, 164, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

/* Calculator Result Panel */
.calc-result-panel {
  background: linear-gradient(135deg, #07152b 0%, #0d2752 100%);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: var(--border-radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-cyan);
  background: rgba(0, 229, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.calc-selected-summary {
  margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  padding-bottom: 1.2rem;
}

.calc-selected-summary h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.calc-selected-summary p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.estimate-price-wrap {
  margin-bottom: 1.5rem;
}

.estimate-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.estimate-price-val {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.estimate-price-val span {
  font-size: 1rem;
  color: var(--primary-cyan);
  font-weight: 600;
}

.estimate-time-val {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--accent-teal);
  margin-bottom: 1.8rem;
}

.calc-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  background: var(--bg-dark-800);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: all var(--transition-fast);
}

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

.quote-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.quote-text {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 1.8rem;
}

.client-author-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(56, 189, 248, 0.1);
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00e5ff 0%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #030712;
  font-size: 1.1rem;
}

.author-details h5 {
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.author-details p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   CONTACT & FORM SECTION
   ========================================================================== */
.contact-section {
  background: var(--bg-dark-900);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
}

.contact-info-panel h3 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin: 2rem 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
  flex-shrink: 0;
}

.contact-info-item h6 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0;
}

.form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(6, 15, 30, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--border-radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
  background: rgba(10, 24, 48, 0.95);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

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

/* ==========================================================================
   MODAL CASE STUDY (Rich Portfolio Detail)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: #09172e;
  border: 1px solid var(--primary-cyan);
  border-radius: var(--border-radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-glow-lg), 0 25px 60px rgba(0, 0, 0, 0.9);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-backdrop.active .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.modal-header-hero {
  position: relative;
  height: 220px;
  background: #020610;
  overflow: hidden;
}

.modal-header-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.modal-header-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  background: rgba(3, 8, 18, 0.9);
  border: 1px solid var(--primary-cyan);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-cyan);
}

.modal-content-body {
  padding: 2rem;
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.modal-client-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.modal-section-title {
  font-size: 1.15rem;
  color: var(--primary-cyan);
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
}

.modal-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: rgba(6, 14, 29, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: var(--border-radius-md);
  padding: 1.2rem;
  margin: 1.5rem 0;
  text-align: center;
}

.modal-metric-item h4 {
  font-size: 1.4rem;
  color: var(--accent-teal);
  margin-bottom: 0.2rem;
}

.modal-metric-item p {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #020610;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  padding: 5rem 0 2rem;
}

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

.footer-col h5 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 1.4rem;
  font-weight: 700;
  position: relative;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--primary-cyan);
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary-cyan);
  padding-left: 4px;
}

.footer-client-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-client-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 0.4rem 0.65rem;
  background: rgba(9, 22, 45, 0.5);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.1);
}

.footer-client-item a:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

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

.footer-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--accent-teal);
  background: rgba(5, 214, 164, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .philosophy-grid,
  .calc-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .desktop-nav,
  .nav-actions .btn-secondary {
    display: none;
  }
  
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-actions .btn-primary {
    display: none;
  }
  
  .top-notice-bar {
    display: none;
  }
  
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .calc-options-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
