/* WAVE STUDIO — custom styles on top of Tailwind
   Ocean palette: deep #0F3D5E · ocean #1E88A8 · aqua #D9F3F7 · sand #E8D8C3 · ink #102A43 */

:root {
  --deep: #0F3D5E;
  --ocean: #1E88A8;
  --aqua: #D9F3F7;
  --sand: #E8D8C3;
  --ink: #102A43;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

.font-display { font-family: 'Montserrat', system-ui, sans-serif; }
.font-body { font-family: 'Inter', system-ui, sans-serif; }

/* Logo wordmark — geometric, letter-spaced, like the brand mark */
.wordmark {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}
.wordmark-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
}

/* Gradient text + fills */
.text-gradient {
  background: linear-gradient(90deg, #0F3D5E 0%, #1E88A8 45%, #34B6CE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  border-radius: 9999px;
  padding: 0.85rem 1.6rem;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ocean);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(30,136,168,.65);
}
.btn-primary:hover { background: var(--deep); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(15,61,94,.6); }
.btn-ghost {
  background: #fff;
  color: var(--deep);
  border: 1.5px solid #d7e6ec;
}
.btn-ghost:hover { border-color: var(--ocean); color: var(--ocean); transform: translateY(-2px); }
.btn-light {
  background: rgba(255,255,255,.16);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-light:hover { background: #fff; color: var(--deep); transform: translateY(-2px); }

/* Cards */
.card {
  background: #fff;
  border: 1px solid #eaf1f4;
  border-radius: 1.25rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -28px rgba(16,42,67,.35);
  border-color: #cfe7ee;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  background: var(--aqua);
  color: var(--ocean);
}

/* Language toggle */
.lang-btn {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: #7d93a1;
  padding: .15rem .5rem;
  border-radius: 9999px;
  transition: color .2s ease, background-color .2s ease;
}
.lang-btn.lang-active { color: #fff; background: var(--ocean); }

/* Scroll reveal — cinematic easing + directional variants */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal-left  { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }
.reveal-zoom  { transform: scale(.9); }
.reveal.in { opacity: 1; transform: none; }
.reveal.in { will-change: auto; }

/* Hero ambient glow */
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(217,243,247,.9) 0%, rgba(217,243,247,0) 60%),
    radial-gradient(50% 50% at 12% 85%, rgba(217,243,247,.7) 0%, rgba(217,243,247,0) 60%);
  pointer-events: none;
}

/* Animated wave line in hero */
.wave-float { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Section wave divider sits flush */
.wave-divider { display: block; width: 100%; height: auto; }

/* Sand accent underline */
.accent-line {
  width: 56px; height: 4px; border-radius: 9999px;
  background: var(--sand);
}

/* Nav scrolled state — solid (no backdrop-filter) for smooth scrolling */
.nav-solid { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 rgba(16,42,67,.06); }

/* Form fields */
.field {
  width: 100%;
  border: 1.5px solid #dce8ed;
  border-radius: .85rem;
  padding: .85rem 1rem;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 4px rgba(30,136,168,.12); }

/* Mobile menu */
.mobile-link { font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.mobile-link:hover { color: var(--ocean); }

/* Pricing — popular plan */
.plan-popular { border: 2px solid var(--ocean); box-shadow: 0 30px 60px -30px rgba(30,136,168,.5); }
.badge-popular { background: var(--ocean); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 9999px; }

/* Portfolio tile */
.tile-media { position: relative; height: 13rem; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tile-media .tile-wave { width: 60%; transition: transform .5s ease; }
.card:hover .tile-wave { transform: translateY(-6px) scale(1.05); }
.tile-tag { position: absolute; top: 1rem; left: 1rem; font-size: .72rem; font-weight: 600; background: rgba(255,255,255,.92); color: var(--deep); padding: .25rem .7rem; border-radius: 9999px; }

/* Founder photo placeholder */
.founder-photo {
  aspect-ratio: 1 / 1;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, #0F3D5E, #1E88A8 60%, #5BE0F0);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(15,61,94,.6);
}

/* FAQ accordion */
.faq-item { border: 1px solid #e7eef1; border-radius: 1rem; background: #fff; overflow: hidden; transition: border-color .2s ease; }
.faq-item[open] { border-color: #cfe7ee; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; color: var(--ink); font-family: 'Montserrat', sans-serif; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-ico { transition: transform .25s ease; color: var(--ocean); flex-shrink: 0; }
.faq-item[open] summary .faq-ico { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.3rem 1.2rem; color: rgba(16,42,67,.65); font-size: .95rem; line-height: 1.65; }

/* Floating WhatsApp button */
.wa-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 70;
  width: 3.75rem; height: 3.75rem; border-radius: 9999px;
  background: var(--ocean); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(30,136,168,.7);
  transition: transform .25s ease, background-color .25s ease;
}
.wa-fab:hover { background: var(--deep); transform: scale(1.08); }
.wa-fab::before {
  content: ''; position: absolute; inset: 0; border-radius: 9999px;
  background: var(--ocean); opacity: .5; z-index: -1;
  animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .5; }
  70% { transform: scale(1.8); opacity: 0; }
  100% { opacity: 0; }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, #0F3D5E, #1E88A8, #5BE0F0);
  will-change: transform;
}

/* Shimmer on gradient headings */
.text-gradient { background-size: 220% auto; animation: shimmer 8s linear infinite; }
@keyframes shimmer { to { background-position: 220% center; } }

/* Shine sweep across primary buttons on hover */
.btn-primary, .btn-light { position: relative; overflow: hidden; }
.btn-primary::after, .btn-light::after {
  content: ''; position: absolute; top: 0; left: -160%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.btn-primary:hover::after, .btn-light:hover::after { animation: shine .85s ease; }
@keyframes shine { to { left: 160%; } }

/* Floating aurora blobs (hero) */
.blob { position: absolute; border-radius: 9999px; filter: blur(60px); pointer-events: none; will-change: transform; }
.blob-1 { width: 26rem; height: 26rem; background: rgba(30,136,168,.18); top: -6rem; right: -4rem; animation: drift1 16s ease-in-out infinite; }
.blob-2 { width: 22rem; height: 22rem; background: rgba(91,224,240,.16); bottom: -8rem; left: -6rem; animation: drift2 20s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,24px) scale(1.08); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(26px,-20px) scale(1.06); } }

/* Client marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; margin-right: 4.5rem; }
.marquee-logo { height: 2.6rem; width: auto; object-fit: contain; filter: grayscale(1); opacity: .5; transition: filter .35s ease, opacity .35s ease; }
.marquee-item:hover .marquee-logo { filter: grayscale(0); opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .wave-float { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .wa-fab::before { animation: none; }
  .text-gradient { animation: none; }
  .blob { animation: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}
