/* ==========================================================================
   PREMIUM PERSONAL PORTFOLIO DESIGN SYSTEM
   Modern Dark Luxury Aesthetic | Glassmorphism | 3D Interactive UI
   ========================================================================== */

/* Local font fallback for Brutalist Chamfered Display Font (Oxanium) */
@font-face {
  font-family: 'Oxanium';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/oxanium-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg-primary: #06080d;
  --bg-secondary: #0b0f19;
  --bg-surface: rgba(15, 22, 36, 0.72);
  --bg-surface-elevated: rgba(22, 32, 54, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --accent-primary: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --color-volt: #d4ff00; /* Signature Fluorescent Volt Lime */

  --gradient-brand: linear-gradient(135deg, #6366f1 0%, #06b6d4 50%, #a855f7 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 15%, #cbd5e1 60%, #818cf8 100%);
  --gradient-glow: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 80%);

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.5);
  --border-glow: rgba(56, 189, 248, 0.4);

  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.28);
  --shadow-button: 0 4px 20px rgba(99, 102, 241, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-display: 'Oxanium', 'Chakra Petch', system-ui, -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

body.modal-open {
  overflow: hidden;
}

/* AMBIENT BACKGROUND GLOWS */
.ambient-bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob-1 {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 65%);
  filter: blur(80px);
  border-radius: 50%;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.ambient-blob-2 {
  position: absolute;
  top: 40%;
  left: -15%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 65%);
  filter: blur(90px);
  border-radius: 50%;
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

.ambient-blob-3 {
  position: absolute;
  bottom: -10%;
  right: 15%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.09) 0%, transparent 65%);
  filter: blur(85px);
  border-radius: 50%;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 40px) scale(1.08); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

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

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

p {
  color: var(--text-muted);
}

/* CONTAINER */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* HEADER & NAVBAR */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  padding: 0.85rem 0;
  background: rgba(6, 8, 13, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.brand-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(6, 182, 212, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  background: rgba(15, 22, 36, 0.65);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(14px);
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.35rem 0.4rem;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

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

.audio-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.audio-toggle-btn:hover, .audio-toggle-btn.active {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.1);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

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

/* BUTTONS & CTA STYLES */
.btn-primary-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-button);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.btn-primary-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  transition: 0.6s;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.55);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-primary-glow:hover::before {
  left: 140%;
}

.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: #fff;
}

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

/* HERO SECTION */
.hero-section {
  min-height: 100vh;
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  position: relative;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.status-beacon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  width: fit-content;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6ee7b7;
}

.beacon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #10b981; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 4.1vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--color-volt);
  -webkit-text-stroke: 1.8px #000000;
  text-stroke: 1.8px #000000;
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
     0 3px 0 #000,
     0 6px 0 #000,
     0 8px 0 #000,
     0 10px 0 #000,
     0 14px 22px rgba(0, 0, 0, 0.9);
  filter: drop-shadow(0 0 24px rgba(212, 255, 0, 0.35));
}

.hero-title .title-highlight {
  display: inline-block;
  color: var(--color-volt);
  -webkit-text-stroke: 2px #000000;
  text-stroke: 2px #000000;
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
     0 3px 0 #000,
     0 6px 0 #000,
     0 8px 0 #000,
     0 11px 0 #000,
     0 15px 24px rgba(0, 0, 0, 0.95);
  filter: drop-shadow(0 0 28px rgba(212, 255, 0, 0.65));
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}

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

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

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

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* 3D VISUAL SHOWCASE CONTAINER */
.hero-3d-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-canvas-container {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(6, 8, 13, 0.8) 100%);
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

#hero-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

#hero-3d-canvas:active {
  cursor: grabbing;
}

/* 3D Shape Switcher Controls */
.shape-switcher-bar {
  position: absolute;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(10, 14, 24, 0.8);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(14px);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-full);
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.shape-pill-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.shape-pill-btn:hover {
  color: #fff;
}

.shape-pill-btn.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(6, 182, 212, 0.35));
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.canvas-hint-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.75rem;
  color: var(--text-subtle);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* SECTION HEADERS */
.section-wrapper {
  padding: 6.5rem 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #a5b4fc;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* EXPERTISE / PILLARS GRID */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.expertise-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.expertise-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.15);
}

.card-glow-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.expertise-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  margin-bottom: 1.25rem;
}

.expertise-title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.expertise-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.project-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.project-visual-mock {
  width: 100%;
  height: 210px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-glass);
}

.project-visual-mock::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.25), transparent 70%);
}

.project-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  color: #38bdf8;
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

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

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

.project-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
}

.project-metric {
  font-size: 0.82rem;
  color: #38bdf8;
  font-weight: 600;
}

.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.project-link-btn:hover {
  color: #38bdf8;
  gap: 0.6rem;
}

/* ==========================================
   BAGIAN ARTIKEL (ARTICLES SECTION)
   ========================================== */
.articles-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.category-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-pill:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-pill.active {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.article-search-box {
  position: relative;
  min-width: 260px;
}

.article-search-box input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.4rem;
  background: rgba(15, 22, 36, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-smooth);
}

.article-search-box input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
}

.search-icon-inside {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  pointer-events: none;
}

/* Article Cards Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.article-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.article-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.article-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.article-category-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cat-eng {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.cat-ai {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.cat-3d {
  background: rgba(236, 72, 153, 0.12);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.25);
}

.cat-lead {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.article-read-time {
  font-size: 0.78rem;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

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

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.article-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.article-tag {
  font-size: 0.72rem;
  color: var(--text-subtle);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
}

.article-stats {
  font-size: 0.78rem;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.article-stats .dot {
  font-size: 0.6rem;
}

.btn-read-article {
  background: none;
  border: none;
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-read-article:hover {
  gap: 0.65rem;
  color: #fff;
}

.articles-empty-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
}

/* ==========================================
   ARTICLE READER MODAL (<dialog>)
   ========================================== */
.article-dialog {
  margin: auto;
  padding: 0;
  max-width: 780px;
  width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0b0f19;
  color: var(--text-main);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.2);
  overflow: hidden;
}

.article-dialog::backdrop {
  background: rgba(3, 5, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dialog-inner-wrap {
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.dialog-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(15, 22, 36, 0.9);
  position: sticky;
  top: 0;
  z-index: 5;
}

.dialog-title-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dialog-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.dialog-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.dialog-scroll-body {
  padding: 2.5rem 2rem;
  overflow-y: auto;
}

.modal-meta-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-date-text {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.modal-article-title {
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.modal-author-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 2rem;
}

.author-avatar-chip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-circle-glow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.author-text-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.btn-pill-icon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.btn-pill-icon:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
}

.modal-article-body-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.modal-article-body-content h3 {
  font-size: 1.4rem;
  margin: 2rem 0 0.85rem 0;
  color: #fff;
}

.modal-article-body-content p {
  margin-bottom: 1.25rem;
  color: #cbd5e1;
}

.modal-article-body-content blockquote {
  border-left: 3px solid #6366f1;
  padding: 1rem 1.5rem;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: #e2e8f0;
}

.modal-article-body-content ul, .modal-article-body-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #cbd5e1;
}

.modal-article-body-content li {
  margin-bottom: 0.5rem;
}

.code-preview {
  background: #07090e;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #38bdf8;
}

.modal-article-cta-box {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-box-text h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.cta-box-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================
   INTERACTIVE CTA & INQUIRY SECTION
   ========================================== */
.cta-section {
  padding: 7rem 0 6rem 0;
  position: relative;
}

.cta-card-wrapper {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(30, 41, 59, 0.85) 0%, rgba(10, 14, 24, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 4rem 3.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(99, 102, 241, 0.18);
  overflow: hidden;
}

.cta-card-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--gradient-brand);
  filter: blur(1px);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: flex-start;
}

.cta-info-col h2 {
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.cta-info-col p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.channel-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateX(4px);
}

.channel-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
}

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

.channel-label {
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  font-weight: 600;
}

.channel-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}

/* INQUIRY FORM */
.inquiry-form-card {
  background: rgba(15, 22, 36, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(14px);
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-selector {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.chip-selector.selected {
  background: rgba(99, 102, 241, 0.2);
  border-color: #6366f1;
  color: #fff;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.3);
}

.budget-pills-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.budget-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.budget-pill.selected {
  background: rgba(6, 182, 212, 0.18);
  border-color: #06b6d4;
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(6, 8, 13, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

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

.btn-submit-full {
  width: 100%;
  padding: 1rem;
  margin-top: 0.5rem;
}

/* ==========================================
   FLOATING ACTION BUTTON (FAB) CTA
   ========================================== */
.floating-cta-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
}

.floating-cta-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gradient-brand);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
  transition: var(--transition-smooth);
}

.floating-cta-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.7);
}

.floating-cta-btn.open {
  transform: rotate(45deg);
}

.floating-cta-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.floating-cta-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.fab-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 22, 36, 0.95);
  border: 1px solid var(--border-glass);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-full);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.fab-item:hover {
  background: rgba(30, 41, 59, 1);
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateX(-4px);
}

/* ==========================================
   TOAST NOTIFICATIONS
   ========================================== */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  background: rgba(15, 22, 36, 0.96);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
  font-size: 0.88rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  animation: slideInToast 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
}

.toast-item.toast-success {
  border-color: rgba(16, 185, 129, 0.4);
}

.toast-item.toast-warning {
  border-color: rgba(245, 158, 11, 0.4);
}

.toast-item.fade-out {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.35s ease;
}

.toast-close-btn {
  background: none;
  border: none;
  color: var(--text-subtle);
  cursor: pointer;
  font-size: 0.9rem;
  margin-left: auto;
}

@keyframes slideInToast {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: #040508;
  border-top: 1px solid var(--border-glass);
  padding: 4.5rem 0 2.5rem 0;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-info {
  max-width: 380px;
}

.footer-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.footer-links-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: #38bdf8;
}

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

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

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #fff;
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-3d-wrapper {
    height: 400px;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cta-card-wrapper {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links-desktop {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .nav-links-desktop.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(11, 15, 25, 0.98);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  }

  .hero-section {
    padding-top: 7rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.2vw, 2.5rem);
    -webkit-text-stroke: 1.2px #000000;
    text-stroke: 1.2px #000000;
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 0 #000,
       0 4px 0 #000,
       0 6px 0 #000,
       0 8px 14px rgba(0, 0, 0, 0.85);
  }

  .hero-title .title-highlight {
    -webkit-text-stroke: 1.4px #000000;
    text-stroke: 1.4px #000000;
  }

  .hero-3d-wrapper {
    height: 340px;
  }

  .articles-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .article-search-box {
    width: 100%;
  }

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

  .floating-cta-container {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

/* Spinner Icon */
.spinner-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}
