/* ===== EasyKod — Design System ===== */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);

  --text-primary: #f0f0f5;
  --text-secondary: #9898a8;
  --text-muted: #5c5c6e;

  --accent-cyan: #00d4ff;
  --accent-purple: #a855f7;
  --accent-pink: #ec4899;
  --gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  --gradient-text: linear-gradient(135deg, #00d4ff 0%, #a855f7 50%, #ec4899 100%);

  --font-main: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-glow: 0 0 60px rgba(0, 212, 255, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1440px;
  --container-padding: 40px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

a {
  color: inherit;
  text-decoration: none;
}

img { max-width: 100%; display: block; }

/* ===== Cursor Glow ===== */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 15% 15%, rgba(0, 212, 255, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 65% 45% at 85% 45%, rgba(168, 85, 247, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 50% 100%, rgba(99, 102, 241, 0.06) 0%, transparent 50%);
}

.site-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.site-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: float 12s ease-in-out infinite;
}

.site-bg-orb--1 {
  width: 560px;
  height: 560px;
  background: rgba(0, 212, 255, 0.14);
  top: -140px;
  right: -120px;
}

.site-bg-orb--2 {
  width: 480px;
  height: 480px;
  background: rgba(168, 85, 247, 0.12);
  top: 42%;
  left: -180px;
  animation-delay: -4s;
}

.site-bg-orb--3 {
  width: 420px;
  height: 420px;
  background: rgba(99, 102, 241, 0.1);
  bottom: 8%;
  right: -80px;
  animation-delay: -8s;
}

main {
  position: relative;
  z-index: 1;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-full { width: 100%; justify-content: center; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  z-index: 10;
}

.logo-icon {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent-cyan);
}

.logo-text .accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: auto; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 820px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 28px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  width: fit-content;
}

.stat { text-align: center; }

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  animation: bounce 2s infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-cyan), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

/* ===== Sections ===== */
section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* ===== Services ===== */
.services-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 40px;
  max-width: 640px;
}

.services-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.services-tab:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.services-tab.active {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.35);
  color: var(--text-primary);
}

.services-tab.active[data-service="web"] {
  border-color: rgba(14, 165, 233, 0.4);
  background: rgba(14, 165, 233, 0.08);
}

.services-tab.active[data-service="plugin"] {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.08);
}

.services-tab.active[data-service="bot"] {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
}

.tab-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tab-dot--web { background: #0ea5e9; box-shadow: 0 0 12px rgba(14, 165, 233, 0.5); }
.tab-dot--plugin { background: #a855f7; box-shadow: 0 0 12px rgba(168, 85, 247, 0.5); }
.tab-dot--bot { background: #f59e0b; box-shadow: 0 0 12px rgba(245, 158, 11, 0.5); }

.services-highlights {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.services-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.services-highlights svg {
  color: #22c55e;
  flex-shrink: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.service-card {
  position: relative;
  padding: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.service-card-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.service-card--web .service-card-glow { background: rgba(14, 165, 233, 0.25); }
.service-card--plugin .service-card-glow { background: rgba(168, 85, 247, 0.3); }
.service-card--bot .service-card-glow { background: rgba(245, 158, 11, 0.25); }

.service-card:hover,
.service-card.is-active {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.service-card.is-active {
  transform: translateY(-6px);
}

.service-card:hover .service-card-glow,
.service-card.is-active .service-card-glow {
  opacity: 1;
}

.service-card--featured {
  border-color: rgba(14, 165, 233, 0.35);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.featured-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 6px 14px;
  background: var(--gradient);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  z-index: 2;
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.service-pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
}

.service-card--web .service-pricing {
  border-color: rgba(14, 165, 233, 0.25);
  background: rgba(14, 165, 233, 0.06);
}

.service-card--plugin .service-pricing {
  border-color: rgba(168, 85, 247, 0.25);
  background: rgba(168, 85, 247, 0.06);
}

.service-card--bot .service-pricing {
  border-color: rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.06);
}

.service-price {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.service-card--web .service-price { color: #38bdf8; }
.service-card--plugin .service-price { color: #c084fc; }
.service-card--bot .service-price { color: #fbbf24; }

.service-time {
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  white-space: nowrap;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
}

.service-icon--web {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
}

.service-icon--plugin {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.service-icon--bot {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
  min-height: 44px;
  position: relative;
  z-index: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.service-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

.service-card--plugin .service-features li::before { background: var(--accent-purple); }
.service-card--bot .service-features li::before { background: #f59e0b; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.service-tags li {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.service-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ===== Process ===== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
  opacity: 0.3;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-cyan);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.process-step:hover .step-number {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Portfolio ===== */
.portfolio {
  position: relative;
  background: linear-gradient(180deg, #0a0a0f 0%, #0c0a14 45%, #0a0a12 100%);
  overflow: hidden;
}

.portfolio-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.portfolio-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 75% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 15% 80%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 40% 35% at 50% 50%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
}

.portfolio-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 15%, transparent 70%);
}

.portfolio-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.22;
}

.portfolio-orb--1 {
  width: 550px;
  height: 550px;
  background: rgba(168, 85, 247, 0.18);
  top: -180px;
  right: -120px;
}

.portfolio-orb--2 {
  width: 480px;
  height: 480px;
  background: rgba(34, 197, 94, 0.12);
  bottom: -140px;
  left: -100px;
}

.portfolio .container {
  position: relative;
  z-index: 1;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.portfolio-filter {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.portfolio-filter:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.portfolio-filter.active {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.35);
  color: var(--text-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.portfolio-preview {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-preview--web {
  background: linear-gradient(135deg, #0c4a6e 0%, #1e3a8a 50%, #312e81 100%);
}

.portfolio-preview--game {
  background: linear-gradient(135deg, #14532d 0%, #065f46 50%, #134e4a 100%);
}

.portfolio-preview--bot {
  background: linear-gradient(135deg, #78350f 0%, #b45309 50%, #c2410c 100%);
}

.portfolio-preview--discord {
  background: linear-gradient(135deg, #4c1d95 0%, #5b21b6 50%, #3730a3 100%);
}

.portfolio-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.portfolio-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
}

/* Preview mocks */
.preview-mock {
  position: relative;
  z-index: 1;
}

.preview-mock--browser {
  width: 85%;
  max-width: 280px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transform: perspective(600px) rotateX(4deg);
  transition: var(--transition);
}

.portfolio-card:hover .preview-mock--browser {
  transform: perspective(600px) rotateX(0deg) translateY(-4px);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.mock-bar span:first-child { background: #ef4444; }
.mock-bar span:nth-child(2) { background: #f59e0b; }
.mock-bar span:nth-child(3) { background: #22c55e; }

.mock-url {
  flex: 1;
  margin-left: 8px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.mock-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
}

.mock-block {
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.mock-block--wide {
  grid-column: 1 / -1;
  height: 48px;
}

.preview-mock--game .mock-blocks {
  display: grid;
  grid-template-columns: repeat(3, 32px);
  gap: 4px;
}

.preview-mock--game .mock-blocks span {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2);
}

.preview-mock--game .mock-blocks span:nth-child(odd) {
  background: rgba(255, 255, 255, 0.22);
}

.preview-mock--chat {
  width: 80%;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-msg {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 11px;
  max-width: 85%;
  line-height: 1.4;
}

.mock-msg--in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.15);
  border-bottom-left-radius: 4px;
}

.mock-msg--out {
  align-self: flex-end;
  background: rgba(56, 189, 248, 0.35);
  border-bottom-right-radius: 4px;
}

.preview-mock--discord {
  width: 75%;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-channel {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.5);
}

.mock-channel.active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.portfolio-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.portfolio-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  min-height: 44px;
  margin-bottom: 16px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-bottom: 16px;
}

.portfolio-tags li {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.meta-item svg { flex-shrink: 0; opacity: 0.7; }

.meta-item--accent {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent-cyan);
}

.portfolio-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.portfolio-footer p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* ===== Tech Marquee ===== */
.tech {
  padding: 40px 0;
  overflow: hidden;
}

.tech-marquee {
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: var(--transition);
}

.marquee-track span:hover { color: var(--accent-cyan); }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Contact ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-method:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
}

.method-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--accent-cyan);
}

.method-icon svg { width: 22px; height: 22px; }

.method-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.method-value {
  font-weight: 500;
}

.contact-form {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group select {
  cursor: pointer;
  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='%239898a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ===== Footer ===== */
.footer {
  padding: 60px 0 0;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 12px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--accent-cyan); }

.footer-bottom {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--bg-secondary);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(120%);
  opacity: 0;
  transition: var(--transition);
  z-index: 2000;
  max-width: 400px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast--error {
  border-color: rgba(239, 68, 68, 0.35);
}

.toast--error svg {
  color: #ef4444;
}

.toast svg { color: #22c55e; flex-shrink: 0; }

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (min-width: 1600px) {
  :root {
    --container-max: 1520px;
    --container-padding: 48px;
  }
}

@media (max-width: 1024px) {
  :root {
    --container-padding: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .service-card {
    min-height: auto;
  }

  .service-card p {
    min-height: auto;
  }

  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-timeline::before { display: none; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transform: translateX(100%);
    transition: var(--transition);
  }

  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.25rem; }
  .nav-cta { display: none; }
  .burger { display: flex; }

  .hero-stats {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .hero-scroll { display: none; }

  .process-timeline { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }

  .portfolio-body p { min-height: auto; }

  .portfolio-meta { flex-direction: column; align-items: flex-start; gap: 8px; }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links { justify-content: center; }

  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 24px; }
}
