:root {
  --accent: #f093fb;
  --ink: #2d3748;
  --glass: rgba(255, 255, 255, 0.1);
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--ink);
  background: #0a0a0a;
  overflow-x: hidden;
}
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(74deg, #f25060 0%, #667dff 100%);
}
nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 10;
  padding: 1rem 0;
  backdrop-filter: blur(20px);
  background: var(--glass);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.nav-wrap {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}
.logo {
  font-weight: 800;
  font-size: 1.8rem;
  background: linear-gradient(45deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  z-index: 1001;
}
.links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.links a { color: #fff; text-decoration: none; transition: color 0.2s ease; }
.links a:hover { color: var(--accent); }
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}
.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #fff, #f8f9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .subtitle { opacity: 0.9; font-size: clamp(1rem, 2vw, 1.2rem); }
.cta {
  display: inline-block;
  margin-top: 1.6rem;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}
.cta:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; }
.title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem;
  text-align: center;
}
.subtitle {
  text-align: center;
  color: #e9e9e9;
  opacity: 0.9;
  max-width: 680px;
  margin: 0 auto 3rem;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}
.grid { display: grid; gap: 2rem; }
.about { background: rgba(0, 0, 0, 0.2); color: #fff; }
.about-grid { grid-template-columns: 1fr 1fr; align-items: center; }
.card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 2rem;
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-5px); }
.portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.work {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.work:hover { transform: translateY(-8px); box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.3); }
.work .img { aspect-ratio: 4/3; background: #f8f9fa; overflow: hidden; position: relative; }
.work .img img, .work .img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.work .img:hover img, .work .img:hover video { transform: scale(1.05); }
.work .cnt { padding: 1.4rem 1.6rem; }
.work h3 { color: #764ba2; margin-bottom: 0.4rem; }
.services { background: rgba(0, 0, 0, 0.25); color: #fff; }
.services .svc-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.svc h3 { margin: 0.2rem 0 0.4rem; }
.svc div:first-child { font-size: 2.5rem; margin-bottom: 1rem; }
.contact { background: rgba(0, 0, 0, 0.3); color: #fff; }
.contact .c-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) {
  .logo { font-size: 1.5rem; }
  .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .links.nav-active { display: flex; }
  .links li { padding: 1rem 0; }
  .hamburger { display: block; }
  .hamburger.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
  .hamburger.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .about-grid { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
  .nav-wrap { padding: 0 1rem; }
}
@media (max-width: 480px) { .container { padding: 0 1rem; } }