/* ==========================================================================
   DevCraft Portfolio & Web Services - Ultra-Modern Colorful Light Theme
   ========================================================================== */

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

/* 2. Design Tokens / CSS Custom Properties */
:root {
  /* Core Backgrounds */
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-solid: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-subtle-indigo: #eef2ff;
  --bg-subtle-emerald: #ecfdf5;
  --bg-subtle-rose: #fff1f2;
  --bg-subtle-amber: #fffbeb;
  
  /* Text System */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  /* Vibrant Color Accents */
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --accent-violet: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-amber: #f59e0b;
  
  /* Modern Gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-rose: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  --gradient-amber: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  
  /* Instagram Signature Gradient */
  --ig-gradient: linear-gradient(135deg, #f97316 0%, #e11d48 50%, #c026d3 100%);
  --ig-gradient-hover: linear-gradient(135deg, #ea580c 0%, #be123c 50%, #a21caf 100%);
  
  /* UI Borders, Radius & Shadows */
  --border-light: #e2e8f0;
  --border-glass: rgba(226, 232, 240, 0.8);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 28px -6px rgba(15, 23, 42, 0.06), 0 8px 12px -4px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 22px 45px -12px rgba(99, 102, 241, 0.18), 0 10px 20px -5px rgba(15, 23, 42, 0.04);
  --shadow-ig: 0 12px 30px -5px rgba(225, 29, 72, 0.3);
  
  /* Typography & Transitions */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ==========================================================================
   Multi-Color Ambient Mesh Glow System (Background Accents)
   ========================================================================== */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  animation: glowFloat 12s ease-in-out infinite alternate;
}

.bg-glow-1 {
  top: -120px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, rgba(248, 250, 252, 0) 70%);
}

.bg-glow-2 {
  top: 450px;
  left: -180px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(248, 250, 252, 0) 70%);
  animation-delay: 3s;
}

.bg-glow-3 {
  top: 1300px;
  right: -150px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.15) 0%, rgba(248, 250, 252, 0) 70%);
  animation-delay: 6s;
}

.bg-glow-4 {
  top: 2100px;
  left: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(248, 250, 252, 0) 70%);
  animation-delay: 9s;
}

@keyframes glowFloat {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-30px) scale(1.08); }
}

/* ==========================================================================
   Tech-Themed Pattern Overlay System & High-Tech Ambient Aesthetics
   ========================================================================== */
.tech-bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background-image: 
    radial-gradient(rgba(99, 102, 241, 0.08) 1.2px, transparent 1.2px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px),
    linear-gradient(180deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px);
  background-size: 28px 28px, 56px 56px, 56px 56px;
  background-position: 0 0, 0 0, 0 0;
}

/* Tech HUD Corner Accents for Cards & Containers */
.tech-hud-frame {
  position: relative;
}

.tech-hud-frame::before, .tech-hud-frame::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  border: 2px solid rgba(99, 102, 241, 0.25);
  z-index: 3;
  transition: all 0.3s ease;
}

.tech-hud-frame::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 6px;
}

.tech-hud-frame::after {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 6px;
}

.tech-hud-frame:hover::before, .tech-hud-frame:hover::after {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-ig {
  background: var(--ig-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-ig);
}

.btn-ig:hover {
  background: var(--ig-gradient-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 35px -5px rgba(225, 29, 72, 0.4);
  color: #ffffff;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(99, 102, 241, 0.4);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--bg-card-solid);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: #cbd5e1;
  transform: translateY(-2px);
  color: var(--primary);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.15rem 2.35rem;
  font-size: 1.05rem;
}

/* Badge Utilities */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-primary {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.badge-emerald {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-rose {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.badge-cyan {
  background: linear-gradient(135deg, #ecfeff 0%, #cffaff 100%);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

/* Section Common Headers */
.section {
  padding: 5.5rem 0;
  position: relative;
}

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

.section-subtitle {
  font-size: 0.88rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.08rem;
}

/* ==========================================================================
   Header & Glass Navbar
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  transition: var(--transition-normal);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.38rem;
  font-weight: 900;
  color: var(--text-primary);
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: var(--ig-gradient);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 6.5rem 0;
  position: relative;
  overflow: hidden;
}

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

.hero-badge-wrap {
  margin-bottom: 1.35rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.35rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.35rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: linear-gradient(135deg, #6366f1 0%, #06b6d4 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 550px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.hero-card-main {
  background: var(--bg-card-solid);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--transition-normal);
}

.hero-card-header {
  height: 40px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.45rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background-color: #f43f5e; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.hero-card-body {
  padding: 0.85rem;
  background: #ffffff;
}

.hero-card-img {
  border-radius: var(--radius-md);
  width: 100%;
  object-fit: cover;
}

/* Floating Badges */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
  animation: float 4s ease-in-out infinite alternate;
}

.floating-card-1 {
  top: 8%;
  left: -32px;
}

.floating-card-2 {
  bottom: 6%;
  right: -24px;
  animation-delay: 2s;
}

.float-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.float-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.float-text span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

/* ==========================================================================
   Services Section (Paket Jasa Pembuatan Website)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.25rem;
}

.service-card {
  background: var(--bg-card-solid);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2.25rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Card 1 Custom Styling */
.service-card:nth-child(1) {
  border-top: 4px solid var(--accent-cyan);
}

/* Card 2 Featured Styling */
.service-card.featured {
  border: 2px solid var(--primary);
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

/* Card 3 Custom Styling */
.service-card:nth-child(3) {
  border-top: 4px solid var(--accent-rose);
}

.service-badge {
  position: absolute;
  top: -14px;
  right: 2rem;
}

.service-name {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.service-description {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.service-price-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px dashed var(--border-light);
}

.service-price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.service-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.service-features {
  list-style: none;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.feature-icon {
  width: 22px;
  height: 22px;
  background: var(--bg-subtle-emerald);
  color: var(--accent-emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-action {
  margin-top: auto;
}

/* ==========================================================================
   Portfolio Showcase Section & Browser Mockup Frame
   ========================================================================== */
.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 3.25rem;
}

.filter-btn {
  padding: 0.65rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background-color: var(--bg-card-solid);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.25rem;
}

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

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Browser Mockup Window Container */
.portfolio-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  padding: 1.25rem 1.25rem 0 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.portfolio-mockup-window {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-bottom: none;
  box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.15), 0 6px 12px -4px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-card:hover .portfolio-mockup-window {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.22), 0 8px 16px -4px rgba(15, 23, 42, 0.12);
}

.portfolio-mockup-bar {
  height: 28px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  gap: 0.5rem;
  user-select: none;
  flex-shrink: 0;
}

.mockup-dots {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.mockup-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.mockup-url-bar {
  flex-grow: 1;
  background: #ffffff;
  height: 17px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  font-size: 0.65rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0 0.5rem;
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-mockup-body {
  position: relative;
  width: 100%;
  flex-grow: 1;
  overflow: hidden;
  background-color: #f8fafc;
}

.portfolio-mockup-body .portfolio-img,
.portfolio-mockup-body .portfolio-pdf-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-mockup-body .portfolio-img {
  transform: scale(1.04);
}

.pdf-overlay-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(225, 29, 72, 0.9);
  color: white;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.portfolio-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  color: var(--primary);
  background: var(--bg-subtle-indigo);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.portfolio-content {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.portfolio-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Instagram Handle Tag */
.portfolio-ig-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background: var(--bg-subtle-rose);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-rose);
  margin-bottom: 1.25rem;
  transition: var(--transition-fast);
}

.portfolio-ig-tag:hover {
  background: rgba(244, 63, 94, 0.15);
}

.portfolio-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  font-size: 0.76rem;
  padding: 0.25rem 0.65rem;
  background-color: var(--bg-subtle-indigo);
  color: var(--primary);
  border-radius: 6px;
  font-weight: 600;
}

.portfolio-actions {
  display: flex;
  gap: 0.75rem;
}

/* ==========================================================================
   Process / Cara Kerja (Colorful Steps)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.process-card {
  background: var(--bg-card-solid);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  position: relative;
  text-align: center;
  transition: var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Step Badges Colors */
.process-card:nth-child(1) .process-number {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.process-card:nth-child(2) .process-number {
  background: var(--gradient-cyan);
  color: white;
  box-shadow: 0 6px 16px rgba(6, 182, 212, 0.3);
}

.process-card:nth-child(3) .process-number {
  background: var(--gradient-rose);
  color: white;
  box-shadow: 0 6px 16px rgba(244, 63, 94, 0.3);
}

.process-card:nth-child(4) .process-number {
  background: var(--gradient-emerald);
  color: white;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.process-number {
  width: 52px;
  height: 52px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.35rem auto;
}

.process-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.process-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.15rem;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item.active {
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 1.35rem 1.65rem;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

.faq-toggle-icon {
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 1.65rem 1.35rem 1.65rem;
  font-size: 0.96rem;
  color: var(--text-secondary);
  display: none;
  border-top: 1px solid var(--bg-subtle);
  padding-top: 1.1rem;
  line-height: 1.65;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cta-box {
  background: linear-gradient(135deg, #ffffff 0%, #eef2ff 50%, #fdf2f8 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 4.5rem 2.25rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1.1rem;
}

.cta-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2.25rem auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 3.5rem 0 2.25rem 0;
  margin-top: 4.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.75rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-top: 0.85rem;
  max-width: 340px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

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

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Modal Overlay & Container */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  box-sizing: border-box;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-card-solid);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: var(--shadow-lg);
  padding: 2.25rem;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition-normal);
  box-sizing: border-box;
}

.modal-container * {
  max-width: 100%;
  box-sizing: border-box;
}

.modal-close {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  background: var(--bg-subtle);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  background: #e2e8f0;
  color: var(--text-primary);
}

@media (max-width: 576px) {
  .modal-overlay {
    padding: 0.6rem;
  }
  .modal-container {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
    max-height: 94vh;
  }
  .modal-close {
    top: 0.85rem;
    right: 0.85rem;
    width: 32px;
    height: 32px;
    font-size: 1.15rem;
  }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .floating-card {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 72px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-actions {
    gap: 0.45rem;
  }
  .nav-actions .btn-ig {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
    gap: 0.35rem;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .cta-box {
    padding: 3rem 1.25rem;
  }
  .btn {
    white-space: normal;
    max-width: 100%;
    word-break: break-word;
  }
  .btn-lg {
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .nav-brand {
    font-size: 1.12rem;
    gap: 0.45rem;
  }
  .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }
  .nav-actions .btn-ig {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }
  .cta-title {
    font-size: 1.6rem;
  }
  .cta-desc {
    font-size: 0.92rem;
  }
  .btn {
    padding: 0.8rem 1rem;
    font-size: 0.88rem;
  }
}

/* Lightbox & Portfolio Multi-Image Gallery Styling */
.lightbox-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: flex !important;
  z-index: 999999 !important;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  transform: scale(1.1);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.modal-thumb-item {
  user-select: none;
}

.modal-thumb-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.lightbox-thumb:hover {
  opacity: 1 !important;
  transform: scale(1.08);
}
