:root {
  --bg: #07090e;
  --bg-soft: #0e121b;
  --panel: #131924;
  --panel-glass: rgba(19, 25, 36, 0.7);
  --border: #222e42;
  --border-bright: #394b6a;
  
  --text: #f0f4fc;
  --muted: #8c9cb8;
  
  --amber: #ffb020;
  --amber-glow: rgba(255, 176, 32, 0.35);
  --mint: #22d3c7;
  --mint-glow: rgba(34, 211, 199, 0.35);
  --cyan: #38bdf8;
  --rose: #f43f5e;
  --violet: #a855f7;
  
  --font-mono: 'IBM Plex Mono', monospace;
  --font-sans: 'IBM Plex Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg);
  background-image: 
    radial-gradient(800px 500px at 15% 10%, rgba(255, 176, 32, 0.12), transparent 70%),
    radial-gradient(900px 600px at 85% 20%, rgba(34, 211, 199, 0.11), transparent 70%),
    radial-gradient(1000px 700px at 50% 85%, rgba(168, 85, 247, 0.08), transparent 70%),
    radial-gradient(600px 400px at 70% 60%, rgba(56, 189, 248, 0.06), transparent 70%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* Aurora Glow Orbs */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: auroraFloat 18s ease-in-out infinite alternate;
}

.aurora-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(255, 176, 32, 0.25);
  top: -100px;
  left: -100px;
}

.aurora-orb-2 {
  width: 600px;
  height: 600px;
  background: rgba(34, 211, 199, 0.2);
  top: 20%;
  right: -150px;
  animation-delay: -6s;
}

.aurora-orb-3 {
  width: 550px;
  height: 550px;
  background: rgba(168, 85, 247, 0.18);
  bottom: -100px;
  left: 25%;
  animation-delay: -12s;
}

@keyframes auroraFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

/* ---------- Custom Mouse Glow Light ---------- */
#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 199, 0.12), rgba(255, 176, 32, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: transform 0.04s ease-out, opacity 0.3s;
}

::selection {
  background: var(--amber);
  color: #000;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* ---------- Canvas & Overlays ---------- */
#bgcanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.75;
  pointer-events: none;
}

.signal-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 30%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 30%, black 30%, transparent 90%);
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.4) 3px,
    transparent 4px
  );
  transition: opacity 0.3s;
}

body.no-scanlines .scanlines {
  opacity: 0;
}

.sweep {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.sweep::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, rgba(34, 211, 199, 0.05), transparent);
  animation: sweepMove 10s ease-in-out infinite;
}

@keyframes sweepMove {
  0% { top: -200px; }
  50% { top: 100%; }
  100% { top: -200px; }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Navbar ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5vw;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.brand .path { color: var(--muted); font-weight: 400; }
.brand .name {
  background: linear-gradient(100deg, var(--mint), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand .blink { color: var(--amber); animation: blink 1.1s step-end infinite; }

.nav-center {
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.nav-center a {
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}

.nav-center a:hover {
  color: var(--text);
}

.nav-center a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--amber);
  transition: width 0.25s ease;
  box-shadow: 0 0 8px var(--amber);
}

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

.nav-center .num {
  color: var(--amber);
  margin-right: 4px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ctrl-btn {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.ctrl-btn:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.ctrl-btn.active {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(255, 176, 32, 0.1);
}

.navcta {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #000;
  background: var(--amber);
  padding: 9px 18px;
  border-radius: 6px;
  border: 1px solid var(--amber);
  transition: all 0.25s ease;
  box-shadow: 0 0 15px rgba(255, 176, 32, 0.25);
}

.navcta:hover {
  background: transparent;
  color: var(--amber);
  box-shadow: 0 0 20px rgba(255, 176, 32, 0.4);
}

@media(max-width: 860px) {
  .nav-center { display: none; }
}

/* ---------- Layout Sections ---------- */
section {
  position: relative;
  z-index: 1;
  padding: 110px 6vw 80px;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  padding-top: 130px;
}

@media(max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 110px;
  }
}

.status-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(34, 211, 199, 0.08);
  border: 1px solid rgba(34, 211, 199, 0.25);
  border-radius: 20px;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(34, 211, 199, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 199, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(34, 211, 199, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 199, 0); }
}

h1 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

h1 .hl-amber {
  background: linear-gradient(100deg, var(--amber), #ffe08a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(255, 176, 32, 0.3);
}

h1 .hl-mint {
  background: linear-gradient(100deg, var(--mint), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(34, 211, 199, 0.3);
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--amber);
  margin-left: 4px;
  vertical-align: -2px;
  animation: blink 1s step-end infinite;
}

.subhead {
  max-width: 540px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 8px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background: var(--amber);
  color: #040910;
  border: 1px solid var(--amber);
  box-shadow: 0 8px 24px -6px rgba(255, 176, 32, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -6px rgba(255, 176, 32, 0.6);
  background: #ffbe42;
}

.btn-secondary {
  background: rgba(34, 211, 199, 0.1);
  color: var(--mint);
  border: 1px solid rgba(34, 211, 199, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--mint);
  background: rgba(34, 211, 199, 0.2);
  box-shadow: 0 8px 24px -6px rgba(34, 211, 199, 0.3);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-soft);
}

.btn-ghost:hover {
  border-color: var(--border-bright);
  color: #fff;
  transform: translateY(-3px);
}

.metrics-bar {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.metric b {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(100deg, var(--amber), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ---------- Hero Terminal Panel ---------- */
.terminal-card {
  background: var(--panel-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(34, 211, 199, 0.05);
  transition: border-color 0.3s;
}

.terminal-card:hover {
  border-color: var(--border-bright);
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.terminal-tabs {
  display: flex;
  gap: 8px;
}

.tab {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  border: 1px solid transparent;
}

.tab:hover {
  color: var(--text);
}

.tab.active {
  background: var(--panel);
  color: var(--mint);
  border-color: var(--border);
}

.terminal-actions {
  display: flex;
  gap: 8px;
}

.term-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
  background: rgba(255, 176, 32, 0.1);
  border: 1px solid rgba(255, 176, 32, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.term-chip:hover {
  background: rgba(255, 176, 32, 0.2);
}

.terminal-body {
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  min-height: 280px;
  max-height: 380px;
  overflow-y: auto;
  position: relative;
}

.terminal-body .ln {
  color: #4a5a75;
  display: inline-block;
  width: 24px;
  user-select: none;
}

.kw { color: #c586c0; }
.fn { color: var(--amber); }
.str { color: var(--mint); }
.cm { color: #5a6e8c; }
.num-val { color: #f59e0b; }

.type-line {
  margin-bottom: 4px;
  white-space: pre-wrap;
  word-break: break-all;
}

.cli-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-mono);
  color: var(--mint);
}

.cli-input-row input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13.5px;
  width: 100%;
}

/* ---------- Typography & Titles ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kicker::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--amber);
}

h2 {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.lead {
  color: var(--muted);
  max-width: 620px;
  font-size: 16px;
  margin-bottom: 40px;
}

/* ---------- Interactive Telegram Bot Simulator Widget ---------- */
.bot-sim-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--panel-glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  margin-top: 40px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

@media(max-width: 880px) {
  .bot-sim-container { grid-template-columns: 1fr; padding: 24px; }
}

.tg-phone-mockup {
  background: #0f141d;
  border: 2px solid var(--border-bright);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  height: 480px;
}

.tg-header {
  background: #17212b;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tg-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--amber));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
  font-family: var(--font-mono);
  font-size: 15px;
}

.tg-info h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
}

.tg-info p {
  font-size: 11.5px;
  color: var(--mint);
  font-family: var(--font-mono);
}

.tg-chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #0e1621;
}

.tg-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  animation: popIn 0.3s ease forwards;
}

.tg-msg.bot {
  background: #182533;
  color: #fff;
  border-bottom-left-radius: 2px;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tg-msg.user {
  background: #2b5278;
  color: #fff;
  border-bottom-right-radius: 2px;
  align-self: flex-end;
}

.tg-msg-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  text-align: right;
}

.tg-quick-reply {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px;
  background: #17212b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tg-btn {
  background: #242f3d;
  color: var(--mint);
  border: 1px solid rgba(34, 211, 199, 0.2);
  padding: 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}

.tg-btn:hover {
  background: #2b3a4e;
  border-color: var(--mint);
  color: #fff;
}

.tg-input-area {
  display: flex;
  padding: 8px 12px;
  background: #17212b;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tg-input-area input {
  flex: 1;
  background: #0e1621;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 18px;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.tg-send-btn {
  background: var(--amber);
  color: #000;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

/* ---------- Services Grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

@media(max-width: 860px) {
  .service-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--panel-glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  backdrop-filter: blur(8px);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--amber);
  box-shadow: 0 20px 40px -15px rgba(255, 176, 32, 0.15);
}

.service-card.bot:hover {
  border-color: var(--mint);
  box-shadow: 0 20px 40px -15px rgba(34, 211, 199, 0.15);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 176, 32, 0.1);
  border: 1px solid rgba(255, 176, 32, 0.3);
  color: var(--amber);
}

.service-card.bot .service-icon {
  background: rgba(34, 211, 199, 0.1);
  border-color: rgba(34, 211, 199, 0.3);
  color: var(--mint);
}

.service-card h3 {
  font-family: var(--font-mono);
  font-size: 20px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
}

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

.service-list li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list li::before {
  content: '⚡';
  color: var(--amber);
  font-size: 12px;
}

.service-card.bot .service-list li::before {
  color: var(--mint);
}

/* ---------- Stack Marquee ---------- */
.stack-marquee {
  margin-top: 60px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--bg-soft);
}

.stack-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollMarquee 25s linear infinite;
}

.stack-track:hover {
  animation-play-state: paused;
}

.stackpill {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 8px 18px;
  border-radius: 8px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Works & Projects Showcase ---------- */
.filter-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 20px;
  transition: all 0.25s;
}

.filter-btn:hover, .filter-btn.active {
  color: #000;
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 15px rgba(255, 176, 32, 0.3);
}

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

@media(max-width: 980px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.work-card {
  background: var(--panel-glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--mint);
  box-shadow: 0 15px 30px -10px rgba(34, 211, 199, 0.2);
}

.work-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--amber);
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 176, 32, 0.1);
  border: 1px solid rgba(255, 176, 32, 0.3);
  display: inline-block;
  margin-bottom: 14px;
}

.work-card h4 {
  font-family: var(--font-mono);
  font-size: 17px;
  margin-bottom: 8px;
}

.work-card p {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 16px;
}

.work-tech {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.work-tech span {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ---------- Interactive Project Cost Estimator Widget ---------- */
.estimator-box {
  background: var(--panel-glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  margin-top: 40px;
  backdrop-filter: blur(12px);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

@media(max-width: 860px) {
  .estimator-grid { grid-template-columns: 1fr; }
}

.option-group {
  margin-bottom: 24px;
}

.option-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.select-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.opt-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
  font-family: var(--font-mono);
  text-align: center;
}

.opt-card:hover, .opt-card.selected {
  border-color: var(--mint);
  color: var(--mint);
  background: rgba(34, 211, 199, 0.08);
}

.calc-summary {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-price {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--amber);
  margin: 10px 0;
}

/* ---------- Contact Section & Links ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

@media(max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  background: var(--panel-glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  transition: all 0.25s;
}

.contact-link:hover {
  border-color: var(--amber);
  transform: translateX(6px);
  color: var(--amber);
}

/* ---------- Footer ---------- */
footer {
  position: relative;
  z-index: 1;
  padding: 30px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Toast Notification ---------- */
#toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--panel);
  border: 1px solid var(--amber);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
}

#toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Animations */
@keyframes blink { 50% { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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