@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  /* Theme variables - Default Cyber Dark (OLED + Emerald + Amber) */
  --bg: #020204;
  --bg-grid: rgba(0, 255, 140, 0.02);
  --surface: rgba(10, 10, 15, 0.85);
  --surface-hover: rgba(18, 18, 26, 0.95);
  --border: rgba(0, 255, 140, 0.15);
  --border-focus: #00ff8c;
  
  --primary: #00ff8c;       /* Cyber Emerald */
  --secondary: #ff9f00;     /* Amber Orange */
  --accent: #ff0055;        /* Cyber pink */
  
  --text: #e2e8f0;
  --text-muted: #8a99ad;
  --text-inverse: #020204;
  
  --glow-primary: 0 0 15px rgba(0, 255, 140, 0.35);
  --glow-secondary: 0 0 15px rgba(255, 159, 0, 0.35);
  --glow-accent: 0 0 15px rgba(255, 0, 85, 0.35);
  
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'Fira Code', monospace;
  --transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-heading);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Floating Ambient Particles in background */
.bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.bg-bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: floatBubble 25s infinite linear;
}

.bg-bubble-1 {
  width: 300px;
  height: 300px;
  top: 15%;
  left: 10%;
  background: radial-gradient(circle, rgba(0, 255, 140, 0.06) 0%, rgba(0, 255, 140, 0) 70%);
  animation-duration: 20s;
}

.bg-bubble-2 {
  width: 400px;
  height: 400px;
  bottom: 20%;
  right: 5%;
  background: radial-gradient(circle, rgba(255, 159, 0, 0.05) 0%, rgba(255, 159, 0, 0) 70%);
  animation-duration: 30s;
}

@keyframes floatBubble {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(50px, -60px) rotate(120deg); }
  66% { transform: translate(-30px, 40px) rotate(240deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

/* Binary Code Stream Background Effect */
.bg-binary {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  opacity: 0.15;
  color: var(--primary);
  overflow: hidden;
}

.binary-stream {
  position: absolute;
  top: -150px;
  animation: fallBinary 12s infinite linear;
}

@keyframes fallBinary {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(110vh); opacity: 0; }
}

/* Dotted Grid Background */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: -1;
  pointer-events: none;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
  box-shadow: var(--glow-primary);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav Bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(2, 2, 4, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}
.logo span {
  color: var(--primary);
  text-shadow: var(--glow-primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.95rem;
}
.nav-menu a:hover {
  color: var(--primary);
  text-shadow: var(--glow-primary);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Cyber Buttons */
.btn-control {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.btn-control:hover {
  border-color: var(--primary);
  box-shadow: var(--glow-primary);
  color: var(--primary);
  animation: wobbleBtn 0.3s ease;
}

.btn-cyber {
  background: linear-gradient(135deg, rgba(0, 255, 140, 0.05) 0%, rgba(0, 255, 140, 0.12) 100%);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.btn-cyber:hover {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: var(--glow-primary);
  border-color: var(--primary);
  animation: wobbleBtn 0.35s ease;
}

@keyframes wobbleBtn {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-2deg) scale(1.02); }
  75% { transform: rotate(2deg) scale(1.02); }
  100% { transform: rotate(0deg) scale(1.02); }
}

.btn-accent {
  color: var(--accent);
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(255, 0, 85, 0.05) 0%, rgba(255, 0, 85, 0.12) 100%);
}
.btn-accent:hover {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: var(--glow-accent);
  border-color: var(--accent);
}

.btn-secondary {
  color: var(--secondary);
  border-color: var(--secondary);
  background: linear-gradient(135deg, rgba(255, 159, 0, 0.05) 0%, rgba(255, 159, 0, 0.12) 100%);
}
.btn-secondary:hover {
  background: var(--secondary);
  color: var(--text-inverse);
  box-shadow: var(--glow-secondary);
  border-color: var(--secondary);
}

/* Hero Section */
.hero {
  padding: 10rem 0 5rem 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h2 {
  font-size: 1.1rem;
  font-family: var(--font-mono);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.hero-content h1 span {
  color: var(--secondary);
  text-shadow: var(--glow-secondary);
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 550px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

/* Card 3D tilt structures */
.cyber-panel, .service-card, .contact-form, .terminal-card {
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Terminal Card - Right side of Hero */
.terminal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-mono);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}

.terminal-header {
  background: rgba(0,0,0,0.2);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terminal-buttons {
  display: flex;
  gap: 0.5rem;
}

.t-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.t-red { background: #ff5f56; }
.t-yellow { background: #ffbd2e; }
.t-green { background: #27c93f; }

.terminal-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 1.5rem;
  height: 250px;
  overflow-y: auto;
  font-size: 0.9rem;
}

.t-cmd {
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.t-output {
  color: var(--text);
  margin-bottom: 1rem;
}

/* Capabilities / Services Section */
.services {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
}
.section-title h2 span {
  color: var(--primary);
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0.5rem auto 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--glow-primary);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.40rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  background: rgba(0, 255, 140, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* FAQ Accordion in Services */
.faq-section {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.faq-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0,0,0,0.15);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question:hover {
  background: rgba(255,255,255,0.02);
  color: var(--primary);
}

.faq-question::after {
  content: "+";
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 1rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1rem 1rem 1rem;
}

/* Interactive Demos / Game Sections */
.interactive-playground {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.playground-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.cyber-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.panel-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.1);
}

.panel-header h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel-body {
  padding: 1.5rem;
  flex-grow: 1;
}

/* SYSTEM 1: Clicker Dev Empire */
.clicker-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  background: rgba(0,0,0,0.25);
  padding: 1rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  border: 1px solid var(--border);
}

.clicker-stat span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.clicker-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.upgrade-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.02);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.upgrade-row:hover {
  border-color: var(--secondary);
}

.upgrade-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
}
.upgrade-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* SYSTEM 2: Canvas Slither Game */
.canvas-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #020204;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

#gameCanvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

.canvas-info {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* SYSTEM 5: Telegram Bot Simulator Mockup */
.phone-mockup {
  width: 280px;
  height: 520px;
  background: #000;
  border: 8px solid #1a1a24;
  border-radius: 28px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.phone-screen {
  flex-grow: 1;
  background: #17212b; /* Telegram dark mode bg */
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.phone-header {
  background: #242f3d;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.bot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
  color: var(--text-inverse);
}

.bot-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
}
.bot-info p {
  font-size: 0.7rem;
  color: #6c7883;
}

.phone-chat-area {
  flex-grow: 1;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 310px;
  scroll-behavior: smooth;
}

/* Custom Scrollbar for phone mockup */
.phone-chat-area::-webkit-scrollbar {
  width: 4px;
}
.phone-chat-area::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}
.phone-chat-area::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
  word-wrap: break-word;
}

.chat-bubble.bot {
  background: #182533;
  align-self: flex-start;
}

.chat-bubble.user {
  background: #2b5278;
  align-self: flex-end;
}

.phone-input-bar {
  background: #242f3d;
  padding: 0.5rem;
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.phone-input {
  flex-grow: 1;
  background: #17212b;
  border: none;
  color: #fff;
  border-radius: 4px;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
}

.phone-keyboard-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  background: #182533;
  padding: 0.5rem;
  border-top: 1px solid #242f3d;
  flex-shrink: 0;
}

.keyboard-btn {
  background: #242f3d;
  border: none;
  color: #fff;
  padding: 0.4rem;
  font-size: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}
.keyboard-btn:hover {
  background: #2b5278;
  animation: wobbleBtn 0.3s ease;
}

/* Tooltip Styling */
.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip-wrapper::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #0d0d12;
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--glow-primary);
  z-index: 10;
}

.tooltip-wrapper:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Project Workflow Section */
.workflow-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.workflow-viewport {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.workflow-monitor-header {
  background: rgba(0,0,0,0.2);
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.workflow-monitor-body {
  padding: 2.5rem;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.workflow-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
  position: relative;
}

.workflow-timeline::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 1;
}

.workflow-node {
  text-align: center;
  position: relative;
  z-index: 2;
}

.node-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.workflow-node.active .node-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-inverse);
  box-shadow: var(--glow-primary);
  transform: scale(1.15);
}

.workflow-node.done .node-dot {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--text-inverse);
  box-shadow: var(--glow-secondary);
}

.node-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-muted);
}
.workflow-node.active .node-label {
  color: var(--primary);
}
.workflow-node.done .node-label {
  color: var(--secondary);
}

/* Custom Visual Elements inside Workflow Simulator Display */
.workflow-message-display {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Stage 1: Discussion visual */
.visual-discussion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 400px;
  text-align: left;
}
.bubble-mock {
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  max-width: 80%;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px);
  animation: popBubble 0.4s forwards ease-out;
}
.bubble-mock.client {
  background: rgba(255,255,255,0.06);
  align-self: flex-start;
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}
.bubble-mock.dev {
  background: rgba(0, 255, 140, 0.1);
  align-self: flex-end;
  border: 1px solid var(--primary);
  color: var(--primary);
  animation-delay: 1.5s;
}

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

/* Stage 2: Prepayment visual */
.visual-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}
.card-mock {
  width: 140px;
  height: 90px;
  background: linear-gradient(135deg, #1e1e2f 0%, #11111b 100%);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  position: relative;
  padding: 0.8rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.card-chip {
  width: 20px;
  height: 15px;
  background: #ff9f00;
  border-radius: 3px;
  margin-bottom: 0.8rem;
}
.card-num {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: rgba(255,255,255,0.4);
}
.money-fly {
  font-size: 1.5rem;
  position: absolute;
  animation: flyMoney 1.5s infinite ease-in-out;
  opacity: 0;
}
@keyframes flyMoney {
  0% { transform: translate(-30px, 10px) scale(0.5); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translate(120px, -20px) scale(1.2); opacity: 0; }
}

/* Stage 3: Development visual */
.visual-dev {
  width: 100%;
  max-width: 500px;
  font-family: var(--font-mono);
  text-align: left;
  background: #000;
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
}
.dev-line {
  color: var(--primary);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typingCode 1s steps(30, end) forwards;
}
.dev-line-2 {
  color: var(--secondary);
  animation-delay: 1s;
  width: 0;
  animation: typingCode 1s steps(30, end) forwards 1s;
}
.dev-line-3 {
  color: #fff;
  animation-delay: 2s;
  width: 0;
  animation: typingCode 1s steps(30, end) forwards 2s;
}
@keyframes typingCode {
  to { width: 100%; }
}

/* Stage 4: Revisions visual */
.visual-revisions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-align: left;
}
.rev-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(-10px);
  animation: slideRev 0.4s forwards ease-out;
}
.rev-item:nth-child(2) { animation-delay: 1s; }
.rev-item:nth-child(3) { animation-delay: 2s; }
.rev-checkbox {
  width: 14px;
  height: 14px;
  border: 1px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--secondary);
}
.rev-item.done .rev-checkbox {
  border-color: var(--primary);
  color: var(--primary);
}
.rev-item.done span {
  text-decoration: line-through;
  color: var(--text-muted);
}
@keyframes slideRev {
  to { opacity: 1; transform: translateX(0); }
}

/* Stage 5: Handover visual */
.visual-handover {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.success-orb {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 255, 140, 0.1);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  animation: pulseScale 1.5s infinite ease-in-out;
}
@keyframes pulseScale {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0px var(--primary); }
  50% { transform: scale(1.15); box-shadow: 0 0 15px var(--primary); }
}

/* Contact / Project Launch Form */
.contact {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  background: rgba(0,0,0,0.15);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  transition: var(--transition);
  font-family: var(--font-heading);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: var(--glow-primary);
}

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

/* Custom Budget Input */
.budget-custom-row {
  display: flex;
  gap: 0.5rem;
}

.budget-currency {
  width: 80px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  font-family: var(--font-mono);
  text-align: center;
  cursor: pointer;
}
.budget-currency:focus {
  border-color: var(--primary);
}

/* Footer & Buttons */
footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 3rem 0;
  text-align: center;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
}

footer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Admin Panel Modals */
.admin-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 2, 4, 0.9);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 12000;
}

.admin-overlay.open {
  display: flex;
}

.admin-box {
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 2.5rem;
  width: 95%;
  max-width: 450px;
  box-shadow: var(--glow-primary);
  text-align: left;
}

.admin-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

#secretRedDot {
  position: fixed;
  top: 15px;
  right: 15px;
  width: 12px;
  height: 12px;
  background-color: #ff003c;
  border-radius: 50%;
  box-shadow: 0 0 12px #ff003c;
  z-index: 11000;
  display: none;
  cursor: pointer;
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(1); box-shadow: 0 0 8px #ff003c; }
  50% { transform: scale(1.3); box-shadow: 0 0 20px #ff003c; }
  100% { transform: scale(1); box-shadow: 0 0 8px #ff003c; }
}

/* Language selector display filters */
body.lang-en [lang="ru"] {
  display: none !important;
}
body.lang-ru [lang="en"] {
  display: none !important;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-content p {
    margin: 0 auto 2rem auto;
  }
  .playground-grid {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .workflow-timeline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .workflow-timeline::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hero-content h1 {
    font-size: 2.75rem;
  }
}
