/* ============ Senesa Profile — custom layer on top of Tailwind ============ */

html { scroll-behavior: smooth; }
body { font-feature-settings: 'cv11', 'ss01'; }

/* ----- Decorative background blobs & grid ----- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.blob-1 {
  width: 520px; height: 520px;
  top: -160px; left: -120px;
  background: radial-gradient(circle, #99f6e0, #2dd4bf 40%, transparent 70%);
  animation: floatB 14s ease-in-out infinite;
}
.blob-2 {
  width: 480px; height: 480px;
  top: 40%; right: -160px;
  background: radial-gradient(circle, #fdd09b, #fab57c 40%, transparent 70%);
  animation: floatB 18s ease-in-out -3s infinite reverse;
}
.blob-3 {
  width: 600px; height: 600px;
  bottom: -200px; left: 30%;
  background: radial-gradient(circle, #ccfbef, #5eead4 40%, transparent 70%);
  animation: floatB 22s ease-in-out -8s infinite;
}
@keyframes floatB {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.05); }
  66% { transform: translate(-20px,40px) scale(0.97); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 50%, transparent 100%);
}

/* ----- Navbar ----- */
.nav-glass {
  background: rgba(255,255,255,0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 10px 40px -20px rgba(15,23,42,0.15);
  transition: all 0.3s ease;
}
#nav.scrolled .nav-glass {
  background: rgba(255,255,255,0.85);
  box-shadow: 0 18px 48px -20px rgba(15,23,42,0.2);
}
.nav-link {
  display: inline-flex; align-items: center;
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem; font-weight: 500;
  color: rgb(51 65 85);
  border-radius: 0.6rem;
  transition: all 0.2s ease;
  position: relative;
}
.nav-link:hover { color: rgb(15 118 110); background: rgba(204,251,239,0.5); }
.mobile-link {
  padding: 0.85rem 1rem;
  border-radius: 0.6rem;
  font-weight: 500; color: rgb(51 65 85);
  transition: background 0.2s ease;
}
.mobile-link:hover { background: rgba(204,251,239,0.6); color: rgb(15 118 110); }

/* ----- Buttons ----- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  background: linear-gradient(135deg, #14b8a6, #0d9488 80%, #0f766e);
  color: white; font-weight: 600;
  border-radius: 0.85rem;
  box-shadow: 0 10px 24px -10px rgba(13,148,136,0.6), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(13,148,136,0.7), inset 0 1px 0 rgba(255,255,255,0.3); filter: brightness(1.05); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(15,23,42,0.08);
  color: rgb(15 23 42); font-weight: 600;
  border-radius: 0.85rem;
  backdrop-filter: blur(10px);
  transition: all 0.18s ease;
}
.btn-ghost:hover { background: white; transform: translateY(-2px); border-color: rgba(13,148,136,0.3); color: rgb(15 118 110); }
.btn-cream {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #fff, #fff3e3);
  color: rgb(15 23 42); font-weight: 600;
  border-radius: 0.85rem;
  box-shadow: 0 10px 24px -10px rgba(245,149,96,0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-cream:hover { transform: translateY(-2px); }
.btn-glass {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: white; font-weight: 600;
  border-radius: 0.85rem;
  backdrop-filter: blur(10px);
  transition: all 0.18s ease;
}
.btn-glass:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* ----- Eyebrow tag ----- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background: rgba(204,251,239,0.45);
  border: 1px solid rgba(45,212,191,0.25);
  color: rgb(15 118 110);
  font-size: 0.74rem; font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

/* ----- Hero ----- */
.hero-grad {
  background: linear-gradient(120deg, #14b8a6 0%, #0d9488 35%, #0f766e 65%, #fab57c 110%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 8s ease-in-out infinite;
  display: inline-block;
  padding-bottom: 0.05em;
}
@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Hero card stack */
.hero-card-stack { aspect-ratio: 1/1.05; max-width: 480px; }
.hero-card {
  position: absolute;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 1.5rem;
  padding: 1.4rem;
  box-shadow:
    0 30px 60px -25px rgba(15,118,110,0.35),
    0 18px 36px -18px rgba(15,23,42,0.18),
    inset 0 1px 0 rgba(255,255,255,0.7);
}
.hero-card-main {
  inset: 0; transform: rotate(-3deg);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(240,253,249,0.92));
}
.hero-mini {
  text-align: center;
  padding: 0.7rem 0.5rem;
  background: linear-gradient(135deg, #f0fdf9, #ccfbef);
  border: 1px solid rgba(94,234,212,0.4);
  border-radius: 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgb(15 118 110);
}
.hero-chip {
  position: absolute;
  display: flex; align-items: center; gap: 0.65rem;
  background: white;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 1rem;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 18px 36px -16px rgba(15,23,42,0.18);
  z-index: 2;
}
.hero-chip-1 { top: 8%; right: -8%; }
.hero-chip-2 { bottom: 6%; left: -10%; }
.hero-glow {
  position: absolute; inset: -10%;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgba(45,212,191,0.25), transparent 60%);
  filter: blur(40px);
}
@media (max-width: 1023px) {
  .hero-chip-1 { right: 0; }
  .hero-chip-2 { left: 0; }
}

/* ----- Marquee ----- */
.marquee-mask {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}
.marquee-track {
  display: inline-flex; gap: 3rem;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.partner-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: rgba(15,23,42,0.35);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

/* ----- Value pills ----- */
.value-pill {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1rem;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15,23,42,0.05);
  border-radius: 1rem;
  transition: all 0.25s ease;
}
.value-pill:hover { background: white; transform: translateY(-3px); box-shadow: 0 12px 24px -10px rgba(15,118,110,0.18); border-color: rgba(45,212,191,0.3); }
.value-pill-icon {
  width: 2.4rem; height: 2.4rem;
  border-radius: 0.7rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #ccfbef, #99f6e0);
  color: rgb(15 118 110);
  flex-shrink: 0;
}
.value-pill-icon svg { width: 1.15rem; height: 1.15rem; }

/* ----- About visual ----- */
.about-visual {
  position: relative;
  aspect-ratio: 1/1.05;
  max-width: 520px;
  margin: 0 auto;
}
.about-bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}
.about-bubble-1 {
  width: 280px; height: 280px;
  top: -40px; right: -40px;
  background: radial-gradient(circle, rgba(45,212,191,0.55), transparent 70%);
}
.about-bubble-2 {
  width: 220px; height: 220px;
  bottom: 0; left: -20px;
  background: radial-gradient(circle, rgba(245,149,96,0.5), transparent 70%);
}
.about-card {
  background: white;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 1.5rem;
  box-shadow:
    0 30px 60px -25px rgba(15,118,110,0.3),
    0 18px 36px -18px rgba(15,23,42,0.15);
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ----- Service cards ----- */
.service-card {
  position: relative;
  background: white;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.2, 0.7, 0.3, 1.1);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(204,251,239,0.6), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -25px rgba(15,118,110,0.3);
  border-color: rgba(45,212,191,0.35);
}
.service-card:hover::before { opacity: 1; }
.service-card-feature {
  background: linear-gradient(180deg, white, #fffaf5);
  border-color: rgba(245,149,96,0.25);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 1rem;
  display: grid; place-items: center;
  color: white;
  box-shadow: 0 10px 24px -10px rgba(15,118,110,0.4);
  transition: transform 0.3s ease;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.05); }
.service-li {
  position: relative; padding-left: 1.5rem;
  color: rgb(71 85 105);
}
.service-li::before {
  content: ''; position: absolute; left: 0; top: 0.55rem;
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: linear-gradient(135deg, #2dd4bf, #0d9488);
}
.service-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.5rem;
  font-weight: 600;
  color: rgb(15 118 110);
  transition: gap 0.2s ease;
}
.service-link:hover { gap: 0.65rem; }

/* ----- Article cards ----- */
.article-card {
  background: white;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.7, 0.3, 1.1);
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -25px rgba(15,118,110,0.3);
  border-color: rgba(45,212,191,0.3);
}
.article-cover {
  position: relative;
  aspect-ratio: 16/10;
  display: grid; place-items: center;
  overflow: hidden;
}
.article-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 80%, rgba(255,255,255,0.25), transparent 50%);
}
.article-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(255,255,255,0.92);
  color: rgb(15 23 42);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.article-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
  color: rgb(15 118 110);
  transition: color 0.2s ease;
}
.article-link:hover { color: rgb(13 148 136); }

/* ----- CTA card ----- */
.cta-card {
  position: relative;
  background: linear-gradient(135deg, #115e59 0%, #0f766e 30%, #134e4a 70%, #0f172a 100%);
  border-radius: 2.5rem;
  padding: 3rem 2rem;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(15,118,110,0.5);
}
@media (min-width: 768px) { .cta-card { padding: 4rem 4rem; } }
.cta-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(45,212,191,0.45), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(245,149,96,0.35), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(94,234,212,0.3), transparent 50%);
  filter: blur(20px);
}
.contact-info-card {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-radius: 1.5rem;
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.25);
}

/* ----- Social & footer ----- */
.social-link {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 0.7rem;
  background: rgba(204,251,239,0.5);
  color: rgb(15 118 110);
  transition: all 0.2s ease;
}
.social-link:hover { background: linear-gradient(135deg, #14b8a6, #0d9488); color: white; transform: translateY(-2px); }
.footer-link {
  color: rgb(71 85 105);
  transition: color 0.2s ease;
}
.footer-link:hover { color: rgb(15 118 110); }

/* ----- Floating action button ----- */
.fab {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  display: grid; place-items: center;
  box-shadow: 0 16px 32px -12px rgba(37,211,102,0.5);
  z-index: 50;
  transition: transform 0.2s ease;
  animation: pulseRing 3s ease-out infinite;
}
.fab:hover { transform: scale(1.08); }
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), 0 16px 32px -12px rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0), 0 16px 32px -12px rgba(37,211,102,0.5); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 16px 32px -12px rgba(37,211,102,0.5); }
}

/* ----- Reveal on scroll ----- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Hero product image ----- */
.hero-product-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: linear-gradient(135deg, #ccfbef, #f0fdf9 70%);
}
.hero-product-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-card:hover .hero-product-img { transform: scale(1.04); }
.hero-product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.95);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgb(15 118 110);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 16px -8px rgba(15,23,42,0.2);
}

/* Hero main card padding override */
.hero-card-main.p-0 { padding: 0 !important; }

/* ----- About photos ----- */
.about-photo {
  position: absolute;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 6px solid rgba(255,255,255,0.9);
  box-shadow:
    0 30px 60px -25px rgba(15,118,110,0.35),
    0 18px 36px -18px rgba(15,23,42,0.2);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo-main {
  top: 0; left: 0; right: 18%;
  aspect-ratio: 4/3;
  z-index: 2;
}
.about-photo-main .about-photo-badge {
  position: absolute;
  bottom: 1rem; left: 1rem;
}
.about-photo-sub {
  bottom: 0; right: 0;
  width: 58%;
  aspect-ratio: 4/5;
  z-index: 1;
  transform: rotate(3deg);
}
.about-card-float {
  position: absolute;
  top: 45%; left: -4%;
  background: white;
  border-radius: 1.25rem;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 20px 40px -18px rgba(15,23,42,0.22);
  border: 1px solid rgba(15,23,42,0.05);
  z-index: 4;
  animation: float 7s ease-in-out infinite;
}
.about-cert-chip {
  position: absolute;
  top: 2%; right: 6%;
  display: flex; gap: 0.7rem; align-items: center;
  background: white;
  border-radius: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(15,23,42,0.05);
  box-shadow: 0 16px 32px -16px rgba(15,23,42,0.2);
  z-index: 5;
  animation: float 9s ease-in-out -2s infinite;
}
@media (max-width: 1023px) {
  .about-card-float { left: 4%; }
  .about-cert-chip { right: -2%; }
}

/* ----- Product showcase (SOLVARIN) ----- */
.product-showcase {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 560px;
  margin: 0 auto;
}
.product-bg-glow {
  position: absolute;
  inset: 5% 5%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #99f6e0, #2dd4bf 50%, transparent 75%);
  filter: blur(60px);
  opacity: 0.85;
  z-index: -1;
  animation: float 10s ease-in-out infinite;
}
.product-main-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2.25rem;
  border: 8px solid rgba(255,255,255,0.9);
  box-shadow:
    0 40px 80px -30px rgba(15,118,110,0.45),
    0 20px 40px -20px rgba(15,23,42,0.2);
  z-index: 1;
}
.product-float {
  position: absolute;
  background: white;
  border-radius: 1rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(15,23,42,0.05);
  box-shadow: 0 18px 36px -16px rgba(15,23,42,0.22);
  z-index: 2;
}
.product-float-1 { top: 8%; right: -4%; }
.product-float-2 { bottom: 14%; left: -6%; }
@media (max-width: 640px) {
  .product-float-1 { right: 0; }
  .product-float-2 { left: 0; }
}

/* Endorser testimonial card */
.endorser-card {
  background: linear-gradient(135deg, rgba(240,253,249,0.9), rgba(255,255,255,0.95));
  border: 1px solid rgba(45,212,191,0.22);
  border-radius: 1.25rem;
  padding: 1.25rem 1.35rem;
  position: relative;
  overflow: hidden;
}
.endorser-card::before {
  content: '';
  position: absolute; top: -10px; right: -10px;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(45,212,191,0.15), transparent 70%);
  border-radius: 50%;
}

/* Benefit chips */
.benefit-chip {
  display: flex; align-items: center; gap: 0.6rem;
  background: white;
  border: 1px solid rgba(15,23,42,0.06);
  padding: 0.75rem 0.95rem;
  border-radius: 0.85rem;
  font-size: 0.87rem;
  font-weight: 600;
  color: rgb(30 41 59);
  transition: all 0.25s ease;
}
.benefit-chip svg { width: 1.1rem; height: 1.1rem; color: rgb(15 118 110); flex-shrink: 0; }
.benefit-chip:hover { border-color: rgba(45,212,191,0.4); transform: translateX(3px); background: rgba(240,253,249,0.6); }

/* ----- Gallery ----- */
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 1.75rem;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 20px 40px -20px rgba(15,23,42,0.25);
  transition: all 0.4s cubic-bezier(0.2, 0.7, 0.3, 1.1);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -25px rgba(15,118,110,0.4); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(15,23,42,0.2) 55%, rgba(15,23,42,0.82) 100%);
  color: white;
}
.gallery-tag {
  display: inline-flex; align-self: flex-start;
  background: rgba(255,255,255,0.95);
  color: rgb(15 118 110);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.gallery-tag-sage {
  background: linear-gradient(135deg, #2dd4bf, #0d9488);
  color: white;
}
/* Big item caption sizing */
.gallery-item.md\:col-span-7 { aspect-ratio: 4/3; }
.gallery-item.md\:col-span-7 figcaption h3 { font-size: 1.65rem; }
@media (min-width: 1024px) {
  .gallery-item.md\:col-span-7 { aspect-ratio: 16/13; }
}

/* ----- Selection ----- */
::selection { background: #99f6e0; color: #134e4a; }

/* ----- Smooth scrollbar (webkit) ----- */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(15,23,42,0.15); border-radius: 999px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(15,118,110,0.4); border: 3px solid transparent; background-clip: padding-box; }
