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

:root {
  --bg: #08080c;
  --bg-2: #0e0e14;
  --bg-3: #14141c;
  --bg-card: #12121a;
  --bg-card-hover: #181822;
  --surface: #1a1a24;
  --text: #eeeef0;
  --text-2: #9d9daa;
  --text-3: #5c5c6a;
  --accent: #8b5cf6;
  --accent-2: #a78bfa;
  --accent-3: #7c3aed;
  --accent-glow: rgba(139, 92, 246, 0.12);
  --accent-glow-2: rgba(139, 92, 246, 0.25);
  --pink: #ec4899;
  --cyan: #22d3ee;
  --green: #34d399;
  --orange: #f97316;
  --border: rgba(255, 255, 255, 0.06);
  --border-2: rgba(255, 255, 255, 0.1);
  --r: 14px;
  --r-sm: 8px;
  --r-lg: 20px;
  --r-xl: 28px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: 'Sora', 'Space Grotesk', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-3) var(--bg-2);
}

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

@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none !important; }
}

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

a { text-decoration: none; color: inherit; cursor: none; }
button { cursor: none; }
img { max-width: 100%; display: block; }

::selection {
  background: var(--accent);
  color: white;
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--accent-2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
  border-color 0.3s, background 0.3s, opacity 0.3s;
  mix-blend-mode: difference;
}

.cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
}

.cursor.hover {
  width: 56px;
  height: 56px;
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--accent);
}

/* ===== AMBIENT BACKGROUND ===== */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -100px;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--pink);
  bottom: -100px;
  left: -200px;
  animation: orbFloat 25s ease-in-out infinite reverse;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--cyan);
  top: 50%;
  left: 50%;
  animation: orbFloat 30s ease-in-out infinite 5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -80px) scale(1.1); }
  66% { transform: translate(-40px, 40px) scale(0.9); }
}

/* Grid overlay */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
  linear-gradient(var(--border) 1px, transparent 1px),
  linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.3;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(8, 8, 12, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.logo-cube {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: white;
  transition: transform 0.3s var(--ease-spring);
}

.nav-logo:hover .logo-cube {
  transform: rotate(10deg) scale(1.05);
}

.logo-name {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
}

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

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.3s var(--ease);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--accent-glow);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  padding: 9px 22px;
  background: var(--accent);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  transition: all 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--accent-3);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow-2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1001;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav-toggle.active span:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}

.nav-toggle.active span:last-child {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* ===== SECTION LABEL ===== */
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.label-num {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

.label-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.label-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-3);
}

/* Text gradient utility */
.text-gradient {
  background: linear-gradient(135deg, var(--accent-2), var(--pink), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 140px 32px 100px;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-content {
  flex: 1.2;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s var(--ease-out);
}

.tag-line {
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.hero-tag span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent-2);
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.title-line {
  display: block;
  overflow: hidden;
}

.title-word {
  display: inline-block;
  animation: wordReveal 0.8s var(--ease-out) calc(var(--d) * 0.1s + 0.2s) backwards;
  margin-right: 14px;
}

.title-outline {
  -webkit-text-stroke: 2px var(--text);
  -webkit-text-fill-color: transparent;
}

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

@keyframes wordReveal {
  from {
    opacity: 0;
    transform: translateY(100%) rotateX(-80deg);
    filter: blur(4px);
  }
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 36px;
  animation: fadeUp 0.7s var(--ease-out) 0.5s backwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
  animation: fadeUp 0.7s var(--ease-out) 0.6s backwards;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--accent);
  color: white;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-3), var(--pink));
  opacity: 0;
  transition: opacity 0.3s;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow-2);
}

.btn-text, .btn-icon { position: relative; z-index: 1; }

.btn-icon {
  display: flex;
  transition: transform 0.3s var(--ease);
}

.btn-primary:hover .btn-icon {
  transform: translate(3px, -3px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s var(--ease);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  animation: fadeUp 0.7s var(--ease-out) 0.7s backwards;
}

.hero-stat {
  position: relative;
}

.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: var(--border-2);
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--text);
  letter-spacing: -1px;
}

.stat-plus {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.5rem;
}

.stat-text {
  display: block;
  font-size: 0.78rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Hero Visual - 3D Showcase */
.hero-visual {
  flex: 1;
  animation: fadeUp 0.8s var(--ease-out) 0.4s backwards;
}

.showcase-frame {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  transition: all 0.4s var(--ease);
}

.showcase-frame:hover {
  border-color: var(--accent-glow-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 60px var(--accent-glow);
  transform: translateY(-6px);
}

.showcase-inner {
  height: 420px;
  position: relative;
  overflow: hidden;
  background:
  radial-gradient(circle at 50% 50%, var(--accent-glow) 0%, transparent 60%),
  var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 600px;
}

.floating-shape {
  position: absolute;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  animation-delay: 0s;
}

.shape-2 {
  animation-delay: -2.5s;
}

.shape-3 {
  animation-delay: -5s;
}

/* CSS 3D Cube */
.shape-cube {
  width: 100px;
  height: 100px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 12s linear infinite;
}

.cube-face {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 1.5px solid var(--accent-2);
  background: rgba(139, 92, 246, 0.05);
  backdrop-filter: blur(2px);
}

.cube-face.front  { transform: translateZ(50px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(50px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(50px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(50px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(50px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(50px); }

@keyframes rotateCube {
  from { transform: rotateX(25deg) rotateY(0deg); }
  to   { transform: rotateX(25deg) rotateY(360deg); }
}

/* Torus shape */
.shape-torus {
  width: 80px;
  height: 80px;
  border: 3px solid var(--pink);
  border-radius: 50%;
  position: relative;
  animation: rotateTorus 8s linear infinite;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.2);
}

.shape-torus::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px solid rgba(236, 72, 153, 0.3);
  border-radius: 50%;
}

@keyframes rotateTorus {
  from { transform: rotateX(70deg) rotateZ(0deg); }
  to   { transform: rotateX(70deg) rotateZ(360deg); }
}

/* Sphere shape */
.shape-sphere {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--cyan), rgba(34, 211, 238, 0.1));
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.2),
  inset 0 0 20px rgba(34, 211, 238, 0.1);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -30px) rotate(5deg); }
  50% { transform: translate(-10px, -50px) rotate(-3deg); }
  75% { transform: translate(-30px, -20px) rotate(4deg); }
}

.wireframe-grid {
  position: absolute;
  inset: 0;
  background-image:
  linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.showcase-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-3);
}

.label-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

/* Scroll line */
.scroll-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: var(--border-2);
}

.scroll-line-progress {
  width: 100%;
  height: 50%;
  background: var(--accent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { height: 0; opacity: 0; }
  50% { height: 50%; opacity: 1; }
  100% { height: 100%; opacity: 0; }
}

/* ===== SECTIONS ===== */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: var(--bg-2);
}

/* ===== ABOUT ===== */
.about-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.about-avatar-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 40px;
}

.about-avatar {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-glow-2), var(--bg-3));
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.avatar-emoji {
  font-size: 6rem;
}

.avatar-ring {
  position: absolute;
  inset: -10px;
  border: 1.5px dashed var(--accent);
  border-radius: calc(var(--r-xl) + 6px);
  opacity: 0.3;
  animation: spinSlow 20s linear infinite;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.avatar-status {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 600;
  z-index: 2;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.tools-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-3);
  margin-bottom: 16px;
}

.tools-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tool {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  color: var(--text-2);
  transition: all 0.3s var(--ease);
}

.tool:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--text);
}

.tool-icon {
  font-size: 1rem;
}

.about-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-text {
  color: var(--text-2);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.highlight {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all 0.3s var(--ease);
}

.highlight:hover {
  border-color: var(--border-2);
  transform: translateX(8px);
}

.highlight-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.highlight p {
  font-size: 0.88rem;
  color: var(--text-3);
}

/* ===== WORKS ===== */
.works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.works-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1px;
}

.works-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-3);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.filter:hover {
  border-color: var(--accent);
  color: var(--text);
}

.filter.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.work-card.hidden {
  display: none;
}

.work-card.work-large {
  grid-column: span 2;
}

.work-image {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.work-large .work-image {
  height: 380px;
}

.work-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    hsl(var(--hue, 260) 60% 8%),
                              hsl(var(--hue, 260) 50% 15%),
                              hsl(var(--hue, 260) 60% 8%)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.placeholder-content {
  text-align: center;
  z-index: 1;
}

.placeholder-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
}

.placeholder-wireframe {
  width: 120px;
  height: 120px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--r-sm);
}

.placeholder-wireframe::before,
.placeholder-wireframe::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.placeholder-wireframe::before {
  inset: 15px;
  border-radius: 4px;
}

.placeholder-wireframe::after {
  inset: 30px;
  border-radius: 2px;
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 12, 0.95) 0%, rgba(8, 8, 12, 0.4) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

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

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.work-category-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-2);
  margin-bottom: 8px;
  display: block;
}

.work-meta h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.work-meta p {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 10px;
}

.work-details {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.work-details span {
  font-size: 0.7rem;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  color: var(--text-2);
  font-family: var(--mono);
}

.work-expand {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
  align-self: flex-end;
}

.work-expand:hover {
  background: var(--accent-3);
  transform: scale(1.1);
}

/* ===== SERVICES ===== */
.services-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 48px;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--pink));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover::before { opacity: 1; }

.service-card:hover {
  border-color: var(--border-2);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.service-number {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-3);
  margin-bottom: 20px;
}

.service-icon {
  color: var(--accent-2);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card > p {
  color: var(--text-2);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--text-3);
  padding-left: 18px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===== PROCESS ===== */
.process-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 60px;
}

.process-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.process-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.process-step {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-marker {
  width: 56px;
  height: 56px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-2);
  position: relative;
  z-index: 1;
  transition: all 0.3s var(--ease);
}

.process-step:hover .step-marker {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 0 24px var(--accent-glow-2);
}

.step-content {
  padding-top: 10px;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-2);
  font-size: 0.92rem;
}

/* ===== CONTACT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.contact-desc {
  color: var(--text-2);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all 0.3s var(--ease);
}

.channel:hover {
  border-color: var(--border-2);
  transform: translateX(6px);
  background: var(--bg-card-hover);
}

.channel-icon {
  font-size: 1.4rem;
}

.channel-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
}

.channel-value {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}

.channel-arrow {
  margin-left: auto;
  color: var(--text-3);
  transition: all 0.3s var(--ease);
}

.channel:hover .channel-arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  transition: all 0.3s var(--ease);
  outline: none;
  -webkit-appearance: none;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235c5c6a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-3);
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-links-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-3);
  margin-bottom: 16px;
}

.footer-links-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-2);
  padding: 4px 0;
  transition: all 0.2s;
}

.footer-links-col a:hover {
  color: var(--text);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-3);
}

.footer-made {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 12, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.lightbox-close:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* Scroll reveal */
.sr {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding-top: 140px;
  }

  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-tag { justify-content: center; }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-left {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: start;
  }

  .about-avatar-container { margin: 0; }

  .services-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-layout { gap: 48px; }

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

  .work-card.work-large {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

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

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 12, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 1000;
  }

  .nav-links.active { display: flex; }
  .nav-links .nav-link { font-size: 1.5rem; padding: 12px 24px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .hero-container { padding-top: 120px; }
  .showcase-inner { height: 300px; }

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

  .work-card.work-large {
    grid-column: span 1;
  }

  .work-image, .work-large .work-image {
    height: 260px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-stat::after { display: none; }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .about-left {
    flex-direction: column;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

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

  .section { padding: 80px 0; }

  .scroll-line { display: none; }
}
.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s var(--ease);
}

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

/* Lightbox z obrazkiem */
.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r-lg);
}
.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  border-radius: 8px; /* zmień tę wartość */
}
