/* ============================================
   PORTFOLIO — premium SaaS-style design (v2)
   palette: #03045e #0077b6 #00b4d8 #90e0ef #caf0f8
   ============================================ */

/* Pricing-section-only imports (kept globally available) */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Syne:wght@400;500;600;700;800&display=swap');

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

html {
  scroll-behavior: smooth;
  /* Don't put overflow-x: hidden on html — it can break position:fixed
     in some browsers. Use overflow:hidden on body instead. */
}
html, body {
  max-width: 100%;
}

:root {
  --c-deep: #03045e;
  --c-blue: #0077b6;
  --c-cyan: #00b4d8;
  --c-light: #90e0ef;
  --c-mist: #caf0f8;

  --font-grotesk: 'Space Grotesk', sans-serif;
  --font-manrope: 'Manrope', sans-serif;
  --font-playfair: 'Playfair Display', serif;
  --font-pinyon: 'Pinyon Script', cursive;
  --font-syne: 'Syne', sans-serif;
  --font-dm: 'DM Serif Display', serif;

  /* z-index scale — single source of truth */
  --z-bg: -1;
  --z-content: 1;
  --z-floating: 5;       /* hero floating cards */
  --z-cursor: 9000;
  --z-navbar: 100;
  --z-modal: 9999;       /* video popup — above everything */
}

body {
  font-family: var(--font-manrope);
  background: var(--c-mist);
  color: var(--c-deep);
  overflow-x: hidden;       /* clip horizontal overflow at body */
  cursor: none;
  min-height: 100vh;
  position: relative;
  width: 100%;
}

a { color: inherit; text-decoration: none; cursor: none; }
button { font-family: inherit; cursor: none; border: none; background: none; }
input, textarea { font-family: inherit; cursor: none; }

/* ============ ANIMATED BACKGROUND — ORGANIC BLOBS ============ */
.bg-wrap {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 10%, #ffffff 0%, transparent 45%),
    radial-gradient(ellipse at 90% 90%, #e0f6fb 0%, transparent 50%),
    linear-gradient(135deg, #caf0f8 0%, #dff4f9 50%, #caf0f8 100%);
}
.bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* organic morphing motion — slow, smooth, never harsh */
.blob { transform-origin: center; transform-box: fill-box; will-change: transform; }
.blob-a { animation: morphA 28s ease-in-out infinite; }
.blob-b { animation: morphB 32s ease-in-out infinite; }
.blob-c { animation: morphC 36s ease-in-out infinite; }
.blob-d { animation: morphD 30s ease-in-out infinite; }

@keyframes morphA {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33%      { transform: translate(80px, 60px) scale(1.12) rotate(8deg); }
  66%      { transform: translate(-40px, 100px) scale(0.92) rotate(-6deg); }
}
@keyframes morphB {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50%      { transform: translate(-120px, 80px) scale(1.15) rotate(-10deg); }
}
@keyframes morphC {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  40%      { transform: translate(140px, -60px) scale(1.1) rotate(6deg); }
  75%      { transform: translate(-60px, 40px) scale(0.95) rotate(-4deg); }
}
@keyframes morphD {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50%      { transform: translate(-100px, -80px) scale(1.08) rotate(-8deg); }
}

/* ============ CUSTOM CURSOR ============ */
.cursor-dot, .cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: var(--z-cursor);
  border-radius: 50%;
  transition: transform 0.15s ease, width 0.25s ease, height 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--c-deep);
  box-shadow: 0 0 12px rgba(0,180,216,0.8);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(3,4,94,0.4);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(2px);
}
.cursor-ring.hover {
  width: 70px; height: 70px;
  background: rgba(0,180,216,0.18);
  border-color: var(--c-cyan);
}
.cursor-dot.hover { opacity: 0; }

@media (max-width: 900px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  a, button, input, textarea { cursor: auto; }
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: var(--z-navbar);
  padding: 0 24px;
  width: 100%;
  /* Stability: pre-promote to its own layer & prevent any layout from shifting it */
  will-change: transform;
  transform: translateZ(0);
  pointer-events: none; /* container shouldn't catch clicks — only inner does */
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(3, 4, 94, 0.08);
  position: relative;
  pointer-events: auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-grotesk);
  font-weight: 700;
}
/* Logo image — no container, free-floating */
.logo-img-only {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 119, 182, 0.35));
  transition: transform 0.3s ease;
}
.logo:hover .logo-img-only,
.foot-brand:hover .logo-img-only {
  transform: rotate(-6deg) scale(1.05);
}
/* legacy .logo-img kept for safety */
.logo-img {
  width: 40px; height: 40px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.4);
}
.logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.logo-text {
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--c-deep);
}
.logo-text span { color: var(--c-cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  color: var(--c-deep);
  transition: all 0.3s ease;
  position: relative;
}
.nav-links a:hover {
  background: rgba(0, 180, 216, 0.12);
  color: var(--c-blue);
}
.nav-links a.cta {
  background: var(--c-deep);
  color: #fff;
  padding: 8px 20px;
}
.nav-links a.cta:hover {
  background: var(--c-blue);
  transform: translateY(-1px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.burger span {
  width: 22px; height: 2px;
  background: var(--c-deep);
  border-radius: 2px;
  transition: 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .navbar {
    padding: 0 16px;
  }
  .nav-inner {
    padding: 10px 14px 10px 18px;
  }
  .logo-text {
    font-size: 18px;
  }
  .logo-img-only {
    width: 36px;
    height: 36px;
  }

  /* Glassmorphism dropdown — solid palette tone, no see-through */
  .nav-links {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;

    /* Solid palette tone — fully opaque, no see-through */
    background:
      linear-gradient(180deg, rgb(3, 4, 94) 0%, rgb(0, 119, 182) 100%);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    box-shadow:
      0 24px 60px rgba(3, 4, 94, 0.45),
      0 0 60px rgba(0, 180, 216, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);

    /* Smooth fade + slide animation, centered transform-origin */
    transform: translateY(-12px) scale(0.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
      visibility 0.4s;
    transform-origin: top center;
  }
  .nav-links.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 14px 18px;
    font-size: 16px;
    border-radius: 14px;
    color: #fff;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav-links a:hover {
    background: rgba(0, 180, 216, 0.35);
    color: #fff;
  }
  .nav-links.open a {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-links.open a:nth-child(1) { transition-delay: 0.08s; }
  .nav-links.open a:nth-child(2) { transition-delay: 0.14s; }
  .nav-links.open a:nth-child(3) { transition-delay: 0.20s; }
  .nav-links.open a:nth-child(4) { transition-delay: 0.26s; }
  .nav-links.open a:nth-child(5) { transition-delay: 0.32s; }
  .nav-links.open a.cta {
    background: linear-gradient(135deg, var(--c-cyan), var(--c-light));
    color: var(--c-deep);
    font-weight: 700;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 14px rgba(0, 180, 216, 0.35);
  }
  .burger { display: flex; }
}

/* ============ HOME ============ */
.home {
  min-height: 100vh;
  padding: 130px 24px 50px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;        /* clip any floating overflow so nothing pushes layout */
}
.home-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: var(--z-content);
}

/* ========= ANIMATED GRADIENT GRID OVERLAY ========= */
.grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  /* Mask out the middle/bottom — visible at top, fades out */
  -webkit-mask-image:
    linear-gradient(180deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,1) 12%,
      rgba(0,0,0,1) 38%,
      rgba(0,0,0,0) 75%);
          mask-image:
    linear-gradient(180deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,1) 12%,
      rgba(0,0,0,1) 38%,
      rgba(0,0,0,0) 75%);
}

/* Layer 1 — main grid lines, slow diagonal drift */
.grid-layer {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(90deg, transparent 0%, rgba(0,180,216,0) 0%),
    linear-gradient(rgba(0, 119, 182, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 119, 182, 0.22) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
  will-change: transform, opacity;
  transform: translate3d(var(--gx, 0px), var(--gy, 0px), 0);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.grid-layer-1 {
  animation: gridDrift 24s linear infinite, gridBreathe 8s ease-in-out infinite;
  opacity: 0.85;
}
/* Layer 2 — finer secondary grid, opposite direction */
.grid-layer-2 {
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.14) 1px, transparent 1px);
  background-size: 16px 16px;
  animation: gridDriftReverse 36s linear infinite, gridBreathe 11s ease-in-out infinite 1s;
  opacity: 0.5;
}

/* Soft glow blooms on top of grid for depth */
.grid-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 600px 300px at 20% 20%, rgba(0, 180, 216, 0.25), transparent 60%),
    radial-gradient(ellipse 500px 280px at 80% 35%, rgba(0, 119, 182, 0.18), transparent 60%);
  filter: blur(8px);
  mix-blend-mode: screen;
  animation: glowShift 14s ease-in-out infinite alternate;
}

@keyframes gridDrift {
  0%   { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 0 0, 64px 64px, 64px 64px; }
}
@keyframes gridDriftReverse {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: -32px -32px, -32px -32px; }
}
@keyframes gridBreathe {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 0.55; }
}
@keyframes glowShift {
  0%   { transform: translate(0, 0); opacity: 0.7; }
  100% { transform: translate(40px, 30px); opacity: 1; }
}

/* On mobile — disable mouse parallax & lower intensity */
@media (max-width: 900px) {
  .grid-layer-1 { opacity: 0.55; }
  .grid-layer-2 { opacity: 0.3; }
  .grid-layer { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .grid-layer-1, .grid-layer-2, .grid-glow { animation: none; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-blue);
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.25);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(0, 180, 216, 0); }
}

.home-title {
  font-family: var(--font-grotesk);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--c-deep);
  margin-bottom: 24px;
}
.italic {
  font-family: var(--font-playfair);
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-sub {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(3, 4, 94, 0.7);
  max-width: 540px;
  margin-bottom: 40px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.stat {
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 30px rgba(0, 119, 182, 0.15);
}
.stat-num {
  font-family: var(--font-grotesk);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-deep);
  line-height: 1;
}
.stat-num span { color: var(--c-cyan); }
.stat-label {
  font-size: 0.78rem;
  color: rgba(3, 4, 94, 0.65);
  margin-top: 6px;
  font-weight: 500;
}

.home-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--c-deep);
  color: #fff;
  box-shadow: 0 8px 24px rgba(3, 4, 94, 0.25);
}
.btn-primary:hover {
  background: var(--c-blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 119, 182, 0.35);
}
.btn-primary .material-symbols-outlined { font-size: 18px; transition: transform 0.3s; }
.btn-primary:hover .material-symbols-outlined { transform: rotate(45deg); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--c-deep);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

/* ============ FREE-FLOATING PHOTO + 4 ELEMENTS ============ */
.home-right {
  display: flex;
  justify-content: center;
  position: relative;
}
.photo-stage {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  /* Floating cards extend outside this box visually; we DO NOT clip
     because the design needs them peeking out, but we use
     pointer-events:none on them so they don't catch clicks/scroll */
}

/* 3 layered auras (animated soft glow around image) */
.aura {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
}
.aura-1 {
  inset: -40px;
  background: radial-gradient(circle, rgba(0,180,216,0.65) 0%, transparent 65%);
  animation: auraPulse 5s ease-in-out infinite;
}
.aura-2 {
  inset: 10%;
  background: radial-gradient(circle, rgba(0,119,182,0.55) 0%, transparent 70%);
  animation: auraPulse 6.5s ease-in-out infinite 0.5s;
}
.aura-3 {
  inset: -20px;
  background: radial-gradient(circle, rgba(144,224,239,0.7) 0%, transparent 60%);
  animation: auraPulse 7.5s ease-in-out infinite 1s;
}
@keyframes auraPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.1); }
}

/* Free-floating image — NO container, free-floating, strong glow + animation */
.photo-free-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  /* Multi-layer drop-shadow stack for premium glow — intensified */
  filter:
    drop-shadow(0 24px 60px rgba(3, 4, 94, 0.4))
    drop-shadow(0 0 80px rgba(0, 180, 216, 0.65))
    drop-shadow(0 0 140px rgba(0, 119, 182, 0.5));
  animation: photoFloat 7s ease-in-out infinite;
  will-change: transform;
}

/* legacy class — kept harmless */
.photo-free {
  position: absolute;
  inset: 8%;
  z-index: 2;
  border-radius: 50% 50% 48% 52% / 52% 48% 52% 48%;
  overflow: hidden;
  filter:
    drop-shadow(0 20px 50px rgba(3, 4, 94, 0.35))
    drop-shadow(0 0 60px rgba(0, 180, 216, 0.55))
    drop-shadow(0 0 120px rgba(0, 119, 182, 0.4));
  animation: photoFloat 7s ease-in-out infinite, blobMorph 14s ease-in-out infinite;
  background: linear-gradient(135deg, #d8f1f7, #b1e1ec);
}
.photo-free img,
.photo-free .photo-placeholder {
  width: 100%;
  height: 100%;
  display: block;
}
.photo-free img { object-fit: cover; }

@keyframes photoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-20px) scale(1.02); }
}
@keyframes blobMorph {
  0%, 100% { border-radius: 50% 50% 48% 52% / 52% 48% 52% 48%; }
  33%      { border-radius: 48% 52% 56% 44% / 50% 56% 44% 50%; }
  66%      { border-radius: 54% 46% 50% 50% / 46% 54% 50% 50%; }
}

.photo-placeholder {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(3, 4, 94, 0.4);
}
.photo-placeholder .material-symbols-outlined {
  font-size: 100px;
  font-variation-settings: 'FILL' 1;
}
.ph-text { font-size: 0.85rem; font-weight: 500; }

/* 4 floating glassy elements around the photo — TITLE + ICON ONLY */
.float-el {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow:
    0 12px 30px rgba(3, 4, 94, 0.12),
    0 0 30px rgba(0, 180, 216, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  z-index: var(--z-floating);
  white-space: nowrap;
  /* Critical: floating decorative elements must NOT affect interaction */
  pointer-events: none;
  user-select: none;
}
.float-el .material-symbols-outlined {
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.4);
}
.fc-title {
  font-family: var(--font-grotesk);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--c-deep);
  letter-spacing: -0.01em;
}
.fc-sub {
  font-size: 0.72rem;
  color: rgba(3, 4, 94, 0.6);
  white-space: nowrap;
}

/* independent looping motion per element — positions tightened for title-only pills */
.float-el-1 {
  top: 6%; left: -10%;
  animation: floatLoop1 6s ease-in-out infinite;
}
.float-el-2 {
  bottom: 18%; right: -12%;
  animation: floatLoop2 7s ease-in-out infinite 0.4s;
}
.float-el-3 {
  top: 42%; right: -14%;
  animation: floatLoop3 8s ease-in-out infinite 0.8s;
}
.float-el-4 {
  bottom: 4%; left: -6%;
  animation: floatLoop4 6.5s ease-in-out infinite 1.2s;
  background: rgba(3, 4, 94, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 12px 30px rgba(3, 4, 94, 0.3),
    0 0 30px rgba(0, 180, 216, 0.25);
}
.float-el-4 .fc-title { color: #fff; }
.float-el-4 .material-symbols-outlined {
  background: linear-gradient(135deg, var(--c-cyan), var(--c-light));
  color: var(--c-deep);
}

.pulse-mini {
  width: 10px; height: 10px;
  background: var(--c-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
  animation: pulseDot 1.6s ease-in-out infinite;
  margin-left: 4px;
}

@keyframes floatLoop1 {
  0%, 100% { transform: translate(0, 0) rotate(-3deg); }
  50%      { transform: translate(8px, -14px) rotate(-3deg); }
}
@keyframes floatLoop2 {
  0%, 100% { transform: translate(0, 0) rotate(3deg); }
  50%      { transform: translate(-10px, -12px) rotate(3deg); }
}
@keyframes floatLoop3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(-6px, 14px) rotate(2deg); }
}
@keyframes floatLoop4 {
  0%, 100% { transform: translate(0, 0) rotate(-2deg); }
  50%      { transform: translate(10px, 10px) rotate(-2deg); }
}

@media (max-width: 900px) {
  .home-inner { grid-template-columns: 1fr; gap: 50px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .photo-stage { max-width: 380px; margin: 0 auto; }
  .float-el {
    padding: 8px 14px 8px 8px;
  }
  .float-el .material-symbols-outlined {
    font-size: 16px;
    padding: 6px;
  }
  .fc-title { font-size: 0.78rem; }
  .float-el-1 { top: 2%;  left: -6%; }
  .float-el-2 { bottom: 18%; right: -6%; }
  .float-el-3 { top: 42%; right: -8%; }
  .float-el-4 { bottom: 0%;  left: -4%; }
}

/* ============ EXPERTISE ============ */
.expertise {
  padding: 60px 24px;
  position: relative;
}
.exp-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: linear-gradient(140deg, #050530 0%, #03045e 60%, #0a1860 100%);
  border-radius: 32px;
  padding: 56px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 100px rgba(3, 4, 94, 0.3);
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}
.exp-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-light);
  font-weight: 500;
  margin-bottom: 12px;
}
.exp-title {
  font-family: var(--font-syne);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.exp-italic {
  font-family: var(--font-dm);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.exp-counter {
  font-family: var(--font-syne);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.exp-counter .slash { color: var(--c-cyan); margin: 0 4px; }

/* Tabs */
.exp-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}
.exp-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-manrope);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.exp-tab .tab-icon {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 14px;
}
.exp-tab .tab-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}
.exp-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}
.exp-tab.active {
  background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.4);
}
.exp-tab.active .tab-icon {
  background: rgba(255, 255, 255, 0.25);
}

/* Stage */
.exp-stage {
  position: relative;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  min-height: 580px;
}
.stage-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
}
.stage-orb-1 {
  width: 380px; height: 380px;
  background: var(--c-blue);
  top: -100px; left: -80px;
  animation: morphA 22s ease-in-out infinite;
}
.stage-orb-2 {
  width: 320px; height: 320px;
  background: var(--c-cyan);
  bottom: -80px; right: -60px;
  animation: morphB 26s ease-in-out infinite;
}
.stage-orb-3 {
  width: 250px; height: 250px;
  background: #40cef3;
  top: 40%; left: 40%;
  opacity: 0.3;
  animation: morphC 30s ease-in-out infinite;
}

.stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(144,224,239,0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.stage-pill {
  position: absolute;
  top: 24px; right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.78rem;
  color: #fff;
  font-weight: 500;
  z-index: 3;
  backdrop-filter: blur(10px);
}
.pulse-dot {
  width: 7px; height: 7px;
  background: var(--c-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7); }
  50% { box-shadow: 0 0 0 8px rgba(0, 180, 216, 0); }
}

/* Panels */
.exp-panel {
  display: none;
  position: relative;
  z-index: 2;
  animation: panelIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.exp-panel.active { display: block; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.panel-left { position: relative; }
.huge-num {
  font-family: var(--font-syne);
  font-size: 9rem;
  font-weight: 800;
  line-height: 0.9;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,180,216,0.04));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}
.cat-name {
  font-family: var(--font-syne);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cat-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 380px;
}
.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 180, 216, 0.12);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--c-light);
  margin-bottom: 28px;
}

.bars { display: flex; flex-direction: column; gap: 16px; }
.bar { width: 100%; }
.bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}
.bar-head .pct { color: var(--c-cyan); font-weight: 600; }
.bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--c-blue), var(--c-cyan));
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.5);
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Skill grid 2x2 */
.panel-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.skill-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,180,216,0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 180, 216, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.skill-card:hover::before { opacity: 1; }
.sc-img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 14px;
  background: transparent;
  border: none;
  filter:
    drop-shadow(0 6px 16px rgba(0, 180, 216, 0.45))
    drop-shadow(0 0 24px rgba(0, 119, 182, 0.35));
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.skill-card:hover .sc-img {
  transform: translateY(-4px) scale(1.05);
}
.skill-card h4 {
  font-family: var(--font-syne);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 6px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.skill-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.sc-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--c-light);
  position: relative;
  z-index: 1;
}

/* Stage foot */
.stage-foot {
  position: relative;
  z-index: 2;
}
.progress-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--c-blue), var(--c-cyan));
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.7);
  border-radius: 999px;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.dots { display: flex; gap: 8px; }
.dot-ctrl {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
  cursor: none;
}
.dot-ctrl.active {
  background: var(--c-cyan);
  width: 24px;
  border-radius: 999px;
}

.arrows { display: flex; gap: 8px; }
.arr {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s;
}
.arr:hover {
  background: var(--c-cyan);
  border-color: var(--c-cyan);
  transform: translateY(-2px);
}
.arr .material-symbols-outlined { font-size: 18px; }

.auto-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--c-light);
  font-weight: 500;
}

@media (max-width: 900px) {
  .exp-inner { padding: 32px 20px; border-radius: 24px; }
  .exp-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .exp-stage { padding: 28px 20px; }
  .panel-grid { grid-template-columns: 1fr; gap: 32px; }
  .panel-right { grid-template-columns: 1fr; gap: 12px; }
  .huge-num { font-size: 6rem; }
  .exp-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .exp-tab { flex-shrink: 0; }
  .stage-pill { top: auto; bottom: 16px; right: 16px; }

  /* MOBILE-ONLY: skill cards become horizontal — icon LEFT, text RIGHT */
  .skill-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
    padding: 16px;
  }
  .skill-card .sc-img {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 56px;
    height: 56px;
    margin-bottom: 0;
    align-self: center;
  }
  .skill-card h4 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1rem;
    margin-bottom: 0;
  }
  .skill-card p {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.82rem;
    margin-bottom: 6px;
    line-height: 1.45;
  }
  .skill-card .sc-tag {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    font-size: 0.68rem;
    padding: 3px 9px;
  }
}

/* ============ PORTFOLIO — FULL-WIDTH INFINITE SLIDER ============ */
.portfolio {
  padding: 60px 0;          /* zero horizontal padding — section is full-width */
  position: relative;
  overflow: hidden;
}

/* Header is still max-width-constrained and centered */
.port-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;          /* padding only on the inner head text */
}
.port-head { text-align: center; margin-bottom: 48px; }
.port-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--c-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.port-title {
  font-family: var(--font-grotesk);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--c-deep);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.port-sub {
  color: rgba(3, 4, 94, 0.65);
  font-size: 1.05rem;
}

/* ── Slider stage — true full viewport width ── */
.port-slider-wrap {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);   /* break out of any parent padding */
  overflow: hidden;
  touch-action: pan-y;           /* allow vertical scroll, block horizontal default */
}

/* Edge-to-edge gradient fades */
.port-fade-left,
.port-fade-right {
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(60px, 10vw, 160px);
  z-index: 10;
  pointer-events: none;
}
.port-fade-left {
  left: 0;
  background: linear-gradient(to right,
    var(--c-mist) 0%,
    rgba(202, 240, 248, 0.6) 50%,
    transparent 100%);
}
.port-fade-right {
  right: 0;
  background: linear-gradient(to left,
    var(--c-mist) 0%,
    rgba(202, 240, 248, 0.6) 50%,
    transparent 100%);
}

/* Two-row track */
.port-track-outer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 0 14px;
}

/* Each row: flex strip translated by JS rAF — no CSS transitions here */
.port-row {
  display: flex;
  gap: 14px;
  will-change: transform;
  cursor: grab;
}
.port-row.dragging {
  cursor: grabbing;
}

/* ── Card — 9:16, fixed width, bigger on mobile ── */
.short-card {
  flex: 0 0 var(--card-w, 160px);
  width: var(--card-w, 160px);
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  cursor: none;
  background: linear-gradient(135deg, var(--c-blue), var(--c-deep));
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 10px 28px rgba(3, 4, 94, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
  position: relative;
  isolation: auto;
  -webkit-tap-highlight-color: transparent;
}

/* Set card width via CSS variable, overridden by breakpoints */
:root { --card-w: 160px; }

.short-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.short-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 35%,
    rgba(3, 4, 94, 0.5) 75%,
    rgba(3, 4, 94, 0.88) 100%);
  z-index: 2;
  pointer-events: none;
}
.short-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  background: linear-gradient(135deg,
    rgba(0, 180, 216, 0.9),
    rgba(0, 119, 182, 0.6),
    rgba(144, 224, 239, 0.9)) border-box;
  -webkit-mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 3;
}

/* Hover / focus: lift + glow + depth illusion */
.short-card:hover,
.short-card:focus-visible {
  transform: translateY(-10px) scale(1.07);
  box-shadow:
    0 30px 60px rgba(0, 119, 182, 0.38),
    0 0 56px rgba(0, 180, 216, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  border-color: var(--c-cyan);
  z-index: 5;
}
.short-card:hover img { transform: scale(1.1); }
.short-card:hover::after { opacity: 1; }

/* Title — shows the YouTube URL, truncated cleanly */
.short-info {
  position: absolute;
  bottom: 10px; left: 10px; right: 10px;
  z-index: 4;
  color: #fff;
  pointer-events: none;
}
.short-info h4 {
  font-family: var(--font-grotesk);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  opacity: 0.88;
  letter-spacing: 0.01em;
}
.short-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.65);
  width: 52px; height: 52px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--c-deep);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  z-index: 4;
  pointer-events: none;
}
.short-play .material-symbols-outlined {
  font-size: 28px;
  font-variation-settings: 'FILL' 1;
  margin-left: 3px;
}
.short-card:hover .short-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ── Responsive card sizes ── */
@media (max-width: 900px) {
  :root { --card-w: 150px; }
}
@media (max-width: 600px) {
  :root { --card-w: 130px; }
  .port-track-outer { gap: 10px; }
  .port-row { gap: 10px; }
}
@media (max-width: 420px) {
  :root { --card-w: 115px; }
  .short-card { border-radius: 14px; }
  .short-info h4 { font-size: 0.68rem; }
  .short-play { width: 42px; height: 42px; }
  .short-play .material-symbols-outlined { font-size: 22px; }
}
@media (max-width: 360px) {
  :root { --card-w: 100px; }
}

/* ============ VIDEO MODAL — bulletproof fixed positioning ============ */
.vid-modal {
  /* Fixed to viewport — placed at root of body to avoid any transformed ancestor.
     Uses inset+flex for centering so it can NEVER drift on mobile. */
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Flex centering — never use margin:auto or top/left % tricks */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  z-index: var(--z-modal);
  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  /* Completely isolated from any parent animations */
  animation: none !important;
  transform: none !important;
  will-change: opacity;
}
.vid-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.vm-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0, 119, 182, 0.45), rgba(3, 4, 94, 0.95) 70%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: none !important;
  transform: none !important;
}
.vm-inner {
  /* Centred by parent flex — no extra transforms needed for positioning */
  position: relative;
  width: 100%;
  max-width: 380px;
  z-index: 1;
  /* Fade + scale-in animation */
  opacity: 0;
  transform: scale(0.88);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: none !important;
  /* Ensure nothing from parent re-positions this */
  margin: 0 auto;
}
.vid-modal.open .vm-inner {
  opacity: 1;
  transform: scale(1);
}
.vm-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(0, 180, 216, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}
.vm-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.vm-close {
  position: absolute;
  top: -16px; right: -16px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  color: var(--c-deep);
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: none;
}
.vm-close:hover {
  background: var(--c-cyan);
  color: #fff;
  transform: rotate(90deg) scale(1.05);
}
.vm-close .material-symbols-outlined { font-size: 22px; }
.vm-meta {
  margin-top: 16px;
  text-align: center;
  color: #fff;
}
.vm-meta h4 {
  font-family: var(--font-grotesk);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.vm-meta span {
  font-size: 0.78rem;
  color: var(--c-light);
}

/* Mobile: full-width modal, stable centering */
@media (max-width: 700px) {
  .vid-modal {
    padding: 16px;
    /* Use safe-area insets if available so notches don't cause shifts */
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .vm-inner {
    max-width: min(92vw, 360px);
    /* Block any accidental inherited translate */
    transform: scale(0.88);
    margin: 0 auto;
  }
  .vid-modal.open .vm-inner {
    transform: scale(1);
  }
  .vm-close {
    top: -12px; right: -8px;
    width: 38px; height: 38px;
  }
  .vm-close .material-symbols-outlined { font-size: 20px; }
}
@media (max-width: 380px) {
  .vm-inner { max-width: 88vw; }
}

/* ============ FAQ ============ */
.faq { padding: 60px 24px; }
.faq-inner { max-width: 920px; margin: 0 auto; }
.faq-head { text-align: center; margin-bottom: 32px; }
.faq-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--c-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.faq-title {
  font-family: var(--font-grotesk);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--c-deep);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.faq-sub {
  color: rgba(3, 4, 94, 0.65);
  font-size: 1.05rem;
}

.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item.open {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--c-cyan);
  box-shadow: 0 12px 30px rgba(0, 180, 216, 0.15);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  font-family: var(--font-grotesk);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--c-deep);
  text-align: left;
  transition: all 0.3s;
}
.faq-q:hover { color: var(--c-blue); }
.faq-icon {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  background: rgba(0, 180, 216, 0.15);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-icon .material-symbols-outlined {
  font-size: 18px;
  color: var(--c-blue);
  transition: transform 0.4s;
}
.faq-item.open .faq-icon {
  background: var(--c-cyan);
  transform: rotate(135deg);
}
.faq-item.open .faq-icon .material-symbols-outlined { color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a p {
  padding: 0 26px 22px;
  color: rgba(3, 4, 94, 0.7);
  line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 200px; }

/* ============ CONTACT — SOCIAL SUNFLOWER ============ */
.contact { padding: 30px 24px 70px; }
.contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}
.contact-head { margin-bottom: 30px; }

.contact-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--c-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.contact-title {
  font-family: var(--font-grotesk);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  color: var(--c-deep);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.contact-sub {
  color: rgba(3, 4, 94, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 460px;
}

/* The sunflower stage */
.sunflower {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 520px;
  margin: 0 auto;
}

/* Decorative orbit rings */
.orbit {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 119, 182, 0.25);
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.orbit-1 {
  width: 280px; height: 280px;
  animation: orbitSpin 40s linear infinite;
}
.orbit-2 {
  width: 420px; height: 420px;
  border-color: rgba(0, 180, 216, 0.18);
  animation: orbitSpin 60s linear infinite reverse;
}
@keyframes orbitSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Pulsing core */
.sun-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 130px; height: 130px;
  display: grid;
  place-items: center;
  z-index: 2;
}
.sun-core-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.55), transparent 65%);
  filter: blur(8px);
}
.sun-core-ring-1 { animation: corePulse 3s ease-in-out infinite; }
.sun-core-ring-2 {
  inset: -20px;
  background: radial-gradient(circle, rgba(0, 119, 182, 0.4), transparent 70%);
  animation: corePulse 4s ease-in-out infinite 0.5s;
}
.sun-core-ring-3 {
  inset: -40px;
  background: radial-gradient(circle, rgba(144, 224, 239, 0.35), transparent 75%);
  animation: corePulse 5s ease-in-out infinite 1s;
}
@keyframes corePulse {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50%      { opacity: 1;   transform: scale(1.1); }
}

/* Rotating SVG sunflower rays around center icon */
.sun-rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  /* Use margin to center instead of transform — leaves transform for animation */
  margin-left: -100px;
  margin-top: -100px;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 12px rgba(0, 180, 216, 0.5));
  animation: sunflowerSpin 28s linear infinite;
  transform-origin: center center;
  opacity: 0.85;
}
@keyframes sunflowerSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.sun-core-inner {
  position: relative;
  width: 90px; height: 90px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #fff;
  box-shadow:
    0 12px 30px rgba(0, 119, 182, 0.5),
    0 0 50px rgba(0, 180, 216, 0.6),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
  z-index: 2;
  animation: coreFloat 4s ease-in-out infinite;
}
.sun-core-inner .material-symbols-outlined {
  font-size: 36px;
  font-variation-settings: 'FILL' 1;
}
@keyframes coreFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Contact center image (replaces icon) */
.sun-core-photo {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 110px !important;
  height: 110px !important;
  animation: coreFloat 4s ease-in-out infinite;
}
.sun-center-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  filter:
    drop-shadow(0 0 18px rgba(0, 180, 216, 0.8))
    drop-shadow(0 0 40px rgba(0, 119, 182, 0.5))
    drop-shadow(0 8px 24px rgba(3, 4, 94, 0.35));
  animation: contactImgGlow 3s ease-in-out infinite alternate;
}
@keyframes contactImgGlow {
  0%   { filter: drop-shadow(0 0 14px rgba(0,180,216,0.7)) drop-shadow(0 0 30px rgba(0,119,182,0.4)); }
  100% { filter: drop-shadow(0 0 28px rgba(0,180,216,1))   drop-shadow(0 0 60px rgba(0,119,182,0.65)); }
}

/* Petals — 5 social icons in radial layout */
.petal {
  position: absolute;
  top: 50%; left: 50%;
  width: 84px; height: 84px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: var(--c-blue);
  box-shadow:
    0 10px 30px rgba(3, 4, 94, 0.12),
    0 0 30px rgba(0, 180, 216, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-decoration: none;
  z-index: 3;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.5s ease,
    background 0.4s ease,
    color 0.4s ease;
}
.petal-icon {
  width: 32px;
  height: 32px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}
.petal-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.5), transparent 65%);
  opacity: 0;
  filter: blur(14px);
  transition: opacity 0.4s ease, inset 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.petal-label {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  background: var(--c-deep);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(3, 4, 94, 0.3);
}

/* 5 petals around a circle — radius ~190px (top, ~72°, ~144°, ~216°, ~288°) */
.petal-instagram {
  /* top */
  margin-left: -42px;
  margin-top: calc(-42px - 190px);
  animation: petalFloat1 6s ease-in-out infinite;
}
.petal-youtube {
  /* upper right */
  margin-left: calc(-42px + 181px);
  margin-top: calc(-42px - 59px);
  animation: petalFloat2 7s ease-in-out infinite 0.4s;
}
.petal-whatsapp {
  /* lower right */
  margin-left: calc(-42px + 112px);
  margin-top: calc(-42px + 154px);
  animation: petalFloat3 8s ease-in-out infinite 0.8s;
}
.petal-email {
  /* lower left */
  margin-left: calc(-42px - 112px);
  margin-top: calc(-42px + 154px);
  animation: petalFloat4 6.5s ease-in-out infinite 1.2s;
}
.petal-facebook {
  /* upper left */
  margin-left: calc(-42px - 181px);
  margin-top: calc(-42px - 59px);
  animation: petalFloat5 7.5s ease-in-out infinite 0.2s;
}

/* gentle independent floats so the bloom feels alive */
@keyframes petalFloat1 {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes petalFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(6px, -4px); }
}
@keyframes petalFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(4px, 6px); }
}
@keyframes petalFloat4 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-4px, 6px); }
}
@keyframes petalFloat5 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-6px, -4px); }
}

/* Hover — neon blue glow expansion + label appears */
.petal:hover {
  background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
  color: #fff;
  border-color: var(--c-light);
  box-shadow:
    0 18px 40px rgba(0, 119, 182, 0.45),
    0 0 60px rgba(0, 180, 216, 0.7),
    0 0 100px rgba(0, 180, 216, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  z-index: 4;
}
.petal:hover .petal-icon {
  transform: scale(1.15) rotate(-6deg);
}
.petal:hover .petal-glow {
  opacity: 1;
  inset: -25px;
}
.petal:hover .petal-label {
  opacity: 1;
  bottom: -36px;
}

/* compact info row below the bloom */
.contact-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  margin-top: 30px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 24px rgba(3, 4, 94, 0.06);
}
.cf-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(3, 4, 94, 0.8);
  font-weight: 500;
}
.cf-row .material-symbols-outlined {
  font-size: 16px;
  color: var(--c-blue);
}
.cf-dot {
  width: 4px; height: 4px;
  background: var(--c-cyan);
  border-radius: 50%;
}

/* Responsive — sunflower scales down */
@media (max-width: 700px) {
  .sunflower { max-width: 380px; height: 400px; }
  .petal { width: 70px; height: 70px; }
  .petal-icon { width: 26px; height: 26px; }
  .sun-core-inner { width: 76px; height: 76px; }
  .sun-core-inner .material-symbols-outlined { font-size: 30px; }

  /* Reposition petals at smaller radius (~140px) */
  .petal-instagram { margin-left: -35px; margin-top: calc(-35px - 140px); }
  .petal-youtube   { margin-left: calc(-35px + 133px); margin-top: calc(-35px - 43px); }
  .petal-whatsapp  { margin-left: calc(-35px + 82px);  margin-top: calc(-35px + 113px); }
  .petal-email     { margin-left: calc(-35px - 82px);  margin-top: calc(-35px + 113px); }
  .petal-facebook  { margin-left: calc(-35px - 133px); margin-top: calc(-35px - 43px); }

  .orbit-1 { width: 220px; height: 220px; }
  .orbit-2 { width: 320px; height: 320px; }

  .contact-foot { gap: 8px 14px; padding: 12px 16px; }
  .cf-row { font-size: 0.78rem; }
}
@media (max-width: 420px) {
  .sunflower { max-width: 320px; height: 360px; }
  .petal { width: 60px; height: 60px; }
  .petal-icon { width: 22px; height: 22px; }
  .sun-core-inner { width: 64px; height: 64px; }

  .petal-instagram { margin-left: -30px; margin-top: calc(-30px - 115px); }
  .petal-youtube   { margin-left: calc(-30px + 109px); margin-top: calc(-30px - 36px); }
  .petal-whatsapp  { margin-left: calc(-30px + 68px);  margin-top: calc(-30px + 93px); }
  .petal-email     { margin-left: calc(-30px - 68px);  margin-top: calc(-30px + 93px); }
  .petal-facebook  { margin-left: calc(-30px - 109px); margin-top: calc(-30px - 36px); }

  .orbit-1 { width: 180px; height: 180px; }
  .orbit-2 { width: 260px; height: 260px; }
}

/* ============ FOOTER ============ */
.footer { padding: 40px 24px 50px; }
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 32px;
  align-items: center;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-grotesk);
  font-weight: 700;
}
.foot-links {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.foot-links a {
  font-size: 0.9rem;
  color: rgba(3, 4, 94, 0.75);
  font-weight: 500;
  transition: color 0.3s;
}
.foot-links a:hover { color: var(--c-blue); }
.foot-socials { display: flex; gap: 10px; }
.foot-socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: var(--c-blue);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  cursor: none;
}
.foot-socials a svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.foot-socials a:hover {
  background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
  color: #fff;
  border-color: var(--c-cyan);
  transform: translateY(-3px);
  box-shadow:
    0 10px 24px rgba(0, 119, 182, 0.4),
    0 0 30px rgba(0, 180, 216, 0.5);
}
.foot-socials a:hover svg {
  transform: scale(1.15) rotate(-6deg);
}
.foot-socials .material-symbols-outlined { font-size: 18px; }
.foot-copy {
  font-size: 0.82rem;
  color: rgba(3, 4, 94, 0.6);
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(3, 4, 94, 0.08);
}

@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    padding: 28px 24px;
  }
  .foot-brand, .foot-socials { justify-self: center; }
  .foot-links { flex-wrap: wrap; }
}
