@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Russo+One&family=Teko:wght@400;500;600;700&display=swap");

:root {
  --bg: #0a0c0f;
  --bg-2: #0f1319;
  --metal: #1b2027;
  --metal-light: #2b323c;
  --text: #e9edf2;
  --muted: rgba(233, 237, 242, 0.62);
  --arc: #58d2ff;
  --orange: #ff6a2c;
  --orange-dark: #d6511f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --heading: "Russo One", "Teko", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  background: radial-gradient(circle at top, #10151b 0%, #0a0c0f 55%);
  color: var(--text);
  min-height: 100vh;
  cursor: auto;
}

@media (hover: none) {
  body {
    cursor: auto;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
  z-index: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 80px 6vw 100px;
  overflow: hidden;
  z-index: 2;
}

.hero__glow {
  position: absolute;
  inset: -30% 0 0;
  background: radial-gradient(circle at 30% 20%, rgba(88,210,255,0.25), transparent 55%),
              radial-gradient(circle at 70% 30%, rgba(255,106,44,0.18), transparent 50%);
  z-index: 0;
}

.hero__plate {
  position: relative;
  max-width: 860px;
  padding: 48px 50px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1a212a 0%, #0f141b 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  text-align: center;
  z-index: 2;
}

.hero__plate::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,0.15);
  pointer-events: none;
}

.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(88,210,255,0.12);
  color: var(--arc);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.hero__title {
  margin: 0 0 18px;
  font-family: var(--heading);
  font-size: clamp(42px, 7vw, 86px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.burn-line {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #ffffff 0%, #ffb38a 45%, #ff6a2c 100%);
  background-size: 0% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 18px rgba(255, 122, 65, 0.5);
  animation: burn 1.6s ease forwards;
  animation-delay: var(--delay);
}

@keyframes burn {
  0% { background-size: 0% 100%; }
  100% { background-size: 100% 100%; }
}

.hero__subtitle {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 16px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-toggle {
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-family: var(--heading);
  font-size: 20px;
  letter-spacing: 0.08em;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(255, 106, 44, 0.35);
  cursor: pointer;
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  text-transform: uppercase;
  font-family: var(--heading);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-size: 13px;
  color: rgba(233,237,242,0.6);
}

.section {
  padding: 90px 8vw;
  position: relative;
  z-index: 2;
}

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.section__header h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(32px, 5vw, 56px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section__header p {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.skill-panel {
  padding: 26px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.skill-panel h3 {
  margin: 16px 0 12px;
  font-family: var(--heading);
  font-size: 30px;
  text-transform: uppercase;
}

.skill-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.skill-panel--metal {
  background: linear-gradient(135deg, #1b222c 0%, #0f141b 100%);
}

.skill-panel--glass {
  background: linear-gradient(135deg, rgba(18, 32, 46, 0.9), rgba(14, 18, 26, 0.9));
  box-shadow: 0 0 35px rgba(88,210,255,0.15);
}

.skill-panel__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  position: relative;
}

.skill-panel__icon span {
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 6px;
}

.skill-panel__icon--soft {
  background: rgba(88,210,255,0.16);
}

.engrave {
  margin-top: 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
}

.syntax {
  margin-top: 18px;
  font-size: 13px;
  color: var(--arc);
}

.section--blueprint {
  background: linear-gradient(120deg, #0a2a4a, #0b1e34);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.project-card {
  position: relative;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(120, 200, 255, 0.2);
  background: rgba(12, 26, 44, 0.8);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(120deg, rgba(88,210,255,0.35), rgba(255,106,44,0.2));
  transition: opacity 0.3s ease;
}

.project-card:hover::after {
  opacity: 1;
}

.project-card__meta {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(120, 200, 255, 0.8);
  text-transform: uppercase;
}

.project-card h3 {
  margin: 12px 0 10px;
  font-family: var(--heading);
  font-size: 28px;
}

.project-card__tags {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(120, 200, 255, 0.8);
}

.weld-line {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px;
  background: linear-gradient(180deg, #1a2128 0%, #0f141b 100%);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.weld-line::before {
  content: "";
  position: absolute;
  inset: 50% 12px auto 12px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
}

.weld-node {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
}

.weld-node span {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: linear-gradient(120deg, rgba(255,255,255,0.2), rgba(255,106,44,0.35));
}

.weld-node.active {
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(255,106,44,0.5);
}

.weld-tooltip {
  margin-top: 18px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(15, 20, 27, 0.7);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
}

.section--panel {
  background: linear-gradient(135deg, rgba(20, 24, 30, 0.9), rgba(14, 18, 24, 0.9));
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.contact-form input,
.contact-form textarea {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10, 14, 20, 0.8);
  color: #fff;
  width: 100%;
  padding: 12px 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  outline: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(88,210,255,0.55);
  box-shadow: 0 0 0 3px rgba(88,210,255,0.12);
  background: rgba(12, 18, 26, 0.92);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__wide {
  grid-column: 1 / -1;
}

.contact-form__actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.form-hint {
  font-size: 13px;
  color: var(--muted);
  max-width: 360px;
  margin-bottom: 6px;
}

.form-success {
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: linear-gradient(135deg, rgba(30, 40, 52, 0.9), rgba(12, 18, 26, 0.9));
  box-shadow: var(--shadow);
  font-size: 15px;
  color: #fff;
}

@media (max-width: 600px) {
  .contact-form__actions {
    align-items: flex-start;
  }

  .form-hint {
    margin-bottom: 0;
  }

  .contact-form__actions .cta-toggle {
    width: 100%;
  }
}



.contact-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.contact-meta span {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-meta strong {
  font-size: 16px;
}

.footer {
  padding: 40px 8vw 60px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.spark,
.slag,
.smoke {
  position: fixed;
  pointer-events: none;
  z-index: 999;
}

.spark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #ffb38a 45%, rgba(255,106,44,0.2) 70%);
  animation: spark 0.7s ease-out forwards;
}

@keyframes spark {
  from { opacity: 1; transform: translate(0,0) scale(1); }
  to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.3); }
}

.slag {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  animation: cool 1.6s ease-out forwards;
}

@keyframes cool {
  0% { background: #fff; box-shadow: 0 0 12px rgba(255,255,255,0.8); opacity: 1; }
  60% { background: #ff6a2c; }
  100% { background: #454b52; opacity: 0; }
}

.smoke {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.25), rgba(255,255,255,0));
  animation: smoke 1.2s ease-out forwards;
}

@keyframes smoke {
  0% { opacity: 0.6; transform: translate(0,0) scale(0.6); }
  100% { opacity: 0; transform: translate(0, -18px) scale(1.2); }
}

@media (max-width: 800px) {
  .hero__plate {
    padding: 36px 28px;
  }

  .hero__title {
    font-size: clamp(32px, 9vw, 54px);
  }
}

@media (max-width: 600px) {
  body {
    cursor: auto;
  }

  .hero {
    padding: 60px 6vw 80px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .cta-toggle,
  .cta-ghost {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 70px 6vw;
  }

  .weld-line {
    justify-content: center;
  }
}

