/* ============================================
   RIFQI ANUGRAH PORTFOLIO — CINEMATIC MOTION
   ============================================ */

:root {
  /* Colors */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(255, 255, 255, 0.05);
  
  --cream: #e8dcc4;
  --cream-light: #f0e8d6;
  --cream-dark: #c4b896;
  --cream-glow: rgba(232, 220, 196, 0.15);
  
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-cream: rgba(232, 220, 196, 0.2);
  
  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --section-padding: 140px;
  --section-padding-mobile: 100px;
  
  /* PREMIUM EASING */
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Shadows */
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px var(--cream-glow);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-lift: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ------------------------------------------
   RESET & BASE
   ------------------------------------------ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--cream-dark);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cream);
}

::selection {
  background: var(--cream-glow);
  color: var(--cream);
}

/* ------------------------------------------
   LOADING SCREEN — CINEMATIC
   ------------------------------------------ */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s var(--ease-premium), visibility 1.2s;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  margin-bottom: 32px;
  letter-spacing: 4px;
  opacity: 0;
  animation: loadingFadeIn 1s var(--ease-premium) forwards;
}

.loading-bar {
  width: 160px;
  height: 1px;
  background: var(--border-subtle);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.loading-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--cream);
  animation: loadingProgress 2.5s var(--ease-smooth) forwards;
}

@keyframes loadingFadeIn {
  from { opacity: 0; transform: translateY(20px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes loadingProgress {
  0% { width: 0%; }
  40% { width: 60%; }
  100% { width: 100%; }
}

/* ------------------------------------------
   CUSTOM CURSOR — AESTHETIC TRAILING
   ------------------------------------------ */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 100000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--cream);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(232, 220, 196, 0.4);
  transition: width 0.4s var(--ease-premium), 
              height 0.4s var(--ease-premium), 
              border-color 0.3s ease,
              opacity 0.3s ease;
}

@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
  .cursor-dot, .cursor-outline { display: none !important; }
}

/* ------------------------------------------
   NAVIGATION — GLASS & HIDE/SHOW
   ------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: 
    transform 0.6s var(--ease-premium),
    background 0.5s ease,
    backdrop-filter 0.5s ease,
    padding 0.4s ease,
    box-shadow 0.4s ease;
}

.navbar.nav-hidden {
  transform: translateY(-100%);
}

.navbar.nav-visible {
  transform: translateY(0);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  padding: 16px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 1px;
  transition: opacity 0.4s ease, transform 0.4s var(--ease-premium);
}

.nav-logo:hover {
  opacity: 0.8;
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
  transition: color 0.4s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cream);
  transition: width 0.5s var(--ease-premium);
}

.nav-link:hover {
  color: var(--cream);
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.4s var(--ease-premium);
  border-radius: 2px;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0; transform: translateX(-10px);
}
.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ------------------------------------------
   HERO — CINEMATIC STAGGER REVEAL
   ------------------------------------------ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    rgba(10,10,10,0.3) 0%, 
    rgba(10,10,10,0.6) 50%, 
    rgba(10,10,10,0.95) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

/* Cinematic reveal states — triggered by body.loaded */
.hero-tagline,
.hero-title,
.hero-subtitle,
.hero-buttons,
.hero-social {
  opacity: 0;
}

body.loaded .hero-tagline {
  animation: cinematicReveal 1.4s var(--ease-premium) 0.3s forwards;
}
body.loaded .hero-title {
  animation: cinematicReveal 1.6s var(--ease-premium) 0.6s forwards;
}
body.loaded .hero-subtitle {
  animation: cinematicReveal 1.4s var(--ease-premium) 0.9s forwards;
}
body.loaded .hero-buttons {
  animation: cinematicReveal 1.2s var(--ease-premium) 1.2s forwards;
}
body.loaded .hero-social {
  animation: cinematicReveal 1.2s var(--ease-premium) 1.5s forwards;
}

@keyframes cinematicReveal {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.hero-tagline {
  font-size: 0.875rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: 
    transform 0.5s var(--ease-premium),
    box-shadow 0.5s ease,
    background 0.4s ease;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--cream);
  color: var(--bg-primary);
  box-shadow: 0 4px 24px rgba(232, 220, 196, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(232, 220, 196, 0.35);
  background: var(--cream-light);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(232, 220, 196, 0.3);
}

.btn-secondary:hover {
  background: var(--cream);
  color: var(--bg-primary);
  border-color: var(--cream);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(232, 220, 196, 0.15);
}

.btn-full {
  width: 100%;
}

.hero-social {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.social-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.5s var(--ease-premium);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.5s var(--ease-premium);
  z-index: -1;
}

.social-icon:hover::before {
  transform: scale(1);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  transition: color 0.3s ease;
}

.social-icon:hover {
  border-color: var(--cream);
  color: var(--bg-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(232, 220, 196, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounceSoft 2.5s ease-in-out infinite;
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(232, 220, 196, 0.4);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--cream);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes bounceSoft {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ------------------------------------------
   REUSABLE COMPONENTS
   ------------------------------------------ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-padding {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 100px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
  font-weight: 500;
  opacity: 0.9;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ------------------------------------------
   SCROLL REVEAL — ADVANCED (Blur + Scale)
   ------------------------------------------ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.92);
  filter: blur(8px);
  transition: 
    opacity 1.2s var(--ease-premium),
    transform 1.2s var(--ease-premium),
    filter 1.2s var(--ease-premium);
  will-change: transform, opacity, filter;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ------------------------------------------
   FLOATING ANIMATIONS
   ------------------------------------------ */
@keyframes floatPremium {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-14px) rotate(0.4deg);
  }
  50% {
    transform: translateY(-8px) rotate(-0.2deg);
  }
  75% {
    transform: translateY(-18px) rotate(0.2deg);
  }
}

.float-slow {
  animation: floatPremium 10s ease-in-out infinite;
}

.float-medium {
  animation: floatPremium 7s ease-in-out infinite;
}

.float-fast {
  animation: floatPremium 5s ease-in-out infinite;
}

/* ------------------------------------------
   PARALLAX LAYERS
   ------------------------------------------ */
[data-parallax] {
  will-change: transform;
}

/* ------------------------------------------
   ABOUT SECTION
   ------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.6s var(--ease-premium), box-shadow 0.6s ease;
}

.about-image-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 1.2s var(--ease-premium);
}

.about-image-frame:hover .about-image {
  transform: scale(1.08);
}

.about-image-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--cream-glow), transparent, var(--cream-glow));
  border-radius: 26px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.6s ease;
  filter: blur(20px);
}

.about-image-frame:hover .about-image-glow {
  opacity: 1;
}

.about-content {
  padding: 20px 0;
}

.about-text {
  margin-bottom: 48px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-text strong {
  color: var(--cream);
  font-weight: 600;
}

.about-text em {
  color: var(--cream-light);
  font-style: italic;
}

.about-stats-mini {
  display: flex;
  gap: 48px;
}

.mini-stat {
  text-align: left;
}

.mini-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
}

.mini-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ------------------------------------------
   EXPERIENCE SECTION — PREMIUM CARDS
   ------------------------------------------ */
.experience {
  background: var(--bg-secondary);
  position: relative;
}

.experience::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-cream), transparent);
  opacity: 0.5;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.experience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  overflow: hidden;
  transition: 
    transform 0.7s var(--ease-premium),
    box-shadow 0.7s ease,
    border-color 0.5s ease;
  cursor: none;
  backdrop-filter: blur(10px);
  position: relative;
}

/* Elegant border glow on hover */
.experience-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(232,220,196,0.3), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 2;
}

.experience-card:hover::before {
  opacity: 1;
}

.experience-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    var(--shadow-lift),
    0 0 60px rgba(232, 220, 196, 0.06);
  border-color: rgba(232, 220, 196, 0.15);
}

.card-image-wrapper {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-premium);
}

.experience-card:hover .card-image {
  transform: scale(1.12);
}

.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-secondary), transparent 60%);
  opacity: 0.7;
  transition: opacity 0.6s ease;
}

.experience-card:hover .card-image-overlay {
  opacity: 0.3;
}

.card-content {
  padding: 28px;
}

.card-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--cream);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.3;
}

.card-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ------------------------------------------
   VIDEO SHOWCASE — CINEMATIC GLOW
   ------------------------------------------ */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  overflow: hidden;
  transition: 
    transform 0.7s var(--ease-premium),
    box-shadow 0.7s ease;
  backdrop-filter: blur(10px);
  position: relative;
}

.video-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(232,220,196,0.15), transparent 60%);
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.6s ease;
  filter: blur(24px);
  pointer-events: none;
}

.video-card:hover::before {
  opacity: 1;
}

.video-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease-premium);
}

.video-card:hover video {
  transform: scale(1.05);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,10,0.35);
  transition: opacity 0.5s ease, background 0.5s ease;
  pointer-events: none;
}

.video-wrapper:hover .video-play-overlay {
  opacity: 0;
}

.play-button {
  width: 64px;
  height: 64px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  transition: transform 0.5s var(--ease-bounce), box-shadow 0.4s ease;
  box-shadow: 0 4px 20px rgba(232,220,196,0.3);
}

.play-button svg {
  width: 24px;
  height: 24px;
  margin-left: 4px;
}

.video-card:hover .play-button {
  transform: scale(1.15);
  box-shadow: 0 8px 30px rgba(232,220,196,0.4);
}

.video-info {
  padding: 28px;
}

.video-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.video-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ------------------------------------------
   ACHIEVEMENTS — COUNT UP & GLOW
   ------------------------------------------ */
.achievements {
  background: var(--bg-secondary);
  position: relative;
}

.achievements::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-cream), transparent);
  opacity: 0.5;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.achievement-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  transition: 
    transform 0.6s var(--ease-premium),
    box-shadow 0.6s ease,
    border-color 0.4s ease;
  backdrop-filter: blur(10px);
  cursor: none;
  position: relative;
  overflow: hidden;
}

/* Soft radial glow on hover */
.achievement-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(232,220,196,0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.achievement-card:hover::after {
  opacity: 1;
}

.achievement-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-cream);
  box-shadow: 0 0 40px rgba(232, 220, 196, 0.06);
}

.achievement-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 28px;
  color: var(--cream);
  opacity: 0.9;
}

.achievement-icon svg {
  width: 100%;
  height: 100%;
}

.achievement-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--cream);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1;
}

.achievement-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ------------------------------------------
   CERTIFICATES — GALLERY WITH GLOW
   ------------------------------------------ */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.certificate-item {
  cursor: none;
}

.certificate-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: 
    transform 0.6s var(--ease-premium),
    box-shadow 0.6s ease,
    border-color 0.4s ease;
  aspect-ratio: 4 / 3;
}

.certificate-frame:hover {
  border-color: var(--cream);
  box-shadow: 0 0 40px rgba(232, 220, 196, 0.1);
  transform: translateY(-6px) scale(1.02);
}

.certificate-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease-premium);
}

.certificate-frame:hover .certificate-img {
  transform: scale(1.1);
}

.certificate-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.certificate-frame:hover .certificate-overlay {
  opacity: 1;
}

.certificate-zoom {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  transform: scale(0.8) rotate(-10deg);
  transition: all 0.5s var(--ease-bounce);
}

.certificate-frame:hover .certificate-zoom {
  transform: scale(1) rotate(0deg);
}

.certificate-zoom svg {
  width: 22px;
  height: 22px;
}

.certificate-caption {
  text-align: center;
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.certificate-item:hover .certificate-caption {
  color: var(--cream);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(20px);
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease-premium);
  padding: 24px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  background: none;
  border: 1.5px solid var(--border-subtle);
  color: var(--cream);
  font-size: 2rem;
  border-radius: 50%;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-premium);
  z-index: 100002;
}

.lightbox-close:hover {
  background: var(--cream);
  color: var(--bg-primary);
  border-color: var(--cream);
  transform: rotate(90deg);
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.6s var(--ease-premium);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.lightbox-caption {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--cream);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.6s var(--ease-premium) 0.2s;
}

.lightbox.active .lightbox-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------
   COLLABORATION — FLOAT & GLOW
   ------------------------------------------ */
.collaboration {
  background: var(--bg-secondary);
  position: relative;
}

.collaboration::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-cream), transparent);
  opacity: 0.5;
}

.collaboration-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 64px;
  text-align: center;
  transition: 
    transform 0.7s var(--ease-premium),
    box-shadow 0.7s ease,
    border-color 0.5s ease;
  backdrop-filter: blur(10px);
  cursor: none;
  position: relative;
  overflow: hidden;
}

.collaboration-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(232,220,196,0.1), transparent 50%);
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.6s ease;
  filter: blur(30px);
}

.collaboration-card:hover::before {
  opacity: 1;
}

.collaboration-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--border-cream);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3), 0 0 60px rgba(232,220,196,0.05);
}

.collab-logo-wrapper {
  margin-bottom: 36px;
  position: relative;
}

.collab-logo {
  max-width: 220px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: all 0.6s var(--ease-premium);
}

.collaboration-card:hover .collab-logo {
  opacity: 1;
  filter: brightness(1) sepia(1) hue-rotate(-10deg) saturate(3);
  transform: scale(1.05);
}

.collab-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.collab-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 600px;
  margin: 0 auto 36px;
}

.collab-meta {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.collab-badge {
  background: var(--cream-glow);
  color: var(--cream);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--border-cream);
}

.collab-year {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ------------------------------------------
   CONTACT — ELEGANT FORM
   ------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: blur(10px);
  transition: transform 0.6s var(--ease-premium), box-shadow 0.6s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.contact-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.contact-card-text {
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.8;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.5s var(--ease-premium);
  cursor: none;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.contact-btn:hover::before {
  transform: translateX(100%);
}

.contact-btn svg {
  width: 22px;
  height: 22px;
  transition: transform 0.4s var(--ease-bounce);
}

.contact-btn:hover svg {
  transform: scale(1.2);
}

.whatsapp-btn {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.25);
  color: #25d366;
}

.whatsapp-btn:hover {
  background: #25d366;
  color: var(--bg-primary);
  border-color: #25d366;
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
}

.instagram-btn {
  background: rgba(225, 48, 108, 0.08);
  border-color: rgba(225, 48, 108, 0.25);
  color: #e1306c;
}

.instagram-btn:hover {
  background: #e1306c;
  color: white;
  border-color: #e1306c;
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.2);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: blur(10px);
}

.form-group {
  position: relative;
  margin-bottom: 32px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.02);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.4s var(--ease-premium);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cream);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 4px var(--cream-glow);
}

.form-group label {
  position: absolute;
  left: 18px;
  top: 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: all 0.4s var(--ease-premium);
  background: var(--bg-card);
  padding: 0 6px;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -11px;
  left: 14px;
  font-size: 0.8rem;
  color: var(--cream);
  font-weight: 500;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* ------------------------------------------
   FOOTER
   ------------------------------------------ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-cream), transparent);
  opacity: 0.5;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 10px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.5s var(--ease-premium);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.footer-social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.5s var(--ease-premium);
  z-index: -1;
}

.footer-social-link:hover::before {
  transform: scale(1);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  transition: color 0.3s ease;
}

.footer-social-link:hover {
  border-color: var(--cream);
  color: var(--bg-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(232,220,196,0.15);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ------------------------------------------
   FLOAT TRIGGER (Click Animation)
   ------------------------------------------ */
.floating {
  animation: floatClick 0.9s var(--ease-premium);
}

@keyframes floatClick {
  0% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-20px) scale(1.03); }
  60% { transform: translateY(-8px) scale(0.98); }
  100% { transform: translateY(0) scale(1); }
}

/* ------------------------------------------
   RESPONSIVE
   ------------------------------------------ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 110px;
  }
  
  .container {
    padding: 0 24px;
  }
  
  .about-grid {
    gap: 60px;
  }
  
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    gap: 40px;
  }
  
  .collaboration-card {
    padding: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: var(--section-padding-mobile);
  }
  
  html {
    scroll-behavior: auto;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.6s var(--ease-premium);
    border-left: 1px solid var(--border-subtle);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.1rem;
  }
  
  .hero {
    min-height: 600px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 16px;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .about-image-wrapper {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .about-stats-mini {
    justify-content: center;
    gap: 32px;
  }
  
  .experience-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .videos-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .certificates-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .collaboration-card {
    padding: 40px 24px;
  }
  
  .collab-logo {
    max-width: 180px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-card,
  .contact-form {
    padding: 32px 24px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  
  .lightbox-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }
  
  /* Mobile performance: reduce effects */
  .scroll-reveal {
    transform: translateY(30px) scale(0.95);
    filter: blur(4px);
    transition-duration: 0.8s;
  }
  
  [data-parallax] {
    transform: none !important;
  }
  
  .float-slow,
  .float-medium,
  .float-fast {
    animation: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 1.9rem;
  }
  
  .card-image-wrapper {
    height: 220px;
  }
  
  .achievement-card {
    padding: 40px 24px;
  }
  
  .contact-btn {
    padding: 16px 20px;
  }
}

/* ------------------------------------------
   REDUCED MOTION
   ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .scroll-reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
  
  .hero-tagline,
  .hero-title,
  .hero-subtitle,
  .hero-buttons,a
  .hero-social {
    opacity: 1;
    animation: none;
  }
  
  [data-parallax] {
    transform: none !important;
  }
}

.tiktok-btn {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: #ffffff;
}

.tiktok-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}