:root {
  --bg: #f4f7fb;
  --ink: #101828;
  --muted: #526070;
  --surface: #ffffff;
  --line: #d8e0ea;
  --brand: #ff6b2c;
  --brand-2: #0f8f6a;
  --brand-3: #245eea;
  --radius: 16px;
  --shadow: 0 14px 30px rgba(16, 24, 40, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Instrument Sans", sans-serif;
  line-height: 1.62;
  background:
    radial-gradient(circle at 88% 2%, rgba(255, 107, 44, 0.1), transparent 36%),
    radial-gradient(circle at 8% 8%, rgba(15, 143, 106, 0.08), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 56%);
}

h1,
h2,
h3,
.brand,
.btn {
  font-family: "Sora", sans-serif;
}

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

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

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(52px);
  z-index: -1;
  opacity: 0.32;
}

.orb-a {
  width: 300px;
  height: 300px;
  background: #ffd6c2;
  right: 9%;
  top: -110px;
}

.orb-b {
  width: 280px;
  height: 280px;
  background: #bdeee0;
  left: 6%;
  bottom: -120px;
}

.section {
  padding: 5.8rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(232, 239, 248, 0.7));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0.8rem 0;
  backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(216, 224, 234, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.07);
}

.brand {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  color: var(--muted);
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #ff8d3d);
  padding: 0.72rem 1.06rem;
  border-radius: 11px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 107, 44, 0.24);
}

.btn-small {
  font-size: 0.88rem;
  padding: 0.53rem 0.95rem;
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.hero {
  padding-top: 4.2rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.95rem;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-3);
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 3.7rem);
  line-height: 1.06;
  max-width: 15ch;
}

.lead {
  margin: 1.2rem 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.03rem;
}

.actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.hero-stats {
  margin: 1.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.hero-stats li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.74rem;
  background: rgba(255, 255, 255, 0.84);
}

.hero-stats strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
}

.hero-stats span {
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.95));
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin: 0 0 1rem;
}

.hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-panel li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  border-top: 1px solid var(--line);
  padding: 0.73rem 0;
}

.hero-panel li:first-child {
  border-top: 0;
  padding-top: 0;
}

.hero-panel span {
  color: var(--muted);
}

.hero-panel strong {
  font-size: 0.93rem;
  text-align: right;
}

.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.8rem;
}

.about-layout h2,
.section-head h2,
.contact-wrap h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.about-layout p,
.section-head p,
.contact-wrap p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.section-head {
  margin-bottom: 1.5rem;
  display: grid;
  gap: 0.45rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.28rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: #bccad9;
  box-shadow: 0 18px 34px rgba(16, 24, 40, 0.14);
}

.project-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #d9e3ef;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 260ms ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  font-size: 0.71rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, rgba(36, 94, 234, 0.9), rgba(15, 143, 106, 0.88));
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-content {
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.project-content h3 {
  margin: 0;
  font-size: 1.08rem;
}

.project-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-link {
  width: fit-content;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-3);
  border: 1px solid #c8d7f3;
  border-radius: 9px;
  background: #f0f4ff;
  padding: 0.43rem 0.66rem;
  transition: transform 170ms ease, border-color 170ms ease;
}

.project-link:hover {
  transform: translateY(-1px);
  border-color: #a4bdf1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: #bccad9;
  box-shadow: 0 18px 34px rgba(16, 24, 40, 0.14);
}

.pricing-card.featured {
  border-color: #f8c7ad;
  box-shadow: 0 16px 32px rgba(255, 107, 44, 0.16);
}

.pricing-name {
  margin: 0;
  color: var(--brand-3);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  font-size: 0.76rem;
}

.pricing-card h3 {
  margin: 0.35rem 0 0.6rem;
  font-size: 1.45rem;
}

.pricing-desc {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.pricing-card ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: #334155;
  display: grid;
  gap: 0.42rem;
  font-size: 0.92rem;
}

.stack-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.74rem;
}

.stack-list li {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0.72rem 0.82rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.86);
}

.stack-list li:nth-child(3n) {
  border-color: #ffd9c8;
}

.footer {
  border-top: 1px solid var(--line);
}

.contact-wrap {
  display: grid;
  gap: 1rem;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.68rem;
}

.contact-links a {
  text-align: center;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 1rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.contact-links a:hover {
  transform: translateY(-2px);
  border-color: #9ec0ef;
}

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

.fade-in-up {
  animation: fadeInUp 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.delay-1 {
  animation-delay: 120ms;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1000px) {
  .hero-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 18ch;
  }

  .hero-stats,
  .projects-grid,
  .pricing-grid,
  .stack-list,
  .contact-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4.8rem 0;
  }

  .nav-links,
  .btn-small {
    display: none;
  }

  .hero-stats,
  .projects-grid,
  .pricing-grid,
  .stack-list,
  .contact-links {
    grid-template-columns: 1fr;
  }

  .bg-orb {
    opacity: 0.22;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
