/* Your Relief Physio — Coming Soon Launch Page */

:root {
  --color-deep-teal: #1a6278;
  --color-soft-teal: #58a4b8;
  --color-pale-mint: #c5e4ed;
  --color-cream: #f8f6f1;
  --color-shadow-navy: #163844;
  --color-white: #ffffff;

  --font-sans: "Open Sans", system-ui, sans-serif;
  --font-heading: "Poppins", system-ui, sans-serif;
  --font-accent: "Playfair Display", Georgia, serif;
  --font-arabic: "Amiri", "Traditional Arabic", serif;

  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --shadow-soft: 0 4px 24px rgba(26, 98, 120, 0.1);
  --shadow-card: 0 16px 48px rgba(26, 98, 120, 0.12), 0 2px 8px rgba(26, 98, 120, 0.06);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-cream);
  color: var(--color-shadow-navy);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.font-accent {
  font-family: var(--font-accent);
  font-style: italic;
}

/* ── Ambient background ── */

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 20s ease-in-out infinite;
}

.blob-1 {
  width: 480px;
  height: 480px;
  top: -100px;
  right: -60px;
  background: var(--color-pale-mint);
}

.blob-2 {
  width: 360px;
  height: 360px;
  bottom: 5%;
  left: -80px;
  background: rgba(88, 164, 184, 0.3);
  animation-delay: -7s;
  animation-duration: 24s;
}

.blob-3 {
  width: 240px;
  height: 240px;
  top: 55%;
  right: 10%;
  background: rgba(26, 98, 120, 0.1);
  animation-delay: -14s;
  animation-duration: 28s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 98, 120, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 98, 120, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 15%, transparent 80%);
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -16px) scale(1.04);
  }
}

/* ── Page layout ── */

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Verse ribbon ── */

.verse-ribbon {
  background: linear-gradient(
    135deg,
    var(--color-deep-teal) 0%,
    #1f5060 50%,
    var(--color-shadow-navy) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(22, 56, 68, 0.15);
}

.verse-ribbon-inner {
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.125rem 1.5rem 1.25rem;
  text-align: center;
}

.verse-ornament {
  display: block;
  font-size: 0.625rem;
  color: rgba(197, 228, 237, 0.55);
  margin-bottom: 0.375rem;
  letter-spacing: 0.3em;
}

.verse {
  margin: 0;
  padding: 0;
  border: none;
}

.verse-arabic {
  font-family: var(--font-arabic);
  font-size: clamp(1.25rem, 3.5vw, 1.625rem);
  font-weight: 700;
  line-height: 1.9;
  color: var(--color-white);
}

.verse-translation {
  margin-top: 0.5rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(0.8125rem, 2vw, 0.9375rem);
  line-height: 1.55;
  color: rgba(197, 228, 237, 0.92);
}

.verse-ref {
  display: inline-block;
  margin-top: 0.625rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Main shell card ── */

.shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 40rem;
  width: calc(100% - 2rem);
  margin: 1.75rem auto 1.5rem;
  padding: 0.25rem 0 2rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(197, 228, 237, 0.65);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

/* ── Header ── */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.375rem 1.75rem 1rem;
  border-bottom: 1px solid rgba(197, 228, 237, 0.45);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(26, 98, 120, 0.18);
  border: 2.5px solid rgba(88, 164, 184, 0.4);
}

.brand-wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1875rem;
  color: var(--color-deep-teal);
  line-height: 1.2;
}

.brand-accent {
  color: var(--color-soft-teal);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-deep-teal);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--color-cream);
  border: 1px solid rgba(197, 228, 237, 0.9);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.social-link svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.social-link:hover {
  background: var(--color-pale-mint);
  border-color: var(--color-soft-teal);
  transform: translateY(-1px);
}

/* ── Hero ── */

.hero {
  text-align: center;
  padding: 2rem 1.75rem 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 1.125rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-pale-mint) 0%, rgba(197, 228, 237, 0.6) 100%);
  color: var(--color-deep-teal);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.375rem;
  border: 1px solid rgba(88, 164, 184, 0.2);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-soft-teal);
  box-shadow: 0 0 0 0 rgba(88, 164, 184, 0.5);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(88, 164, 184, 0.45);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 5px rgba(88, 164, 184, 0);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.875rem, 5vw, 2.75rem);
  line-height: 1.18;
  color: var(--color-deep-teal);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.hero-highlight {
  display: block;
  margin-top: 0.125rem;
  color: var(--color-soft-teal);
}

.hero-subtitle {
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  color: rgba(22, 56, 68, 0.78);
  max-width: 30rem;
  margin: 0 auto 1.75rem;
  text-wrap: balance;
  line-height: 1.65;
}

/* ── Coming soon ── */

.coming-soon {
  padding-top: 0.5rem;
}

.coming-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.625rem;
}

.coming-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(88, 164, 184, 0.45) 30%,
    rgba(88, 164, 184, 0.45) 70%,
    transparent
  );
}

.coming-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-soft-teal);
  white-space: nowrap;
}

.coming-word {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(2.25rem, 6.5vw, 3.25rem);
  line-height: 1.1;
  background: linear-gradient(135deg, var(--color-deep-teal) 0%, var(--color-soft-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Footer ── */

.site-footer {
  text-align: center;
  padding: 1.25rem 1.5rem 1.75rem;
  margin-top: auto;
}

.site-footer p {
  font-size: 0.8125rem;
  color: rgba(22, 56, 68, 0.55);
}

.footer-tagline {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  color: var(--color-soft-teal);
}

/* ── Reveal animations ── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

/* ── Responsive ── */

@media (max-width: 520px) {
  .shell {
    width: calc(100% - 1.25rem);
    margin-top: 1.25rem;
    border-radius: 1rem;
  }

  .site-header {
    padding: 1.125rem 1.25rem 0.875rem;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-wordmark {
    font-size: 1.0625rem;
  }

  .social-link span {
    display: none;
  }

  .social-link {
    padding: 0.5rem;
  }

  .hero {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .verse-ribbon-inner {
    padding: 1rem 1.125rem 1.125rem;
  }
}

@media (min-width: 768px) {
  .shell {
    margin-top: 2.25rem;
  }

  .verse-ribbon-inner {
    max-width: 42rem;
    padding: 1.25rem 2rem 1.375rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
