/* ============================================
   GABRIEL — Web Designer Portfolio
   Design System: Dark Luxury Editorial
   ============================================ */

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

:root {
  --bg:        #04030f;
  --surface:   #08071a;
  --surface-2: #0e0d28;
  --border:    rgba(155, 123, 255, 0.1);
  --text:      #EAE8FF;
  --muted:     #5a587a;
  --accent:    #9B7BFF;
  --accent-2:  #38BDF8;
  --accent-dim: rgba(155, 123, 255, 0.12);
  --font:      'Space Grotesk', sans-serif;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.76, 0, 0.24, 1);
  --radius:    4px;
}

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

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

/* Film grain noise overlay */
body::after {
  content: '';
  position: fixed;
  inset: -100px;
  width: calc(100% + 200px);
  height: calc(100% + 200px);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9990;
  animation: grainShift 0.18s steps(3) infinite;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-2%, -1%); }
  40%  { transform: translate(1%, 2%); }
  60%  { transform: translate(-1%, 1%); }
  80%  { transform: translate(2%, -2%); }
  100% { transform: translate(0, 0); }
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); }

/* --- Custom Cursor --- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 255, 0, 0.5);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
}

.cursor-ring.is-hovering {
  width: 60px;
  height: 60px;
  background: var(--accent-dim);
}

body:not(.has-mouse) .cursor-dot,
body:not(.has-mouse) .cursor-ring {
  display: none;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-bottom: 1px solid var(--border);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 2rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
  z-index: 0;
}

.btn:hover { color: var(--bg); border-color: var(--accent); }
.btn:hover::before { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; }
.btn span { position: relative; z-index: 1; }

.btn-accent {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 600;
}
.btn-accent::before { background: var(--text); }
.btn-accent:hover { color: var(--bg); }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem clamp(1.5rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Always blurred — legibil indiferent de conținutul din spate */
  background: rgba(4, 3, 15, 0.65);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(155, 123, 255, 0.08);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease),
              border-color 0.4s, backdrop-filter 0.4s;
}

.header.scrolled {
  background: rgba(4, 3, 15, 0.88);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom-color: rgba(155, 123, 255, 0.15);
}

.header-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  transition: color 0.2s;
}

.header-logo span {
  color: var(--accent);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.header-nav a:hover { color: var(--text); }
.header-nav a:hover::after { width: 100%; }
.header-nav a.active { color: var(--text); }
.header-nav a.active::after { width: 100%; }

.header-cta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 0.6rem 1.25rem;
  transition: background 0.25s, color 0.25s;
}

.header-cta:hover { background: var(--text); }

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 15, 0.92);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--muted);
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--accent); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(7rem, 12vh, 10rem) clamp(1.5rem, 4vw, 4rem) clamp(3rem, 5vh, 4rem);
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* Star-chart dot grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(155, 123, 255, 0.22) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.7;
  pointer-events: none;
}

/* fade out grid at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(155, 123, 255, 0.7); }
  50% { box-shadow: 0 0 0 8px rgba(155, 123, 255, 0); }
}

.hero-year {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.hero-display {
  position: relative;
  z-index: 1;
  margin: 0 -0.02em;
}

/* Name label above title */
.hero-name-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.hero-label-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--muted);
}

/* Two-line hero title */
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 0.88;
}

.hero-title-line {
  display: block;
  font-size: clamp(5.5rem, 17vw, 22rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

/* Outlined/stroke line */
.hero-title-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
  text-stroke: 1.5px var(--text);
  transition: -webkit-text-stroke-color 0.3s, color 0.3s;
}

.hero-title-outline:hover {
  color: var(--text);
  -webkit-text-stroke-color: transparent;
}

/* Filled line */
.hero-title-filled {
  color: var(--text);
  text-shadow: 0 0 120px rgba(155, 123, 255, 0.35), 0 0 40px rgba(155, 123, 255, 0.15);
}

.hero-title-filled .accent {
  color: var(--accent);
  text-shadow: 0 0 60px rgba(155, 123, 255, 0.6);
}

/* Outline hover becomes filled with glow */
.hero-title-outline:hover {
  color: var(--text);
  -webkit-text-stroke-color: transparent;
  text-shadow: 0 0 80px rgba(155, 123, 255, 0.25);
}

/* Rotating badge */
.rotate-badge {
  position: absolute;
  top: 1rem;
  right: 0;
  width: 115px;
  height: 115px;
  color: var(--muted);
  animation: rotateBadge 9s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rotate-badge svg {
  position: absolute;
  inset: 0;
}

.badge-center {
  font-size: 1.25rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease);
}

.rotate-badge:hover .badge-center {
  transform: rotate(45deg);
}

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

/* Ambient glow behind title */
.hero-display::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(200, 255, 0, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-role {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

.hero-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 36ch;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}

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

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee-item .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.about-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.about-headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--text);
}

.about-headline em {
  font-style: normal;
  color: var(--accent);
}

.about-text p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-right {
  padding-top: 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 3.5rem;
}

.stat-item {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-right: none;
  border-bottom: none;
}

.stat-item:nth-child(2) { border-right: 1px solid var(--border); }
.stat-item:nth-child(3) { border-bottom: 1px solid var(--border); }
.stat-item:nth-child(4) { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number span {
  color: var(--accent);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.skills-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  padding: 0.4rem 0.875rem;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   SERVICES
   ============================================ */
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
}

.services-title {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.services-subtitle {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 28ch;
  line-height: 1.7;
  text-align: right;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1.75rem;
  border-bottom: 1px solid var(--border);
  cursor: default;
  transition: background 0.3s;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--surface);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: 0;
}

.service-item:hover::before { transform: scaleX(1); }

.service-item > * { position: relative; z-index: 1; }

.service-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.service-name {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color 0.2s;
}

.service-item:hover .service-name { color: var(--accent); }

.service-desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.35rem;
  max-width: 40ch;
}

.service-arrow {
  font-size: 1.5rem;
  color: var(--muted);
  transition: color 0.2s, transform 0.3s var(--ease);
}

.service-item:hover .service-arrow {
  color: var(--accent);
  transform: translateX(6px) translateY(-6px);
}

/* ============================================
   PROJECTS (Homepage)
   ============================================ */
.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
}

.projects-title {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.projects-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.projects-link:hover { color: var(--accent); }

.projects-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
}

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
}

.project-thumb {
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease);
}

.project-card:hover .project-thumb { transform: scale(1.05); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: background 0.3s;
}

.project-card:hover .project-overlay {
  background: linear-gradient(to top, rgba(8,8,8,0.98) 0%, rgba(8,8,8,0.5) 60%, rgba(8,8,8,0.1) 100%);
}

.project-category {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.project-name {
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.project-view {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), color 0.2s;
}

.project-card:hover .project-view {
  opacity: 1;
  transform: translateY(0);
  color: var(--accent);
}

/* Gradient thumbnails — cosmic palette */
.grad-1 { background: linear-gradient(135deg, #1a0a3e 0%, #3d1a8c 50%, #7c3aed 100%); }
.grad-2 { background: linear-gradient(135deg, #0a1040 0%, #1e3a8a 50%, #3b82f6 100%); }
.grad-3 { background: linear-gradient(135deg, #0e0433 0%, #4c1d95 40%, #7c3aed 70%, #38bdf8 100%); }
.grad-4 { background: linear-gradient(135deg, #0c0a1e 0%, #1e1b4b 50%, #4338ca 100%); }
.grad-5 { background: linear-gradient(135deg, #2d0a4e 0%, #7c2d92 50%, #c026d3 100%); }
.grad-6 { background: linear-gradient(135deg, #030712 0%, #111827 40%, #1e3a5f 100%); }

/* ============================================
   CONTACT
   ============================================ */
.contact {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.contact-label::before,
.contact-label::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.contact-headline {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 2rem;
}

.contact-headline span { color: var(--accent); }

.contact-email {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--muted);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-email a {
  color: var(--text);
  transition: color 0.2s;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}

.contact-email a:hover { color: var(--accent); border-color: var(--accent); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  text-align: left;
  margin-bottom: 1rem;
}

.form-group {
  position: relative;
  background: var(--bg);
}

.form-group label {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
  transition: all 0.2s;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 2.25rem 1.5rem 0.875rem;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  transition: background 0.2s;
}

.form-group:focus-within {
  background: var(--surface);
}

.form-group:focus-within label {
  font-size: 0.6rem;
  color: var(--accent);
}

.form-group textarea {
  height: 160px;
  resize: none;
}

.form-submit {
  width: 100%;
  padding: 1.25rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border: none;
  transition: background 0.25s, color 0.25s;
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.form-submit:hover::before { transform: scaleX(1); }
.form-submit:hover { color: var(--bg); }
.form-submit span { position: relative; z-index: 1; }

/* ============================================
   PROCESS
   ============================================ */
.process-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.process-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.process-title {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.process-step {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.process-step:last-child { border-right: none; }

.process-step::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}

.process-step:hover { background: var(--surface); }
.process-step:hover::after { width: 100%; }

.process-step-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.process-num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.process-step-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.process-en {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.process-step-title {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
}

.process-desc {
  font-size: 0.825rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================
   FOOTER (redesigned)
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

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

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}

.footer-logo span { color: var(--accent); }

.footer-tagline {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-nav-title {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.footer-nav a,
.footer-social-col a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-nav a:hover,
.footer-social-link:hover { color: var(--accent); }

.footer-social-col {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-social-link {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-cta-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-cta-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.3;
}

.footer-btn { align-self: flex-start; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.footer-copy,
.footer-made {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ============================================
   SUB-PAGE HERO (Portfolio / Services)
   ============================================ */
.page-hero {
  min-height: 80vh;
  padding: clamp(9rem, 18vh, 13rem) clamp(1.5rem, 4vw, 4rem) clamp(4rem, 7vh, 6rem);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

/* Star-chart dot grid — same as hero */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(155, 123, 255, 0.18) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.6;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 55%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* Top block: label + title */
.page-hero-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.page-hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-hero-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.page-hero-title {
  font-size: clamp(3.5rem, 11vw, 13rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.88;
  text-shadow: 0 0 100px rgba(155, 123, 255, 0.2);
}

/* Bottom block: desc + nav side by side */
.page-hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.page-hero-desc {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.75;
}

.page-hero-nav {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* ============================================
   PROJECTS GRID (Full Page)
   ============================================ */
.full-grid-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

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

.project-card-lg {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--surface);
}

.project-card-lg .project-thumb {
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease);
}

.project-card-lg:hover .project-thumb { transform: scale(1.04); }

.project-card-lg .project-overlay {
  padding: 2.5rem;
}

/* ============================================
   SERVICES GRID (Full Page)
   ============================================ */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card-full {
  background: var(--bg);
  padding: clamp(2rem, 4vw, 3.5rem);
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card-full::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s var(--ease);
}

.service-card-full:hover { background: var(--surface); }
.service-card-full:hover::before { height: 100%; }

.service-card-num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.service-card-icon {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  display: block;
}

.service-card-name {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
}

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

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-features li {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-features li::before {
  content: '→';
  color: var(--accent);
  font-size: 0.75rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(3) { border-top: 1px solid var(--border); }
  .process-step:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 3rem; }
  .about-right { padding-top: 0; }
  .projects-grid-home { grid-template-columns: 1fr 1fr; }
  .projects-full-grid { grid-template-columns: 1fr; }
  .services-full-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .services-subtitle { text-align: left; }
  .service-item { grid-template-columns: 50px 1fr auto; gap: 1rem; }
  .hero-footer { grid-template-columns: 1fr; gap: 2rem; }
  .hero-scroll { display: none; }
  .hero-cta-group { flex-direction: row; }
  .rotate-badge { width: 88px; height: 88px; }
  .rotate-badge svg { width: 88px; height: 88px; }
  .page-hero-bottom { flex-direction: column; align-items: flex-start; gap: 2rem; }
}

@media (max-width: 640px) {
  /* Header */
  .header { padding: 1.25rem 1.25rem; }
  .header-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; position: relative; z-index: 102; }

  /* Mobile menu above everything */
  .mobile-menu { z-index: 101; }

  /* Hero */
  .hero { padding: 7rem 1.25rem 2.5rem; }
  .hero-title-line { font-size: clamp(4rem, 20vw, 7.5rem); }
  .rotate-badge { display: none; }
  .hero-name-label { font-size: 0.65rem; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { text-align: center; justify-content: center; }

  /* Sections */
  .section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }

  /* Services */
  .service-item { grid-template-columns: 1fr; gap: 0.4rem; padding: 1.5rem 1.25rem; }
  .service-num { display: none; }
  .service-arrow { display: none; }
  .service-name { font-size: 1.1rem; }

  /* About */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 1.25rem 1rem; }
  .stat-number { font-size: clamp(2rem, 10vw, 3rem); }

  /* Projects */
  .projects-grid-home { grid-template-columns: 1fr; }
  .projects-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .project-card { aspect-ratio: 4/3; }

  /* Contact */
  .contact-headline { font-size: clamp(2.75rem, 14vw, 5rem); line-height: 0.92; }

  /* Page hero (sub-pages) */
  .page-hero { min-height: 60vh; padding: 7rem 1.25rem 3rem; }
  .page-hero-title { font-size: clamp(3rem, 16vw, 7rem); }
  .page-hero-bottom { flex-direction: column; align-items: flex-start; gap: 1.75rem; }
  .page-hero-nav { flex-direction: column; width: 100%; }
  .page-hero-nav .btn { justify-content: center; text-align: center; }

  /* Process */
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-top: 1px solid var(--border); padding: 1.75rem 1.25rem; }
  .process-step:first-child { border-top: none; }
  .process-header { flex-direction: column; gap: 0.5rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; text-align: center; padding: 1.25rem 0; }
  .footer-nav-title { display: none; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
  .footer-social-col { flex-direction: row; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
}

/* ============================================
   ANIMATIONS (initial states for GSAP)
   ============================================ */
.gsap-fade { opacity: 0; }
.gsap-up { opacity: 0; transform: translateY(40px); }
.gsap-left { opacity: 0; transform: translateX(-30px); }

/* ============================================
   SPACE ELEMENTS — Nebula, Planet, Shooting Stars
   ============================================ */

/* Canvas starfield sits fixed behind everything */
#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Nebula glow blobs */
.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: nebulaBreath ease-in-out infinite;
}

.nebula-1 {
  width: clamp(320px, 55vw, 750px);
  height: clamp(320px, 55vw, 750px);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 70%);
  top: -15%;
  right: -8%;
  animation-duration: 14s;
  animation-delay: 0s;
}

.nebula-2 {
  width: clamp(200px, 35vw, 500px);
  height: clamp(200px, 35vw, 500px);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1), transparent 70%);
  bottom: 0;
  left: -5%;
  animation-duration: 18s;
  animation-delay: 4s;
}

.nebula-3 {
  width: clamp(150px, 22vw, 320px);
  height: clamp(150px, 22vw, 320px);
  background: radial-gradient(circle, rgba(192, 38, 211, 0.08), transparent 70%);
  top: 50%;
  left: 30%;
  animation-duration: 11s;
  animation-delay: 7s;
}

@keyframes nebulaBreath {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(1.12); }
}

/* Planet */
.planet-wrapper {
  position: absolute;
  top: 50%;
  right: clamp(2rem, 7vw, 7rem);
  transform: translateY(-58%);
  z-index: 2;
  width: clamp(100px, 18vw, 260px);
  height: clamp(100px, 18vw, 260px);
  pointer-events: none;
}

.planet {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(
    circle at 35% 32%,
    rgba(167, 139, 250, 0.45) 0%,
    rgba(99, 102, 241, 0.25) 30%,
    rgba(56, 189, 248, 0.12) 60%,
    rgba(4, 3, 15, 0.95) 100%
  );
  box-shadow:
    0 0 50px rgba(124, 58, 237, 0.25),
    0 0 120px rgba(124, 58, 237, 0.12),
    inset 0 0 60px rgba(0, 0, 0, 0.65),
    inset -25px -18px 50px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(155, 123, 255, 0.18);
  animation: planetFloat 9s ease-in-out infinite;
  overflow: visible;
}

/* Surface bands */
.planet::before {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 11px,
    rgba(155, 123, 255, 0.05) 11px,
    rgba(155, 123, 255, 0.05) 13px
  );
}

/* Light highlight */
.planet::after {
  content: '';
  position: absolute;
  top: 14%;
  left: 18%;
  width: 28%;
  height: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  filter: blur(6px);
}

.planet-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 158%;
  height: 28%;
  border: 1px solid rgba(155, 123, 255, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(74deg);
  pointer-events: none;
}

.planet-ring-2 {
  width: 130%;
  height: 20%;
  border-color: rgba(56, 189, 248, 0.18);
  transform: translate(-50%, -50%) rotateX(74deg) rotateZ(12deg);
}

/* Orbiting satellite dot */
.planet-orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 210%;
  height: 210%;
  border: 1px dashed rgba(155, 123, 255, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbitSpin 22s linear infinite;
}

.planet-satellite {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent), 0 0 16px rgba(155, 123, 255, 0.4);
  top: 0; left: 50%;
  transform: translateX(-50%);
}

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes planetFloat {
  0%, 100% { transform: translateY(-58%) rotate(0deg); }
  33%       { transform: translateY(calc(-58% - 14px)) rotate(1.2deg); }
  66%       { transform: translateY(calc(-58% - 7px)) rotate(-0.8deg); }
}

/* Shooting stars */
.shooting-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.shooting-star {
  position: absolute;
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(155, 123, 255, 0.9) 50%, rgba(255, 255, 255, 0.6) 100%);
  opacity: 0;
  animation: shootAcross linear infinite;
  transform-origin: right center;
}

.ss1 { top: 12%; width: 100px; animation-duration: 5s;  animation-delay: 0.8s; }
.ss2 { top: 28%; width: 70px;  animation-duration: 8s;  animation-delay: 3.2s; }
.ss3 { top: 55%; width: 130px; animation-duration: 6.5s; animation-delay: 5.5s; }
.ss4 { top: 75%; width: 55px;  animation-duration: 9s;  animation-delay: 1.8s; }

@keyframes shootAcross {
  0%   { transform: translateX(110vw) translateY(0)    rotate(-18deg) scaleX(0); opacity: 0; }
  2%   { opacity: 1; transform: translateX(100vw)  translateY(5px)   rotate(-18deg) scaleX(1); }
  45%  { opacity: 0.9; }
  55%  { transform: translateX(-20vw)  translateY(55px)  rotate(-18deg) scaleX(1); opacity: 0; }
  100% { opacity: 0; transform: translateX(-20vw) translateY(55px) rotate(-18deg) scaleX(0); }
}

/* Star cursor ring — cosmic purple */
.cursor-ring { border-color: rgba(155, 123, 255, 0.5); }
.cursor-ring.is-hovering { background: rgba(155, 123, 255, 0.1); }

/* Hero section z-index stack */
.hero > *:not(.nebula):not(.nebula-1):not(.nebula-2):not(.nebula-3):not(.planet-wrapper):not(.shooting-stars) {
  position: relative;
  z-index: 3;
}

@media (max-width: 900px) {
  .planet-wrapper { display: none; }
}

@media (max-width: 640px) {
  .shooting-stars { display: none; }
}

/* ============================================
   PREMIUM POLISH — micro-details & finisaje
   ============================================ */

/* Headings render crisper */
h1, h2, h3, h4 {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Sections get a faint accent line on top */
.section {
  border-top: 1px solid var(--border);
}
.section:first-of-type { border-top: none; }

/* Header logo hover — slight glow */
.header-logo:hover { color: var(--text); }
.header-logo:hover span { text-shadow: 0 0 20px rgba(155, 123, 255, 0.8); }

/* Buttons — shimmer sweep on accent */
.btn-accent::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-15deg);
  transition: left 0.5s var(--ease);
  z-index: 1;
}
.btn-accent:hover::after { left: 160%; }

/* Skill tags — purple glow on hover */
.skill-tag:hover {
  box-shadow: 0 0 12px rgba(155, 123, 255, 0.2);
}

/* Stats — number glow */
.stat-number {
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Service items — first border */
.services-list { border-top: 1px solid var(--border); }

/* Project overlay — stronger gradient */
.project-overlay {
  background: linear-gradient(
    to top,
    rgba(4, 3, 15, 0.97) 0%,
    rgba(4, 3, 15, 0.3) 55%,
    transparent 100%
  );
}
.project-card:hover .project-overlay,
.project-card-lg:hover .project-overlay {
  background: linear-gradient(
    to top,
    rgba(4, 3, 15, 1) 0%,
    rgba(4, 3, 15, 0.6) 55%,
    rgba(4, 3, 15, 0.1) 100%
  );
}

/* Contact headline — gradient text */
.contact-headline {
  background: linear-gradient(135deg, var(--text) 40%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-headline span {
  background: none;
  -webkit-text-fill-color: var(--accent);
}

/* Form inputs — accent border on focus */
.form-group:focus-within {
  outline: 1px solid rgba(155, 123, 255, 0.3);
}

/* Mobile menu links — staggered hover */
.mobile-menu a {
  transition: color 0.2s, transform 0.2s;
}
.mobile-menu a:hover {
  transform: translateX(12px);
}

/* Marquee dots — pulsing */
.marquee-item .dot {
  animation: pulse 2.5s ease-in-out infinite;
}

/* Footer logo hover */
.footer-logo:hover span { text-shadow: 0 0 16px rgba(155, 123, 255, 0.7); }

/* Scrollbar thumb glow */
::-webkit-scrollbar-thumb {
  box-shadow: 0 0 6px rgba(155, 123, 255, 0.4);
}

/* Process step num — glow */
.process-num {
  text-shadow: 0 0 12px rgba(155, 123, 255, 0.5);
}

/* Page-hero title gradient */
.page-hero-title {
  background: linear-gradient(135deg, var(--text) 50%, rgba(155, 123, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Service card full — accent number glow */
.service-card-num {
  text-shadow: 0 0 10px rgba(155, 123, 255, 0.4);
}

/* Selection highlight */
::selection {
  background: rgba(155, 123, 255, 0.25);
  color: var(--text);
}
::-moz-selection {
  background: rgba(155, 123, 255, 0.25);
  color: var(--text);
}

/* ============================================
   BACKDROP BLUR — glass effects per component
   ============================================ */

/* Hero status pill — frosted glass tag */
.hero-status {
  background: rgba(155, 123, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(155, 123, 255, 0.12);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

/* Stat cards — glass panels */
.stat-item {
  background: rgba(155, 123, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.stat-item:hover {
  background: rgba(155, 123, 255, 0.07);
}

/* Skill tags — glass chips */
.skill-tag {
  background: rgba(155, 123, 255, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Marquee strip — frosted band */
.marquee-section {
  background: rgba(8, 7, 26, 0.7);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-top: 1px solid rgba(155, 123, 255, 0.08);
  border-bottom: 1px solid rgba(155, 123, 255, 0.08);
}

/* Form — glass input fields */
.form-group {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.contact-form {
  background: rgba(155, 123, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Process steps — glass hover */
.process-step:hover {
  background: rgba(155, 123, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Service card full — glass hover */
.service-card-full:hover {
  background: rgba(8, 7, 26, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Rotate badge — frosted glass */
.rotate-badge {
  background: rgba(4, 3, 15, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
}

/* Footer top area — subtle frost */
.footer {
  background: rgba(4, 3, 15, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top-color: rgba(155, 123, 255, 0.1);
}

/* Btn secondary — glass fill */
.btn:not(.btn-accent) {
  background: rgba(155, 123, 255, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn:not(.btn-accent):hover {
  background: transparent;
}
