﻿:root {
  --bg: #070707;
  --bg-soft: #0f0f10;
  --panel: #111112;
  --line: rgba(255, 255, 255, 0.13);
  --text: #f5f5f6;
  --muted: #a8a8af;
  --orange: #ff6a00;
  --orange-soft: #ffa258;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-core {
  position: fixed;
  inset: 0;
  z-index: -5;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 106, 0, 0.21), transparent 36%),
    radial-gradient(circle at 88% 82%, rgba(255, 162, 88, 0.12), transparent 42%),
    linear-gradient(180deg, #090909 0%, #070707 55%, #050505 100%);
}

.bg-core::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.28;
}

.shell {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(10px);
  background: rgba(7, 7, 7, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-shell {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  font-size: 1rem;
}

.brand span {
  background: linear-gradient(120deg, var(--orange), var(--orange-soft));
  -webkit-background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  gap: 1.05rem;
}

.nav a {
  text-decoration: none;
  color: #cdced3;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.24s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.header-cta {
  text-decoration: none;
  color: #131313;
  background: linear-gradient(120deg, var(--orange), var(--orange-soft));
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 0.95rem;
  box-shadow: 0 10px 24px rgba(255, 106, 0, 0.25);
}

main {
  padding: 2.3rem 0 4rem;
}

.section {
  margin-top: 5rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2.4rem;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 3% 0 8%;
  z-index: -1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.005));
}

.orb,
.wire {
  position: absolute;
  will-change: transform;
}

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

.orb-a {
  width: 240px;
  height: 240px;
  left: 8%;
  top: 16%;
  background: rgba(255, 106, 0, 0.43);
}

.orb-b {
  width: 330px;
  height: 330px;
  right: 7%;
  bottom: 5%;
  background: rgba(255, 162, 88, 0.2);
}

.orb-c {
  width: 170px;
  height: 170px;
  right: 35%;
  top: 22%;
  background: rgba(255, 106, 0, 0.18);
}

.wire-a {
  width: 420px;
  height: 420px;
  right: 12%;
  top: -18%;
  border-radius: 50%;
  border: 1px solid rgba(255, 162, 88, 0.26);
}

.kicker {
  color: var(--orange-soft);
  letter-spacing: 0.1em;
  font-size: 0.77rem;
  font-weight: 700;
}

.hero h1 {
  margin-top: 0.8rem;
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  line-height: 1.04;
  font-weight: 800;
}

.hero h1 span {
  color: var(--orange-soft);
}

.hero-copy > p {
  margin-top: 1.05rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
  max-width: 62ch;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 0.74rem 1.08rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-main {
  color: #141414;
  background: linear-gradient(120deg, var(--orange), var(--orange-soft));
  box-shadow: 0 10px 28px rgba(255, 106, 0, 0.32);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.proof-row {
  margin-top: 1.65rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.proof-row div {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
}

.proof-row strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.proof-row span {
  margin-top: 0.26rem;
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-scene {
  position: relative;
  transform-style: preserve-3d;
  min-height: 550px;
}

.hero-card {
  position: absolute;
  right: 0;
  top: 6%;
  width: min(100%, 430px);
  border-radius: 22px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
}

.hero-card img {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

.hero-card figcaption {
  padding: 0.8rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.84rem;
}

.floating {
  position: absolute;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02));
  border-radius: 14px;
  padding: 0.72rem 0.78rem;
  min-width: 150px;
  animation: floaty 6s ease-in-out infinite;
}

.floating p {
  font-size: 0.74rem;
  color: #d5d5d8;
}

.floating strong {
  margin-top: 0.2rem;
  display: block;
  font-size: 0.9rem;
}

.floating-top {
  left: 6%;
  top: 12%;
  animation-delay: 0.2s;
}

.floating-mid {
  left: -2%;
  top: 44%;
  animation-delay: 0.9s;
}

.floating-bottom {
  right: -2%;
  bottom: 16%;
  animation-delay: 1.4s;
}

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

.section-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 800;
}

.section-head p {
  margin-top: 0.5rem;
  color: var(--muted);
  max-width: 68ch;
}

.stack-grid {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.stack-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.58rem 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stack-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 162, 88, 0.64);
}

.stack-pill i {
  font-size: 1.15rem;
}

.stack-pill span {
  font-size: 0.88rem;
  font-weight: 600;
}

.project-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.95rem;
}

.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 300px 1fr;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.24s ease, transform 0.24s ease;
}

.project-card:hover {
  border-color: rgba(255, 162, 88, 0.42);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 215px;
}

.project-content {
  padding: 1rem 1.05rem;
}

.project-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.project-content p {
  margin-top: 0.42rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.52;
}

.project-content strong {
  color: #f1f1f3;
}

.icon-row {
  margin-top: 0.68rem;
  display: flex;
  gap: 0.42rem;
}

.icon-row i {
  width: 33px;
  height: 33px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  background: rgba(255, 255, 255, 0.02);
}

.about-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
  background: rgba(255, 255, 255, 0.015);
}

.about-cards {
  display: grid;
  gap: 0.7rem;
}

.about-cards article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.02);
}

.about-cards strong {
  display: block;
  font-size: 0.97rem;
}

.about-cards span {
  margin-top: 0.3rem;
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.3rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.contact-panel h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
}

.contact-panel p {
  margin-top: 0.58rem;
  color: var(--muted);
  max-width: 62ch;
}

.contact-links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.66rem;
}

.contact-links a {
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.62rem 0.92rem;
  font-weight: 600;
  transition: all 0.22s ease;
}

.contact-links a:hover {
  border-color: rgba(255, 162, 88, 0.9);
  background: rgba(255, 162, 88, 0.14);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem 0 1.6rem;
  margin-top: 2.4rem;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer p {
  font-weight: 800;
}

.footer small {
  color: var(--muted);
}

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

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

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-scene {
    min-height: 470px;
    margin-top: 0.9rem;
  }

  .hero-card {
    position: relative;
    top: 0;
    right: 0;
  }

  .floating-top {
    left: 3%;
  }

  .floating-mid {
    left: auto;
    right: 0;
  }

  .floating-bottom {
    right: 3%;
  }
}

@media (max-width: 900px) {
  .nav,
  .header-cta {
    display: none;
  }

  .proof-row {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card img {
    max-height: 220px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .header-shell {
    height: 70px;
  }

  main {
    padding-top: 1.4rem;
  }

  .section {
    margin-top: 3.8rem;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .hero-scene {
    min-height: 380px;
  }

  .floating {
    min-width: 132px;
    padding: 0.58rem 0.65rem;
  }
}