@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #090a0c;
  --panel: #101216;
  --panel-2: #14171c;
  --text: #f1f2ed;
  --muted: #90959d;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #c7ff45;
  --accent-soft: rgba(199, 255, 69, 0.14);
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --sans: "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(199, 255, 69, 0.05), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: #080a04;
}

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

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(199, 255, 69, 0.08), transparent 68%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.page-shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 0 clamp(24px, 5vw, 78px);
}

.topbar {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.08em;
  transform: rotate(-4deg);
}

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

.availability {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.availability-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.availability-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(199, 255, 69, 0.45);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.03fr) minmax(410px, 0.97fr);
  gap: clamp(50px, 6vw, 110px);
  align-items: center;
  padding: clamp(48px, 7vh, 92px) 0 clamp(42px, 5vh, 70px);
}

.hero-copy {
  max-width: 790px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--accent);
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(50px, 5.7vw, 90px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.93;
}

.name {
  color: var(--accent);
  white-space: nowrap;
}

.mobile-name-break {
  display: none;
}

.outlined {
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 242, 237, 0.75);
}

.role-line {
  display: flex;
  min-height: 32px;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
  font-family: var(--mono);
  font-size: clamp(13px, 1.1vw, 16px);
}

.role-prefix {
  color: var(--muted);
}

.role-text {
  position: relative;
  color: var(--accent);
}

.role-text::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1.05em;
  margin-left: 7px;
  vertical-align: -2px;
  background: var(--accent);
  animation: blink 0.85s steps(1) infinite;
}

.intro {
  max-width: 680px;
  margin: 27px 0 0;
  color: #a6aab1;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.85;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 27px;
}

.skills span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  color: #b7bbc0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.button {
  position: relative;
  display: inline-flex;
  min-width: 160px;
  height: 52px;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 0 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.button-arrow {
  margin-left: auto;
  transition: transform 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button:hover .button-arrow {
  transform: translate(2px, -2px);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #0a0c06;
}

.button-primary:hover {
  box-shadow: 0 14px 45px rgba(199, 255, 69, 0.14);
}

.button-secondary:hover {
  border-color: rgba(199, 255, 69, 0.55);
  background: var(--accent-soft);
}

.button-phone {
  min-width: 206px;
}

.hero-visual {
  position: relative;
  min-height: 585px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.045), transparent 40%),
    #0d0f12;
}

.visual-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  top: -145px;
  right: -90px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(199, 255, 69, 0.22);
  box-shadow: inset 0 0 80px rgba(199, 255, 69, 0.05);
  animation: floatOrb 8s ease-in-out infinite;
}

.orb-two {
  bottom: -170px;
  left: -115px;
  width: 310px;
  height: 310px;
  background: radial-gradient(circle at 60% 35%, rgba(199, 255, 69, 0.13), transparent 67%);
}

.visual-label {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  color: #737982;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-transform: uppercase;
}

.visual-label span {
  color: #d5d7d2;
}

.label-top {
  top: 24px;
  left: 25px;
}

.label-bottom {
  right: 25px;
  bottom: 21px;
  text-align: right;
}

.terminal-card {
  position: absolute;
  z-index: 3;
  top: 105px;
  right: 9%;
  left: 9%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 15, 0.88);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  transform: rotate(-1.4deg);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.hero-visual:hover .terminal-card {
  border-color: rgba(199, 255, 69, 0.28);
  transform: rotate(0deg) translateY(-4px);
}

.terminal-bar {
  display: flex;
  height: 45px;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  color: #767b83;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.terminal-dots {
  display: flex;
  gap: 5px;
}

.terminal-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #41454b;
}

.terminal-dots i:first-child {
  background: var(--accent);
}

.terminal-status {
  color: var(--accent);
}

.terminal-body {
  min-height: 270px;
  padding: 25px 24px 28px;
  color: #c7c9c6;
  font-family: var(--mono);
  font-size: clamp(10px, 0.8vw, 12px);
  line-height: 1.8;
}

.terminal-body p {
  margin: 0 0 5px;
}

.prompt {
  margin-right: 9px;
  color: var(--accent);
}

.terminal-output {
  padding-left: 21px;
  color: #777d85;
}

.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(199, 255, 69, 0.75);
}

.terminal-success {
  padding-left: 21px;
  color: var(--accent);
}

.terminal-cursor i {
  display: inline-block;
  width: 7px;
  height: 12px;
  vertical-align: -2px;
  background: #777d85;
  animation: blink 0.85s steps(1) infinite;
}

.capability-card {
  position: absolute;
  z-index: 4;
  display: flex;
  width: min(78%, 355px);
  min-height: 68px;
  align-items: center;
  gap: 16px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: rgba(18, 21, 25, 0.94);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

.capability-one {
  right: 5%;
  bottom: 116px;
}

.capability-two {
  bottom: 40px;
  left: 6%;
}

.capability-number {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(199, 255, 69, 0.35);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
}

.capability-card div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.capability-card small {
  color: #686e76;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.capability-card strong {
  color: #d7d9d5;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  color: #62676f;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-line {
  width: 36px;
  height: 1px;
  background: var(--line-strong);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.7s cubic-bezier(.2,.8,.2,1) forwards;
}

.reveal-1 { animation-delay: 0.08s; }
.reveal-2 { animation-delay: 0.16s; }
.reveal-3 { animation-delay: 0.25s; }
.reveal-4 { animation-delay: 0.34s; }
.reveal-5 { animation-delay: 0.43s; }
.reveal-6 { animation-delay: 0.52s; }

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

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

@keyframes pulse {
  0% { transform: scale(.65); opacity: .9; }
  100% { transform: scale(1.7); opacity: 0; }
}

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-16px, 18px, 0); }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(375px, 0.85fr);
    gap: 48px;
  }

  h1 {
    font-size: clamp(50px, 5.9vw, 74px);
  }
}

@media (max-width: 940px) {
  .page-shell {
    padding: 0 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 760px;
  }

  h1 {
    font-size: clamp(51px, 10.5vw, 82px);
  }

  .hero-visual {
    min-height: 560px;
    margin-bottom: 28px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 0 18px;
  }

  .topbar {
    min-height: 76px;
  }

  .availability {
    max-width: 108px;
    font-size: 8px;
    line-height: 1.4;
  }

  .hero {
    gap: 50px;
    padding-top: 44px;
  }

  .eyebrow {
    gap: 10px;
    font-size: 8px;
  }

  .eyebrow span {
    width: 28px;
    height: 28px;
  }

  h1 {
    font-size: clamp(39px, 11.8vw, 60px);
    line-height: 0.98;
  }

  .mobile-name-break {
    display: block;
  }

  .role-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-top: 24px;
  }

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

  .button {
    min-width: 0;
    flex: 1 1 145px;
  }

  .hero-visual {
    min-height: 490px;
  }

  .terminal-card {
    top: 84px;
    right: 5%;
    left: 5%;
  }

  .terminal-body {
    min-height: 245px;
    padding: 20px 17px;
    font-size: 9px;
  }

  .capability-card {
    width: 82%;
    min-height: 61px;
  }

  .capability-one {
    bottom: 92px;
  }

  .capability-two {
    bottom: 22px;
  }

  .label-bottom {
    display: none;
  }

  .footer {
    justify-content: space-between;
  }

  .footer-line {
    display: none;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
