/* ==========================================================================
   Pintoo Prajapati — Premium Portfolio Design System
   Monochrome · Black & White · Glassmorphism
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens — Black & White System
   -------------------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg-primary:   #000000;
  --bg-secondary: #080808;
  --bg-tertiary:  #0f0f0f;
  --surface-glass: rgba(255, 255, 255, 0.03);
  --card-bg:      rgba(255, 255, 255, 0.035);
  --card-border:  rgba(255, 255, 255, 0.09);
  --card-border-hover: rgba(255, 255, 255, 0.35);

  /* Brand Colors — Loki Green */
  --green-primary:     #4ADE80;
  --green-secondary:   #22c55e;
  --green-dim:         rgba(74, 222, 128, 0.75);
  --green-glow:        rgba(74, 222, 128, 0.18);
  --green-glow-strong: rgba(74, 222, 128, 0.38);
  --green-ultra:       rgba(74, 222, 128, 0.06);

  /* Brand Colors — Monochrome */
  --white:        #FFFFFF;
  --white-dim:    rgba(255, 255, 255, 0.7);
  --white-glow:   rgba(255, 255, 255, 0.12);
  --white-glow-strong: rgba(255, 255, 255, 0.25);
  --gray-light:   #E0E0E0;
  --gray-mid:     #888888;
  --gray-dark:    #333333;
  --gray-darker:  #1A1A1A;

  /* Aliases kept for compatibility */
  --saffron:      #FFFFFF;
  --saffron-dim:  rgba(255, 255, 255, 0.5);
  --saffron-glow: rgba(255, 255, 255, 0.1);
  --saffron-glow-strong: rgba(255, 255, 255, 0.2);
  --teal:         #FFFFFF;
  --teal-dim:     rgba(255, 255, 255, 0.5);
  --teal-glow:    rgba(255, 255, 255, 0.08);
  --emerald:      #E0E0E0;

  /* Text */
  --text-primary:   #FFFFFF;
  --text-secondary: #C0C0C0;
  --text-muted:     #777777;
  --text-inverted:  #000000;

  /* Effects */
  --blur-glass: blur(20px);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.6);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.75);
  --shadow-lg:   0 24px 56px rgba(0,0,0,0.85);
  --shadow-glow: 0 0 40px rgba(255,255,255,0.08);
  --shadow-green-sm: 0 0 20px rgba(74, 222, 128, 0.12);
  --shadow-green-md: 0 0 40px rgba(74, 222, 128, 0.18);
  --shadow-teal-glow: 0 0 40px rgba(255,255,255,0.06);

  /* Borders */
  --border-subtle: 1px solid rgba(255,255,255,0.06);
  --border-card:   1px solid var(--card-border);
  --border-green:  1px solid rgba(74, 222, 128, 0.2);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;

  /* Typography */
  --font-sans:    'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono:    'Fira Code', monospace;

  /* Spacing */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}



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

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

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.4); }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.4rem; }

p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

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

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0;
}

/* Gradient Text — white-to-green */
.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 10%, #a8f5c0 55%, var(--green-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(74, 222, 128, 0.25));
}

/* Emerald gradient text variant */
.text-gradient-emerald {
  background: linear-gradient(135deg, var(--green-primary) 0%, #86efac 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-saffron { color: var(--white); }
.text-teal    { color: var(--gray-light); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 1024px) {
  .container { padding: 0 32px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 1024px) {
  .section-padding { padding: 72px 0; }
}

@media (max-width: 768px) {
  .section-padding { padding: 56px 0; }
}

@media (max-width: 480px) {
  .section-padding { padding: 48px 0; }
}

.grid   { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}

/* --------------------------------------------------------------------------
   Glass Card Component
   -------------------------------------------------------------------------- */
.card {
  background: var(--card-bg);
  border: var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-md);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.2);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(255,255,255,0.08);
  transition: opacity var(--transition-fast);
}
.btn:hover::after { opacity: 1; }

/* Primary = green filled */
.btn-primary {
  background: var(--green-primary);
  color: #000000;
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74, 222, 128, 0.4);
  background: #3ac76f;
}

/* Secondary = ghost green outline */
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(74, 222, 128, 0.25);
  backdrop-filter: var(--blur-glass);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--green-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.15);
}

/* Ghost = subtle outline */
.btn-ghost {
  background: none;
  color: var(--gray-light);
  border: 1.5px solid rgba(255,255,255,0.2);
  font-size: 0.85rem;
  padding: 8px 20px;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-1px);
  color: #fff;
}

.btn-icon {
  background: transparent;
  border: var(--border-subtle);
  color: var(--text-secondary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-icon:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   Chips / Filters
   -------------------------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  letter-spacing: 0.2px;
}
.chip.active, .chip:hover {
  background: var(--green-glow);
  color: var(--green-primary);
  border-color: var(--green-primary);
}

/* --------------------------------------------------------------------------
   Form Controls
   -------------------------------------------------------------------------- */
.form-group { margin-bottom: var(--sp-5); }

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes rotateMandala {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.rotating-mandala {
  animation: rotateMandala 180s linear infinite;
  transform-origin: center;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.blink-cursor {
  display: inline-block;
  width: 2.5px;
  height: 1em;
  background: #FFFFFF;
  margin-left: 3px;
  animation: cursorBlink 1s step-end infinite;
  vertical-align: middle;
  border-radius: 1px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.4; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0) translateX(-50%); opacity: 0.6; }
  50%       { transform: translateY(8px) translateX(-50%); opacity: 1; }
}

.animate-fade-up  { animation: fadeUp 0.7s ease both; }
.animate-fade-in  { animation: fadeIn 0.5s ease both; }

/* Logo shine sweep animation */
@keyframes logo-shine {
  0%   { left: -60%; opacity: 0; }
  20%  { opacity: 1; }
  50%  { left: 120%; opacity: 1; }
  51%  { opacity: 0; }
  100% { left: 120%; opacity: 0; }
}

/* Staggered scroll-reveal delay utilities */
.scroll-reveal.delay-1 { transition-delay: 0.08s; }
.scroll-reveal.delay-2 { transition-delay: 0.16s; }
.scroll-reveal.delay-3 { transition-delay: 0.24s; }
.scroll-reveal.delay-4 { transition-delay: 0.32s; }

/* Section separator */
.section-sep {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(74,222,128,0.12) 30%, rgba(255,255,255,0.06) 50%, rgba(74,222,128,0.12) 70%, transparent 100%);
  margin: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   NavBar
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 1000;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 4px 30px rgba(0,0,0,0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 48px;
}

@media (max-width: 1024px) {
  .nav-container { padding: 0 32px; }
}

@media (max-width: 768px) {
  .nav-container { padding: 0 20px; }
}



.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  width: fit-content;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo:hover .logo-mark {
  border-color: rgba(74, 222, 128, 0.55);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.18), 0 0 6px rgba(74, 222, 128, 0.12), inset 0 1px 0 rgba(74, 222, 128, 0.25);
  background: rgba(74, 222, 128, 0.13);
}

.logo:hover .logo-name {
  transform: scaleX(1.02);
  transform-origin: left;
}

.logo-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(145deg, rgba(74, 222, 128, 0.12) 0%, rgba(74, 222, 128, 0.06) 100%);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 7px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    0 0 15px rgba(74, 222, 128, 0.1),
    0 3px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(74, 222, 128, 0.15);
  overflow: hidden;
  transition: all 0.25s ease;
}

/* Shine Sweep on Header Logo Mark */
.logo-mark::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-15deg);
  animation: logo-shine 5s ease-in-out infinite;
}

.logo-mark .text-gradient {
  background: linear-gradient(120deg, #ffffff 0%, var(--green-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  transform: translate(0.5px, -0.8px);
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 36px;
  box-sizing: border-box;
  padding: 1px 0;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  background: linear-gradient(120deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 60%, var(--green-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3.5px;
  line-height: 1;
  color: var(--text-primary);
  transition: transform 0.25s ease;
}

.logo-tag {
  font-size: 0.52rem;
  color: var(--green-primary);
  letter-spacing: 3px;
  opacity: 0.8;
  line-height: 1;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.nav-links {
  display: none;
  list-style: none;
  gap: var(--sp-6);
}
@media (min-width: 800px) {
  .nav-links { display: flex; align-items: center; }
}

/* Mobile drawer — full-screen fixed overlay */
.mobile-drawer {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 999;
  padding: 8px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  overflow-y: auto;
}

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

.mobile-nav-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  letter-spacing: -0.01em;
  transition: color 0.2s ease, padding-left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:hover {
  color: #ffffff;
  padding-left: 10px;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--green-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
  border-radius: 1px;
}
.nav-link:hover, .nav-link.active { color: var(--green-primary); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.menu-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-2);
}
@media (min-width: 800px) {
  .menu-btn { display: none; }
}

/* --------------------------------------------------------------------------
   Mandala Background
   -------------------------------------------------------------------------- */
.mandala-bg {
  position: absolute;
  right: -180px;
  top: -180px;
  width: 680px;
  height: 680px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  filter: blur(0.5px);
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

@media (max-width: 768px) {
  .section-header { margin-bottom: 44px; }
}

.section-overline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--green-primary);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
  opacity: 0.85;
}
.section-overline::before,
.section-overline::after {
  content: '';
  flex: 0 0 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.35));
}
.section-overline::after {
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.35), transparent);
}

@media (max-width: 480px) {
  .section-overline::before,
  .section-overline::after { display: none; }
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

@media (max-width: 480px) {
  .section-title { font-size: 1.6rem; letter-spacing: -0.03em; }
}

.section-underline {
  width: clamp(32px, 5vw, 56px);
  height: 2px;
  background: linear-gradient(90deg, var(--green-primary), rgba(74, 222, 128, 0.2));
  margin: 10px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.25);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  overflow: clip;
  overflow-clip-margin: 20px;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding-top: 80px;
  padding-bottom: 0;
}

/* Layered atmospheric background */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 600px at var(--mouse-x, 50%) var(--mouse-y, 35%), rgba(74, 222, 128, 0.055) 0%, transparent 75%),
    radial-gradient(ellipse 70% 60% at 85% 15%, rgba(74, 222, 128, 0.02) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 15% 85%, rgba(255, 255, 255, 0.015) 0%, transparent 65%),
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(74, 222, 128, 0.025) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: background 0.4s ease;
}

/* Refined dot grid pattern */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, black 20%, transparent 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Sequential Fade Up Animations */
.hero-content > * {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-content .hero-split-wrapper { animation-delay: 0.05s; }
.hero-content .hero-stats-row { animation-delay: 0.35s; }
.hero-content .hero-trust-row { animation-delay: 0.50s; }

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tagline Badge */
.tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 32px;
  box-shadow: 0 0 20px rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
}

.tagline-dot {
  width: 7px;
  height: 7px;
  background: var(--green-primary);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.8);
  animation: pulse-dot 2s ease infinite;
}

.tagline-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gray-light);
  letter-spacing: 0.3px;
}

/* Name — white first letter, gradient on last name */
.hero-name {
  font-size: clamp(2.8rem, 7.5vw, 5.8rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  color: #ffffff;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

/* Bio */
.hero-bio {
  font-size: 1.05rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.65);
  max-width: 620px;
  margin: 0 auto 44px;
  font-weight: 400;
}

/* Stat Cards */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
}

@media (max-width: 640px) {
  .stats-container {
    gap: 12px;
  }
}

.stat-card {
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 20px 24px;
  text-align: center;
  min-width: 170px;
  flex: 1;
  max-width: 240px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .stats-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 36px;
  }
  
  .stat-card {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 20px;
    gap: 16px;
    min-width: 0;
    max-width: none;
    text-align: left;
  }
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(74, 222, 128, 0.03), transparent 70%);
  pointer-events: none;
  border-radius: inherit;
}

@media (hover: hover) and (pointer: fine) {
  .stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(74, 222, 128, 0.22);
    box-shadow: 
      0 20px 40px -10px rgba(0, 0, 0, 0.85), 
      0 0 24px -4px rgba(74, 222, 128, 0.06);
  }
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .stat-icon {
    margin-bottom: 0;
  }
}

.stat-card:hover .stat-icon {
  color: var(--green-primary);
  transform: translateY(-2px);
}

.stat-info-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 640px) {
  .stat-info-wrap {
    align-items: flex-start;
  }
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

@media (max-width: 640px) {
  .stat-value {
    font-size: 1.15rem;
    margin-bottom: 2px;
  }
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.2px;
  margin: 0;
}

@media (max-width: 640px) {
  .stat-label {
    font-size: 0.72rem;
  }
}

/* CTA Buttons */
.hero-section .cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-section .btn {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  letter-spacing: 0.2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-section .btn-primary {
  background: var(--green-primary);
  color: #000000;
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.25);
}

.hero-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(74, 222, 128, 0.45), 0 0 0 1px rgba(74, 222, 128, 0.2);
  background: #4ef08b;
}

.hero-section .btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-section .btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.02);
}

/* Trust Signals Row */
.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
}

@media (max-width: 480px) {
  .hero-trust-row { flex-direction: column; gap: 8px; }
  .trust-divider { display: none; }
}

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

.trust-divider {
  color: rgba(255, 255, 255, 0.15);
  user-select: none;
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--green-primary);
  position: relative;
}

.trust-dot.active::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background-color: var(--green-primary);
  animation: trust-pulse 1.8s ease-in-out infinite;
}

@keyframes trust-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-console {
  max-width: 800px;
  margin: 0 auto var(--sp-8);
  background: rgba(5, 5, 5, 0.7);
  border: 1px solid rgba(74, 222, 128, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65), 0 0 32px rgba(74, 222, 128, 0.04), inset 0 1px 0 rgba(74, 222, 128, 0.06);
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.about-console:hover {
  border-color: rgba(74, 222, 128, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(74, 222, 128, 0.06), inset 0 1px 0 rgba(74, 222, 128, 0.08);
}

.about-console-header {
  background: rgba(74, 222, 128, 0.04);
  border-bottom: 1px solid rgba(74, 222, 128, 0.1);
  padding: 12px var(--sp-4);
  display: flex;
  align-items: center;
  position: relative;
}

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

.about-console-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.6;
}

.dot-red    { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green  { background: #27C93F; }

.about-console-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-console-body {
  padding: var(--sp-6) var(--sp-8);
}

@media (max-width: 640px) {
  .about-console-body {
    padding: var(--sp-4) var(--sp-5);
  }
}

.about-text {
  font-size: 1.06rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--sp-5);
  text-align: left;
}

.about-text:last-child {
  margin-bottom: 0;
}

.highlight-green {
  color: var(--green-primary);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.35);
  position: relative;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(74, 222, 128, 0.03);
  border: 1px solid rgba(74, 222, 128, 0.1);
  color: var(--green-dim);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.highlight-pill:hover {
  background: rgba(74, 222, 128, 0.08);
  border-color: var(--green-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(74, 222, 128, 0.15);
}

/* --------------------------------------------------------------------------
   Skills Section — Tag Cloud Style
   -------------------------------------------------------------------------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.skills-category-card {
  background: linear-gradient(145deg, rgba(18, 18, 18, 0.7) 0%, rgba(10, 10, 10, 0.85) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
}

.skills-category-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(74, 222, 128, 0.025), transparent 65%);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .skills-category-card:hover {
    transform: translateY(-6px) scale(1.008);
    border-color: rgba(74, 222, 128, 0.3);
    box-shadow: 
      0 28px 56px -12px rgba(0, 0, 0, 0.9), 
      0 0 32px -4px rgba(74, 222, 128, 0.08),
      inset 0 1px 0 rgba(74, 222, 128, 0.08);
  }
}

/* Card Header */
.skills-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.skills-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.skills-category-icon svg {
  width: 20px;
  height: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.skills-category-card:hover .skills-category-icon {
  color: var(--green-primary);
  border-color: rgba(74, 222, 128, 0.25);
  background: rgba(74, 222, 128, 0.03);
  transform: translateY(-1px);
}

.skills-category-card:hover .skills-category-icon svg {
  transform: scale(1.05);
}

.skills-category-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.skills-category-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.1px;
}

.skills-category-desc {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  line-height: 1.4;
}

.skills-card-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.15) 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
  margin-bottom: 16px;
  width: 100%;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  height: 28px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  position: relative;
  letter-spacing: 0.1px;
}

.skill-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--green-primary);
  box-shadow: 0 0 5px rgba(74, 222, 128, 0.5);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.skill-tag:hover {
  background: rgba(74, 222, 128, 0.06);
  border-color: rgba(74, 222, 128, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), 0 0 8px rgba(74, 222, 128, 0.06);
}

.skill-tag:hover .skill-status-dot {
  background-color: #ffffff;
  box-shadow: 0 0 8px #ffffff;
  transform: scale(1.3);
}

.section-subtitle-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Legacy progress bar */
.skill-items-list  { display: flex; flex-direction: column; gap: var(--sp-4); }
.skill-row         { display: flex; flex-direction: column; gap: 6px; }
.skill-info        { display: flex; justify-content: space-between; align-items: center; }
.skill-name        { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.skill-level-badge { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); font-family: var(--font-mono); }
.skill-progress-bg {
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px; overflow: hidden;
}
.skill-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(255,255,255,0.9));
  border-radius: 2px;
  transition: width 1s ease-in-out;
}

/* --------------------------------------------------------------------------
   Experience Timeline
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--sp-4) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom, 
    transparent 0%,
    rgba(74, 222, 128, 0.5) 5%,
    rgba(74, 222, 128, 0.18) 50%,
    rgba(255,255,255,0.04) 88%,
    transparent 100%
  );
}

@media (max-width: 640px) {
  .timeline::before { left: 12px; }
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 52px;
  transition: opacity 0.35s ease;
}

@media (max-width: 640px) {
  .timeline-item { padding-left: 40px; margin-bottom: 28px; }
}

.timeline-item:not(.current) {
  opacity: 0.6;
}

.timeline-item:not(.current):hover {
  opacity: 1;
}

.timeline-marker {
  position: absolute;
  left: 7px;
  top: 24px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid rgba(255,255,255,0.15);
  z-index: 5;
  transition: all var(--transition);
}

@media (max-width: 640px) {
  .timeline-marker { left: 4px; top: 22px; width: 16px; height: 16px; }
}

.timeline-item.current .timeline-marker {
  background: var(--green-primary);
  border-color: var(--green-primary);
  box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.1), 0 0 20px rgba(74, 222, 128, 0.3);
}
.timeline-item:hover .timeline-marker {
  border-color: var(--green-primary);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.4);
}

.timeline-content {
  background: rgba(255,255,255,0.022);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

@media (max-width: 640px) {
  .timeline-content { padding: 20px 20px; border-radius: 12px; }
}

.timeline-item.current .timeline-content {
  background: rgba(74, 222, 128, 0.018);
  border-color: rgba(74, 222, 128, 0.2);
  box-shadow: 
    0 12px 36px rgba(0, 0, 0, 0.5), 
    0 0 20px rgba(74, 222, 128, 0.03),
    inset 0 1px 0 rgba(74, 222, 128, 0.05);
}
.timeline-item.current:hover .timeline-content {
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 
    0 20px 44px rgba(0, 0, 0, 0.65), 
    0 0 30px rgba(74, 222, 128, 0.06),
    -3px 0 0 0 var(--green-primary),
    inset 0 1px 0 rgba(74, 222, 128, 0.06);
}
.timeline-item:not(.current):hover .timeline-content {
  transform: translateX(5px);
  box-shadow: var(--shadow-md), -2px 0 0 0 var(--green-primary);
  border-color: rgba(74, 222, 128, 0.25);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray-mid);
  letter-spacing: 1px;
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.timeline-current-badge {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: var(--green-primary);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 1px;
}

.timeline-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}

.timeline-company {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-light);
  margin-bottom: var(--sp-4);
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.timeline-bullet {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}
.timeline-bullet::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green-primary);
  font-size: 0.72rem;
  top: 3px;
  opacity: 0.7;
}

.timeline-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}

.timeline-skill-tag {
  background: rgba(74, 222, 128, 0.04);
  border: 1px solid rgba(74, 222, 128, 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
}

.timeline-skill-tag:hover {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.25);
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   Projects Section
   -------------------------------------------------------------------------- */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-10);
}

.projects-featured-title {
  font-size: 0.72rem;
  letter-spacing: 2.1px;
  color: rgba(74, 222, 128, 0.7);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.2);
  margin-top: 48px;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.featured-products-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 72px;
}

@media (max-width: 768px) {
  .featured-products-grid { margin-bottom: 48px; gap: 20px; }
}

.featured-product-card {
  position: relative;
  background: rgba(12, 12, 12, 0.55);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 36px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 1, 0.2, 1);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (hover: hover) and (pointer: fine) {
  .featured-product-card:hover {
    border-color: rgba(74, 222, 128, 0.22);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.75), 0 0 40px rgba(74, 222, 128, 0.08), inset 0 1px 0 rgba(74,222,128,0.06);
    transform: translateY(-8px);
  }
}

.featured-product-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 1024px) {
  .featured-product-split {
    grid-template-columns: 260px 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .featured-product-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.featured-thumbnail-container {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,0.03);
}

@media (max-width: 768px) {
  .featured-thumbnail-container { aspect-ratio: 16 / 9; }
}

.featured-thumbnail-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.2, 1);
}

.featured-product-card:hover .featured-thumbnail-image {
  transform: scale(1.08); /* Slight image zoom on hover */
}

.featured-thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(0, 0, 0, 0.85) 100%);
}

.featured-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.featured-badge {
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--green-primary);
  opacity: 0.9;
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.3);
  margin-bottom: 8px;
}

.featured-title {
  font-family: var(--font-display);
  font-size: 1.8rem; /* Larger title */
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.featured-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin-bottom: 20px;
}

.featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.featured-tag {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(74, 222, 128, 0.04);
  border: 1px solid rgba(74, 222, 128, 0.12);
  padding: 4px 10px;
  border-radius: 100px;
}

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

/* ── Premium Project Link Buttons ── */
.btn-project-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 100px; /* full pill */
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

/* Google Play button — dark ghost with green accent */
.btn-project-store {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: var(--green-primary);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
}

.btn-project-store:hover {
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.6);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.18);
  transform: translateY(-1px);
}

/* Live Website button — subtle white ghost */
.btn-project-web {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

.btn-project-web:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Icon inside button */
.btn-proj-icon {
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.btn-project-link:hover .btn-proj-icon {
  opacity: 1;
}

/* Label text */
.btn-proj-text {
  line-height: 1;
}

/* Diagonal arrow — nudges on hover */
.btn-proj-arrow {
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn-project-link:hover .btn-proj-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* Keep old secondary for any other usage */
.btn-featured-primary:hover {
  background: #4ef08b;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(74, 222, 128, 0.35);
}

.btn-featured-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-featured-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-featured-secondary .btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn-featured-secondary:hover .btn-arrow {
  transform: translateX(4px);
}

/* Divider & Headers */
.projects-section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0.05) 70%, transparent);
  margin: 56px 0;
}

.projects-confidential-header {
  margin-bottom: 36px;
  max-width: 600px;
}

.projects-confidential-title {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--green-primary);
  opacity: 0.85;
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.35);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.projects-subtitle {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.projects-confidential-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* Confidential Experience Cards */
.confidential-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

@media (max-width: 768px) {
  .confidential-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 44px;
  }
  .confidential-card {
    min-height: auto;
    padding: 24px;
  }
}

.confidential-card {
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 1, 0.2, 1);
  display: flex;
  flex-direction: column;
  min-height: 380px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* Abstract blueprint pattern background */
.confidential-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(74, 222, 128, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.015) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .confidential-card:hover {
    background: rgba(255, 255, 255, 0.018);
    border-color: rgba(74, 222, 128, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.75), 0 0 30px rgba(74, 222, 128, 0.04);
  }

  .confidential-card:hover::before {
    opacity: 0.85;
  }
}

.confidential-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.58rem;
  letter-spacing: 1.5px;
  color: #a8a29e;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 100px;
  width: fit-content;
  position: relative;
  z-index: 2;
}

.confidential-card:hover .confidential-badge {
  background: rgba(74, 222, 128, 0.06);
  color: var(--green-primary);
  border-color: rgba(74, 222, 128, 0.15);
}

.confidential-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.confidential-desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.confidential-details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.confidential-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 0.62rem;
  letter-spacing: 1px;
  color: var(--green-primary);
  opacity: 0.8;
}

.detail-value {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.confidential-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.confidential-tech-tags .tech-tag {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.confidential-card:hover .confidential-tech-tags .tech-tag {
  border-color: rgba(74, 222, 128, 0.15);
  color: rgba(255, 255, 255, 0.75);
}

/* Skills Showcase matrix */
.skills-showcase-header {
  margin-bottom: 36px;
  max-width: 600px;
}

.skills-showcase-overline {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--green-primary);
  opacity: 0.85;
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.35);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.skills-showcase-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.skills-showcase-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.skills-showcase-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .skills-showcase-matrix {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .skills-showcase-matrix {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.skills-showcase-matrix .skills-category-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.skills-showcase-matrix .skills-category-card:hover {
  background: rgba(74, 222, 128, 0.005);
  border-color: rgba(74, 222, 128, 0.12);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.skills-showcase-matrix .skills-category-title {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--green-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  font-weight: 700;
}

.skills-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skills-pill {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.skills-pill:hover {
  color: var(--green-primary);
  background: rgba(74, 222, 128, 0.06);
  border-color: rgba(74, 222, 128, 0.35);
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.15);
}

/* Base Projects Subpage variables */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.project-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.2px;
}

.project-links {
  display: flex;
  gap: var(--sp-3);
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Blog Section
   -------------------------------------------------------------------------- */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-thumbnail {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-4);
  overflow: hidden;
  transition: transform var(--transition);
  position: relative;
  filter: grayscale(0.5) brightness(0.8);
}
.card.blog-card:hover .blog-thumbnail {
  transform: scale(1.04);
  filter: grayscale(0.2) brightness(0.9);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.blog-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

.blog-read-time {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-light);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.blog-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
  line-height: 1.35;
  color: var(--text-primary);
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   Contact Section — Premium Cinematic Redesign
   -------------------------------------------------------------------------- */
.contact-section-cinematic {
  position: relative;
  background: linear-gradient(180deg, #050505 0%, #000000 100%);
  padding: 80px 0;
  border-top: 1px solid transparent;
  overflow: hidden;
}

/* Glowing divider at top of section */
.contact-section-cinematic::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(74, 222, 128, 0.25) 50%, transparent 100%);
  box-shadow: 0 1px 15px rgba(74, 222, 128, 0.08);
  z-index: 2;
}

/* Animated grid overlay for contact */
.contact-grid-overlay-animated {
  position: absolute;
  top: -50%; left: -50%; right: -50%; bottom: -50%;
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(rgba(74, 222, 128, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.012) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-drift 55s linear infinite;
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
}

/* Background glowing blur behind form card */
.contact-ambient-glow {
  position: absolute;
  top: 30%;
  right: 15%;
  width: 450px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.035) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.contact-container-cinematic {
  position: relative;
  z-index: 2;
}

.contact-grid-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 992px) {
  .contact-grid-two-col {
    grid-template-columns: 1.1fr 1.2fr;
    gap: 64px;
    max-width: 1080px;
    margin: 0 auto;
  }
}

/* Left Column Styling */
.contact-left-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  position: relative;
}

.contact-left-col::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.13) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.contact-left-col > * {
  position: relative;
  z-index: 1;
}

.contact-badge {
  font-size: 0.68rem;
  letter-spacing: 3px;
  color: var(--green-primary);
  opacity: 0.85;
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.35);
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* Premium Status Badge */
.contact-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(74, 222, 128, 0.04);
  border: 1px solid rgba(74, 222, 128, 0.15);
  border-radius: 100px;
  font-size: 0.64rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(74, 222, 128, 0.03);
}

.status-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--green-primary);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px var(--green-primary);
}

.status-badge-dot::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background-color: var(--green-primary);
  animation: status-dot-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes status-dot-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  }
  70% {
    transform: scale(2.5);
    opacity: 0;
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }
  100% {
    transform: scale(1);
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.contact-title-cinematic {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: #ffffff;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .contact-title-cinematic {
    font-size: 3.2rem;
  }
}

.contact-intro-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

/* Meta Pills */
.contact-meta-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  width: 100%;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.7);
  width: fit-content;
}

.pill-icon {
  color: var(--green-primary);
  font-size: 0.85rem;
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

/* Social Link Circular Chips */
.contact-social-row-premium {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-pill-premium {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.45);
  transition: all 0.3s cubic-bezier(0.2, 1, 0.2, 1);
  cursor: pointer;
}

.social-pill-premium:hover {
  color: var(--green-primary);
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(74, 222, 128, 0.3), 0 0 12px rgba(74, 222, 128, 0.15);
}

.contact-soc-ico {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Right Column & Glassmorphic Form Card */
.contact-glass-form {
  position: relative;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.35); /* glass container depth */
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(74, 222, 128, 0.15); /* 1px green border */
  border-radius: 20px;
  padding: 40px 36px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.contact-glass-form > * {
  position: relative;
  z-index: 2;
}

/* Radial Glow following mouse */
.contact-glass-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 20px;
  background: radial-gradient(320px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(74, 222, 128, 0.11) 0%, rgba(74, 222, 128, 0.02) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.contact-glass-form:hover::before {
  opacity: 1;
}

/* Floating labels and premium fields */
.form-floating-group {
  position: relative;
  margin-bottom: 24px;
}

.form-control-premium {
  width: 100%;
  padding: 22px 18px 10px 18px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.text-area-premium {
  resize: none;
  min-height: 120px;
}

.form-control-premium:focus {
  outline: none;
  border-color: rgba(74, 222, 128, 0.55);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.08), 0 0 20px rgba(74, 222, 128, 0.08), inset 0 0 6px rgba(74, 222, 128, 0.02);
  background-color: rgba(74, 222, 128, 0.012);
}

.form-label-floating {
  position: absolute;
  left: 18px;
  top: 18px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1.5px;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  text-transform: uppercase;
  font-family: var(--font-mono);
}

/* Floating behavior triggers */
.form-control-premium:focus ~ .form-label-floating,
.form-control-premium:not(:placeholder-shown) ~ .form-label-floating {
  top: 6px;
  font-size: 0.58rem;
  color: var(--green-primary);
  text-shadow: 0 0 6px rgba(74, 222, 128, 0.25);
}

/* Premium submit button - Emerald green gradient with soft glow */
.btn-form-submit-premium {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  background: var(--green-primary);
  border: 1px solid rgba(74, 222, 128, 0.4);
  border-radius: 12px;
  color: #000000;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(74, 222, 128, 0.15);
}

.btn-form-submit-premium:hover {
  background: #4ef08b;
  border-color: rgba(74, 222, 128, 0.6);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(74, 222, 128, 0.35);
}

/* Alert panels with success animation entry */
.form-success-alert {
  padding: 24px;
  border-radius: 12px;
  background: rgba(74, 222, 128, 0.04);
  border: 1px solid rgba(74, 222, 128, 0.2);
  color: #ffffff;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: success-alert-fade-in 0.6s cubic-bezier(0.2, 1, 0.2, 1) forwards;
}

@keyframes success-alert-fade-in {
  0% { opacity: 0; transform: scale(0.95) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.success-icon {
  font-size: 1.5rem;
  color: var(--green-primary);
  text-shadow: 0 0 10px var(--green-primary);
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--green-primary);
  text-shadow: 0 0 15px rgba(74, 222, 128, 0.4);
  margin-top: 4px;
  text-transform: none;
}

.success-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
  line-height: 1.5;
  margin: 0;
}

.submit-btn-arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.2, 1);
}

.btn-form-submit-premium:hover .submit-btn-arrow {
  transform: translateX(5px);
}

.form-error-alert {
  padding: 14px 18px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  font-size: 0.76rem;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   Footer — Premium Cinematic Redesign
   -------------------------------------------------------------------------- */

.footer-cinematic {
  position: relative;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 0;
  margin-top: var(--sp-12);
  overflow: hidden;
  box-shadow: 0 -30px 100px rgba(0,0,0,0.9);
}

/* Drifting coordinate digital grid overlay with top-to-bottom fade */
.footer-grid-overlay-animated {
  position: absolute;
  top: -50%; left: -50%; right: -50%; bottom: -50%;
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(rgba(74, 222, 128, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-drift 45s linear infinite;
  opacity: 0.4;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 85%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 85%);
}

@keyframes grid-drift {
  0% { transform: rotate(0deg) translate3d(0, 0, 0); }
  50% { transform: rotate(0.8deg) translate3d(-30px, -30px, 0); }
  100% { transform: rotate(0deg) translate3d(0, 0, 0); }
}

/* Ambient glow emitters focused behind CTA */
.footer-ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(80px);
  opacity: 0.55;
}

.footer-ambient-glow.glow-primary {
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 220px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.07) 0%, transparent 75%);
  animation: pulsate-glow-primary 10s ease-in-out infinite;
}

.footer-ambient-glow.glow-secondary {
  top: 35%;
  left: 45%;
  width: 320px;
  height: 180px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.02) 0%, transparent 75%);
  animation: pulsate-glow-secondary 18s ease-in-out infinite;
}

@keyframes pulsate-glow-primary {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); opacity: 0.45; filter: blur(80px); }
  50% { transform: scale(1.2) translate3d(-15px, 10px, 0); opacity: 0.65; filter: blur(95px); }
}

@keyframes pulsate-glow-secondary {
  0%, 100% { transform: scale(1.1) translate3d(0, 0, 0); opacity: 0.3; }
  50% { transform: scale(0.85) translate3d(15px, -10px, 0); opacity: 0.5; }
}

/* Floating digital particles */
.footer-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.22) 0%, transparent 75%);
  filter: blur(10px);
  animation: float-particle 12s ease-in-out infinite;
  opacity: 0;
}

.particle-1 { width: 130px; height: 130px; top: 12%; left: 14%; animation-duration: 10s; }
.particle-2 { width: 190px; height: 190px; top: 45%; left: 78%; animation-duration: 14s; animation-delay: -3s; }
.particle-3 { width: 110px; height: 110px; top: 68%; left: 22%; animation-duration: 12s; animation-delay: -5s; }
.particle-4 { width: 160px; height: 160px; top: 22%; left: 62%; animation-duration: 13s; animation-delay: -2s; }

@keyframes float-particle {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.85); opacity: 0; }
  35%, 65% { opacity: 0.45; }
  50% { transform: translate3d(15px, -25px, 0) scale(1.1); opacity: 0.65; }
}

/* ── 1. Infinite Scrolling Marquee Ticker ───────────────────────────────── */
.footer-marquee {
  width: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 18px 0;
  white-space: nowrap;
  display: flex;
  user-select: none;
  z-index: 2;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-infinite 50s linear infinite;
}

.footer-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  padding-right: 2.2rem;
}

.marquee-group .accent-green {
  color: var(--green-primary);
  opacity: 0.85;
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.22);
}

@keyframes marquee-infinite {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ── 2. Cinematic CTA Section (Connected & Compact) ────────────────────── */
.footer-cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 0 60px; /* added 20px breathing room at the bottom */
  position: relative;
  z-index: 2;
  border-bottom: none; /* removed border to let custom divider handle connection */
}

.cta-overhead {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  letter-spacing: 4px;
  color: var(--green-primary);
  opacity: 0.85;
  margin-bottom: var(--sp-3);
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.35);
  text-transform: uppercase;
}

.footer-huge-cta {
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.5s cubic-bezier(0.2, 1, 0.2, 1), text-shadow 0.5s ease;
  cursor: pointer;
}

.cta-line-1 {
  display: block;
  line-height: 0.95;
}

.cta-line-2 {
  display: block;
  line-height: 1.05;
  margin-top: -6px; /* reduced gap between LET'S BUILD and BEYOND */
}

.cta-thin {
  font-family: var(--font-display);
  font-size: 6.8vw;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: -2px;
  color: #ffffff;
}

.cta-bold {
  font-family: var(--font-display);
  font-size: 7.2vw;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -3px;
  background: linear-gradient(180deg, #ffffff 0%, #dcdcdc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: letter-spacing 0.5s cubic-bezier(0.2, 1, 0.2, 1);
}

.cta-stroke {
  font-family: var(--font-display);
  font-size: 9.0vw;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -2px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(74, 222, 128, 0.8);
  -webkit-text-fill-color: transparent;
  background: none;
  transition: -webkit-text-stroke 0.4s ease, color 0.4s ease;
}

.cta-arrow {
  font-size: 6.4vw;
  color: var(--green-primary);
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.2, 1, 0.2, 1), text-shadow 0.5s ease;
  margin-left: -22px; /* overlap BEYOND */
  position: relative;
  z-index: 2;
}

@media (min-width: 1200px) {
  .cta-line-2 { margin-top: -8px; }
  .cta-thin { font-size: 76px; }
  .cta-bold { font-size: 82px; }
  .cta-stroke { font-size: 103px; } /* ~10% larger */
  .cta-arrow { font-size: 72px; margin-left: -30px; } /* overlap BEYOND */
}

.footer-huge-cta:hover {
  transform: scale(1.02) translate3d(0, -2px, 0);
  text-shadow: 0 0 50px rgba(74, 222, 128, 0.35);
}

.footer-huge-cta:hover .cta-bold {
  letter-spacing: 0px;
}

.footer-huge-cta:hover .cta-stroke {
  -webkit-text-stroke: 2px var(--green-primary);
  color: transparent;
}

.footer-huge-cta:hover .cta-arrow {
  transform: translateX(14px) rotate(-15deg);
  text-shadow: 0 0 20px var(--green-primary);
}

.cta-sub-container {
  margin-top: 24px;
}

.cta-glass-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 38px; /* 10-15% wider */
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.74rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.2, 1, 0.2, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}

.cta-glass-btn .btn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-primary);
  box-shadow: 0 0 8px var(--green-primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); box-shadow: 0 0 6px rgba(74, 222, 128, 0.6); }
  50% { transform: scale(1.35); box-shadow: 0 0 14px rgba(74, 222, 128, 0.95); }
}

.cta-glass-btn:hover {
  background: rgba(74, 222, 128, 0.06);
  border-color: rgba(74, 222, 128, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(74, 222, 128, 0.15), 0 0 8px rgba(74, 222, 128, 0.1);
}

.cta-glass-btn:hover .btn-dot {
  transform: scale(1.5);
}

/* Thin glowing divider line above cards */
.footer-cta-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(74, 222, 128, 0.25) 50%, transparent 100%);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.15);
  position: relative;
  z-index: 2;
  margin-top: -1px;
}

/* ── 3. Editorial Glass Card Grid (Connected & Tight) ────────────────────── */
.footer-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px 0 20px;
  position: relative;
  z-index: 2;
}

@media (min-width: 576px) {
  .footer-editorial-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .footer-editorial-grid {
    grid-template-columns: 1.25fr 1.02fr 0.9fr 1.08fr; /* reduced width by 5-8% */
    gap: 20px; /* decreased gaps */
    max-width: 1100px;
    margin: 0 auto;
  }
}

.grid-col {
  transition: opacity 0.4s ease;
}

.footer-glass-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.008);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.4s cubic-bezier(0.2, 1, 0.2, 1), 
              border-color 0.4s ease, 
              background 0.4s ease, 
              box-shadow 0.4s ease, 
              opacity 0.4s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.footer-glass-card > * {
  position: relative;
  z-index: 2;
}

.footer-glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 16px;
  background: radial-gradient(350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(74, 222, 128, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.footer-glass-card:hover::before {
  opacity: 1;
}

/* Proximity dimming focus effects */
.footer-editorial-grid:hover .footer-glass-card {
  opacity: 0.65;
}

.footer-editorial-grid .grid-col:hover .footer-glass-card {
  opacity: 1;
  transform: translateY(-10px) scale(1.02) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); /* 1-2px extra lift & 3D tilt */
  border-color: rgba(74, 222, 128, 0.45); /* stronger green border glow */
  background: rgba(74, 222, 128, 0.015);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.55), 
    0 0 35px rgba(74, 222, 128, 0.18), /* soft green shadow */
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.col-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  margin-bottom: 4px;
}

/* Column 1 Details */
.col-identity .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  width: fit-content;
}

.col-identity .footer-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.col-identity .footer-logo:hover .footer-logo-mark {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.08);
  box-shadow: 0 0 15px rgba(74, 222, 128, 0.15);
}

.col-identity .footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 3px;
  line-height: 1;
}

.col-identity .footer-logo-tag {
  font-size: 0.65rem;
  color: var(--green-primary);
  letter-spacing: 3px;
  opacity: 0.75;
  line-height: 1.4;
  display: block;
}

.footer-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

/* Digital Dashboard Clock face */
.clock-dashboard {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 16px;
  border-radius: 8px;
  width: fit-content;
  margin-top: auto;
  box-shadow: inset 0 1px 5px rgba(0,0,0,0.8);
}

.clock-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-primary);
  box-shadow: 0 0 8px var(--green-primary);
  animation: clock-ping 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes clock-ping {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.clock-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  letter-spacing: 1px;
}

.clock-val {
  font-size: 0.78rem;
  color: var(--green-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 0 6px rgba(74, 222, 128, 0.4);
}

/* Column 2 Navigation Links with sweep effects */
.directory-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dir-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.dir-text {
  position: relative;
}

.dir-text::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--green-primary);
  transition: width 0.3s cubic-bezier(0.2, 1, 0.2, 1);
  box-shadow: 0 0 5px var(--green-primary);
}

.dir-num {
  font-size: 0.65rem;
  color: var(--green-primary);
  opacity: 0.6;
  font-weight: 600;
  min-width: 18px;
}

.dir-link:hover {
  color: #ffffff;
  padding-left: 6px;
}

.dir-link:hover .dir-text::after {
  width: 100%;
}

.dir-link:hover .dir-num {
  opacity: 1;
}

/* Column 3 Connections list with sweep effects */
.connect-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.25s ease, padding-left 0.25s ease;
  width: fit-content;
}

.soc-text {
  position: relative;
}

.soc-text::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--green-primary);
  transition: width 0.3s cubic-bezier(0.2, 1, 0.2, 1);
  box-shadow: 0 0 5px var(--green-primary);
}

.soc-ico {
  width: 15px;
  height: 15px;
  color: var(--green-primary);
  opacity: 0.75;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.social-link:hover {
  color: #ffffff;
  padding-left: 6px;
}

.social-link:hover .soc-text::after {
  width: 100%;
}

.social-link:hover .soc-ico {
  opacity: 1;
  transform: scale(1.15) rotate(-5deg);
}

/* Column 4 Status Details */
.status-meta-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.status-pill-ambient {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.05);
  border: 1px solid rgba(74, 222, 128, 0.12);
  padding: 6px 14px;
  border-radius: 50px;
  width: fit-content;
}

.status-dot-pulse {
  width: 6px;
  height: 6px;
  background: var(--green-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green-primary);
  animation: pulse-glow-dot 2.2s infinite;
}

@keyframes pulse-glow-dot {
  0%, 100% { opacity: 0.4; box-shadow: 0 0 2px var(--green-primary); }
  50% { opacity: 1; box-shadow: 0 0 12px var(--green-primary); }
}

.status-txt {
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: var(--green-primary);
  font-weight: 700;
}

.coord-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.coord-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  width: fit-content;
}

.coord-text {
  position: relative;
}

.coord-text::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--green-primary);
  transition: width 0.3s ease;
  box-shadow: 0 0 5px var(--green-primary);
}

.coord-ico {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease;
}

.coord-link:hover {
  color: var(--green-primary);
  transform: translateX(4px);
}

.coord-link:hover .coord-text::after {
  width: 100%;
}

.coord-link:hover .coord-ico {
  color: var(--green-primary);
}

.col-status .system-arch {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
}

.arch-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  font-weight: 600;
}

.arch-link:hover {
  color: var(--green-primary);
  text-shadow: 0 0 6px var(--green-primary);
}

.arch-ico {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.arch-plus {
  color: rgba(255, 255, 255, 0.15);
}

/* ── 4. Cinematic Bottom Bar (Tight Spacing) ────────────────────────────── */
.footer-bottom-bar-cinematic {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, rgba(74, 222, 128, 0.25) 50%, transparent 100%) 1;
  box-shadow: 0 -1px 15px rgba(74, 222, 128, 0.08);
  padding: 20px 0 28px;
  margin-top: 24px;
  position: relative;
}

@media (min-width: 768px) {
  .footer-bottom-bar-cinematic {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-bottom-bar-cinematic .bottom-left,
.footer-bottom-bar-cinematic .bottom-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem; /* enlarged slightly for readability */
}

.footer-copy {
  color: rgba(255, 255, 255, 0.6); /* increased opacity by ~15% */
  letter-spacing: 0.5px;
  font-weight: 550;
}

.footer-rights {
  color: rgba(255, 255, 255, 0.35); /* increased contrast */
  letter-spacing: 0.5px;
}

.console-id {
  color: rgba(255, 255, 255, 0.35); /* increased contrast */
  letter-spacing: 1px;
}

.version {
  color: rgba(74, 222, 128, 0.65); /* increased contrast */
  letter-spacing: 1px;
  font-weight: 600;
}

.footer-separator {
  color: rgba(255,255,255,0.1);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Sub-pages
   -------------------------------------------------------------------------- */
.subpage-container {
  padding-top: 110px;
  padding-bottom: var(--sp-16);
  max-width: 820px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gray-light);
  text-decoration: none;
  margin-bottom: var(--sp-8);
  transition: gap var(--transition-fast), opacity var(--transition-fast);
  opacity: 0.7;
}
.back-link:hover { gap: var(--sp-3); opacity: 1; color: #FFFFFF; }

.project-details-image {
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-xl);
  margin-bottom: var(--sp-8);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
  filter: grayscale(0.3);
}
@media (max-width: 600px) {
  .project-details-image { height: 240px; }
}

.project-details-info { margin-bottom: var(--sp-8); }

.blog-details-cover {
  width: 100%;
  height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-xl);
  margin-bottom: var(--sp-8);
  box-shadow: var(--shadow-lg);
  filter: grayscale(0.3);
}
@media (max-width: 600px) {
  .blog-details-cover { height: 210px; }
}

.markdown-body {
  font-size: 1.0rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}
.markdown-body h1, .markdown-body h2, .markdown-body h3 {
  margin-top: 1.6em;
  margin-bottom: 0.5em;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.markdown-body h1 { font-size: 1.55rem; }
.markdown-body h2 { font-size: 1.35rem; }
.markdown-body h3 { font-size: 1.15rem; }
.markdown-body p { margin-bottom: 1.1em; font-size: 1.0rem; }
.markdown-body ul, .markdown-body ol {
  margin-bottom: 1.2em;
  padding-left: 24px;
}
.markdown-body li { margin-bottom: 6px; }
.markdown-body code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  color: var(--gray-light);
}
.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.markdown-body th, .markdown-body td {
  border: 1px solid rgba(255,255,255,0.06);
  padding: 10px 14px;
  text-align: left;
}
.markdown-body th {
  background: rgba(255,255,255,0.04);
  font-weight: 700;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.app-root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }

/* --------------------------------------------------------------------------
   Loki Loader Section
   -------------------------------------------------------------------------- */
.loki-loader-container {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #050505;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-sans);
}

.loki-loader-content {
  text-align: center;
  max-width: 600px;
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
}

.loki-loader-logo {
  font-size: 3rem;
  color: var(--green-primary);
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.6);
  animation: pulse-logo 1.5s ease-in-out infinite;
}

.loki-loader-quote-container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loki-loader-quote {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green-primary);
  line-height: 1.6;
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
  margin: 0;
}

/* Typewriter animation styling helper */
.typewriter {
  overflow: hidden;
  border-right: .15em solid var(--green-primary);
  white-space: normal;
  margin: 0 auto;
  animation: 
    blink-caret .75s step-end infinite;
}

.loki-loader-progress-track {
  width: 240px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1px;
  overflow: hidden;
}

.loki-loader-progress-bar {
  height: 100%;
  width: 100%;
  background: var(--green-primary);
  box-shadow: 0 0 8px var(--green-primary);
  animation: fill-loader 1.8s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
  transform-origin: left;
}

.loki-loader-status {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Keyframes */
@keyframes pulse-logo {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15) rotate(180deg);
    opacity: 1;
    text-shadow: 0 0 30px rgba(74, 222, 128, 0.8);
  }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--green-primary); }
}

@keyframes fill-loader {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* Scroll Reveal animation hooks */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.99);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Magnetic element smooth return */
.magnetic-target, .cta-glass-btn {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Testimonials Grid & Cards */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 36px;
  }
}

.testimonial-card {
  position: relative;
  background: rgba(12, 12, 12, 0.55);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  padding: 40px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 1, 0.2, 1);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .testimonial-card:hover {
    border-color: rgba(74, 222, 128, 0.22);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.7), 0 0 35px rgba(74, 222, 128, 0.07), inset 0 1px 0 rgba(74,222,128,0.06);
    transform: translateY(-6px);
  }
}

/* Bold quote mark for visual richness */
.testimonial-quote-bg {
  position: absolute;
  top: -8px;
  right: 24px;
  font-family: Georgia, serif;
  font-size: 11rem;
  font-weight: bold;
  color: rgba(74, 222, 128, 0.045);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  text-shadow: 0 0 40px rgba(74, 222, 128, 0.08);
}

.testimonial-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.58rem;
  letter-spacing: 1.5px;
  color: #a8a29e;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 24px;
}

.testimonial-card:hover .testimonial-badge-verified {
  background: rgba(74, 222, 128, 0.05);
  color: var(--green-primary);
  border-color: rgba(74, 222, 128, 0.12);
}

.testimonial-text {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 28px;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent);
  margin-bottom: 24px;
  width: 100%;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.1px;
}

.author-meta {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.3px;
}

.author-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-author-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.2, 1, 0.2, 1);
}

.btn-author-link:hover {
  border-color: rgba(74, 222, 128, 0.3);
  color: var(--green-primary);
  background: rgba(74, 222, 128, 0.03);
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.1);
}

/* --------------------------------------------------------------------------
   Accessibility — Focus Visible (Audit #1)
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 3px;
  border-radius: inherit;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Ensure form inputs get green focus ring */
.form-control-premium:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Accessibility — Reduced Motion (Audit #9)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track {
    animation: none !important;
  }

  .rotating-mandala {
    animation: none !important;
  }

  .hero-content > * {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* --------------------------------------------------------------------------
   Performance — will-change Hints (Audit #22)
   -------------------------------------------------------------------------- */
.contact-grid-overlay-animated,
.footer-grid-overlay-animated {
  will-change: transform;
}

.marquee-track {
  will-change: transform;
}

.rotating-mandala {
  will-change: transform;
}

/* --------------------------------------------------------------------------
   Animation — Tagline Crossfade (Audit #4)
   -------------------------------------------------------------------------- */
.tagline-text {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tagline-text.tagline-exit {
  opacity: 0;
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   Premium Footer Tech Badges Styles
   -------------------------------------------------------------------------- */
.version-label {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.footer-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 4px 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.tech-badge-ico {
  width: 14px;
  height: 14px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-badge-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
  margin: 0 2px;
}

/* Hover interactions */
.flutter-badge:hover {
  background: rgba(1, 117, 194, 0.08);
  border-color: rgba(1, 117, 194, 0.3);
  color: #4fc3f7; /* lighter/vibrant blue for dark theme */
  box-shadow: 0 0 10px rgba(1, 117, 194, 0.15);
}

.flutter-badge:hover .tech-badge-ico {
  transform: translateY(-1px) scale(1.05);
}

.jaspr-badge:hover {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.3);
  color: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.15);
}

.jaspr-badge:hover .tech-badge-ico {
  transform: translateY(-1px) scale(1.05);
}

/* ── Cinematic Blog Grid & Cards ── */
.blog-grid-cinematic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.blog-card-cinematic {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.blog-card-cinematic:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(74, 222, 128, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 15px rgba(74, 222, 128, 0.05);
}

.blog-card-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  overflow: hidden;
}

.blog-card-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-cinematic:hover .blog-card-img {
  transform: scale(1.06);
}

.blog-card-content {
  display: flex;
  flex-direction: column;
  padding: 24px;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.blog-card-meta .meta-sep {
  color: rgba(255, 255, 255, 0.15);
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  transition: color 0.3s ease;
  color: var(--white);
}

.blog-card-cinematic:hover .blog-card-title {
  color: #4ade80; /* mint green highlight */
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.blog-tag {
  font-size: 0.7rem;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Professional Sub-page Typography & Layout ── */
.subpage-title {
  font-family: var(--font-display);
  font-size: clamp(2.0rem, 5vw, 3.0rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #ffffff;
}

.subpage-detail-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
}

.blog-list-container {
  max-width: 1140px !important;
}

/* ── Premium Blog Details UI/UX ── */
.blog-detail-header {
  margin-top: 24px;
  margin-bottom: 32px;
}

.blog-detail-category {
  font-size: 0.72rem;
  color: #4ade80;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}

.blog-author-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  width: fit-content;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(74, 222, 128, 0.4);
  object-fit: cover;
}

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

.author-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.author-role {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
}

.article-meta-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 24px;
}

@media (max-width: 680px) {
  .blog-author-card {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 16px;
    gap: 10px;
    width: 100%;
  }
  .article-meta-info {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    margin-top: 4px;
  }
}

/* Back Button Pill Badge */
.back-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-bottom: 24px;
}

.back-btn-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(74, 222, 128, 0.3);
  transform: translateX(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-btn-pill .arrow {
  transition: transform 0.25s ease;
}

.back-btn-pill:hover .arrow {
  transform: translateX(-2px);
}

/* Scroll progress indicator at top of screen */
.scroll-progress-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: transparent;
  z-index: 9999;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4ade80, #3b82f6);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

/* Code block wrapper and styling */
.code-block-wrapper {
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.45);
}

.code-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
}

.code-block-wrapper pre {
  margin: 0;
  padding: 16px 20px;
  overflow-x: auto;
}

.code-block-wrapper code {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #e2e8f0;
}

/* blockquote styling */
.markdown-body blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 4px solid #4ade80;
  background: rgba(74, 222, 128, 0.03);
  border-radius: 0 8px 8px 0;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.markdown-body blockquote p {
  margin: 0;
}

/* horizontal rule styling */
.markdown-hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 100%);
  margin: 36px 0;
}

/* ── Ambient Hero Background & Glow ── */
.blog-hero-container {
  position: relative;
  padding: 40px 0 20px 0;
  overflow: visible;
}

.blog-hero-glow {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 500px;
  height: 250px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.08) 0%, rgba(59, 130, 246, 0.03) 70%, transparent 100%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.blog-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #ffffff 30%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-hero-subtitle {
  font-size: clamp(1.0rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

/* ── Interactive Search & Filtering Controls ── */
.blog-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 44px;
  position: relative;
  z-index: 2;
}

.blog-search-wrapper {
  position: relative;
  flex: 1;
  max-width: 420px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  opacity: 0.5;
  pointer-events: none;
}

.blog-search-input {
  width: 100%;
  padding: 14px 44px 14px 44px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--green-primary);
  box-shadow: 0 0 0 1px var(--green-primary), 0 0 20px rgba(74, 222, 128, 0.1);
}

.search-clear-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 4px;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.search-clear-btn:hover {
  color: var(--white);
}

.blog-categories-wrapper {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.category-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.category-tab.active {
  background: var(--green-glow);
  border-color: var(--green-primary);
  color: var(--green-primary);
  box-shadow: 0 0 15px rgba(74, 222, 128, 0.1);
  font-weight: 600;
}

/* ── Featured Blog Card ── */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
  text-decoration: none;
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.blog-featured-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(74, 222, 128, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(74, 222, 128, 0.06);
}

.blog-featured-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  overflow: hidden;
}

.blog-featured-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-featured-card:hover .blog-featured-img {
  transform: scale(1.03);
}

.blog-featured-img-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
}

.blog-featured-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.featured-badge {
  background: var(--green-glow);
  color: var(--green-primary);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-featured-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--white);
  transition: color 0.3s ease;
}

.blog-featured-card:hover .blog-featured-title {
  color: var(--green-primary);
}

.blog-featured-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-featured-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

.blog-author-mini {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(74, 222, 128, 0.3);
  object-fit: cover;
}

.author-mini-meta {
  display: flex;
  flex-direction: column;
}

.author-mini-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}

.author-mini-role {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.featured-read-more {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-primary);
  letter-spacing: 0.5px;
}

.read-more-arrow {
  transition: transform 0.3s ease;
}

.blog-featured-card:hover .read-more-arrow {
  transform: translateX(4px);
}

/* ── Grid Card Enhancements ── */
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
}

.card-read-more {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.blog-card-cinematic:hover .card-read-more {
  color: var(--green-primary);
  transform: translateX(2px);
}

.blog-card-img-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Gorgeous Skeleton Loader ── */
.skeleton-pulse {
  pointer-events: none;
}

.skeleton-pulse .skeleton-block {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.02) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
}

.skeleton-pulse .skeleton-line {
  height: 12px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.02) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 4px;
  margin-bottom: 12px;
}

.skeleton-pulse .skeleton-line.short {
  width: 30%;
}

.skeleton-pulse .skeleton-line.short-inline {
  width: 80px;
  display: inline-block;
  margin-bottom: 0;
}

.skeleton-pulse .skeleton-line.title {
  height: 22px;
  width: 85%;
  margin-bottom: 18px;
}

.skeleton-pulse .skeleton-line.body {
  width: 100%;
}

.skeleton-pulse .skeleton-line.body-half {
  width: 60%;
  margin-bottom: 24px;
}

.skeleton-pulse .skeleton-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  display: inline-block;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Elegant No Results State ── */
.blog-no-results-card {
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 540px;
  margin: 40px auto;
}

.no-results-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  opacity: 0.6;
}

.no-results-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.no-results-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 28px;
}

.reset-filters-btn {
  padding: 10px 24px;
  border: 1px solid var(--green-primary);
  background: var(--green-glow);
  color: var(--green-primary);
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.reset-filters-btn:hover {
  background: var(--green-primary);
  color: var(--text-inverted);
  box-shadow: var(--shadow-green-sm);
}

/* ── Mobile Responsive Overrides ── */
@media (max-width: 900px) {
  .blog-featured-card {
    grid-template-columns: 1fr;
  }
  .blog-featured-img-wrapper {
    min-height: 220px;
  }
  .blog-featured-img-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
  }
  .blog-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-search-wrapper {
    max-width: 100%;
  }
}

/* ── Home Page UI/UX Shell Console Themes ── */
.console-prompt {
  color: var(--green-primary);
  font-weight: 700;
}

.console-command {
  color: var(--white);
  font-weight: 500;
}

.console-output-dim {
  color: rgba(255, 255, 255, 0.45);
}

.console-output-green {
  color: rgba(74, 222, 128, 0.85);
}

.console-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--green-primary);
  animation: blink-cursor 1.1s infinite;
  vertical-align: middle;
  margin-left: 5px;
  box-shadow: 0 0 8px var(--green-primary);
}

@keyframes blink-cursor {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* ── Interactive Skill Micro-interactions ── */
.skill-tag {
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: rgba(74, 222, 128, 0.05);
  border-color: rgba(74, 222, 128, 0.25);
  color: var(--white);
  transform: translateY(-2px);
}

.skill-tag:hover .skill-status-dot {
  background: var(--green-primary);
  box-shadow: 0 0 10px var(--green-primary);
  transform: scale(1.3);
}

/* ── Confidential Report Blueprint Layout ── */
.confidential-report-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

.confidential-report-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
}

.confidential-report-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(74, 222, 128, 0.7);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 600;
}

.confidential-report-value {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}

@media (max-width: 480px) {
  .confidential-report-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   EXPERT HERO — Two-Column Split Layout
   ═══════════════════════════════════════════════════════════════ */

.hero-split-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  width: 100%;
  padding: 16px 0 32px;
}

/* ── LEFT COLUMN — Typography & CTAs ── */
.hero-left-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-right: 48px;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

/* Override global text-center on hero elements */
.hero-left-column .tagline-badge {
  margin-bottom: 28px;
}

.hero-left-column .hero-name {
  text-align: left;
  font-size: clamp(2.8rem, 5.5vw, 5.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: #ffffff;
  overflow: visible;
}

/* First word white, second word gradient green */
.hero-left-column .hero-name .name-first {
  color: #ffffff;
  display: block;
}
.hero-left-column .hero-name .name-last {
  background: linear-gradient(135deg, #4ADE80 0%, #22c55e 60%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  padding-bottom: 0.12em;
  /* Extra bottom padding prevents descenders (j, p, g) from being clipped by webkit-background-clip */
}

.hero-left-column .hero-title {
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  letter-spacing: 0em;
  line-height: 1.4;
}

.hero-left-column .hero-bio {
  text-align: left;
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  max-width: 520px;
  margin: 0 0 36px;
}

.hero-left-column .cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 0;
}

/* ── RIGHT COLUMN — Animated Code Visual ── */
.hero-right-column {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 420px;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* Animated glow orb in background */
.hero-right-column::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.12) 0%, rgba(74, 222, 128, 0.04) 50%, transparent 80%);
  animation: orb-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* Main code visual container */
.hero-code-visual {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Central glowing code brackets */
.hero-code-center {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
}

.hero-bracket-left,
.hero-bracket-right {
  font-family: var(--font-mono);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--green-primary);
  text-shadow: 
    0 0 20px rgba(74, 222, 128, 0.8),
    0 0 60px rgba(74, 222, 128, 0.35),
    0 0 100px rgba(74, 222, 128, 0.15);
  animation: bracket-glow 3s ease-in-out infinite;
  user-select: none;
}

.hero-bracket-left { animation-delay: 0s; }
.hero-bracket-right { animation-delay: 0.5s; }

.hero-bracket-inner {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(74, 222, 128, 0.6);
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
  animation: inner-fade 3s ease-in-out infinite;
  padding: 0 4px;
}

@keyframes bracket-glow {
  0%, 100% { text-shadow: 0 0 20px rgba(74, 222, 128, 0.8), 0 0 60px rgba(74, 222, 128, 0.35), 0 0 100px rgba(74, 222, 128, 0.15); }
  50% { text-shadow: 0 0 30px rgba(74, 222, 128, 1), 0 0 80px rgba(74, 222, 128, 0.55), 0 0 140px rgba(74, 222, 128, 0.25); }
}

@keyframes inner-fade {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Floating tech chips orbiting around the center */
.hero-float-chip {
  position: absolute;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 10px;
  padding: 10px 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 0 12px rgba(74, 222, 128, 0.06);
  z-index: 4;
}

.hero-float-chip .chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-primary);
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.9);
  flex-shrink: 0;
}

.hero-float-chip span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.3px;
}

.hero-float-chip strong {
  color: var(--green-primary);
  font-weight: 600;
}

/* Each chip positioned and animated uniquely */
.chip-flutter {
  top: 8%;
  left: 10%;
  animation: float-chip-1 5s ease-in-out infinite;
}
.chip-clean-arch {
  top: 8%;
  right: 8%;
  animation: float-chip-2 5.5s ease-in-out infinite 0.8s;
}
.chip-bloc {
  bottom: 24%;
  left: 4%;
  animation: float-chip-3 4.8s ease-in-out infinite 1.2s;
}
.chip-ai {
  bottom: 24%;
  right: 5%;
  animation: float-chip-4 5.2s ease-in-out infinite 0.4s;
}
.chip-apps {
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  animation: float-chip-5 6s ease-in-out infinite 1.6s;
}

@keyframes float-chip-1 {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-10px) translateX(4px); }
}
@keyframes float-chip-2 {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-8px) translateX(-6px); }
}
@keyframes float-chip-3 {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-12px) translateX(5px); }
}
@keyframes float-chip-4 {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-7px) translateX(-4px); }
}
@keyframes float-chip-5 {
  0%, 100% { transform: translateX(-50%) translateY(0px); }
  50% { transform: translateX(-50%) translateY(-9px); }
}

/* Particle dots scattered around */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--green-primary);
  pointer-events: none;
  z-index: 2;
}

.p1 { width: 3px; height: 3px; top: 20%; left: 55%; opacity: 0.6; animation: particle-drift 7s ease-in-out infinite; }
.p2 { width: 2px; height: 2px; top: 70%; left: 20%; opacity: 0.4; animation: particle-drift 8s ease-in-out infinite 1s; }
.p3 { width: 4px; height: 4px; top: 40%; right: 15%; opacity: 0.5; animation: particle-drift 6s ease-in-out infinite 2s; }
.p4 { width: 2px; height: 2px; top: 80%; right: 30%; opacity: 0.35; animation: particle-drift 9s ease-in-out infinite 0.5s; }
.p5 { width: 3px; height: 3px; top: 15%; right: 40%; opacity: 0.5; animation: particle-drift 7.5s ease-in-out infinite 1.5s; }
.p6 { width: 2px; height: 2px; top: 55%; left: 8%; opacity: 0.4; animation: particle-drift 6.5s ease-in-out infinite 3s; }

@keyframes particle-drift {
  0%, 100% { transform: translateY(0px) translateX(0px); opacity: inherit; }
  33% { transform: translateY(-8px) translateX(6px); }
  66% { transform: translateY(4px) translateX(-4px); }
}

/* Decorative ring around the visual center */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(74, 222, 128, 0.08);
  pointer-events: none;
  z-index: 1;
}
.ring-1 { width: 200px; height: 200px; animation: ring-spin 20s linear infinite; }
.ring-2 { width: 300px; height: 300px; border-color: rgba(74, 222, 128, 0.05); animation: ring-spin 30s linear infinite reverse; }
.ring-3 { width: 400px; height: 400px; border-color: rgba(74, 222, 128, 0.03); animation: ring-spin 40s linear infinite; }

.ring-1::before, .ring-2::before, .ring-3::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--green-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.9);
  transform: translateX(-50%);
}

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

/* ── STATS ROW — Premium Horizontal Chips ── */
.hero-stats-row {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.stat-card-premium {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex: 1;
  min-width: 200px;
}

.stat-card-premium:hover {
  transform: translateY(-3px);
  border-color: rgba(74, 222, 128, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(74, 222, 128, 0.06);
}

.stat-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.06);
  border: 1px solid rgba(74, 222, 128, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: rgba(74, 222, 128, 0.7);
}

.stat-card-premium:hover .stat-icon-wrapper {
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.3);
  color: var(--green-primary);
}

.stat-premium-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--green-primary);
}

.stat-premium-text-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-premium-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}

.stat-premium-desc {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  line-height: 1.35;
  font-family: var(--font-sans);
}

/* Sparkle floating decoration */
.hero-sparkle-decor {
  display: none;
}

/* ── TRUST ROW ── */
.hero-trust-row {
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile/Tablet Collapse
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-split-wrapper {
    grid-template-columns: 1fr;
    padding: 40px 0 32px;
    gap: 0;
    min-height: auto;
  }

  /* Swap order — visual first on mobile, then text */
  .hero-right-column {
    order: -1;
    height: 320px;
    margin-bottom: 32px;
  }

  .hero-code-visual {
    width: 320px;
    height: 320px;
    transform: scale(0.8);
    transform-origin: center;
  }

  .hero-left-column {
    align-items: center;
    text-align: center;
    padding-right: 0;
  }

  .hero-left-column .hero-name,
  .hero-left-column .hero-title,
  .hero-left-column .hero-bio {
    text-align: center;
  }

  .hero-left-column .cta-row {
    justify-content: center;
  }

  .hero-left-column .hero-bio {
    margin: 0 auto 36px;
  }

  .hero-stats-row {
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
    margin: 0 auto 36px;
  }

  .stat-card-premium {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .hero-right-column {
    height: 260px;
  }

  .hero-code-visual {
    transform: scale(0.65);
  }

  .hero-float-chip span {
    font-size: 0.65rem;
  }
}


/* ═══════════════════════════════════════════════════════════════
   HERO — Greeting & Animated Letter Reveal
   ═══════════════════════════════════════════════════════════════ */

/* "Hi 👋 I'm" greeting line above the name */
.hero-greeting {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  animation: greeting-fade 0.6s ease 0.1s both;
}

@keyframes greeting-fade {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Waving hand emoji animation */
.greeting-wave {
  display: inline-block;
  font-style: normal;
  transform-origin: 70% 70%;
  animation: wave-hand 2s ease 0.6s both;
}

@keyframes wave-hand {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(20deg); }
  20%  { transform: rotate(-8deg); }
  30%  { transform: rotate(20deg); }
  40%  { transform: rotate(-4deg); }
  50%  { transform: rotate(12deg); }
  60%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* Individual letter spans — start invisible */
.hero-letter {
  display: inline-block;
  opacity: 0;
  animation: letter-rise 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

/* White letters (Pintoo) */
.letter-white {
  color: #ffffff;
}

/* Green gradient letters (Prajapati) — gradient applied per-letter */
.letter-green {
  background: linear-gradient(135deg, #4ADE80 0%, #22c55e 60%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.1em; /* prevent descender clip */
}

/* The reveal keyframe: rise up + blur dissolve in */
@keyframes letter-rise {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.9);
    filter: blur(6px);
  }
  60% {
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

/* Make sure name-first and name-last don't override letter opacity */
.hero-name .name-first,
.hero-name .name-last {
  display: block;
  /* Remove the gradient on the container — each .letter-green has its own */
  background: none;
  -webkit-text-fill-color: unset;
  color: unset;
  padding-bottom: 0.15em;
  overflow: visible;
}

/* The title subtitle — simple slide-in after name */
.hero-left-column .hero-title {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.4s both;
}

/* Bio and CTA appear after title */
.hero-left-column .hero-bio {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.6s both;
}

.hero-left-column .cta-row {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.8s both;
}



