:root {
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --light: #EBEBEB;
  --mid: #AAAAAA;
  --dark-mid: #555555;
  --dark: #1A1A1A;
  --black: #0A0A0A;
  --sky: #38BDF8;
  --neon-purple: #CC00FF;
  --neon-blue: #00BFFF;
  --sky-glow: rgba(180, 0, 255, 0.35);
  --sky-soft: rgba(180, 0, 255, 0.08);
  --border-light: rgba(0, 0, 0, 0.10);
  --border-dark: rgba(255, 255, 255, 0.12);
  --card-bg: #FFFFFF;
  --section-alt: #F7F7F7;
  --text-primary: #111111;
  --text-muted: #777777;
  --text-white: #FFFFFF;
  --gradient-main: linear-gradient(90deg, #00BFFF, #CC00FF);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  cursor: none;
  background: var(--section-alt);
}

body {
  background: var(--section-alt);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

::selection {
  background: var(--sky-glow);
  color: #000;
}

/* Custom Cursor */
#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100010;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  transition: width 0.2s, height 0.2s;
}

#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 2px solid var(--sky);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100009;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
}

body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring,
body:has(.presentation-card:hover) #cursor-ring,
body:has(.presentation-thumb-wrap:hover) #cursor-ring,
body:has(.presentation-view-btn:hover) #cursor-ring,
body:has(.pdf-btn:hover) #cursor-ring,
body:has(.pdf-format-tab:hover) #cursor-ring,
body:has(.pdf-btn-action:hover) #cursor-ring,
body:has(.pdf-lightbox-close:hover) #cursor-ring {
  width: 48px;
  height: 48px;
  border-color: var(--sky);
}

/* WhatsApp Float */
#wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: waPulse 2s infinite;
  cursor: none;
  transition: transform 0.3s;
}
#wa-float:hover {
  transform: scale(1.1);
}

/* Navbar */
nav#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(0, 0, 0, 1);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  transition: background 0.3s, backdrop-filter 0.3s, border-bottom 0.3s;
}
nav#navbar.scrolled {
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.9rem;
  letter-spacing: 3px;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  cursor: none;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  cursor: none;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-cta {
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 0.6rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: none;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav-cta:hover {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: 0 0 15px var(--sky-glow);
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  z-index: 1002;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 8px;
}
.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--transition);
}
.mobile-nav.open {
  transform: translateX(0);
}
.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: none;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.mob-link {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.5rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 2px;
  transition: color 0.3s;
  cursor: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
}
.mob-link:hover {
  color: var(--sky);
}

/* =========================================
   CINEMATIC SCROLL-CONTROLLED ANIMATION
   ========================================= */
#cinematic-scroll {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000000;
  overflow: hidden;
  z-index: 1;
}
#cinematic-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
/* Loading indicator */
#cinematic-loader {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 10;
  transition: opacity 0.6s ease;
}
#cinematic-loader.hidden {
  opacity: 0;
  pointer-events: none;
}
.cinematic-loader-bar {
  width: 180px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.cinematic-loader-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gradient-main);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.cinematic-loader-text {
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  font-family: 'Inter', sans-serif;
}

/* HERO SECTION */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}
.video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.8) 100%);
}
#star-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.15;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 950px;
  padding: 0 20px;
}
.hero-tag {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInDown 1s ease forwards;
}
.hero-h1 {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.95;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-h1 .shimmer {
  background: linear-gradient(90deg, #00BFFF, #CC00FF, #00BFFF);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: shimmer 4s linear infinite, fadeInUp 1s 0.3s ease forwards;
}
.hero-badge {
  display: inline-block;
  background: var(--gradient-main);
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  box-shadow: 0 0 28px var(--sky-glow);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s 0.5s ease forwards;
}
.hero-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  margin: 0 auto 3rem;
  animation: lineExpand 1.2s 0.9s ease forwards;
}
.hero-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fadeInUp 1s 1.1s ease forwards;
}
.btn-primary {
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 0.9rem 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 3px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  cursor: none;
}
.btn-primary:hover {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: 0 0 20px var(--sky-glow);
}
.btn-secondary {
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  padding: 0.9rem 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 3px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  cursor: none;
}
.btn-secondary:hover {
  border-color: var(--sky);
  color: var(--sky);
  background: var(--sky-soft);
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 2s 2s forwards;
}
.scroll-chevron {
  width: 18px;
  height: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
  margin-top: 10px;
  animation: bounce 1.5s ease infinite;
}

/* ABOUT SECTION */
#about {
  background: #fff;
  padding: 7rem 5%;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.section-label {
  font-size: 0.62rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: block;
}
#about .section-label {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: 3px;
  color: #111;
  margin-bottom: 1.5rem;
}
.section-title .accent {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-desc {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.55);
  max-width: 480px;
  line-height: 1.8;
}
.divider {
  width: 50px;
  height: 2px;
  background: var(--gradient-main);
  margin: 1.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.stat-card {
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  border-radius: 6px;
  transition: all 0.3s;
}
.stat-card:hover {
  background: #efefef;
  border-color: var(--sky);
}
.stat-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.8rem;
  color: #111;
  letter-spacing: 2px;
}
.stat-label {
  font-size: 0.68rem;
  color: rgba(0, 0, 0, 0.45);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 0.3rem;
}
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}
.about-video-container {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
}
.about-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.about-video-glow {
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: var(--gradient-main);
  opacity: 0.3;
  z-index: -1;
  filter: blur(15px);
  animation: glowPulse 4s ease infinite;
}
.orbit-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-core {
  z-index: 10;
}
.orbit-ring {
  position: absolute;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
}
.orbit-ring:nth-child(2) {
  width: 150px;
  height: 150px;
  animation: spin 10s linear infinite;
}
.orbit-ring:nth-child(3) {
  width: 250px;
  height: 250px;
  animation: spin 15s linear infinite reverse;
}
.orbit-ring:nth-child(4) {
  width: 350px;
  height: 350px;
  animation: spin 20s linear infinite;
}
.orbit-dot {
  width: 10px;
  height: 10px;
  background: #111;
  border-radius: 50%;
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
}
.orbit-dot.sky {
  background: var(--sky);
}

/* SERVICES SECTION */
#services, #services2 {
  background: var(--section-alt);
  padding: 7rem 5%;
}
.services-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.services-section-header .section-title {
  color: var(--text-primary);
}
.services-section-header .section-label {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 500px;
  margin: 0 auto;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.svc-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  cursor: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--transition), background-color 0.35s var(--transition), box-shadow 0.35s var(--transition), border-color 0.35s var(--transition);
}
.svc-card:hover {
  background-color: #09386e;
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.18), 0 2px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-8px);
}
.svc-video-wrap {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f4ff, #e8eeff);
}
.svc-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.svc-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}
.svc-card-body {
  padding: 1.8rem 1.8rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.svc-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.svc-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0f4ff, #e8eeff);
  border: 1.5px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  transition: all 0.3s;
}
.svc-card:hover .svc-icon-wrap {
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  border-color: var(--sky);
}
.svc-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.3;
  padding-top: 0.2rem;
}
.svc-card:hover .svc-card-title {
  color: #FFFFFF;
}
.svc-card-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.svc-card:hover .svc-card-desc {
  color: rgba(255, 255, 255, 0.85);
}

/* VIDEO SHOWCASE */
#showcase {
  background: var(--section-alt);
  padding: 7rem 5%;
  overflow: clip;
}
#showcase .section-title {
  color: var(--text-primary) !important;
}
#showcase .section-subtitle {
  color: var(--text-muted) !important;
}
.showcase-wrapper {
  overflow: hidden;
  position: relative;
}
.showcase-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.showcase-card {
  width: 400px;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
  flex-shrink: 0;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  cursor: none;
  transition: transform 0.35s var(--transition), box-shadow 0.35s var(--transition), border-color 0.35s var(--transition);
}
.showcase-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #f0f4ff, #e8eeff);
}
.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.18), 0 2px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
}
.showcase-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 1;
  transition: opacity 0.3s;
}
.showcase-card-title {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.showcase-play-btn {
  background: var(--gradient-main);
  color: var(--white);
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 30px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: none;
  transition: all 0.3s;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.showcase-play-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 20px var(--sky-glow);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox video {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  outline: none;
}
.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.lightbox-close:hover {
  transform: scale(1.1);
  color: var(--sky);
}

/* =========================================
   PRESENTATIONS (CLIENT DECKS)
   ========================================= */
#presentations {
  background: var(--section-alt);
  padding: 7rem 5%;
  position: relative;
  overflow: hidden;
}

#presentations .section-title {
  color: var(--text-primary);
}

#presentations .section-subtitle {
  color: var(--text-muted);
}

.presentations-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.presentations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.presentation-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--transition), box-shadow 0.35s var(--transition), border-color 0.35s var(--transition);
  position: relative;
}

.presentation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px var(--sky-glow), 0 2px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
}

.presentation-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0d1b2a, #1b263b);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.presentation-thumb-canvas,
.presentation-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.presentation-card:hover .presentation-thumb-canvas,
.presentation-card:hover .presentation-thumb-img {
  transform: scale(1.04);
}

.presentation-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #090d16 0%, #11192e 100%);
  color: var(--sky);
}

.thumb-loader-spinner {
  width: 28px;
  height: 28px;
  border: 2.5px solid rgba(56, 189, 248, 0.15);
  border-top-color: var(--sky);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.presentation-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
  pointer-events: none;
}

.presentation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.presentation-pages-badge {
  display: none !important;
}

.presentation-card-body {
  padding: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.presentation-client-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sky);
  margin-bottom: 0.45rem;
}

.presentation-client-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 8px var(--sky);
}

.presentation-card-title {
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  transition: color 0.3s;
}

.presentation-card-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.presentation-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.presentation-view-btn {
  background: var(--gradient-main);
  color: var(--white);
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 30px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.presentation-view-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px var(--sky-glow);
}

.presentation-pptx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ea580c;
  background: rgba(234, 88, 12, 0.08);
  border: 1px solid rgba(234, 88, 12, 0.2);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.presentation-pptx-badge:hover {
  background: rgba(234, 88, 12, 0.18);
  border-color: #ea580c;
}

.presentation-pdf-badge {
  color: #DC2626 !important;
  background: rgba(239, 68, 68, 0.08) !important;
  border-color: rgba(239, 68, 68, 0.25) !important;
}

.presentation-pdf-badge:hover {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: #DC2626 !important;
}

.pdf-btn-red {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  color: #F87171 !important;
}

.pdf-btn-red:hover {
  background: rgba(239, 68, 68, 0.28) !important;
  border-color: #EF4444 !important;
  color: #FFFFFF !important;
}

/* Empty state */
.presentations-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: #ffffff;
  border: 1.5px dashed rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.presentations-empty .empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.presentations-empty .empty-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.presentations-empty .empty-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================
   PDF LIGHTBOX VIEWER
   ========================================= */
.pdf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pdf-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.pdf-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pdf-lightbox-container {
  position: relative;
  z-index: 1;
  width: 95vw;
  max-width: 1300px;
  height: 92vh;
  display: flex;
  flex-direction: column;
  background: rgba(22, 22, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.pdf-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  background: rgba(15, 15, 20, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 1rem;
  flex-wrap: wrap;
}

.pdf-lightbox-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.pdf-deck-badge {
  background: var(--gradient-main);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.pdf-lightbox-meta {
  min-width: 0;
}

.pdf-lightbox-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
}

.pdf-lightbox-client {
  font-size: 0.75rem;
  color: var(--sky);
  display: block;
}

.pdf-format-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.2rem;
  border-radius: 20px;
}

.pdf-format-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 16px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdf-format-tab:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.pdf-format-tab.active {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3);
}

.pdf-lightbox-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pdf-control-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.45rem;
  border-radius: 8px;
}

.pdf-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.pdf-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  color: var(--sky);
}

.pdf-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.pdf-page-display {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
  padding: 0 0.5rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pdf-zoom-level {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  min-width: 42px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.pdf-btn-action {
  width: auto;
  height: 32px;
  padding: 0 0.85rem;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #bae6fd;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  gap: 0.4rem;
  cursor: pointer;
}

.pdf-btn-action:hover {
  background: var(--gradient-main);
  color: var(--white);
  border-color: transparent;
}

.pdf-pptx-action {
  background: rgba(234, 88, 12, 0.15);
  border-color: rgba(234, 88, 12, 0.3);
  color: #fdba74;
}

.pdf-pptx-action:hover {
  background: #ea580c;
  color: var(--white);
}

.pdf-lightbox-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 0.25rem;
}

.pdf-lightbox-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #f87171;
  transform: scale(1.05);
}

.pdf-viewer-body {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #111116;
}

.deck-iframe-wrapper {
  width: 100%;
  height: 100%;
  min-height: calc(88vh - 70px);
  position: relative;
  display: flex;
  background: #18181f;
}

.deck-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.deck-viewer-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  gap: 1rem;
  color: var(--white);
  max-width: 500px;
  margin: auto;
}

.fallback-icon {
  font-size: 3rem;
}

.fallback-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
}

.fallback-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.pdf-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(17, 17, 22, 0.92);
  backdrop-filter: blur(6px);
  z-index: 10;
  color: var(--white);
  transition: opacity 0.3s;
}

.pdf-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.pdf-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--sky);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.pdf-loader-text {
  font-size: 0.82rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
}

/* PACKAGE */
#package {
  background: var(--section-alt);
  position: relative;
  overflow: hidden;
  padding: 7rem 5%;
}
#package::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.package-overlay {
  display: none;
}
#package .section-label {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#package .section-title {
  color: var(--text-primary);
}
.package-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 700px;
  margin: 0 auto;
}
.checklist-wrap {
  position: relative;
  padding: 2.5rem 2.5rem 2.5rem 3rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.checklist-rail {
  position: absolute;
  left: 1.5rem;
  top: 2.5rem;
  bottom: 2.5rem;
  width: 2px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.checklist-rail-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: var(--gradient-main);
  border-radius: 2px;
}
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.5;
  opacity: 0.35;
  transform: translateX(-14px);
}
.checklist li::before {
  content: '✦';
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 4px;
}
.checklist li strong {
  color: var(--text-primary);
  font-weight: 600;
}
.checklist li.active {
  opacity: 1;
  transform: translateX(0);
}

/* WEBSITE DEV */
#webdev {
  background: #ffffff;
  padding: 7rem 5%;
  overflow: hidden;
}
.webdev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
#webdev .section-title {
  color: var(--text-primary);
}
#webdev .section-label {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#webdev .section-desc {
  color: rgba(0, 0, 0, 0.55);
}
.webdev-visual {
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dot:nth-child(1) { background: #FF5F57; }
.browser-dot:nth-child(2) { background: #FEBC2E; }
.browser-dot:nth-child(3) { background: #28C840; }
.browser-url {
  flex: 1;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 0.3rem 1rem;
  font-size: 0.7rem;
  color: rgba(0, 0, 0, 0.4);
}
.browser-video-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
  background: #e8e8e8;
}
.browser-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}
.browser-video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', cursive;
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.5);
  letter-spacing: 4px;
  z-index: 1;
}
/* Webdev checklist overrides for white background */
#webdev .checklist {
  padding-left: 0;
}
#webdev .checklist li {
  color: rgba(0, 0, 0, 0.6);
  opacity: 1;
  transform: none;
}
#webdev .checklist li strong {
  color: var(--text-primary);
}

/* WHY US */
#why {
  background: var(--section-alt);
  padding: 7rem 5%;
}
#why .section-title {
  color: var(--text-primary);
}
#why .section-label {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.why-card {
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s var(--transition);
  position: relative;
  --underline: 0;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.3);
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(var(--underline));
  transform-origin: left;
  transition: transform 0.4s var(--transition);
}
.why-card:hover::after {
  transform: scaleX(1);
}
.why-img-wrap,
.why-video-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f0f4ff, #e8eeff);
}
.why-img,
.why-img-wrap img,
.why-video-wrap img,
.why-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--transition);
}
.why-card:hover .why-img,
.why-card:hover .why-img-wrap img,
.why-card:hover .why-video-wrap img {
  transform: scale(1.05);
}
.why-icon {
  font-size: 2.2rem;
  padding: 0 1.5rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.why-title {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.3px;
  color: var(--text-primary);
  padding: 0 1.5rem;
  margin-bottom: 0.5rem;
}
.why-text {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.7;
  padding: 0 1.5rem 1.5rem;
}

/* CTA */
#cta {
  background: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 9rem 5%;
}
.cta-overlay {
  display: none;
}
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 4s infinite;
  pointer-events: none;
}
.cta-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: 4px;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.cta-sub {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 3rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
#cta .btn-primary {
  background: #111111;
  color: var(--white);
}
#cta .btn-primary:hover {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 0 28px var(--sky-glow);
}
#cta .btn-secondary {
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: var(--text-primary);
  background: transparent;
}
#cta .btn-secondary:hover {
  border-color: var(--sky);
  color: var(--sky);
  background: var(--sky-soft);
}
#cta .section-label,
#cta .accent {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* FOOTER */
footer {
  background: #0D0D0D;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 4rem 5%;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.4rem;
  color: var(--white);
  letter-spacing: 3px;
  display: block;
  margin-bottom: 1rem;
}
.footer-tagline {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
  max-width: 280px;
}
.footer-h {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.2rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.83rem;
  text-decoration: none;
  transition: color 0.3s;
  cursor: none;
}
.footer-links a:hover {
  color: var(--sky);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.7rem;
  text-decoration: none;
}
a.contact-item {
  cursor: none;
  transition: color 0.3s;
}
a.contact-item:hover {
  color: var(--sky);
}
.contact-icon {
  color: var(--sky);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
}
.social-links {
  display: flex;
  gap: 0.8rem;
}
.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: all 0.3s;
  cursor: none;
}
.social-link:hover {
  border-color: var(--sky);
  color: var(--sky);
}

/* ANIMATIONS & UTILITY */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}
.reveal.from-left {
  transform: translateX(-50px);
}
.reveal.from-right {
  transform: translateX(50px);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lineExpand {
  to { width: 300px; }
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
  40% { transform: translateY(-10px) rotate(45deg); }
  60% { transform: translateY(-5px) rotate(45deg); }
}
@keyframes glowPulse {
  0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
  100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
}
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.counter {
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* RESPONSIVE */

/* Hide custom cursor on touch devices */
@media (pointer: coarse) {
  html, body {
    cursor: auto;
  }
  #cursor-dot, #cursor-ring {
    display: none !important;
  }
  a, button, .svc-card, .showcase-card, .showcase-play-btn,
  .presentation-card, .presentation-view-btn, .presentation-pptx-badge,
  .pdf-btn, .pdf-lightbox-close,
  .btn-primary, .btn-secondary, .nav-cta, .nav-links a,
  .mob-link, .mobile-close, .hamburger, .footer-links a,
  .contact-item, a.contact-item,
  .social-link, .lightbox-close, #wa-float {
    cursor: auto;
  }
  .showcase-card:hover, .svc-card:hover, .presentation-card:hover {
    transform: none !important;
  }
}

@media (max-width: 960px) {
  #cinematic-scroll {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    aspect-ratio: 16 / 9; /* Fallback before JS exact height calculation */
  }
  #cinematic-canvas {
    /* Keep it absolute so it takes height from the aspect-ratio container */
    position: absolute !important;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
  
  /* Also fix #hero just in case it is uncommented and uses video */
  #hero {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
  }
  #hero .video-bg {
    position: relative !important;
    height: auto !important;
  }
  #hero .video-bg video {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .about-grid, .package-grid, .webdev-grid {
    grid-template-columns: 1fr;
  }
  .about-visual {
    display: none;
  }
  nav .nav-links, .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .svc-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .svc-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .svc-video-wrap {
    height: 180px;
    width: 100%;
    flex-shrink: 0;
  }
  .svc-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
  }

  .presentations-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .presentation-view-btn {
    min-height: 44px;
    padding: 0.6rem 1.4rem;
  }
  .presentation-pptx-badge {
    min-height: 44px;
    padding: 0.5rem 0.8rem;
    display: inline-flex;
    align-items: center;
  }
  .pdf-lightbox-container {
    width: 98vw;
    height: 96vh;
    border-radius: 12px;
  }
  .pdf-lightbox-title {
    max-width: 240px;
  }
  .deck-iframe-wrapper,
  .pdf-viewer-body {
    overflow-x: hidden;
  }

  /* === SHOWCASE HORIZONTAL SCROLL ON MOBILE === */
  #showcase {
    overflow: clip;
    background: var(--section-alt);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .showcase-wrapper {
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
  }
  .showcase-track {
    display: flex;
    gap: 1.2rem;
    width: max-content;
  }
  .showcase-card {
    width: clamp(280px, 80vw, 380px);
    height: clamp(200px, 54vw, 260px);
    flex-shrink: 0;
  }
  .showcase-play-btn {
    min-height: 44px;
    padding: 0.6rem 1.4rem;
    font-size: 0.8rem;
  }
  /* Show overlay always on touch since no hover */
  .showcase-card .showcase-card-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 50%);
  }
}

@media (max-width: 768px) {
  #webdev {
    overflow: hidden;
  }
  .webdev-grid {
    gap: 2.5rem;
  }
  .hero-h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }
  .section-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  section,
  #about,
  #services,
  #services2,
  #showcase,
  #presentations,
  #package,
  #webdev,
  #why,
  #cta {
    padding: 4rem 5% !important;
  }
  .svc-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .svc-card {
    height: auto;
  }
  .svc-video-wrap {
    height: clamp(170px, 48vw, 200px);
    width: 100%;
    flex-shrink: 0;
  }
  .svc-card-body {
    padding: 1.4rem;
  }
  .presentations-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pdf-lightbox-header {
    padding: 0.65rem 0.85rem;
    gap: 0.5rem;
  }
  .pdf-lightbox-title {
    max-width: 140px;
    font-size: 0.88rem;
  }
  .pdf-lightbox-client {
    font-size: 0.7rem;
  }
  .pdf-zoom-controls {
    display: none;
  }
  .pdf-btn-text {
    display: none;
  }
  .pdf-btn-action {
    min-height: 44px;
    min-width: 44px;
    padding: 0 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .pdf-lightbox-close {
    min-width: 44px;
    min-height: 44px;
  }
  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }
  .pdf-viewer-body {
    padding: 0.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.25rem 0;
  }
  a.contact-item {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .social-link {
    width: 44px;
    height: 44px;
  }
  .showcase-card {
    width: clamp(250px, 85vw, 340px);
    height: clamp(170px, 56vw, 240px);
  }
  .hero-btns,
  .cta-btns {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.9rem;
  }
  .btn-primary,
  .btn-secondary,
  #cta .btn-primary,
  #cta .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .checklist-wrap {
    padding: 2rem 1.5rem 2rem 2.8rem;
  }
  .checklist-rail {
    left: 1.4rem;
    top: 2rem;
    bottom: 2rem;
  }
  .webdev-visual {
    padding: 1.5rem;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  #wa-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }
  #wa-float svg {
    width: 26px;
    height: 26px;
  }
  .hero-h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
    letter-spacing: 2px;
  }
  .hero-tag {
    font-size: 0.58rem;
    letter-spacing: 2px;
    padding: 0.3rem 0.9rem;
  }
  .hero-badge {
    font-size: 0.7rem;
    padding: 0.4rem 1.2rem;
  }
  .section-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  .showcase-card {
    width: 85vw;
    height: 56vw;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .stat-card {
    padding: 1.1rem 0.85rem;
  }
  .stat-num {
    font-size: 2.2rem;
  }
  .stat-label {
    font-size: 0.62rem;
  }
  .checklist-wrap {
    padding: 1.5rem 1rem 1.5rem 2.2rem;
  }
  .checklist-rail {
    left: 1rem;
    top: 1.5rem;
    bottom: 1.5rem;
  }
  .checklist li {
    font-size: 0.82rem;
    gap: 0.5rem;
  }
  .webdev-visual {
    padding: 1.25rem;
  }
  .browser-bar {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }
  .browser-url {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
}

@media (max-width: 375px) {
  .hero-h1 {
    font-size: clamp(2.2rem, 15vw, 3.5rem);
  }
  .section-title {
    font-size: 1.95rem;
  }
  .showcase-card {
    width: 88vw;
    height: 58vw;
  }
  .hero-content {
    padding: 0 12px;
  }
  .svc-card-body {
    padding: 1.2rem;
  }
  .svc-icon-wrap {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
  .stats-grid {
    gap: 0.5rem;
  }
  .stat-card {
    padding: 0.9rem 0.65rem;
  }
  .stat-num {
    font-size: 1.9rem;
  }
  .stat-label {
    font-size: 0.58rem;
    letter-spacing: 1px;
  }
  .checklist-wrap {
    padding: 1.25rem 0.75rem 1.25rem 1.8rem;
  }
  .checklist-rail {
    left: 0.8rem;
    top: 1.25rem;
    bottom: 1.25rem;
  }
  .checklist li {
    font-size: 0.8rem;
  }
  .footer-copy {
    font-size: 0.68rem;
  }
}

@media (max-width: 320px) {
  .hero-h1 {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .showcase-card {
    width: 90vw;
    height: 60vw;
  }
  .hero-tag {
    font-size: 0.52rem;
  }
  .stat-card {
    padding: 0.75rem 0.5rem;
  }
  .stat-num {
    font-size: 1.65rem;
  }
  .stat-label {
    font-size: 0.55rem;
    letter-spacing: 0.5px;
  }
  .checklist-wrap {
    padding: 1rem 0.5rem 1rem 1.5rem;
  }
  .checklist-rail {
    left: 0.65rem;
  }
  .checklist li {
    font-size: 0.75rem;
  }
  .browser-url {
    font-size: 0.58rem;
    padding: 0.2rem 0.5rem;
  }
  .btn-primary,
  .btn-secondary,
  #cta .btn-primary,
  #cta .btn-secondary {
    font-size: 0.75rem;
    padding: 0.75rem 1.2rem;
  }
}
