
/* ========================================================= */
/* GLOBAL */
/* ========================================================= */
html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: #05060a;
  color: #d7d7d7;
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.2;
}

.section {
  padding: 120px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

a { text-decoration: none; }

/* ========================================================= */
/* FILM GRAIN */
/* ========================================================= */

.film-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  mix-blend-mode: overlay;
}

/* ========================================================= */
/* NAVBAR */
/* ========================================================= */
main {
  padding-top: 100px;
}

.app {
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 40px;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(0,0,0,0.45);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.logo-text {
  color: white;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 1.1rem;
  text-transform: uppercase;
  line-height: 1;
}

header nav a {
  color: #aaa;
  margin-left: 28px;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s;
}

header nav a:hover {
  color: #fff;
}

header nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ffc86a, #ffdd96);
  transform: translateX(-50%);
  transition: width 0.3s ease, box-shadow 0.3s;
}

header nav a:hover::after {
  width: 60%;
  box-shadow: 0 0 10px rgba(255,200,120,0.9);
}

/* ========================================================= */
/* HERO */
/* ========================================================= */

.hero {
  position: relative;
  height: 100vh;
  padding-top: 160px;
  display: flex;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 65% 15%, rgba(180,180,255,0.22), transparent 62%),
    radial-gradient(circle at 80% 75%, rgba(60,60,95,0.25), transparent 70%),
    #04050a;
  animation: heroShift 15s ease-in-out infinite alternate;
}

@keyframes heroShift {
  0%   { background-position: 0px 0px, 80px 100px; }
  100% { background-position: 70px -50px, -80px 20px; }
}

.hero-spotlight {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 420px;
  height: 160%;
  transform: translateX(-50%);
  background: radial-gradient(
      ellipse at center,
      rgba(255,200,120,0.32),
      rgba(255,180,90,0.12),
      rgba(20,15,10,0) 70%
  );
  filter: blur(55px);
  z-index: 1;
}

.hero-blob {
  position: absolute;
  top: 48%;
  left: 62%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.26;
  background: radial-gradient(
      circle at 40% 30%,
      rgba(255, 200, 120, 0.95),
      rgba(255, 150, 40, 0.85),
      rgba(130, 60, 10, 0.80),
      transparent 75%
  );
  filter: blur(105px);
  animation: blobMorph 17s ease-in-out infinite alternate;
}

@keyframes blobMorph {
  0% {
    border-radius: 60% 40% 55% 45% / 45% 60% 40% 55%;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    border-radius: 50% 60% 45% 55% / 58% 42% 60% 40%;
    transform: translate(-50%, -50%) scale(1.20) skewX(3deg);
  }
  100% {
    border-radius: 63% 37% 52% 48% / 48% 45% 55% 52%;
    transform: translate(-50%, -50%) scale(0.90) skewX(-2deg);
  }
}

/* PARTICLES */
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.45;
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 760px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 22px;
  position: relative;
}

.hero-content h1 span {
  position:absolute;
  left:-9999px;
}

.hero-content p {
  font-size: 1.35rem;
  color: #d0d4dd;
  margin-bottom: 38px;
  line-height: 1.55;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.btn-primary {
  padding: 14px 34px;
  background: linear-gradient(145deg, #FFB046, #FFC86A);
  border-radius: 14px;
  color: #1b140c;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 0 22px rgba(255, 180, 80, 0.45);
}

.btn-glass {
  padding: 14px 34px;
  border-radius: 14px;
  color: #eee;
  font-size: 1rem;
  font-weight: 500;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
}

/* ========================================================= */
/* GLOW CARDS */
/* ========================================================= */

.glow {
  border-radius: 18px;
  padding: 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,200,120,0.35);
  box-shadow:
    0 0 12px rgba(255,200,120,0.40),
    0 0 24px rgba(255,200,120,0.20),
    inset 0 0 20px rgba(255,200,120,0.12);
  backdrop-filter: blur(14px);
}

.three-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .three-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================================= */
/* SECTION HEADERS */
/* ========================================================= */

.section h2 {
  color: white;
  font-size: 2.6rem;
  margin-bottom: 40px;
}

/* ========================================================= */
/* PORTFOLIO LOGOS */
/* ========================================================= */

.portfolio-logo-inside {
  float: left;
  max-width: 120px;
  width: 100%;
  height: auto;
  margin: 0 20px 16px 0;
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.portfolio-logo-inside:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .portfolio-logo-inside {
    max-width: 100px;
    margin: 0 16px 12px 0;
  }
}

/* ========================================================= */
/* FOOTER */
/* ========================================================= */

footer {
  text-align: center;
  padding: 40px;
  color: #777;
  font-size: 0.9rem;
}
