/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pink:   #ff3cac;
  --yellow: #ffd230;
  --cyan:   #00d4ff;
  --purple: #7b2ff7;
  --dark:   #0a0a0f;
  --light:  #f5f5ff;
  --white:  #ffffff;
  --font:   'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* ===== Header / Nav ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 15, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 900;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--white);
}

/* ===== Sections base ===== */
section {
  position: relative;
  padding: 7rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1rem;
  background: rgba(255, 60, 172, 0.1);
  border: 1px solid rgba(255, 60, 172, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

/* ===== Gradient text ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--pink) 0%, var(--yellow) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  cursor: pointer;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: var(--white);
  box-shadow: 0 4px 24px rgba(255, 60, 172, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(255, 60, 172, 0.55);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.08);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.subtitle {
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

/* ===== Blobs ===== */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(255, 60, 172, 0.18);
  top: -100px;
  right: -150px;
  animation: float1 8s ease-in-out infinite;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(123, 47, 247, 0.15);
  bottom: 0;
  left: -100px;
  animation: float2 10s ease-in-out infinite;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: rgba(0, 212, 255, 0.12);
  top: 40%;
  right: 20%;
  animation: float1 12s ease-in-out infinite reverse;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(20px) scale(0.95); }
}

/* ===== About ===== */
.about {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin-bottom: 2rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid;
}

.pill:nth-child(1) { color: var(--pink);   border-color: rgba(255,60,172,0.4);  background: rgba(255,60,172,0.08); }
.pill:nth-child(2) { color: var(--yellow); border-color: rgba(255,210,48,0.4);  background: rgba(255,210,48,0.08); }
.pill:nth-child(3) { color: var(--cyan);   border-color: rgba(0,212,255,0.4);   background: rgba(0,212,255,0.08);  }
.pill:nth-child(4) { color: var(--purple); border-color: rgba(123,47,247,0.4);  background: rgba(123,47,247,0.08); }

/* ===== Work / Cards ===== */
.work {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.card-pink {
  border-color: rgba(255, 60, 172, 0.25);
  box-shadow: 0 0 40px rgba(255, 60, 172, 0.06);
}
.card-pink .card-icon { color: var(--pink); }
.card-pink h3 { color: var(--pink); }
.card-pink:hover { box-shadow: 0 12px 40px rgba(255, 60, 172, 0.18); }

.card-yellow {
  border-color: rgba(255, 210, 48, 0.25);
  box-shadow: 0 0 40px rgba(255, 210, 48, 0.06);
}
.card-yellow .card-icon { color: var(--yellow); }
.card-yellow h3 { color: var(--yellow); }
.card-yellow:hover { box-shadow: 0 12px 40px rgba(255, 210, 48, 0.18); }

.card-cyan {
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.06);
}
.card-cyan .card-icon { color: var(--cyan); }
.card-cyan h3 { color: var(--cyan); }
.card-cyan:hover { box-shadow: 0 12px 40px rgba(0, 212, 255, 0.18); }

/* ===== Contact ===== */
.contact {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-inner {
  text-align: center;
}

.contact h2 {
  margin-bottom: 2.5rem;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  nav ul { gap: 1.25rem; }
  .hero { padding-top: 6rem; }
  .cta-group { flex-direction: column; align-items: flex-start; }
  .cards { grid-template-columns: 1fr; }
}
