/* ═══════════════════════════════════════════════════════════════
   The Empty Company — Design System
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --bg: #050505;
  --surface: #111111;
  --accent: #FF0040;
  --accent-dim: rgba(255, 0, 64, 0.1);
  --accent-mid: rgba(255, 0, 64, 0.4);
  --white: #f5f5f5;
  --muted: #999999;
  --border: rgba(255, 0, 64, 0.2);
  --font-mono: 'Share Tech Mono', monospace;
  --font-display: 'Orbitron', sans-serif;
}

/* Light Mode */
[data-theme="light"] {
  --bg: #ffffff;
  --surface: #f5f5f5;
  --accent: #FF0040;
  --accent-dim: rgba(255, 0, 64, 0.08);
  --accent-mid: rgba(255, 0, 64, 0.3);
  --white: #0d0d0d;
  --muted: #666666;
  --border: rgba(255, 0, 64, 0.25);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--bg);
  transition: background 0.3s ease, color 0.3s ease;
  color: var(--white);
  font-family: var(--font-mono);
  overflow-x: hidden;
  cursor: crosshair;
  -webkit-tap-highlight-color: rgba(255, 0, 64, 0.2);
  touch-action: manipulation;
  -webkit-overflow-scrolling: touch;
}

/* Better text selection */
::selection {
  background: var(--accent);
  color: var(--bg);
}

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

/* ─── Scanlines Effect ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  pointer-events: none;
  z-index: 9999;
  transition: background 0.3s ease;
}

[data-theme="light"] body::before {
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
}

/* ─── Corner Decorations ─── */
.corner {
  position: fixed;
  width: 40px;
  height: 40px;
  z-index: 100;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

[data-theme="light"] .corner {
  opacity: 0.7;
}

.corner-tl {
  top: 16px;
  left: 16px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}

.corner-tr {
  top: 16px;
  right: 16px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}

.corner-bl {
  bottom: 16px;
  left: 16px;
  border-bottom: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}

.corner-br {
  bottom: 16px;
  right: 16px;
  border-bottom: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════════════════ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 48px;
  z-index: 200;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] nav {
  background: rgba(232, 232, 232, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-left: 48px;
  justify-self: start;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-logo-text span:first-child {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--white);
  text-transform: uppercase;
}

.nav-logo-text span:last-child {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  opacity: 0.7;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  justify-self: center;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

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

.nav-links a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: end;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--accent);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
}

.theme-toggle:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  transform: scale(1.05);
}

.theme-toggle:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.theme-toggle:active {
  transform: scale(0.95);
  background: rgba(255, 0, 64, 0.15);
}

.theme-icon {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-icon-dark {
  opacity: 1;
}

.theme-icon-light {
  opacity: 0;
  transform: rotate(180deg);
}

[data-theme="light"] .theme-icon-dark {
  opacity: 0;
  transform: rotate(180deg);
}

[data-theme="light"] .theme-icon-light {
  opacity: 1;
  transform: rotate(0deg);
}

.nav-status {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

/* ═══════════════════════════════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 48px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 680px;
}

.hero-tag {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.hero-title .line-1 {
  color: var(--white);
}

.hero-title .line-2 {
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
}

/* Glitch Effect */
.hero-title-wrap {
  position: relative;
  display: inline-block;
}

.hero-title-wrap::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--accent);
  opacity: 0;
  animation: glitch 6s infinite 2s;
}

@keyframes glitch {
  0% { clip-path: inset(0 0 98% 0); transform: translateX(-4px); }
  10% { clip-path: inset(30% 0 50% 0); transform: translateX(4px); }
  20% { clip-path: inset(60% 0 20% 0); transform: translateX(-2px); }
  30% { clip-path: inset(80% 0 5% 0); transform: translateX(2px); }
  40% { clip-path: inset(0 0 0 0); transform: translateX(0); opacity: 1; }
  100% { clip-path: inset(0 0 0 0); transform: translateX(0); opacity: 0; }
}

.hero-sub {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 480px;
  margin-top: 40px;
  margin-bottom: 48px;
  border-left: 2px solid var(--border);
  padding-left: 20px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  right: 48px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 12px;
}

.scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--muted), transparent);
}

/* ═══════════════════════════════════════════════════════════════
   Cyber Visualization Zone
   ═══════════════════════════════════════════════════════════════ */

.cyber-zone {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

/* Code Rain */
.code-rain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: 1;
}

[data-theme="light"] .code-rain {
  opacity: 0.15;
}

/* Network Visualization */
.network-viz {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  opacity: 0.65;
  z-index: 2;
}

[data-theme="light"] .network-viz {
  opacity: 0.4;
}

/* 3D Wireframe */
.wireframe-container {
  position: absolute;
  top: 50%;
  right: 12%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  z-index: 3;
}

.wireframe-3d {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 30px rgba(255, 0, 64, 0.7));
}

.wireframe-3d line,
.wireframe-3d path {
  stroke: var(--accent);
  stroke-width: 1.2;
  fill: none;
  opacity: 0.85;
}

.wireframe-3d circle {
  fill: var(--accent);
  opacity: 1;
}

/* Floating Metrics */
.metrics-display {
  position: absolute;
  top: 15%;
  right: 6%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 4;
  pointer-events: auto;
}

.metric-panel {
  background: rgba(5, 5, 5, 0.95);
  border: 1px solid var(--accent);
  padding: 14px 18px;
  min-width: 160px;
  font-family: var(--font-mono);
  backdrop-filter: blur(10px);
  animation: metricFloat 3s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(255, 0, 64, 0.3);
}

[data-theme="light"] .metric-panel {
  background: rgba(5, 5, 5, 0.92);
  box-shadow: 0 0 20px rgba(255, 0, 64, 0.2);
}

.metric-panel:nth-child(1) { animation-delay: 0s; }
.metric-panel:nth-child(2) { animation-delay: 0.3s; }
.metric-panel:nth-child(3) { animation-delay: 0.6s; }

@keyframes metricFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.metric-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.metric-value {
  font-size: 18px;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.metric-bar {
  width: 100%;
  height: 3px;
  background: var(--accent-dim);
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.8s ease;
  box-shadow: 0 0 8px var(--accent);
}

/* Service Icons Float */
.service-icons-float {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: auto;
}

.float-icon {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  opacity: 0.9;
  transition: opacity 0.3s, transform 0.3s;
  cursor: pointer;
  animation: iconFloat 4s ease-in-out infinite;
}

.float-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

.float-icon svg {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 15px rgba(255, 0, 64, 0.7));
}

.float-icon span {
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: bold;
}

/* Position each icon */
.float-icon[data-service="backup"] {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.float-icon[data-service="monitor"] {
  top: 35%;
  left: 35%;
  animation-delay: 0.5s;
}

.float-icon[data-service="endpoint"] {
  top: 25%;
  right: 25%;
  animation-delay: 1s;
}

.float-icon[data-service="cloud"] {
  top: 55%;
  left: 20%;
  animation-delay: 1.5s;
}

.float-icon[data-service="security"] {
  top: 70%;
  left: 45%;
  animation-delay: 2s;
}

.float-icon[data-service="ai"] {
  top: 60%;
  right: 20%;
  animation-delay: 2.5s;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-12px) rotate(2deg);
  }
  75% {
    transform: translateY(12px) rotate(-2deg);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .cyber-zone {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════════════ */

.btn-primary {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  border: none;
  padding: 14px 32px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  display: inline-block;
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

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

.btn-primary:active {
  transform: translateY(0);
  opacity: 0.7;
}

.btn-ghost {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--border);
  padding: 14px 32px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  display: inline-block;
}

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

.btn-ghost:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.btn-ghost:active {
  transform: translateY(0);
  background: rgba(255, 0, 64, 0.15);
}

/* ═══════════════════════════════════════════════════════════════
   Stats Bar
   ═══════════════════════════════════════════════════════════════ */

.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  padding: 24px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   Sections
   ═══════════════════════════════════════════════════════════════ */

section {
  padding: 96px 48px;
}

.section-header {
  margin-bottom: 64px;
}

.section-tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-tag::before {
  content: '[';
  color: var(--muted);
}

.section-tag::after {
  content: ']';
  color: var(--muted);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}

.section-desc {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 16px;
  max-width: 600px;
}

/* ═══════════════════════════════════════════════════════════════
   Services
   ═══════════════════════════════════════════════════════════════ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
}

.service-card {
  background: var(--surface);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.service-card:hover {
  background: var(--accent-dim);
}

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

.service-card:hover::before {
  height: 100%;
}

.service-num {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 24px;
}

.service-icon {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--muted);
  transition: color 0.3s;
  font-family: var(--font-mono);
}

.service-card:hover .service-icon {
  color: var(--accent);
}

.service-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   Packages
   ═══════════════════════════════════════════════════════════════ */

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

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

.package-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px 32px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.package-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.package-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 0, 64, 0.05) 0%, var(--surface) 100%);
}

.pkg-badge {
  position: absolute;
  top: -1px;
  right: 32px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
}

.pkg-head {
  margin-bottom: 20px;
}

.pkg-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pkg-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pkg-modules {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.pkg-services {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  min-height: 200px;
}

.pkg-service {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  padding-left: 4px;
}

.pkg-service::before {
  content: '✓';
  color: var(--accent);
  margin-right: 12px;
  font-weight: 500;
}

.pkg-footer {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.pkg-btn {
  display: block;
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  padding: 14px 24px;
  transition: all 0.3s;
}

.pkg-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.pkg-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.pkg-btn-primary:hover {
  background: transparent;
  color: var(--white);
}

.packages-note {
  display: flex;
  gap: 16px;
  align-items: start;
  background: rgba(255, 0, 64, 0.05);
  border: 1px solid rgba(255, 0, 64, 0.2);
  padding: 20px 24px;
  margin-top: 32px;
}

.note-icon {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 700;
}

.note-text {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

.note-text strong {
  color: var(--white);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   Architecture
   ═══════════════════════════════════════════════════════════════ */

.arch-section {
  background: var(--surface);
}

.arch-inner {
  border: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(255, 0, 64, 0.05) 0%,
    transparent 100%
  );
  padding: 48px;
}

.arch-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}

.arch-tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.arch-subtitle {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
}

.arch-sub {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 440px;
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

.arch-card {
  background: var(--bg);
  padding: 28px 24px;
  min-height: 160px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.arch-card:hover {
  background: var(--accent-dim);
}

.arch-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.arch-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 10px;
}

.arch-stack {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   About
   ═══════════════════════════════════════════════════════════════ */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-r { background: #ff5f57; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #28ca41; }

.terminal-title {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.1em;
}

.terminal-body {
  padding: 24px;
  font-size: 12px;
  line-height: 2;
}

.term-line {
  display: flex;
  gap: 12px;
}

.term-prompt {
  color: var(--accent);
}

.term-cmd {
  color: var(--white);
}

.term-out {
  color: var(--muted);
  padding-left: 20px;
}

.term-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--accent);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 4px;
}

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

.about-text p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 20px;
}

.about-text p strong {
  color: var(--white);
  font-weight: normal;
}

.credentials {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.cred-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.cred-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cred-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  background: rgba(255, 0, 64, 0.08);
  border: 1px solid rgba(255, 0, 64, 0.25);
  padding: 8px 14px;
  letter-spacing: 0.05em;
}

.philosophy-line {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 32px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* ═══════════════════════════════════════════════════════════════
   Contact
   ═══════════════════════════════════════════════════════════════ */

.contact-section {
  background: var(--surface);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  max-width: 640px;
}

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

input,
textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 14px 16px;
  width: 100%;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  border-radius: 0;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  transition: color 0.2s;
}

input:hover,
textarea:hover {
  border-color: var(--accent-mid);
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  transform: translateY(-1px);
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: transparent;
}

textarea {
  height: 120px;
  resize: none;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   Divider
   ═══════════════════════════════════════════════════════════════ */

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 48px;
  opacity: 0.3;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--accent);
}

.divider span {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════ */

footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.footer-copy {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {
  .arch-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .arch-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════════
   Mobile Optimization — All Devices
   ═══════════════════════════════════════════════════════════════ */

/* Hide cyber visualizations on mobile */
@media (max-width: 768px) {
  .cyber-zone {
    display: none;
  }
  
  .scroll-hint {
    display: none;
  }
}

/* Tablets & Small Laptops (768px - 1024px) */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:nth-child(2n) {
    border-right: none;
  }

  .service-card:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pkg-badge {
    right: 24px;
  }
}

/* Large Phones & Small Tablets (431px - 768px) 
   iPhone Pro Max, Samsung Galaxy S21+ Ultra */
@media (max-width: 768px) {
  nav {
    padding: 16px 24px;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .nav-logo {
    margin-left: 0;
  }

  .nav-logo svg {
    width: 34px;
    height: 34px;
  }

  .nav-logo-text span:first-child {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .nav-logo-text span:last-child {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .nav-links {
    display: none;
  }

  .nav-right {
    justify-self: end;
    gap: 18px;
  }

  .nav-status span {
    display: none;
  }

  .theme-toggle {
    width: 48px;
    height: 48px;
    border-radius: 8px;
  }

  .hero {
    padding: 0 28px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    padding-top: 80px;
    padding-bottom: 80px;
    max-width: 100%;
    width: 100%;
  }

  .hero-tag {
    font-size: clamp(9px, 2.5vw, 10px);
    padding: 8px 18px;
    margin-bottom: 24px;
    letter-spacing: 0.18em;
    border-radius: 4px;
    display: inline-block;
  }

  .hero-title {
    font-size: clamp(42px, 11vw, 56px);
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
  }
  
  .hero-title .line-2 {
    display: block;
    -webkit-text-stroke-width: 1px;
  }

  .hero-sub {
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 40px;
    letter-spacing: 0.01em;
    max-width: 90%;
  }

  .hero-actions {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    padding: 18px 28px;
    font-size: 12px;
    text-align: center;
    min-height: 54px;
    letter-spacing: 0.18em;
    border-radius: 2px;
    font-weight: 600;
  }

  .hero-subtitle {
    font-size: 14px;
    max-width: 100%;
    letter-spacing: 0.02em;
    line-height: 1.7;
  }

  .hero-ring-1,
  .hero-ring-2,
  .hero-logo-center,
  .hero-logo-bg,
  .hero-subtitle {
    display: none;
  }
  
  .hero-sub {
    max-width: 100% !important;
    margin-top: 24px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 0;
    border-radius: 0;
    overflow: hidden;
    border-left: none;
    border-right: none;
  }

  .stat {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 36px 24px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: background 0.3s ease;
  }

  .stat:nth-child(2n) {
    border-right: none;
  }

  .stat:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .stat-num {
    font-size: 48px;
    letter-spacing: -0.02em;
    font-weight: 900;
  }

  .stat-label {
    font-size: 11px;
    text-align: center;
    letter-spacing: 0.12em;
    line-height: 1.5;
  }

  section {
    padding: 80px 28px;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .section-tag {
    font-size: 10px;
    padding: 6px 16px;
    letter-spacing: 0.25em;
    border-radius: 3px;
  }

  .section-title {
    font-size: clamp(32px, 8vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
  }

  .section-desc {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.01em;
    max-width: 90%;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 -28px;
    width: calc(100% + 56px);
  }

  .service-card {
    border-right: none;
    border-left: none;
    padding: 48px 32px;
    min-height: 220px;
    transition: all 0.3s ease;
  }

  .service-card:active {
    background: var(--accent-dim);
  }

  .service-num {
    font-size: 11px;
    margin-bottom: 24px;
    letter-spacing: 0.25em;
  }

  .service-icon {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .service-name {
    font-size: 15px;
    margin-bottom: 16px;
    letter-spacing: 0.12em;
    line-height: 1.3;
  }

  .service-desc {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.01em;
    color: var(--muted);
  }

  .service-card:last-child {
    border-bottom: none;
  }

  .packages-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 0;
  }

  .package-card {
    padding: 48px 32px;
    border-radius: 0;
    transition: all 0.3s ease;
  }

  .package-card:active {
    transform: scale(0.98);
  }

  .pkg-head {
    margin-bottom: 28px;
  }

  .pkg-name {
    font-size: 32px;
    margin-bottom: 12px;
    letter-spacing: 0.03em;
  }

  .pkg-tagline {
    font-size: 13px;
    letter-spacing: 0.1em;
    line-height: 1.5;
  }

  .pkg-modules {
    font-size: 11px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    letter-spacing: 0.12em;
  }

  .pkg-services {
    min-height: auto;
    gap: 16px;
    margin-bottom: 40px;
  }

  .pkg-service {
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: 0.01em;
    padding-left: 8px;
  }

  .pkg-service::before {
    margin-right: 14px;
    font-size: 14px;
  }

  .pkg-badge {
    right: 32px;
    font-size: 10px;
    padding: 8px 16px;
    letter-spacing: 0.12em;
    border-radius: 0 0 4px 4px;
  }

  .pkg-btn {
    padding: 18px 28px;
    font-size: 12px;
    min-height: 54px;
    letter-spacing: 0.15em;
    font-weight: 600;
    border-radius: 2px;
  }

  .packages-note {
    padding: 24px 28px;
    gap: 18px;
    border-radius: 4px;
    margin-top: 40px;
  }

  .note-icon {
    font-size: 24px;
    margin-top: 2px;
  }

  .note-text {
    font-size: 13px;
    line-height: 1.85;
    letter-spacing: 0.01em;
  }

  .arch-grid {
    grid-template-columns: 1fr;
    gap: 1px;
    border-radius: 0;
    margin: 0 -28px;
    width: calc(100% + 56px);
  }

  .arch-inner {
    padding: 48px 28px;
    border-radius: 0;
  }

  .arch-card {
    padding: 36px 28px;
    min-height: 180px;
  }

  .arch-subtitle {
    font-size: 13px;
    letter-spacing: 0.08em;
    line-height: 1.5;
  }

  .arch-header {
    margin-bottom: 48px;
  }

  .arch-tag {
    letter-spacing: 0.35em;
  }

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

  .terminal-block {
    padding: 28px;
    border-radius: 0;
  }

  .terminal-line {
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0.01em;
  }

  .term-out {
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0.01em;
  }

  .about-text p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 26px;
    letter-spacing: 0.01em;
  }

  .cred-badges {
    flex-direction: column;
    gap: 14px;
  }

  .cred-badge {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 12px;
    letter-spacing: 0.12em;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  .cred-badge:active {
    transform: scale(0.98);
  }

  .philosophy-line {
    font-size: 22px;
    margin-top: 48px;
    padding-top: 36px;
    letter-spacing: 0.02em;
    line-height: 1.4;
  }

  input,
  textarea {
    font-size: 15px;
    padding: 16px 18px;
    border-radius: 0;
    letter-spacing: 0.01em;
    border-width: 1px;
    transition: all 0.3s ease;
  }

  input:focus,
  textarea:focus {
    border-width: 2px;
    padding: 15px 17px;
    outline: none;
  }

  textarea {
    min-height: 160px;
    line-height: 1.7;
  }

  .contact-form button {
    width: 100%;
    padding: 18px 28px;
    font-size: 12px;
    min-height: 54px;
    letter-spacing: 0.18em;
    font-weight: 600;
    border-radius: 2px;
  }

  footer {
    padding: 44px 28px;
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-logo-text {
    font-size: 11px;
    letter-spacing: 0.25em;
  }

  .footer-copy {
    font-size: 10px;
    letter-spacing: 0.12em;
    line-height: 1.6;
  }

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

  .divider {
    margin: 0 28px;
    opacity: 0.5;
  }
  
  .about-layout {
    gap: 48px;
  }

  .corner {
    width: 32px;
    height: 32px;
  }

  .corner-tl {
    top: 70px;
    left: 12px;
  }

  .corner-tr {
    top: 12px;
    right: 12px;
  }

  .corner-bl {
    bottom: 12px;
  }

  .corner-br {
    bottom: 12px;
    right: 12px;
  }
}

/* Standard Phones (376px - 430px)
   iPhone 13/14/15, iPhone Pro, Samsung Galaxy S Series */
@media (max-width: 430px) {
  nav {
    padding: 14px 20px;
    gap: 16px;
  }

  .nav-logo svg {
    width: 32px;
    height: 32px;
  }

  .theme-toggle {
    width: 46px;
    height: 46px;
    border-radius: 8px;
  }

  .hero {
    padding: 0 20px;
    min-height: 100vh;
  }

  .hero-content {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-tag {
    font-size: 9px;
    padding: 7px 16px;
    letter-spacing: 0.18em;
  }

  .hero-title {
    font-size: clamp(38px, 10vw, 50px);
    letter-spacing: -0.02em;
  }

  .hero-sub {
    font-size: 14px;
    line-height: 1.8;
    max-width: 95%;
  }

  .btn-primary,
  .btn-ghost {
    padding: 16px 24px;
    font-size: 11px;
    min-height: 50px;
    letter-spacing: 0.16em;
  }

  .stats-bar {
    margin: 0;
    border-left: none;
    border-right: none;
  }

  .stat {
    padding: 32px 20px;
    min-height: 110px;
  }

  .stat-num {
    font-size: 44px;
    letter-spacing: -0.02em;
  }

  .stat-label {
    font-size: 10.5px;
    letter-spacing: 0.12em;
  }

  section {
    padding: 72px 20px;
  }

  .section-tag {
    padding: 5px 14px;
    letter-spacing: 0.24em;
  }

  .section-title {
    font-size: clamp(30px, 7.5vw, 38px);
    letter-spacing: -0.01em;
  }

  .section-desc {
    font-size: 13px;
    line-height: 1.75;
  }

  .service-card {
    border-right: none;
    border-left: none;
    padding: 44px 28px;
    min-height: 200px;
  }

  .service-num {
    letter-spacing: 0.24em;
  }

  .service-name {
    font-size: 14px;
    letter-spacing: 0.11em;
  }

  .service-desc {
    font-size: 13px;
    line-height: 1.75;
  }

  .package-card {
    padding: 44px 28px;
  }

  .pkg-name {
    font-size: 28px;
    letter-spacing: 0.02em;
  }

  .pkg-badge {
    right: 28px;
    font-size: 9.5px;
    padding: 7px 14px;
    letter-spacing: 0.12em;
  }

  .pkg-btn {
    padding: 16px 24px;
    font-size: 11px;
    min-height: 50px;
    letter-spacing: 0.16em;
  }

  .packages-note {
    padding: 22px 24px;
    gap: 16px;
  }

  .note-icon {
    font-size: 22px;
  }

  .note-text {
    font-size: 12.5px;
    line-height: 1.8;
  }

  .arch-inner {
    padding: 40px 24px;
  }

  .arch-card {
    padding: 32px 24px;
    min-height: 160px;
  }

  .terminal-block {
    padding: 24px;
  }

  .terminal-line {
    font-size: 12px;
    line-height: 1.65;
  }

  .term-out {
    font-size: 12px;
    line-height: 1.65;
  }

  .about-text p {
    font-size: 13px;
    line-height: 1.85;
  }

  .cred-badge {
    padding: 12px 18px;
    font-size: 11px;
    letter-spacing: 0.11em;
  }

  input,
  textarea {
    padding: 15px 16px;
    font-size: 14px;
    letter-spacing: 0.01em;
  }

  input:focus,
  textarea:focus {
    padding: 14px 15px;
  }

  textarea {
    min-height: 150px;
  }

  .contact-form button {
    min-height: 50px;
    letter-spacing: 0.16em;
  }

  .divider {
    margin: 0 24px;
    opacity: 0.5;
  }

  .corner {
    width: 32px;
    height: 32px;
    opacity: 0.25;
  }

  .corner-tl {
    top: 80px;
    left: 14px;
  }

  .corner-tr {
    top: 14px;
    right: 14px;
  }

  .corner-bl {
    bottom: 14px;
    left: 14px;
  }

  .corner-br {
    bottom: 14px;
    right: 14px;
  }
}

/* Small Phones (320px - 375px)
   iPhone SE, older Samsung models */
@media (max-width: 375px) {
  nav {
    padding: 12px 18px;
  }

  .nav-logo svg {
    width: 30px;
    height: 30px;
  }

  .nav-logo-text span:first-child {
    font-size: 10.5px;
    letter-spacing: 0.12em;
  }

  .nav-logo-text span:last-child {
    font-size: 8.5px;
    letter-spacing: 0.08em;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 7px;
  }

  .hero {
    padding: 0 18px;
    min-height: 100vh;
  }

  .hero-content {
    padding-top: 60px;
    padding-bottom: 50px;
  }

  .hero-tag {
    font-size: 8.5px;
    padding: 6px 14px;
    letter-spacing: 0.18em;
  }

  .hero-title {
    font-size: clamp(36px, 9vw, 44px);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
  }

  .hero-sub {
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 100%;
  }

  .btn-primary,
  .btn-ghost {
    padding: 15px 22px;
    font-size: 10.5px;
    min-height: 48px;
    letter-spacing: 0.16em;
  }

  .stats-bar {
    margin: 0;
    border-left: none;
    border-right: none;
  }

  .stat {
    padding: 28px 16px;
    min-height: 100px;
  }

  .stat-num {
    font-size: 38px;
    letter-spacing: -0.02em;
  }

  .stat-label {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  section {
    padding: 64px 18px;
  }

  .section-tag {
    font-size: 9.5px;
    padding: 5px 12px;
    letter-spacing: 0.24em;
  }

  .section-title {
    font-size: clamp(28px, 7vw, 34px);
    letter-spacing: -0.01em;
  }

  .section-desc {
    font-size: 12.5px;
    line-height: 1.75;
  }

  .service-card {
    padding: 40px 24px;
    min-height: 190px;
    border-left: none;
    border-right: none;
  }

  .service-num {
    font-size: 10px;
    margin-bottom: 20px;
    letter-spacing: 0.24em;
  }

  .service-icon {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .service-name {
    font-size: 13px;
    margin-bottom: 14px;
    letter-spacing: 0.11em;
  }

  .service-desc {
    font-size: 12.5px;
    line-height: 1.7;
  }

  .package-card {
    padding: 40px 24px;
  }

  .pkg-name {
    font-size: 26px;
    letter-spacing: 0.02em;
  }

  .pkg-tagline {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .pkg-modules {
    font-size: 10px;
    margin-bottom: 28px;
    letter-spacing: 0.12em;
  }

  .pkg-services {
    gap: 14px;
    margin-bottom: 36px;
  }

  .pkg-service {
    font-size: 12.5px;
    line-height: 1.75;
  }

  .pkg-btn {
    padding: 15px 22px;
    font-size: 10.5px;
    min-height: 48px;
    letter-spacing: 0.16em;
  }

  .pkg-badge {
    font-size: 9px;
    padding: 6px 12px;
    letter-spacing: 0.12em;
    right: 24px;
  }

  .packages-note {
    padding: 20px 22px;
    gap: 14px;
  }

  .note-icon {
    font-size: 20px;
  }

  .note-text {
    font-size: 12px;
    line-height: 1.75;
  }

  .arch-inner {
    padding: 36px 20px;
  }

  .arch-card {
    padding: 28px 22px;
    min-height: 150px;
  }

  .arch-num {
    font-size: 10.5px;
    letter-spacing: 0.12em;
  }

  .arch-title {
    font-size: 13.5px;
    letter-spacing: 0.08em;
  }

  .arch-stack {
    font-size: 12px;
  }

  .terminal-block {
    padding: 22px 20px;
  }

  .terminal-line {
    font-size: 11.5px;
    line-height: 1.6;
  }

  .term-out {
    font-size: 11.5px;
    line-height: 1.6;
  }

  .about-text p {
    font-size: 12.5px;
    line-height: 1.8;
    letter-spacing: 0.01em;
  }

  .cred-label {
    font-size: 9.5px;
    letter-spacing: 0.25em;
  }

  .cred-badge {
    font-size: 11px;
    padding: 11px 16px;
    letter-spacing: 0.11em;
  }

  .philosophy-line {
    font-size: 19px;
    letter-spacing: 0.02em;
  }

  input,
  textarea {
    padding: 14px 15px;
    font-size: 13px;
    letter-spacing: 0.01em;
  }

  input:focus,
  textarea:focus {
    padding: 13px 14px;
  }

  textarea {
    min-height: 140px;
    line-height: 1.65;
  }

  .contact-form button {
    min-height: 48px;
    font-size: 10.5px;
    letter-spacing: 0.16em;
  }

  footer {
    padding: 40px 20px;
  }

  .footer-logo-text {
    font-size: 10.5px;
    letter-spacing: 0.24em;
  }

  .footer-copy {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .divider {
    margin: 0 20px;
    opacity: 0.5;
  }

  .corner {
    width: 30px;
    height: 30px;
    opacity: 0.3;
  }

  .corner-tl {
    top: 75px;
    left: 12px;
  }

  .corner-tr {
    top: 12px;
    right: 12px;
  }

  .corner-bl {
    bottom: 12px;
    left: 12px;
  }

  .corner-br {
    bottom: 12px;
    right: 12px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Cyberpunk Loading Screen - TEC Design System
   ═══════════════════════════════════════════════════════════════ */

.loader-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  overflow: hidden;
}

.loader-screen.hidden {
  animation: fadeOut 1s ease forwards;
  pointer-events: none;
}

/* Scanlines Background */
.loader-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 0, 64, 0.02) 2px,
    rgba(255, 0, 64, 0.02) 4px
  );
  opacity: 0.3;
  z-index: 1;
}

.loader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 750px;
  padding: 80px 60px;
}

/* Boot Sequence */
.boot-sequence {
  margin-bottom: 100px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.boot-line {
  margin-bottom: 12px;
  opacity: 0;
  animation: typeIn 0.5s ease forwards;
}

.boot-line:nth-child(1) { animation-delay: 0.2s; }
.boot-line:nth-child(2) { animation-delay: 0.5s; }
.boot-line:nth-child(3) { animation-delay: 0.8s; }
.boot-line:nth-child(4) { animation-delay: 1.1s; }

.boot-status {
  color: var(--accent);
  margin-left: 12px;
  animation: blink-status 0.4s ease;
}

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

@keyframes blink-status {
  0%, 50% { opacity: 0; }
  100% { opacity: 1; }
}

/* Logo Section - Hero Style */
.loader-logo {
  margin: 0;
  position: relative;
  opacity: 0;
  animation: logoReveal 1.2s ease 1.5s forwards, slideToHero 0.8s ease 5.3s forwards;
}

.loader-title {
  font-family: var(--font-display);
  font-size: clamp(60px, 10vw, 110px);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.loader-title-line1 {
  color: var(--white);
  position: relative;
  display: inline-block;
}

.loader-title-line2 {
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
}

/* Glitch Effect - Hero Style */
.loader-title-line1::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: clamp(60px, 10vw, 110px);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--accent);
  opacity: 0;
  animation: glitch 6s infinite 2s;
}

@keyframes glitch {
  0%, 98%, 100% { opacity: 0; clip-path: inset(0 0 0 0); transform: translateX(0); }
  98.5% { opacity: 0.8; clip-path: inset(40% 0 30% 0); transform: translateX(-3px); }
  99% { opacity: 0.8; clip-path: inset(20% 0 60% 0); transform: translateX(3px); }
  99.5% { opacity: 0; clip-path: inset(0 0 0 0); transform: translateX(0); }
}

/* Loading Status */
.loader-status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--muted);
  margin-bottom: 40px;
  margin-top: 0;
  opacity: 0;
  animation: fadeIn 0.6s ease 1.5s forwards;
}

.loader-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  margin-right: 12px;
  animation: blink 1s infinite;
}

/* Loading Bars - TEC Style */
.loader-bars {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.8s forwards;
}

.load-bar {
  display: flex;
  align-items: center;
  gap: 0;
  opacity: 0;
  animation: slideInLeft 0.5s ease forwards;
}

.load-bar:nth-child(1) { animation-delay: 2s; }
.load-bar:nth-child(2) { animation-delay: 2.2s; }
.load-bar:nth-child(3) { animation-delay: 2.4s; }
.load-bar:nth-child(4) { animation-delay: 2.6s; }

.bar-label {
  display: none;
}

.bar-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.bar-frame-left,
.bar-frame-right {
  width: 24px;
  height: 24px;
  border: 1px solid var(--accent);
  flex-shrink: 0;
  position: relative;
  background: rgba(255, 0, 64, 0.05);
}

.bar-frame-left {
  border-right: none;
}

.bar-frame-right {
  border-left: none;
}

.bar-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 0, 64, 0.15);
  position: relative;
  overflow: hidden;
}

.bar-fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  box-shadow: 0 0 10px var(--accent);
}

.bar-fill-1 { animation: fillBar 1.2s ease-in-out 2s forwards; }
.bar-fill-2 { animation: fillBar 1.2s ease-in-out 2.2s forwards; }
.bar-fill-3 { animation: fillBar 1.2s ease-in-out 2.4s forwards; }
.bar-fill-4 { animation: fillBar 1.2s ease-in-out 2.6s forwards; }

@keyframes fillBar {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* Footer */
.loader-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
  opacity: 0;
  animation: fadeIn 0.6s ease 3.2s forwards;
}

.loader-progress {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--accent);
}

/* Utility Animations */
@keyframes logoReveal {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes slideToHero {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: scale(0.85) translate(-45vw, -18vh);
    opacity: 0;
  }
}

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

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

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

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

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

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.3; }
}
