/* ============================================================
   CWORKS — DARK MODE DESIGN SYSTEM
   Brand Accent: Red (#ef4444)
   WCAG 2.1 AA Compliant
   ============================================================ */

:root {
  /* Background Layers */
  --bg-primary: #050508;
  --bg-secondary: #0a0a14;
  --bg-card: #0f0f1e;
  --bg-elevated: #141428;
  --bg-hover: #1a1a30;

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-on-accent: #ffffff;

  /* Brand Accent — Red */
  --accent: #ef4444;
  --accent-dark: #dc2626;
  --accent-darker: #b91c1c;
  --accent-light: #7f1d1d;
  --accent-glow: rgba(239, 68, 68, 0.12);
  --accent-glow-medium: rgba(239, 68, 68, 0.18);
  --accent-glow-strong: rgba(239, 68, 68, 0.28);

  /* Status Colors */
  --success: #22c55e;
  --success-bg: rgba(34, 197, 94, 0.1);
  --error: #ef4444;
  --error-bg: rgba(239, 68, 68, 0.1);
  --warning: #f59e0b;

  /* Borders */
  --border: #1e1e2e;
  --border-light: #27273a;
  --border-hover: #3f3f5a;
  --border-accent: rgba(239, 68, 68, 0.3);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.55);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px var(--accent-glow);
  --shadow-glow-md: 0 0 40px var(--accent-glow-medium);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography Scale */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', 'Cascadia Code', 'JetBrains Mono', 'Consolas', monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

/* ============================================================
   RESET & BASE
   ============================================================ */

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: 'liga' 1, 'calt' 1, 'kern' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video {
  max-width: 100%;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

::-moz-selection {
  background: var(--accent);
  color: var(--text-on-accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* ============================================================
   SCROLLBAR
   ============================================================ */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

/* ============================================================
   LAYOUT
   ============================================================ */

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

.section {
  padding: 120px 0;
  position: relative;
}

.section + .section {
  border-top: 1px solid var(--border);
}

/* Subtle ambient background for alternating sections */
.section:nth-child(even) {
  background: linear-gradient(
    180deg,
    var(--bg-primary) 0%,
    var(--bg-secondary) 40%,
    var(--bg-secondary) 60%,
    var(--bg-primary) 100%
  );
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transform: translateY(0);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.navbar.hidden {
  transform: translateY(-100%);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

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

.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

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

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

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  color: var(--text-secondary);
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: width var(--transition);
}

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

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

.nav-link.active {
  color: var(--accent);
}

.hamburger {
  display: none;
}

.mobile-menu {
  display: none;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 100px;
  padding-top: 160px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-title {
  font-size: clamp(3.5rem, 10vw, 12rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: var(--text-primary);
  min-height: 0.9em;
}

.hero-title .char {
  background: linear-gradient(180deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  max-width: 800px;
  color: var(--text-secondary);
  margin-bottom: 60px;
}

.hero-subtitle .word {
  color: var(--text-secondary);
}

.hero-location {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.hero-bg-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(239, 68, 68, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 80%, rgba(239, 68, 68, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, rgba(5, 5, 8, 0.4) 0%, rgba(5, 5, 8, 0.65) 40%, var(--bg-primary) 100%);
  pointer-events: none;
}

.hero-bg-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 70% 20%, var(--accent-glow) 0%, transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(239, 68, 68, 0.04) 0%, transparent 50%),
    var(--bg-primary);
}

/* ============================================================
   HERO — Animated Website Preview Grid (20° angle)
   ============================================================ */

.hero-preview-grid {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 140%;
  height: 140%;
  transform: rotate(-20deg);
  transform-origin: center center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  z-index: 0;
}

.hero-preview-track {
  display: flex;
  gap: 16px;
  white-space: nowrap;
  animation: previewScroll 25s linear infinite;
  will-change: transform;
}

.hero-preview-track:nth-child(odd) {
  animation-direction: reverse;
  animation-duration: 30s;
}

.hero-preview-track:nth-child(2) { animation-delay: -5s; }
.hero-preview-track:nth-child(3) { animation-delay: -10s; }
.hero-preview-track:nth-child(4) { animation-delay: -15s; }
.hero-preview-track:nth-child(5) { animation-delay: -3s; }
.hero-preview-track:nth-child(6) { animation-delay: -12s; }
.hero-preview-track:nth-child(7) { animation-delay: -20s; }
.hero-preview-track:nth-child(8) { animation-delay: -7s; }

@keyframes previewScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-preview-card {
  flex-shrink: 0;
  width: 280px;
  height: 190px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0.35;
  transition: opacity var(--transition-slow);
}

.hero-preview-card:hover {
  opacity: 0.6;
}

.hero-preview-card__header {
  height: 40px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}

.hero-preview-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-hover);
}

.hero-preview-card__dot:nth-child(1) { background: var(--accent); }
.hero-preview-card__dot:nth-child(2) { background: var(--warning); }
.hero-preview-card__dot:nth-child(3) { background: var(--success); }

.hero-preview-card__body {
  flex: 1;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-preview-card__line {
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border);
}

.hero-preview-card__line--short { width: 60%; }
.hero-preview-card__line--med { width: 80%; }
.hero-preview-card__line--long { width: 95%; }

.hero-preview-card__line--accent {
  width: 40%;
  background: rgba(239, 68, 68, 0.3);
}

.hero-preview-card__image-placeholder {
  flex: 1;
  margin: 0 14px 10px;
  border-radius: var(--radius-xs);
  background: linear-gradient(135deg, var(--bg-hover) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
}

.hero-preview-track:nth-child(odd) .hero-preview-card__image-placeholder {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-hover) 100%);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-preview-track {
    animation-play-state: paused;
  }
}

@media (max-width: 1024px) {
  .hero-preview-card {
    width: 200px;
    height: 140px;
  }

  .hero-preview-card__header {
    height: 30px;
    padding: 0 10px;
  }

  .hero-preview-card__body {
    padding: 8px 10px;
    gap: 5px;
  }

  .hero-preview-card__line {
    height: 6px;
  }

  .hero-preview-card__image-placeholder {
    margin: 0 10px 8px;
  }
}

@media (max-width: 640px) {
  .hero-preview-card {
    width: 150px;
    height: 105px;
  }

  .hero-preview-card__header {
    height: 24px;
    padding: 0 8px;
    gap: 4px;
  }

  .hero-preview-card__dot {
    width: 6px;
    height: 6px;
  }

  .hero-preview-card__body {
    padding: 6px 8px;
    gap: 4px;
  }

  .hero-preview-card__line {
    height: 4px;
  }

  .hero-preview-card__image-placeholder {
    margin: 0 8px 6px;
  }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 80px;
  gap: 40px;
  flex-wrap: wrap;
}

.section-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--accent-light);
  border-radius: var(--radius-full);
  background: rgba(127, 29, 29, 0.2);
  margin-bottom: 16px;
}

.section-number {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 600;
  font-family: var(--font-mono);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
  clear: both;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 120px;
  align-items: start;
}

.about-text {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.5;
  color: var(--text-secondary);
}

.about-body p {
  margin-bottom: 24px;
}

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

.about-visual {
  padding: 48px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.about-visual:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.about-visual-title {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 32px;
}

.tech-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tech-item {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--bg-secondary);
}

.tech-item:hover {
  transform: translateX(4px);
  border-color: var(--accent);
  background: var(--bg-hover);
  box-shadow: var(--shadow-glow);
}

.tech-icon {
  width: 22px;
  height: 22px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: left;
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-family: var(--font-mono);
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.team-card {
  background: var(--bg-card);
  padding: 48px 32px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.team-card:hover {
  background: var(--bg-elevated);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

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

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 24px;
  object-fit: cover;
  border: 3px solid var(--border);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.team-card:hover .team-avatar {
  transform: scale(1.06);
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.team-role {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-name {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.15;
  color: var(--text-primary);
}

.team-bio {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.team-social {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.team-github,
.team-linkedin {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.team-github:hover,
.team-linkedin:hover {
  color: var(--accent);
  gap: 12px;
}

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}

.portfolio-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 0;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.portfolio-item:hover::before {
  opacity: 1;
}

.portfolio-item-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  transition: background var(--transition);
}

.portfolio-item:hover .portfolio-item-inner {
  background: rgba(15, 15, 30, 0.6);
}

.portfolio-placeholder-icon {
  font-size: 3.5rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color var(--transition), transform var(--transition);
}

.portfolio-item:hover .portfolio-placeholder-icon {
  color: var(--accent);
  transform: scale(1.1);
}

.portfolio-title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.portfolio-category {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.portfolio-placeholder {
  border: 2px dashed var(--border);
  background: var(--bg-secondary);
}

/* ============================================================
   PROJECTS / SERVICES SECTION
   ============================================================ */

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.project-card {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  transition: opacity var(--transition), background var(--transition), padding-left var(--transition);
  border-radius: var(--radius-md);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}

.project-card:first-child {
  border-top: 1px solid var(--border);
}

.project-card:hover {
  background: var(--bg-secondary);
}

.project-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent);
  transition: transform var(--transition-fast);
}

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

.project-name {
  font-size: clamp(1.75rem, 3.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.project-description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tech-tag {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--bg-secondary);
}

.tech-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  box-shadow: var(--shadow-glow);
}

.project-footer {
  display: flex;
  align-items: center;
  gap: 24px;
}

.project-status {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-ghost {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition), color var(--transition), transform var(--transition-fast);
  color: var(--text-secondary);
  padding: 8px 0;
}

.btn-ghost:hover {
  gap: 14px;
  color: var(--accent);
  transform: translateX(2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent);
  padding: 16px 36px;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 16px 36px;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
}

.contact-info h3 {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  line-height: 1.2;
}

.contact-info p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-base);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  transition: color var(--transition-fast), padding-left var(--transition-fast), border-color var(--transition-fast), gap var(--transition-fast);
}

.contact-link i {
  color: var(--text-muted);
  transition: color var(--transition-fast);
  width: 20px;
  text-align: center;
}

.contact-link:hover {
  color: var(--accent);
  padding-left: 12px;
  border-color: var(--border-accent);
  gap: 16px;
}

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

.contact-form {
  padding: 0;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */

.form-group {
  margin-bottom: 32px;
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: var(--text-base);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

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

.form-input:hover,
.form-textarea:hover {
  border-color: var(--border-hover);
  background: var(--bg-elevated);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px;
  cursor: pointer;
}

.input-error {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 4px var(--error-bg) !important;
}

.form-error {
  display: block;
  font-size: var(--text-xs);
  color: var(--error);
  margin-top: 8px;
  min-height: 0;
  font-weight: 500;
}

.form-feedback {
  margin-top: 20px;
  padding: 16px 20px;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  font-weight: 500;
}

.form-feedback--success {
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-feedback--error {
  color: var(--error);
  background: var(--error-bg);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-logo-link {
  font-size: var(--text-2xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

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

.footer-tagline {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-top: 16px;
}

.footer-origin {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-link {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.footer-copy {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 40px;
  font-family: var(--font-mono);
}

/* ============================================================
   SERVICE PAGE COMPONENTS
   ============================================================ */

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 32px;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-card);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow-medium);
  animation: pulse 2s ease-in-out infinite;
}

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

/* Hero Description & CTA */
.hero-description {
  font-size: var(--text-lg);
  line-height: 1.6;
  max-width: 700px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Section Description */
.section-description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin-top: 16px;
}

/* Accent Line */
.accent-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-top: 24px;
  border-radius: var(--radius-full);
}

/* Process Section */
.process-section {
  background: var(--bg-secondary);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background var(--transition), padding-left var(--transition);
  border-radius: var(--radius-md);
  padding-left: 16px;
  margin-left: -16px;
}

.process-step:first-child {
  border-top: 1px solid var(--border);
}

.process-step:hover {
  background: var(--bg-card);
}

.process-step-number {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  font-family: var(--font-mono);
}

.process-step-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.process-step-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
  transition: background var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.pricing-card:hover::before {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow-md);
  background: var(--bg-elevated);
}

.pricing-card--featured::before {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-dark));
}

.pricing-card--featured:hover {
  box-shadow: 0 0 48px var(--accent-glow-strong), var(--shadow-lg);
}

.pricing-tier-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-popular-badge {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-on-accent);
  background: var(--accent);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  width: fit-content;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.pricing-name {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.pricing-price {
  margin-bottom: 24px;
}

.pricing-amount {
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.pricing-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.pricing-features li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.pricing-features li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.7rem;
}

.pricing-notes {
  margin-top: 32px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* FAQ */
.faq-inline {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.faq-inline-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 24px;
}

.faq-list-inner {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition-fast);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  display: none;
  content: '';
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.faq-item:hover .faq-icon {
  color: var(--accent);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 0 24px 0;
}

.faq-answer p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Contact Wrapper Wide */
.contact-wrapper--wide {
  max-width: 1000px;
}

/* ============================================================
   STARTUP LOADER
   ============================================================ */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.page-loader--done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  text-align: center;
}

.page-loader__logo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  animation: loaderPulse 1.2s ease-in-out infinite;
  margin-bottom: 24px;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

.page-loader__bar {
  width: 120px;
  height: 2px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto;
}

.page-loader__bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-full);
  width: 0;
  animation: loaderBar 1.5s ease-out forwards;
}

@keyframes loaderBar {
  0% { width: 0; }
  100% { width: 100%; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================================
   SCROLL REVEAL — Enhanced
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

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

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

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

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

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

/* Smooth scroll handled by Lenis-style JS engine */

/* ============================================================
   HERO — Startup Animation
   ============================================================ */

.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: charReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes charReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: wordReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   VISUAL WORK CARDS — Alternating layout
   ============================================================ */

.work-visual-section {
  padding: 0;
  border-top: none;
}

.work-visual-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.work-visual-row:first-child {
  border-top: 1px solid var(--border);
}

.work-visual-media {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}

.work-visual-media img,
.work-visual-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-visual-media img.work-visual-media--revealed,
.work-visual-media video.work-visual-media--revealed {
  transform: scale(1.02);
}

.work-visual-row:hover .work-visual-media img,
.work-visual-row:hover .work-visual-media video {
  transform: scale(1.05);
}

.work-visual-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5, 5, 8, 0.7) 100%);
  pointer-events: none;
}

.work-visual-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
  position: relative;
}

.work-visual-number {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-visual-number.visible {
  opacity: 1;
  transform: translateY(0);
}

.work-visual-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out 0.1s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.work-visual-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.work-visual-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out 0.2s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.work-visual-desc.visible {
  opacity: 1;
  transform: translateY(0);
}

.work-visual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out 0.3s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.work-visual-tags.visible {
  opacity: 1;
  transform: translateY(0);
}

.work-visual-link {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out 0.4s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.work-visual-link.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   PARALLAX BACKGROUND DECORATION
   ============================================================ */

.parallax-bg {
  position: absolute;
  pointer-events: none;
  opacity: 0.04;
  font-size: 16rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  z-index: 0;
  transition: transform 0.1s linear;
}

/* ============================================================
   PORTFOLIO — With Images
   ============================================================ */

.portfolio-grid--visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

@media (max-width: 640px) {
  .portfolio-grid--visual {
    grid-template-columns: 1fr;
  }
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.portfolio-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
  filter: brightness(0.7);
}

.portfolio-card:hover .portfolio-card__image {
  transform: scale(1.04);
  filter: brightness(0.85);
}

.portfolio-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(5, 5, 8, 0.95));
  pointer-events: none;
}

.portfolio-card__category {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.portfolio-card__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.portfolio-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.portfolio-card__tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(15, 15, 30, 0.8);
}

/* ============================================================
   STATS ROW — ICOMAT-style large numbers
   ============================================================ */

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 80px 0;
}

.stat-card {
  background: var(--bg-card);
  padding: 48px 40px;
  text-align: left;
  transition: background var(--transition);
}

.stat-card:hover {
  background: var(--bg-elevated);
}

.stat-card__number {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.stat-card__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.stat-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================ */

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

  .section {
    padding: 96px 0;
  }

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

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

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

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

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .process-step {
    grid-template-columns: 80px 1fr;
    gap: 32px;
  }

  .work-visual-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .work-visual-media {
    height: 400px;
  }

  .work-visual-content {
    padding: 48px 24px;
  }

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

/* ============================================================
   RESPONSIVE — Mobile (≤ 640px)
   ============================================================ */

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

  .section {
    padding: 72px 0;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 140px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero-title {
    margin-bottom: 24px;
  }

  .hero-subtitle {
    margin-bottom: 40px;
  }

  .hero::before,
  .hero::after {
    width: 300px;
    height: 300px;
  }

  .section-header {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
  }

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

  .team-card {
    padding: 36px 24px;
  }

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

  .about-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-visual {
    padding: 32px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 20px;
  }

  .project-card {
    padding: 40px 0;
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0;
  }

  .process-step-number {
    font-size: var(--text-2xl);
  }

  .pricing-card {
    padding: 36px 24px;
  }

  .contact-wrapper {
    gap: 48px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    justify-content: center;
  }

  .work-visual-media {
    height: 280px;
  }

  .work-visual-row[style*="rtl"] {
    direction: ltr;
  }

  .work-visual-content {
    padding: 40px 16px;
  }

  .portfolio-grid--visual {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .portfolio-card__overlay {
    padding: 24px 16px;
  }

  .portfolio-card__title {
    font-size: var(--text-xl);
  }

  .stat-card {
    padding: 32px 24px;
  }
}

/* ============================================================
   RESPONSIVE — Desktop Wide Refinements (> 1280px)
   ============================================================ */

@media (min-width: 1280px) {
  .section-header {
    margin-bottom: 100px;
  }

  .hero {
    padding-bottom: 120px;
  }
}
