@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #080808;
  --card: rgba(255, 255, 255, 0.045);
  --card-strong: rgba(255, 255, 255, 0.075);
  --text: #f6efe7;
  --muted: #bdb2a7;
  --soft: #7e746b;
  --gold: #c99663;
  --gold-soft: rgba(201, 150, 99, 0.22);
  --line: rgba(246, 239, 231, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(201, 150, 99, 0.14), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(92, 116, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #080808 0%, #0d0b0a 45%, #080808 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(14, 14, 14, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  z-index: 100;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}

.logo {
  font-weight: 900;
  letter-spacing: -1px;
  font-size: 1.05rem;
}

.logo span {
  color: var(--gold);
}

.nav nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav a {
  font-size: 0.85rem;
  opacity: 0.76;
  transition: 0.25s ease;
}

.nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.hero {
  min-height: 100vh;
  padding: 180px 7% 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1280px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 24%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(201,150,99,0.28), transparent 68%);
  filter: blur(18px);
  z-index: -1;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(3.4rem, 8.5vw, 8.6rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
  max-width: 1080px;
}

.hero h1::selection,
p::selection,
h2::selection,
h3::selection {
  background: var(--gold);
  color: #080808;
}

.hero-text {
  margin-top: 32px;
  color: var(--muted);
  max-width: 680px;
  font-size: 1.12rem;
}

.hero-buttons {
  margin-top: 38px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
  border: 1px solid transparent;
}

.primary {
  background: var(--text);
  color: #080808;
  box-shadow: 0 16px 45px rgba(246,239,231,0.12);
}

.secondary {
  border-color: var(--line);
  background: rgba(255,255,255,0.035);
}

.btn:hover {
  transform: translateY(-3px);
}

.section {
  padding: 110px 7%;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}

.section h2 {
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  max-width: 780px;
}

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
  color: var(--text);
  padding: 10px 17px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: 0.25s ease;
}

.filter.active,
.filter:hover {
  background: var(--text);
  color: #080808;
  transform: translateY(-2px);
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.project-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 18px;
  transition: 0.35s ease;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 20% 0%, rgba(201,150,99,0.22), transparent 34%);
  opacity: 0;
  transition: 0.35s ease;
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(201,150,99,0.42);
  box-shadow: 0 26px 80px rgba(0,0,0,0.38);
}

.project-card:hover::before {
  opacity: 1;
}

.project-preview {
  height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background: #161616;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,0.08);
}

.fake-browser {
  height: 100%;
  background: #080808;
}

.browser-top {
  height: 34px;
  background: rgba(255,255,255,0.08);
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.browser-top::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 12px;
  width: 10px;
  height: 10px;
  background: #e36b5d;
  border-radius: 50%;
  box-shadow: 18px 0 #e5b45f, 36px 0 #74c365;
}

.preview-content {
  height: calc(100% - 34px);
  background-size: 140% 140%;
  background-position: center;
  transition: 2.2s ease;
  position: relative;
}

.preview-content::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent, rgba(255,255,255,0.16), transparent),
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.18), transparent 35%);
  mix-blend-mode: overlay;
}

.project-card:hover .preview-content {
  background-position: bottom right;
  background-size: 170% 170%;
}

.revista,
.cafe {
  background: linear-gradient(135deg, #1c120d, #9a6a3d, #f4efe7);
}

.sentir,
.malaga {
  background: linear-gradient(135deg, #080808, #72533b, #dbc5a9);
}

.mojo {
  background: linear-gradient(135deg, #11120d, #86b85f, #f0d98d);
}

.peoplecoffee {
  background: linear-gradient(135deg, #120d0a, #b0784d, #ead7bd);
}

.agora {
  background: linear-gradient(135deg, #0e1515, #2b7a78, #d8b66c);
}

.agora2 {
  background: linear-gradient(135deg, #0b0b0e, #3949ab, #c99663);
}

.gcorner {
  background: linear-gradient(135deg, #0e0e0e, #4c2f1b, #f3c178);
}

.milto {
  background: linear-gradient(135deg, #15110d, #c47c4c, #f7dfb8);
}

.mayxz {
  background: linear-gradient(135deg, #050505, #181818, #f4efe7);
}

.ubite {
  background: linear-gradient(135deg, #071b13, #2f8f68, #c9ffd8);
}

.uflow {
  background: linear-gradient(135deg, #10251c, #48a06b, #e7f6df);
}

.ustack {
  background: linear-gradient(135deg, #07111f, #1f6feb, #dbeafe);
}

.leadfinder {
  background: linear-gradient(135deg, #080808, #262c34, #8ee3ff);
}

.laptopnotify {
  background: linear-gradient(135deg, #101010, #5b4b9a, #e8dcff);
}

.livesystem {
  background: linear-gradient(135deg, #030b08, #00a86b, #b8ffe5);
}

.tag {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.project-card h3 {
  font-size: 1.75rem;
  margin-top: 8px;
  letter-spacing: -0.035em;
}

.project-card p {
  color: var(--muted);
  margin-top: 9px;
}

.card-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.card-links a {
  color: var(--text);
  font-weight: 800;
  border-bottom: 1px solid var(--gold);
  transition: 0.25s ease;
}

.card-links a:hover {
  color: var(--gold);
}

.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  border-top: 1px solid var(--line);
}

.about p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.service-grid div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px;
  transition: 0.25s ease;
}

.service-grid div:hover {
  transform: translateY(-6px);
  border-color: rgba(201,150,99,0.38);
  background: var(--card-strong);
}

.service-grid h3 {
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.service-grid p,
.contact p {
  color: var(--muted);
}

.contact {
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.contact .btn {
  display: inline-block;
  margin-top: 30px;
}

footer {
  padding: 40px 7%;
  color: var(--soft);
  border-top: 1px solid var(--line);
}

.hidden {
  display: none;
}

@media (max-width: 900px) {
  .nav {
    top: 12px;
    width: calc(100% - 20px);
    border-radius: 24px;
    align-items: flex-start;
  }

  .nav nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    padding: 150px 5% 70px;
  }

  .hero h1 {
    letter-spacing: -0.055em;
  }

  .section {
    padding: 82px 5%;
  }

  .section-head {
    display: block;
  }

  .projects,
  .about,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .project-preview {
    height: 240px;
  }
}

@media (max-width: 520px) {
  .nav {
    position: absolute;
  }

  .nav nav a {
    font-size: 0.78rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .project-card {
    border-radius: 24px;
  }

  .project-preview {
    height: 210px;
    border-radius: 18px;
  }
}