* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  color: #0f172a;
}

/* animated gradient background */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;

  background: linear-gradient(
    -45deg,
    #dbeafe,
    #c7d2fe,
    #a5b4fc,
    #93c5fd,
    #e0e7ff
  );

  background-size: 400% 400%;
  animation: gradientMove 18s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* spotlight layer */
.spotlight {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background: radial-gradient(
    600px circle at var(--x, 50%) var(--y, 50%),
    rgba(255,255,255,0.35),
    transparent 60%
  );
  transition: 0.1s ease;
}

/* layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* hero */
.hero {
  text-align: center;
  margin-bottom: 60px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  letter-spacing: -2px;
}

.hero p {
  margin-top: 10px;
  color: rgba(15,23,42,0.65);
}

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

/* CARD CORE */
.card {
  text-decoration: none;
  border-radius: 28px;

  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(18px);

  border: 1px solid rgba(255,255,255,0.7);

  box-shadow:
    0 10px 30px rgba(15,23,42,0.08);

  transition: all 0.35s ease;

  transform: translateY(0);
}

.card {
  position: relative;
  overflow: hidden;
}

/* dynamic glow layer */
.card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    600px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(59, 130, 246, var(--glow-opacity, 0.0)),
    transparent 60%
  );

  transition: opacity 0.2s ease;

  opacity: 1;
  pointer-events: none;
}

/* per-card glow colors */
.web::before {
  background: radial-gradient(
    600px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(37, 99, 235, var(--glow-opacity, 0.18)),
    transparent 60%
  );
}

.photo::before {
  background: radial-gradient(
    600px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(124, 58, 237, var(--glow-opacity, 0.18)),
    transparent 60%
  );
}

.media::before {
  background: radial-gradient(
    600px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(22, 163, 74, var(--glow-opacity, 0.18)),
    transparent 60%
  );
}

/* premium hover = lift, no bounce */
.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 70px rgba(15,23,42,0.18);
}

/* icon */
.icon-wrap {
  width: 64px;
  height: 64px;
  margin: 28px 0 0 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 18px;

  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(15,23,42,0.08);
}

.icon-wrap svg {
  width: 28px;
  height: 28px;
}

/* accents */
.web svg { color: #2563eb; }
.photo svg { color: #7c3aed; }
.media svg { color: #16a34a; }

/* content */
.card-content {
  padding: 26px;
}

.tag {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(15,23,42,0.55);
}

.card h2 {
  margin: 10px 0;
  font-size: 1.5rem;
}

.card p {
  color: rgba(15,23,42,0.65);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* CTA */
.button {
  font-weight: 600;
  color: #1d4ed8;
}



/* =========================
   INTRO ANIMATION
========================= */

.intro {
  position: fixed;
  inset: 0;
  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    -45deg,
    #dbeafe,
    #c7d2fe,
    #a5b4fc,
    #93c5fd
  );

  animation: introFade 1.6s ease forwards;
}

.intro-inner {
  text-align: center;
  animation: introPop 1.6s ease forwards;
}

.intro-logo {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -2px;
  color: #0f172a;
}

/* subtle line under name */
.intro-line {
  width: 120px;
  height: 2px;
  margin: 18px auto 0 auto;
  background: rgba(15, 23, 42, 0.25);
  border-radius: 999px;

  animation: lineGrow 1.6s ease forwards;
}

/* fade out overlay */
@keyframes introFade {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* logo scale motion */
@keyframes introPop {
  0% {
    transform: scale(1.05);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  70% {
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.98);
  }
}

/* line animation */
@keyframes lineGrow {
  0% {
    width: 0;
    opacity: 0;
  }
  40% {
    width: 120px;
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}



/* =========================
   CONTACT SECTION
========================= */

.contact {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

.contact-card {
  width: 100%;
  max-width: 700px;

  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(18px);

  border: 1px solid rgba(255,255,255,0.7);

  border-radius: 28px;

  padding: 40px;

  text-align: center;

  box-shadow: 0 15px 50px rgba(15,23,42,0.12);
}

.contact-card h2 {
  font-size: 2rem;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.contact-card .title {
  color: rgba(15,23,42,0.65);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* contact links */
.contact-info {
  display: grid;
  gap: 16px;
}

.contact-item {
  text-decoration: none;
  color: #0f172a;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 18px;

  border-radius: 14px;

  background: rgba(255,255,255,0.6);

  border: 1px solid rgba(15,23,42,0.08);

  transition: all 0.25s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(15,23,42,0.12);
}

.contact-item span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(15,23,42,0.55);
}

.contact-item strong {
  font-weight: 600;
}