/* ===== CSS VARIABLES & RESET ===== */
:root {
  --bg-dark: #050505;
  --bg-card: rgba(20, 20, 20, 0.4);
  --accent: #E55A4B;
  --accent-hover: #F76858;
  --text-main: #FFFFFF;
  --text-muted: #A0A0A5;
  --border-color: rgba(255, 255, 255, 0.08);
  
  --font-sans: 'SF Pro Display', sans-serif;
  --font-heading: 'SF Pro Display', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* ===== MOUSE GLOW ===== */
.mouse-glow {
  position: fixed;
  top: 0; left: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ===== BACKGROUNDS (Noise & Grid) ===== */
.noise {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.bg-glow {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none; z-index: -2;
  background: 
    radial-gradient(circle at 15% 50%, rgba(229, 90, 75, 0.05), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.02), transparent 25%);
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -3;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
}

/* ===== TYPOGRAPHY & LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(3rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 4rem; }
.mb-5 { margin-bottom: 5rem; }

/* ===== GLASSMORPHISM ===== */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

/* ===== NAVBAR ===== */
.nav-wrapper {
  position: fixed;
  top: 1.5rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 100;
}

.navbar {
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 0.4rem 1.5rem 0.4rem 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.blink { animation: blinkAnim 1s infinite step-end; }
@keyframes blinkAnim { 50% { opacity: 0; } }

.nav-links {
  display: flex;
  gap: 0.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #888;
  position: relative;
  transition: all 0.3s ease;
}

.nav-item svg { fill: currentColor; }

.nav-item:hover, .nav-item.active {
  color: #fff;
}

.nav-item.active {
  background: rgba(255, 255, 255, 0.05);
}

.nav-dot {
  position: absolute;
  top: 10px; right: 12px;
  width: 5px; height: 5px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--accent);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
}

.hero-content {
  max-width: 900px;
  margin-top: 5vh;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.cta-wrapper {
  margin-top: 4rem;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.btn-primary {
  background-color: var(--accent);
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(229, 90, 75, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: scale(1.05);
}

.scribble {
  position: absolute;
  left: -140px;
  top: -10px;
  width: 120px;
  height: 65px;
  z-index: 1;
}

/* ===== WORKS: LONG FORM ===== */
.long-form {
  padding: 8rem 0;
}

.video-wrapper {
  margin-top: 4rem;
  width: 100%;
  aspect-ratio: 16/9;
  padding: 10px;
}

.main-video {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
}

/* ===== ABOUT ===== */
.about {
  padding: 8rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-img-container:hover .about-img {
  transform: scale(1.05);
}

.about-text .eyebrow { margin-bottom: 1.5rem; }

.about-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.about-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.signoff {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--accent);
}

/* ===== SERVICES ===== */
.services {
  padding: 8rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.service-num {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 2rem;
}

.service-card h3 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.service-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ===== BEST WORK (Marquees) ===== */
.best-work {
  padding: 8rem 0 12rem;
  overflow: hidden;
}

.marquee-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-track.left {
  animation: scrollLeft 40s linear infinite;
}

.marquee-track.right {
  animation: scrollRight 40s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  gap: 1.5rem;
  padding: 0 0.75rem;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.thumb-card, .reel-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.thumb-card:hover, .reel-card:hover {
  transform: scale(1.02);
}

.thumb-card {
  width: 400px;
  aspect-ratio: 16/9;
}

.reel-card {
  width: 300px;
  height: 533px; /* 9:16 aspect ratio roughly */
}

.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.reel-link {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10;
}

.work-label {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== FLOATING HIRE BUTTON ===== */
.floating-hire {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.status-dot {
  width: 8px; height: 8px;
  background-color: #22d97a;
  border-radius: 50%;
  box-shadow: 0 0 10px #22d97a;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 217, 122, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(34, 217, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 217, 122, 0); }
}

.status-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.footer {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== REVIEWS ===== */
.reviews {
  padding: 8rem 0;
  overflow: hidden;
}

.review-content {
  gap: 3rem;
  padding: 0 1.5rem;
}

.review-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.review-meta {
  flex-grow: 1;
}

.review-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.review-title {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.review-rating {
  font-size: 0.8rem;
  color: #ffb400;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== SKILLS ===== */
.skills {
  padding: 8rem 0;
}

.skills-wrapper {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.skill-bar {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.5rem 2.5rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 1.1rem;
}

.skill-info span:last-child {
  color: var(--accent);
}

.skill-track {
  height: 8px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 8rem;
}

.stat-card {
  padding: 3rem 2rem;
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ===== CONTACT ===== */
.contact {
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
}

.contact-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 30vw;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.02);
  z-index: -1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.contact-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 400px;
}

.contact-email {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.handwritten {
  font-family: 'Caveat', cursive;
  font-style: normal;
  font-size: 1.6em;
  font-weight: 600;
}

.highlight {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 5rem;
}

.social-links a {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.social-links a:hover {
  color: white;
}

.form-panel {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  color: white;
  font-family: var(--font-sans);
  transition: border-color 0.3s ease;
  resize: none;
}

/* ===== LIGHT RAYS & SNOW ===== */
.light-rays-container {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.15;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(3rem, 12vw, 4rem); }
  .contact-grid, .stats-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; gap: 1rem; }
}

/* ===== GLARE HOVER EFFECT ===== */
.btn-primary, .service-card, .stat-card, .skill-bar {
  position: relative;
  overflow: hidden;
}

.btn-primary::after, .service-card::after, .stat-card::after, .skill-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: left 0.7s ease;
  z-index: 10;
  pointer-events: none;
}

.btn-primary:hover::after, .service-card:hover::after, .stat-card:hover::after, .skill-bar:hover::after {
  left: 150%;
}

/* ===== TOP LIGHT RAYS ===== */
.top-light-rays {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 700px;
  background: 
    conic-gradient(from 180deg at 50% -10%, transparent 150deg, rgba(255, 255, 255, 0.15) 160deg, rgba(255, 255, 255, 0.3) 170deg, rgba(255, 255, 255, 0.4) 180deg, rgba(255, 255, 255, 0.3) 190deg, rgba(255, 255, 255, 0.15) 200deg, transparent 210deg),
    conic-gradient(from 180deg at 50% -10%, transparent 135deg, rgba(255, 255, 255, 0.1) 145deg, transparent 155deg),
    conic-gradient(from 180deg at 50% -10%, transparent 205deg, rgba(255, 255, 255, 0.1) 215deg, transparent 225deg);
  mask-image: radial-gradient(circle at 50% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, black 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(12px);
  mix-blend-mode: screen;
}
