/* ==========================================================================
   ISRO NUR SALAAM - PORTFOLIO STYLESHEET
   Inspired by Ethan Cole Modern Futuristic UI Reference
   Tech: Vanilla CSS with Custom Properties, Light/Dark Modes & Responsive Grid
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Light Theme (Default - Ethan Cole Aesthetic) */
  --bg-primary: #f6f7f9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f1f3f7;
  --bg-accent: #e8ecf4;

  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #2563eb;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --brand-blue-light: #eff6ff;
  --brand-cyan: #0284c7;

  --olive-card-bg: #879988;
  --olive-card-text: #ffffff;
  --olive-card-sub: #e2ebe3;

  --hud-ring: rgba(15, 23, 42, 0.08);
  --hud-ring-active: rgba(37, 99, 235, 0.4);
  --hud-dot: #2563eb;
  --hud-radar: rgba(37, 99, 235, 0.05);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 36px -4px rgba(15, 23, 42, 0.1);
  --shadow-blue: 0 8px 24px -4px rgba(37, 99, 235, 0.28);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

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

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-primary: #090d16;
  --bg-surface: #111726;
  --bg-surface-elevated: #161e31;
  --bg-subtle: #172138;
  --bg-accent: #1e293b;

  --border-subtle: #1e293b;
  --border-strong: #334155;
  --border-focus: #3b82f6;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #090d16;

  --brand-blue: #3b82f6;
  --brand-blue-hover: #2563eb;
  --brand-blue-light: rgba(59, 130, 246, 0.15);
  --brand-cyan: #38bdf8;

  --olive-card-bg: #1f3327;
  --olive-card-text: #e2f0e6;
  --olive-card-sub: #9fc1aa;

  --hud-ring: rgba(255, 255, 255, 0.08);
  --hud-ring-active: rgba(56, 189, 248, 0.5);
  --hud-dot: #38bdf8;
  --hud-radar: rgba(56, 189, 248, 0.08);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 36px -4px rgba(0, 0, 0, 0.6);
  --shadow-blue: 0 8px 28px -4px rgba(59, 130, 246, 0.35);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   HUD TOP ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.hud-top-bar {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 8px 0;
  color: var(--text-secondary);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.hud-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.hud-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hud-github-link {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hud-github-link:hover {
  color: var(--brand-blue-hover);
}

.pulse-indicator {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* --------------------------------------------------------------------------
   NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(246, 247, 249, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

[data-theme="dark"] .navbar {
  background-color: rgba(9, 13, 22, 0.88);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-mark {
  transform: rotate(5deg) scale(1.05);
}

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

.brand-name {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--brand-blue);
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Desktop Links */
.nav-menu {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--brand-blue);
  transition: width var(--transition-fast);
}

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

/* Right Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--brand-blue);
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
}

.sun-icon {
  width: 18px;
  height: 18px;
  display: none;
}

.moon-icon {
  width: 18px;
  height: 18px;
  display: block;
}

[data-theme="dark"] .sun-icon {
  display: block;
}

[data-theme="dark"] .moon-icon {
  display: none;
}

.btn-nav-talk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.btn-nav-talk:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background-color: var(--brand-blue-light);
  transform: translateY(-1px);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.hamburger-bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.mobile-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  display: block;
  padding: 6px 0;
}

.mobile-nav-link:hover {
  color: var(--brand-blue);
}

/* --------------------------------------------------------------------------
   HERO SECTION (Matching Image 1 Ethan Cole)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 50px 0 70px;
  overflow: hidden;
  background: radial-gradient(circle at 75% 30%, rgba(37, 99, 235, 0.03) 0%, transparent 60%);
}

/* Left Vertical Label (Matching Image 1: "DESIGNING TOMORROW, TODAY.") */
.hero-vertical-tag {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

/* Hero Content (Left) */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
}

.hero-greeting {
  display: flex;
  align-items: center;
}

.greeting-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.hero-name {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.highlight-blue {
  color: var(--brand-blue);
  position: relative;
}

.hero-role-title {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 540px;
}

.hero-description strong {
  color: var(--text-primary);
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--brand-blue);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-blue);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background-color: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -4px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background-color: var(--brand-blue-light);
  transform: translateY(-2px);
}

.badge-repo-count {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Hero Social Proof */
.hero-social-proof {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 500px;
}

.proof-avatars {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.proof-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  display: inline-block;
}

.proof-text-small {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
}

.proof-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   HERO VISUAL (Portrait with Circular Cybernetic HUD & AI Motif)
   -------------------------------------------------------------------------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* AI Silhouette Background */
.ai-silhouette-bg {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 82%;
  height: 82%;
  opacity: 0.22;
  filter: grayscale(1);
  pointer-events: none;
  z-index: 1;
  transition: opacity var(--transition-normal);
}

[data-theme="dark"] .ai-silhouette-bg {
  opacity: 0.15;
  filter: invert(1) brightness(1.2);
}

/* Circular HUD Frame */
.hud-circle-frame {
  position: relative;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ring-outer {
  width: 116%;
  height: 116%;
  border: 1px dashed var(--hud-ring-active);
  animation: rotate-orbit 60s linear infinite;
}

.ring-middle {
  width: 108%;
  height: 108%;
  border: 1px solid var(--hud-ring);
}

.ring-reticle {
  width: 100%;
  height: 100%;
  border: 2px solid var(--hud-ring-active);
  position: absolute;
}

.reticle-mark {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.05em;
  background-color: var(--bg-surface);
  padding: 1px 4px;
  border-radius: 3px;
}

.mark-top { top: -8px; left: 50%; transform: translateX(-50%); }
.mark-right { right: -12px; top: 50%; transform: translateY(-50%); }
.mark-bottom { bottom: -8px; left: 50%; transform: translateX(-50%); }
.mark-left { left: -12px; top: 50%; transform: translateY(-50%); }

.hud-radar-sweep {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 300deg, var(--hud-radar) 360deg);
  animation: rotate-orbit 8s linear infinite;
  pointer-events: none;
}

@keyframes rotate-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Portrait Circle Container */
.portrait-circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at center, var(--bg-surface) 30%, var(--bg-subtle) 100%);
  border: 3px solid var(--bg-surface);
  box-shadow: var(--shadow-lg);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  transform: scale(1.08) translateY(12px);
  transition: transform var(--transition-normal);
}

.portrait-circle:hover .portrait-photo {
  transform: scale(1.14) translateY(8px);
}

/* Floating HUD Badges */
.floating-hud-badge {
  position: absolute;
  z-index: 10;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  animation: float-badge 6s ease-in-out infinite alternate;
}

.badge-location {
  top: 14%;
  right: -24px;
  animation-delay: 0s;
}

.badge-worldwide {
  bottom: 8%;
  right: 0px;
  animation-delay: 2s;
}

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

.badge-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon-wrap.icon-green {
  background-color: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

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

.badge-caption {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.badge-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.badge-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* Social Strip (Far Right) */
.hero-social-strip {
  position: absolute;
  right: -45px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 5;
}

.hero-social-strip a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.hero-social-strip a:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: scale(1.1);
  box-shadow: var(--shadow-blue);
}

/* --------------------------------------------------------------------------
   FEATURED WORK SECTION
   -------------------------------------------------------------------------- */
.section-work {
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 20px;
}

.sub-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.15;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

.link-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background-color: var(--brand-blue-light);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.link-view-all:hover {
  background-color: var(--brand-blue);
  color: #ffffff;
  transform: translateX(3px);
}

/* Project Filters */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

/* Simple Repo Card (Minimalist & Clean) */
.simple-repo-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.card-header-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-subtle);
}

.repo-icon-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue);
}

.repo-type-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.card-badges-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-badges-wrap .card-badge {
  position: static;
  padding: 3px 8px;
  font-size: 0.65rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand-blue);
  background-color: var(--brand-blue-light);
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

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

.project-card:hover .card-media img {
  transform: scale(1.06);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.project-card:hover .media-overlay {
  opacity: 1;
  pointer-events: auto;
}

.btn-overlay-demo {
  background-color: #ffffff;
  color: #0f172a;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast);
}

.btn-overlay-demo:hover {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.live-badge {
  background-color: rgba(16, 185, 129, 0.9);
  color: #ffffff;
}

.ai-badge {
  background-color: rgba(59, 130, 246, 0.9);
  color: #ffffff;
}

.repo-badge {
  background-color: rgba(100, 116, 139, 0.85);
  color: #ffffff;
}

.php-badge {
  background-color: rgba(139, 92, 246, 0.85);
  color: #ffffff;
}

/* Code Preview Frame (for repos without full visual screenshots) */
.card-media-code-preview {
  width: 100%;
  height: 100%;
  background: #111827;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--font-mono);
}

.card-media-code-preview.lks-theme {
  background: #1e1b4b;
}

.code-preview-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

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

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

.preview-title {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-left: 8px;
}

.code-preview-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.code-preview-body code {
  font-size: 0.74rem;
  color: #38bdf8;
}

/* Card Content */
.card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.meta-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.05em;
}

.meta-lang {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background-color: var(--bg-subtle);
  padding: 2px 8px;
  border-radius: 4px;
}

.card-title {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.btn-card-primary {
  flex-grow: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--bg-subtle);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.btn-card-primary:hover {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

.btn-card-primary.full-btn {
  width: 100%;
}

.btn-card-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-card-code:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  background-color: var(--brand-blue-light);
}

/* --------------------------------------------------------------------------
   SERVICES SECTION (What I Do - 4 Pillars matching Image 1)
   -------------------------------------------------------------------------- */
.section-services {
  padding: 80px 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-normal);
}

.services-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: flex-start;
}

.services-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.services-headline {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.15;
}

.services-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.services-quote-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.badge-dot-blue {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-blue);
  flex-shrink: 0;
}

/* 4-Box Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-normal);
}

.service-box:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.service-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.service-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-name {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.service-description {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   PROOF, TECH STACK & METRICS SECTION (matching Image 1)
   -------------------------------------------------------------------------- */
.section-proof {
  padding: 80px 0;
}

.proof-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

/* Left: Brands / Technologies */
.proof-brands {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.brand-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.brand-item:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.brand-icon {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brand-blue);
}

.brand-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

/* Center: Olive Quote Card (Signature Ethan Cole element) */
.quote-card {
  background-color: var(--olive-card-bg);
  color: var(--olive-card-text);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.quote-mark {
  font-family: var(--font-main);
  font-size: 3.5rem;
  line-height: 1;
  opacity: 0.45;
  margin-bottom: -10px;
}

.quote-text {
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 24px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-meta {
  display: flex;
  flex-direction: column;
}

.quote-meta strong {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.quote-meta span {
  font-size: 0.75rem;
  color: var(--olive-card-sub);
}

.quote-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.quote-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
}

.quote-dots .dot.active {
  width: 18px;
  border-radius: 4px;
  background-color: #ffffff;
}

/* Right: Satisfaction Radial Gauge */
.satisfaction-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
}

.radial-gauge-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radial-gauge {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: var(--bg-subtle);
  stroke-width: 8;
}

.gauge-progress {
  fill: none;
  stroke: var(--brand-blue);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 301.6;
  stroke-dashoffset: 15; /* ~95% progress */
  transition: stroke-dashoffset 1.5s ease-out;
}

.gauge-value {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-number {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}

.value-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 4px;
}

.gauge-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   MY PROCESS SECTION (with connected pipeline & robotic hand)
   -------------------------------------------------------------------------- */
.section-process {
  padding: 80px 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header-left {
  margin-bottom: 40px;
}

.process-interactive-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.process-pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 85%;
  position: relative;
  z-index: 2;
}

.process-pipeline::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--brand-blue) 0, var(--brand-blue) 8px, transparent 8px, transparent 16px);
  z-index: 1;
}

.process-step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.step-node {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.step-node-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 3px solid var(--brand-blue);
  box-shadow: 0 0 0 4px var(--brand-blue-light);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.step-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  height: 100%;
  transition: all var(--transition-fast);
}

.step-box:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}

.step-box-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.step-name {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Robotic Hand Visual pointing to process (Matching Image 1) */
.process-cyber-art {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  pointer-events: none;
  z-index: 3;
}

.robot-hand-img {
  width: 100%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
  animation: hover-hand 5s ease-in-out infinite alternate;
}

[data-theme="dark"] .robot-hand-img {
  filter: drop-shadow(0 10px 24px rgba(56, 189, 248, 0.2)) brightness(1.1);
}

@keyframes hover-hand {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(-2deg); }
}

/* --------------------------------------------------------------------------
   LIVE STATS COUNTER STRIP
   -------------------------------------------------------------------------- */
.section-stats {
  padding: 50px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.stats-counter-strip {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: var(--shadow-sm);
}

.stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  color: var(--text-primary);
}

.stat-count {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.stat-plus {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-left: 2px;
}

.stat-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 50px;
  background-color: var(--border-subtle);
}

/* --------------------------------------------------------------------------
   CONTACT SECTION (Matching Image 1)
   -------------------------------------------------------------------------- */
.section-contact {
  padding: 90px 0;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-title {
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.contact-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.item-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.item-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.item-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.github-featured-link {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.github-featured-link:hover {
  color: var(--brand-blue-hover);
}

/* Contact Form Column */
.contact-form-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.92rem;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-light);
  background-color: var(--bg-surface);
}

.btn-submit-message {
  align-self: flex-start;
  margin-top: 6px;
}

.form-feedback {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-feedback.error {
  display: block;
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Decorative 3D Cube Card (matching Image 1) */
.decor-3d-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.cube-img-wrap {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

.cube-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cube-text-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cube-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  flex-shrink: 0;
}

.cube-text-wrap strong {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   FOOTER (Dark bottom bar matching Image 1)
   -------------------------------------------------------------------------- */
.footer-section {
  background-color: #0b0f19;
  color: #94a3b8;
  padding: 60px 0 40px;
  border-top: 1px solid #1e293b;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.font-white {
  color: #ffffff;
}

.footer-motto {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.75rem;
  color: #475569;
  margin-top: auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

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

.footer-ping-text {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

.footer-ping-form {
  display: flex;
  margin-top: 8px;
}

.footer-ping-form input {
  flex-grow: 1;
  background-color: #161e2e;
  border: 1px solid #1e293b;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  padding: 10px 14px;
  color: #ffffff;
  font-size: 0.85rem;
  outline: none;
}

.footer-ping-form input:focus {
  border-color: var(--brand-blue);
}

.footer-ping-form button {
  background-color: var(--brand-blue);
  color: #ffffff;
  padding: 0 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-weight: 700;
  transition: background-color var(--transition-fast);
}

.footer-ping-form button:hover {
  background-color: var(--brand-blue-hover);
}

/* --------------------------------------------------------------------------
   TOAST NOTIFICATION COMPONENT
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slide-in 0.3s ease-out;
  max-width: 380px;
}

@keyframes slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES (Handphone & Desktop Optimizations)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-vertical-tag {
    display: none;
  }

  .hero-content {
    align-items: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-social-proof {
    align-items: center;
  }

  .hero-social-strip {
    right: 0;
    top: auto;
    bottom: -40px;
    transform: none;
    flex-direction: row;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-wrapper {
    grid-template-columns: 1fr;
  }

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

  .process-pipeline {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .process-pipeline::before {
    display: none;
  }

  .process-cyber-art {
    display: none;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hud-hide-mobile {
    display: none;
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-counter-strip {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .hud-circle-frame {
    width: 280px;
    height: 280px;
  }

  .portrait-circle {
    width: 240px;
    height: 240px;
  }

  .badge-location {
    top: 5%;
    right: -10px;
  }

  .badge-worldwide {
    bottom: 0;
    right: -10px;
  }
}
