/* ==========================================================================
   AR / ANDREAN SETYAJI - HIGH-END DIGITAL ENGINEERING STUDIO
   Design System & Styling
   ========================================================================== */

:root {
  --bg-dark: #090a0e;
  --bg-deep: #07080b;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(255, 255, 255, 0.04);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 82, 255, 0.35);
  --primary-blue: #0052ff;
  --primary-blue-hover: #1a64ff;
  --accent-cyan: #38bdf8;
  --accent-sky: #60a5fa;
  --accent-indigo: #818cf8;
  --accent-emerald: #34d399;
  --accent-amber: #fbbf24;
  --accent-rose: #f43f5e;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Roboto Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Selection Color */
::selection {
  background: var(--primary-blue);
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/* Accessible Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* Radial Ambient Glow Backgrounds */
.ambient-glow-1 {
  position: absolute;
  top: -140px;
  left: -140px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 82, 255, 0.28) 0%, rgba(0, 82, 255, 0) 70%);
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: absolute;
  top: 38%;
  right: -160px;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, rgba(99, 102, 241, 0) 70%);
  filter: blur(150px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-3 {
  position: absolute;
  bottom: 5%;
  left: 20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 82, 255, 0.18) 0%, rgba(0, 82, 255, 0) 70%);
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

/* Radial Grid Texture */
.grid-texture {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#1e293b 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

/* Container Structure */
.container-max {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .container-max {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Typography Helpers */
.font-mono {
  font-family: var(--font-mono);
}

.gradient-title {
  background: linear-gradient(135deg, #ffffff 30%, #93c5fd 75%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-blue-text {
  background: linear-gradient(to right, #60a5fa, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(9, 10, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(7, 8, 11, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  padding: 0.25rem 0;
}

.brand-ar-logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s ease;
}

.brand-link:hover .brand-ar-logo {
  transform: scale(1.05);
}

.ar-bar {
  width: 4px;
  height: 28px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
  box-shadow: 0 0 14px rgba(0, 82, 255, 0.7);
}

.ar-title {
  font-family: var(--font-sans);
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #ffffff;
  line-height: 1;
}

.ar-dot-glow {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--primary-blue), 0 0 16px var(--accent-cyan);
  margin-top: 8px;
  animation: pulseDot 2.5s infinite ease-in-out;
}

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

.brand-logo-img {
  height: 2.75rem;
  width: auto;
  max-width: 200px;
  object-contain: fit;
  transition: transform 0.3s ease;
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.04);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
  padding: 0.25rem 0;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: #ffffff;
}

.nav-desktop a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Online Beacon Badge */
.status-beacon {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

@media (min-width: 640px) {
  .status-beacon {
    display: inline-flex;
  }
}

.status-dot-green {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  animation: pulseBeacon 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

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

/* GitHub Header Link */
.github-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.github-icon-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

/* Primary Button */
.btn-primary-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--primary-blue);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  box-shadow: 0 0 24px rgba(0, 82, 255, 0.45);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary-blue:hover {
  background-color: var(--primary-blue-hover);
  box-shadow: 0 0 32px rgba(0, 82, 255, 0.65);
  transform: translateY(-1px);
}

.btn-hero-primary {
  padding: 0.95rem 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: #ffffff;
  background-color: var(--primary-blue);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 30px rgba(0, 82, 255, 0.45);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-hero-primary:hover {
  background-color: var(--primary-blue-hover);
  box-shadow: 0 0 40px rgba(0, 82, 255, 0.7);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  padding: 0.95rem 1.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Mobile Toggle Button */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  gap: 5px;
}

@media (min-width: 900px) {
  .burger-btn {
    display: none;
  }
}

.burger-line {
  width: 18px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* Mobile Nav Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: #090a0e;
  border-left: 1px solid var(--border-subtle);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 101;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}

.mobile-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-links a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-sky);
}

/* Section General Structure */
.section-wrapper {
  padding-top: 6.5rem;
  padding-bottom: 7.5rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

@media (max-width: 768px) {
  .section-wrapper {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-sky);
  background: rgba(0, 82, 255, 0.08);
  border: 1px solid rgba(0, 82, 255, 0.25);
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.section-header-centered {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.section-heading {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 3rem;
  }
}

.section-subheading {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 6rem;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 5.5rem;
    padding-bottom: 8rem;
  }
}

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

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.hero-announcement {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-sky);
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero-h1 {
  font-size: 2.5rem;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-h1 {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-h1 {
    font-size: 4.15rem;
  }
}

.hero-subhead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 38rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* Stats Counter Bar */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .hero-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

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

.stat-value {
  font-size: 1.75rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #ffffff;
  letter-spacing: -0.02em;
}

.stat-value.highlight {
  color: var(--accent-sky);
}

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

/* Hero Terminal Box */
.terminal-wrapper {
  position: relative;
}

.terminal-glow-bg {
  position: absolute;
  inset: -6px;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(0, 82, 255, 0.35), rgba(99, 102, 241, 0.15));
  filter: blur(20px);
  opacity: 0.65;
  pointer-events: none;
}

.terminal-card {
  position: relative;
  background: #0d0f17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.terminal-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}
.dot-red { background: rgba(244, 63, 94, 0.85); }
.dot-amber { background: rgba(251, 191, 36, 0.85); }
.dot-green { background: rgba(52, 211, 153, 0.85); }

.terminal-title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.terminal-badge-online {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 0.35rem;
}

.terminal-body {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.85rem;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.terminal-line-comment {
  color: #64748b;
}

.terminal-check {
  color: var(--accent-emerald);
  margin-right: 0.35rem;
}

.terminal-prompt {
  color: var(--accent-sky);
  margin-right: 0.35rem;
}

.terminal-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.terminal-metric {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.metric-val {
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #ffffff;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  background: #0c0e15;
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 82, 255, 0.4);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

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

.service-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: rgba(0, 82, 255, 0.1);
  border: 1px solid rgba(0, 82, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-sky);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
  background: var(--primary-blue);
  color: #ffffff;
  transform: scale(1.05);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.feature-check-icon {
  color: var(--accent-sky);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-sky);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.service-action-btn:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* ==========================================================================
   Featured Case Study & Portfolios
   ========================================================================== */
.featured-study-card {
  position: relative;
  background: linear-gradient(135deg, rgba(13, 15, 23, 0.95), rgba(7, 8, 11, 0.98));
  border: 1px solid rgba(0, 82, 255, 0.3);
  border-radius: 1.5rem;
  padding: 2.25rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .featured-study-card {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 3rem;
  }
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: var(--primary-blue);
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
}

.featured-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .featured-title {
    font-size: 2.25rem;
  }
}

.featured-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.tech-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tech-pill {
  padding: 0.3rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--accent-sky);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.5rem;
}

.featured-visual-box {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.visual-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.v-metric-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.v-metric-num {
  font-size: 1.35rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
}

.v-metric-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Portfolio Filters */
.portfolio-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-tab-btn {
  padding: 0.5rem 1.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.filter-tab-btn.active {
  color: #ffffff;
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  box-shadow: 0 0 16px rgba(0, 82, 255, 0.4);
}

/* Portfolio Cards Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-card {
  background: #0c0e15;
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 82, 255, 0.4);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

.card-top-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.category-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-sky);
  background: rgba(96, 165, 250, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 0.4rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.view-detail-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-sky);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.portfolio-card:hover .view-detail-link {
  color: #ffffff;
}

/* ==========================================================================
   Tech Stack Section
   ========================================================================== */
.tech-stack-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .tech-stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tech-stack-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tech-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 1.15rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.25s ease;
}

.tech-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(96, 165, 250, 0.35);
  transform: translateY(-3px);
}

.tech-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tech-cat-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent-sky);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.tech-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Workflow Section
   ========================================================================== */
.workflow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  position: relative;
}

@media (min-width: 640px) {
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .workflow-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.workflow-card {
  background: #0c0e15;
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.workflow-card:hover {
  border-color: rgba(0, 82, 255, 0.35);
  transform: translateY(-3px);
}

.workflow-step-num {
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
}

.workflow-card:hover .workflow-step-num {
  color: var(--accent-sky);
}

.workflow-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.workflow-card-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Technical Insights Section
   ========================================================================== */
.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .insights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.insight-card {
  background: #0c0e15;
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.insight-card:hover {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-3px);
}

.insight-cat-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent-sky);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(96, 165, 250, 0.1);
  padding: 0.3rem 0.65rem;
  border-radius: 0.4rem;
  display: inline-block;
}

.insight-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
}

.insight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   Testimonials & Brands Section
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: #0c0e15;
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.quote-stars {
  display: flex;
  gap: 0.25rem;
  color: #fbbf24;
}

.testimonial-quote {
  font-size: 0.875rem;
  color: #e2e8f0;
  line-height: 1.65;
  font-style: normal;
}

.client-author-info {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.client-avatar-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: #ffffff;
  flex-shrink: 0;
}

.client-details {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

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

/* Brands Marquee / Grid */
.brands-section-title {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.brands-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.brand-badge-pill {
  padding: 0.6rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.brand-badge-pill:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   Call To Action (CTA) Section
   ========================================================================== */
.cta-banner-box {
  position: relative;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(0, 82, 255, 0.15), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(0, 82, 255, 0.35);
  padding: 3.5rem 2rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 82, 255, 0.25);
}

@media (min-width: 768px) {
  .cta-banner-box {
    padding: 5rem 3rem;
  }
}

.cta-banner-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 82, 255, 0.3) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 44rem;
  margin: 0 auto;
}

.cta-headline {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .cta-headline {
    font-size: 3rem;
  }
}

.cta-subtext {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.cta-buttons-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* ==========================================================================
   Consultation Modal & Portfolio Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #090a0e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  width: 100%;
  max-width: 42rem;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-header {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.modal-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.modal-body-scroll {
  padding: 1.75rem 2rem 2.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.7rem 0.95rem;
  font-size: 0.8125rem;
  color: #ffffff;
  font-family: inherit;
  transition: all 0.2s ease;
}

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

.form-select option {
  background-color: #0d0f17;
  color: #ffffff;
}

.form-submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.modal-feedback-alert {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  display: none;
  align-items: center;
  gap: 0.6rem;
}

.modal-feedback-alert.success {
  display: flex;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--accent-emerald);
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-wa-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.15rem;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.wa-pulse-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid #090a0e;
}

.wa-pulse-ping {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #25d366;
  animation: pingRing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingRing {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .floating-wa-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.75rem;
  }
  .floating-wa-btn span {
    display: none;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding-top: 5rem;
  padding-bottom: 4rem;
  background-color: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8125rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-brand-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo-img {
  height: 2.25rem;
  width: auto;
  max-width: 180px;
  object-contain: fit;
}

.footer-brand-bio {
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 22rem;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

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

.footer-links-list a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-contact-item a {
  color: var(--accent-sky);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 640px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.social-circle-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-circle-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}