@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --navy-950: #060b18;
  --navy-900: #0a0f1e;
  --navy-800: #0f1629;
  --navy-700: #151e36;
  --navy-600: #1c2744;
  --cyan-300: #67e8f9;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --emerald-400: #34d399;
  --amber-400: #fbbf24;
  --rose-400: #fb7185;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--navy-950);
  color: var(--gray-300);
  font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--cyan-500); color: var(--navy-950); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: var(--navy-600); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-600); }

/* ── Noise Overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ── Grid Background ── */
.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ── Animated Gradient Mesh ── */
.mesh-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.mesh-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  animation: orbDrift1 25s ease-in-out infinite;
}

.mesh-bg .orb:nth-child(1) {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--cyan-500), transparent);
  top: -200px; left: -200px;
  animation: orbDrift1 30s ease-in-out infinite;
}

.mesh-bg .orb:nth-child(2) {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--violet-500), transparent);
  top: 40%; right: -150px;
  animation: orbDrift2 35s ease-in-out infinite;
}

.mesh-bg .orb:nth-child(3) {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--blue-500), transparent);
  bottom: -100px; left: 30%;
  animation: orbDrift3 28s ease-in-out infinite;
}

@keyframes orbDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(60vw, 30vh) scale(1.3); }
  50%  { transform: translate(30vw, 70vh) scale(0.8); }
  75%  { transform: translate(-10vw, 40vh) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes orbDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-40vw, -20vh) scale(0.7); }
  50%  { transform: translate(-60vw, 30vh) scale(1.2); }
  75%  { transform: translate(-10vw, 60vh) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes orbDrift3 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(30vw, -50vh) scale(0.8); }
  50%  { transform: translate(-20vw, -10vh) scale(1.3); }
  75%  { transform: translate(10vw, 30vh) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

/* ── Floating Particles ── */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--cyan-400);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat 15s linear infinite;
}

.particle:nth-child(2) { width: 3px; height: 3px; left: 20%; animation-delay: -3s; animation-duration: 20s; background: var(--violet-400); }
.particle:nth-child(3) { width: 5px; height: 5px; left: 50%; animation-delay: -6s; animation-duration: 18s; background: var(--blue-400); }
.particle:nth-child(4) { width: 3px; height: 3px; left: 70%; animation-delay: -9s; animation-duration: 22s; background: var(--emerald-400); }
.particle:nth-child(5) { width: 4px; height: 4px; left: 85%; animation-delay: -2s; animation-duration: 16s; background: var(--cyan-300); }
.particle:nth-child(6) { width: 2px; height: 2px; left: 35%; animation-delay: -7s; animation-duration: 25s; background: var(--violet-400); }
.particle:nth-child(7) { width: 4px; height: 4px; left: 60%; animation-delay: -4s; animation-duration: 19s; background: var(--blue-400); }
.particle:nth-child(8) { width: 3px; height: 3px; left: 10%; animation-delay: -11s; animation-duration: 21s; background: var(--emerald-400); }
.particle:nth-child(9) { width: 2px; height: 2px; left: 15%; animation-delay: -1s; animation-duration: 17s; background: var(--cyan-300); }
.particle:nth-child(10) { width: 5px; height: 5px; left: 25%; animation-delay: -8s; animation-duration: 23s; background: var(--amber-400); }
.particle:nth-child(11) { width: 3px; height: 3px; left: 40%; animation-delay: -5s; animation-duration: 14s; background: var(--violet-400); }
.particle:nth-child(12) { width: 6px; height: 6px; left: 55%; animation-delay: -12s; animation-duration: 26s; background: var(--cyan-400); opacity: 0.15; }
.particle:nth-child(13) { width: 2px; height: 2px; left: 65%; animation-delay: -3s; animation-duration: 19s; background: var(--blue-400); }
.particle:nth-child(14) { width: 4px; height: 4px; left: 75%; animation-delay: -10s; animation-duration: 15s; background: var(--emerald-400); }
.particle:nth-child(15) { width: 3px; height: 3px; left: 90%; animation-delay: -6s; animation-duration: 24s; background: var(--cyan-300); }
.particle:nth-child(16) { width: 2px; height: 2px; left: 5%; animation-delay: -14s; animation-duration: 20s; background: var(--violet-400); }
.particle:nth-child(17) { width: 5px; height: 5px; left: 30%; animation-delay: -9s; animation-duration: 16s; background: var(--blue-400); }
.particle:nth-child(18) { width: 3px; height: 3px; left: 45%; animation-delay: -2s; animation-duration: 22s; background: var(--amber-400); }
.particle:nth-child(19) { width: 4px; height: 4px; left: 80%; animation-delay: -7s; animation-duration: 18s; background: var(--cyan-400); }
.particle:nth-child(20) { width: 2px; height: 2px; left: 95%; animation-delay: -13s; animation-duration: 21s; background: var(--emerald-400); }

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-400), var(--violet-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, var(--cyan-300), var(--cyan-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-warm {
  background: linear-gradient(135deg, var(--amber-400), var(--rose-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Glass ── */
.glass {
  background: linear-gradient(135deg, rgba(15, 22, 41, 0.7), rgba(15, 22, 41, 0.3));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
}

.glass-light {
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
}

/* ── Premium Cards ── */
.premium-card {
  position: relative;
  background: linear-gradient(135deg, rgba(15,22,41,0.8), rgba(15,22,41,0.4));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.premium-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent, rgba(255,255,255,0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.4s;
}

.premium-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--cyan-500), var(--violet-500));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}

.premium-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(6, 182, 212, 0.2);
}

.premium-card:hover::after {
  opacity: 0.15;
}

.premium-card:hover .card-glow {
  opacity: 1;
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(6,182,212,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

/* ── Shimmer Button ── */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600));
  color: var(--navy-950);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--cyan-400), var(--cyan-500));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::before { opacity: 1; }

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-primary:hover::after { transform: translateX(100%); }

.btn-primary span { position: relative; z-index: 1; }
.btn-primary svg { position: relative; z-index: 1; }

.btn-primary-nav {
  padding: 8px 20px;
  font-size: 0.8125rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--gray-300);
  font-weight: 500;
  font-size: 0.875rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--gray-100);
  background: rgba(255,255,255,0.03);
}

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── Section Styling ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  color: var(--cyan-400);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1.15;
  margin-bottom: 16px;
}

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

.section-sub {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Hero ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 8rem;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  color: var(--cyan-400);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

@media (min-width: 768px) {
  .hero-title { font-size: 5rem; }
}

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

.hero-desc {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 580px;
  line-height: 1.8;
  margin: 0 auto 36px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  animation: fadeInUp 0.6s ease-out 0.4s both;
  text-align: center;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-100);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 4px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Portfolio Cards ── */
.portfolio-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15,22,41,0.8), rgba(15,22,41,0.4));
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.2);
}

.portfolio-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.portfolio-card-mockup {
  position: absolute;
  inset: 0;
}

.portfolio-card-mockup svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-card-mockup svg {
  transform: scale(1.05);
}

/* ── Portfolio Carousel ── */
.portfolio-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
}

.carousel-slide svg {
  width: 100%;
  height: 100%;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(15,22,41,0.7);
  backdrop-filter: blur(4px);
  color: var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background 0.2s;
  padding: 0;
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.portfolio-card:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn:hover {
  background: rgba(6,182,212,0.2);
  border-color: rgba(6,182,212,0.3);
  color: var(--cyan-400);
}

.carousel-btn svg {
  pointer-events: none;
}

.carousel-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-card:hover .carousel-dots {
  opacity: 1;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot-active {
  background: var(--cyan-400);
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: rgba(255,255,255,0.4);
}

.portfolio-card-gradient {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-card-gradient {
  transform: scale(1.05);
}

.portfolio-card-initial {
  font-size: 4rem;
  font-weight: 900;
  opacity: 0.25;
  line-height: 1;
  transition: opacity 0.3s;
}

.portfolio-card:hover .portfolio-card-initial {
  opacity: 0.4;
}

.portfolio-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-card-image img {
  transform: scale(1.05);
}

.portfolio-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,0.8), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.portfolio-card:hover .portfolio-card-image::after {
  opacity: 1;
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card-body {
  padding: 24px;
}

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

.portfolio-card-tag {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 500;
  background: rgba(6, 182, 212, 0.08);
  color: var(--cyan-400);
  border: 1px solid rgba(6, 182, 212, 0.12);
}

.portfolio-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-100);
  margin-bottom: 8px;
  transition: color 0.3s;
}

.portfolio-card:hover .portfolio-card-title {
  color: var(--cyan-400);
}

.portfolio-card-excerpt {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Terminal Card ── */
.terminal-card {
  max-width: 620px;
  margin: 2.5rem auto 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(6,11,24,0.8);
  backdrop-filter: blur(8px);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(15,22,41,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.terminal-dot:nth-child(1) { background: #ef4444; }
.terminal-dot:nth-child(2) { background: #f59e0b; }
.terminal-dot:nth-child(3) { background: #22c55e; }

.terminal-title {
  margin-left: auto;
  font-size: 0.65rem;
  color: var(--gray-600);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}

.terminal-body {
  padding: 16px 18px;
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--navy-600) transparent;
}

.terminal-body::-webkit-scrollbar {
  width: 4px;
}

.terminal-body::-webkit-scrollbar-track {
  background: transparent;
}

.terminal-body::-webkit-scrollbar-thumb {
  background: var(--navy-600);
  border-radius: 2px;
}

.terminal-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--gray-300);
  margin-bottom: 6px;
}

.terminal-prompt {
  color: var(--cyan-400);
  font-weight: 600;
  margin-right: 8px;
}

.terminal-cmd {
  color: var(--gray-400);
}

.term-green { color: #22c55e; }
.term-yellow { color: #f59e0b; }
.term-cyan { color: var(--cyan-400); }
.term-gray { color: var(--gray-500); }

.terminal-cursor {
  color: var(--cyan-400);
  animation: termBlink 1s step-end infinite;
}

@keyframes termBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.terminal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  min-height: 28px;
}

.tech-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--gray-500);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.2s;
}

.tech-link:hover {
  color: var(--cyan-400);
  border-color: rgba(6,182,212,0.2);
  background: rgba(6,182,212,0.06);
}

.tech-link-active {
  color: var(--cyan-400);
  border-color: rgba(6,182,212,0.2);
  background: rgba(6,182,212,0.08);
}

/* ── Single Portfolio ── */
.single-portfolio-header {
  padding-top: 10rem;
  padding-bottom: 2rem;
}

.case-study-body {
  max-width: 48rem;
}

.case-study-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-100);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.case-study-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-200);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.case-study-body p {
  margin-bottom: 1.25rem;
  color: var(--gray-300);
  line-height: 1.75;
}

.case-study-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.case-study-body ul li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--gray-300);
}

.case-study-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
}

.case-study-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.related-projects {
  padding: 6rem 0;
}

/* ── Service Cards ── */
.service-card {
  position: relative;
  padding: 40px 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15,22,41,0.6), rgba(15,22,41,0.2));
  border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.06), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.15);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.3s;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-100);
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.service-card-price {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ── Process Timeline ── */
.process-step {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  position: relative;
}

.process-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 80px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(6,182,212,0.3), transparent);
}

.process-step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(6, 182, 212, 0.2);
  background: rgba(6, 182, 212, 0.06);
  color: var(--cyan-400);
}

.process-step-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-100);
  margin-bottom: 6px;
}

.process-step-content p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 480px;
}

/* ── CTA Section ── */
.cta-section {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

.cta-glass {
  position: relative;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15,22,41,0.6), rgba(15,22,41,0.2));
  border: 1px solid rgba(255,255,255,0.05);
}

.cta-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(6,182,212,0.2), transparent, rgba(139,92,246,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.cta-orb:nth-child(1) {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.12), transparent);
  top: -200px; left: -200px;
  animation: orbDrift2 20s ease-in-out infinite;
}

.cta-orb:nth-child(2) {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.1), transparent);
  bottom: -150px; right: -150px;
  animation: orbDrift3 22s ease-in-out infinite -5s;
}

/* ── Contact Form ── */
.contact-input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(15, 22, 41, 0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  color: var(--gray-100);
  font-size: 0.9375rem;
  font-family: 'Space Grotesk', sans-serif;
  transition: all 0.3s;
  outline: none;
}

.contact-input:focus {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.06);
}

.contact-input::placeholder { color: var(--gray-600); }

.contact-input-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: 8px;
}

/* ── Navigation ── */
.nav-scrolled {
  background: rgba(6, 11, 24, 0.92) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom-color: rgba(6, 182, 212, 0.08) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ── Holographic border ── (8) */
#site-nav::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-400), var(--violet-400), var(--cyan-400), transparent);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.5s;
}

.nav-scrolled::before {
  opacity: 1;
  animation: holographicShift 4s ease-in-out infinite;
}

@keyframes holographicShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Nav links ── */
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-400);
  text-decoration: none;
  padding: 4px 0;
  display: inline-block;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--gray-100);
}

.nav-ripple {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 60%);
  border: 1px solid rgba(6, 182, 212, 0.15);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: rippleExpand 0.7s ease-out forwards;
  z-index: 100;
}

@keyframes rippleExpand {
  0% { width: 4px; height: 4px; opacity: 0.6; }
  100% { width: 200px; height: 200px; opacity: 0; }
}

/* (3) CTA button pulse */
.btn-primary-pulse {
  animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
}

/* ── Footer ── */
.site-footer {
  position: relative;
  background: linear-gradient(to top, var(--navy-950), var(--navy-900));
  border-top: 1px solid rgba(255,255,255,0.03);
  overflow: hidden;
}

.footer-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.footer-mesh .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: orbDrift1 30s ease-in-out infinite;
}

.footer-mesh .orb:nth-child(1) {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--cyan-500), transparent);
  bottom: -100px; left: -100px;
  animation: orbDrift3 25s ease-in-out infinite;
}

.footer-mesh .orb:nth-child(2) {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--violet-500), transparent);
  top: 10%; right: -80px;
  animation: orbDrift2 30s ease-in-out infinite;
}

.footer-mesh .orb:nth-child(3) {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--blue-500), transparent);
  bottom: 20%; left: 40%;
  animation: orbDrift1 28s ease-in-out infinite;
}

.footer-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06), transparent 70%);
  pointer-events: none;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  color: var(--gray-400);
}

.footer-link {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.2s;
  padding: 2px 0;
}

.footer-link:hover {
  color: var(--cyan-400);
}

.footer-bar {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .footer-bar {
    justify-content: center;
  }
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.footer-bar-dot {
  font-size: 0.75rem;
  color: var(--gray-600);
}

.footer-legal-link {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-link:hover {
  color: var(--cyan-400);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--gray-200);
}

.post-title-link {
  color: var(--gray-100);
  text-decoration: none;
  transition: color 0.2s;
}

.post-title-link:hover {
  color: var(--cyan-400);
}

.brand-logo {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gray-100);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo:hover {
  color: var(--gray-200);
}

.logo-icon-img {
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
}

/* ── Logo icon demos (scoped by parent) ── */
.icon-demo .logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 5 — Morphing shape */
.icon-morph .logo-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #22d3ee, #60a5fa);
  box-shadow: 0 0 10px rgba(6,182,212,0.5), 0 0 24px rgba(6,182,212,0.2);
  animation: morphShape 6s ease-in-out infinite;
}
@keyframes morphShape {
  0% { border-radius: 50%; transform: scale(1) rotate(0deg); clip-path: none; }
  25% { border-radius: 50%; transform: scale(1.1); clip-path: none; }
  33% { border-radius: 3px; transform: scale(1) rotate(0deg); clip-path: none; }
  50% { border-radius: 3px; transform: scale(1) rotate(45deg); clip-path: none; }
  58% { border-radius: 3px; transform: scale(0.95) rotate(45deg); clip-path: polygon(50% 5%, 95% 95%, 5% 95%); }
  66% { border-radius: 3px; transform: scale(1) rotate(0deg); clip-path: polygon(50% 5%, 95% 95%, 5% 95%); }
  75% { border-radius: 3px; transform: scale(1.05) rotate(0deg); clip-path: polygon(50% 5%, 95% 95%, 5% 95%); }
  83% { border-radius: 50%; transform: scale(0.9) rotate(0deg); clip-path: none; }
  100% { border-radius: 50%; transform: scale(1) rotate(0deg); clip-path: none; }
}

/* 4 — Bracket pair */
.icon-brackets .logo-icon {
  color: #22d3ee;
  font-family: 'Inter', monospace;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(6,182,212,0.4), 0 0 20px rgba(6,182,212,0.15);
  animation: bracketPulse 3s ease-in-out infinite;
  line-height: 1;
}
@keyframes bracketPulse {
  0%, 100% { text-shadow: 0 0 8px rgba(6,182,212,0.4), 0 0 20px rgba(6,182,212,0.15); }
  50% { text-shadow: 0 0 14px rgba(6,182,212,0.6), 0 0 35px rgba(6,182,212,0.25), 0 0 50px rgba(6,182,212,0.1); }
}

/* 3 — Terminal prompt */
.icon-terminal .logo-icon {
  color: #22d3ee;
  font-family: 'JetBrains Mono', 'Inter', monospace;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(6,182,212,0.4), 0 0 20px rgba(6,182,212,0.15);
  line-height: 1;
  gap: 0;
}
.icon-terminal .logo-icon::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 0.85em;
  background: #22d3ee;
  margin-left: 1px;
  animation: cursorBlink 1s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 2 — Pulse ring */
.icon-pulse .logo-icon {}

/* 1 — Atom orbit (picked!) */
.icon-atom .logo-icon,
.logo-icon-atom {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-atom .logo-icon::before,
.logo-icon-atom::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 8px rgba(6,182,212,0.6);
  z-index: 2;
}
.icon-atom .logo-icon::after,
.logo-icon-atom::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top: 1.5px solid var(--cyan-400);
  border-right: 1.5px solid var(--cyan-400);
  opacity: 0.6;
  animation: orbitSpin 2s linear infinite;
  filter: drop-shadow(0 0 4px rgba(6,182,212,0.3));
}
.icon-atom .orbit-ring,
.logo-icon-atom .orbit-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-bottom: 1.5px solid var(--violet-400);
  border-left: 1.5px solid var(--violet-400);
  opacity: 0.4;
  animation: orbitSpin 2.8s linear infinite reverse;
  filter: drop-shadow(0 0 4px rgba(139,92,246,0.3));
}
@keyframes orbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 1 — Atom orbit */
.icon-atom .logo-icon {
  width: 16px;
  height: 16px;
}
.icon-atom .logo-icon::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 8px rgba(6,182,212,0.6);
  z-index: 2;
}
.icon-atom .logo-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top: 1.5px solid #22d3ee;
  border-right: 1.5px solid #22d3ee;
  opacity: 0.6;
  animation: orbitSpin 2s linear infinite;
  filter: drop-shadow(0 0 4px rgba(6,182,212,0.3));
}
.icon-atom .orbit-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-bottom: 1.5px solid #a78bfa;
  border-left: 1.5px solid #a78bfa;
  opacity: 0.4;
  animation: orbitSpin 2.8s linear infinite reverse;
  filter: drop-shadow(0 0 4px rgba(139,92,246,0.3));
}
@keyframes orbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.logo-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.logo-icon::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 8px rgba(6,182,212,0.6);
  z-index: 2;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top: 1.5px solid var(--cyan-400);
  border-right: 1.5px solid var(--cyan-400);
  opacity: 0.6;
  animation: orbitSpin 2s linear infinite;
  filter: drop-shadow(0 0 4px rgba(6,182,212,0.3));
}

.logo-icon .orbit-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-bottom: 1.5px solid var(--violet-400);
  border-left: 1.5px solid var(--violet-400);
  opacity: 0.4;
  animation: orbitSpin 2.8s linear infinite reverse;
  filter: drop-shadow(0 0 4px rgba(139,92,246,0.3));
}

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

/* ══════════════════════════════════════════════════════
   UTILITIES — replaces Tailwind CDN
   ══════════════════════════════════════════════════════ */

/* ── Display ── */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.flex-1 { flex: 1; }
.grid { display: grid; }
.contents { display: contents; }

/* ── Flex ── */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* ── Grid ── */
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Width / Height ── */
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-20 { height: 5rem; }
.min-h-screen { min-height: 100vh; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-12 { width: 3rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-12 { height: 3rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-1\.5 { width: 0.375rem; }
.h-1\.5 { height: 0.375rem; }

/* ── Max Width ── */
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }

/* ── Margin ── */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-28 { margin-bottom: 7rem; }

/* ── Padding ── */
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }
.pt-28 { padding-top: 7rem; }
.pt-32 { padding-top: 8rem; }
.pt-40 { padding-top: 10rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-28 { padding-bottom: 7rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

/* ── Text ── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }
.text-9xl { font-size: 8rem; line-height: 1; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-none { line-height: 1; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.no-underline { text-decoration: none; }
.tracking-wider { letter-spacing: 0.05em; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-16 > * + * { margin-top: 4rem; }

/* ── Positioning ── */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ── Border ── */
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.border-t { border-top-width: 1px; border-top-style: solid; }

/* ── Other ── */
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.resize-y { resize: vertical; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-500 { transition-duration: 500ms; }
.opacity-0 { opacity: 0; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── Responsive: sm (640px+) ── */
@media (min-width: 640px) {
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
}

/* ── Responsive: md (768px+) ── */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:inline-flex { display: inline-flex; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-start { align-items: flex-start; }
  .md\:justify-between { justify-content: space-between; }
  .md\:justify-center { justify-content: center; }
  .md\:items-center { align-items: center; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:p-8 { padding: 2rem; }
  .md\:p-10 { padding: 2.5rem; }
  .md\:p-12 { padding: 3rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-9xl { font-size: 8rem; line-height: 1; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}

/* ── Responsive: lg (1024px+) ── */
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ── Contact form spacing ── */
.contact-input {
  padding: 18px 24px;
}
.contact-input-label {
  margin-bottom: 10px;
}
#helioryn-contact-form .space-y-6 > * + * {
  margin-top: 2rem;
}

/* ── Responsive overrides ── */
@media (max-width: 768px) {
  .hero-title { font-size: 2.25rem; }
  .hero-desc { font-size: 1rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-stat-value { font-size: 1.5rem; }
  .section-title { font-size: 1.75rem; }
  .cta-glass { padding: 28px 20px; }
  .process-step { padding: 24px 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.75rem; }
  .hero-desc { font-size: 0.9375rem; }
  .hero-stat-value { font-size: 1.25rem; }
  .section-title { font-size: 1.5rem; }
  .cta-glass { padding: 24px 16px; }
  .cta-glass h2 { font-size: 1.5rem; }
  .terminal-card { max-width: 100%; margin-left: 0; margin-right: 0; border-radius: 8px; }
  .terminal-body { max-height: 280px; padding: 12px 14px; }
  .terminal-line { font-size: 0.71875rem; }
  .nav-link.py-2.text-lg { font-size: 1rem; }
  .brand-logo { font-size: 1.4rem !important; }
  .brand-logo .logo-icon-img { height: 22px !important; }
  .hero-section { padding-top: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; transition: none; }
  .mesh-bg .orb { animation: none; }
  .particle { display: none; }
  .hero-title, .hero-badge, .hero-desc, .hero-actions, .hero-stats { animation: none; opacity: 1; }
}
