/* "Coming soon on Google Play" page (resources/views/home/android-app.blade.php).
   Loaded after index.css, whose header, buttons (.btn-cta-*), pill and store
   badges (.store-btn) it reuses. Everything here is prefixed soon- so nothing
   leaks. */

.soon-body {
  --soon-brand: #B41078;
  --soon-brand-dark: #9E0E68;
  --soon-soft: #FFF5FA;
  --soon-soft-2: #FFEEF9;
  --soon-ink: #0F172A;
  --soon-text: #475569;
  --soon-muted: #64748B;
  --soon-line: #F1E4EC;
  --soon-orange: #F5A524;
  --soon-ease: cubic-bezier(.2, .7, .2, 1);
  background: #FFFFFF;
  color: var(--soon-ink);
  overflow-x: hidden;
}

.soon-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Reveal on scroll =====
   Only once the page script has run (html.soon-js); an animation rather than
   a transition, so the cards' own hover transition is never delayed. */
.soon-js .soon-reveal {
  opacity: 0;
}
.soon-js .soon-reveal.is-in {
  opacity: 1;
  animation: soon-up .9s var(--soon-ease) var(--d, 0ms) backwards;
}

/* ===== Hero ===== */
.soon-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 88px;
  background: linear-gradient(180deg, var(--soon-soft) 0%, #FFFFFF 100%);
}
.soon-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.soon-blob--pink {
  width: 560px;
  height: 560px;
  right: -140px;
  top: -200px;
  background: rgba(180, 16, 120, .14);
}
.soon-blob--orange {
  width: 400px;
  height: 400px;
  left: -160px;
  bottom: -200px;
  background: rgba(245, 165, 36, .16);
}

.soon-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: 56px;
}

.soon-eyebrow {
  margin-bottom: 22px;
}
.soon-dot {
  position: relative;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--soon-brand);
  flex-shrink: 0;
}
.soon-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--soon-brand);
  animation: soon-ping 1.8s cubic-bezier(0, 0, .2, 1) infinite;
}

.soon-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.8px;
  color: #000000;
  margin: 0 0 22px;
}
.soon-script {
  position: relative;
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.28em;
  line-height: .9;
  letter-spacing: 0;
  color: var(--soon-brand);
}
/* Hand-drawn underline, drawn in once the title is on screen. */
.soon-squiggle {
  position: absolute;
  left: 0;
  bottom: -0.1em;
  width: 100%;
  height: .3em;
  overflow: visible;
}
.soon-squiggle path {
  fill: none;
  stroke: var(--soon-orange);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: soon-draw 1.1s cubic-bezier(.65, 0, .35, 1) .8s forwards;
}

.soon-lede {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 19px;
  line-height: 30px;
  letter-spacing: .2px;
  color: #64655C;
  max-width: 580px;
  margin: 0 0 32px;
}
.soon-highlight {
  color: var(--soon-brand);
  font-weight: 500;
}

.soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.soon-actions .btn-cta-fill,
.soon-actions .btn-cta-outline {
  transition: background-color .25s ease, transform .25s var(--soon-ease), box-shadow .25s ease;
}
.soon-actions .btn-cta-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -12px rgba(180, 16, 120, .6);
}
.soon-actions .btn-cta-outline:hover {
  transform: translateY(-2px);
}

/* "Vous avez un iPhone ?" + App Store badge */
.soon-ios {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 20px;
  max-width: 580px;
  margin-top: 36px;
  padding: 16px 16px 16px 22px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--soon-line);
  border-radius: 18px;
  box-shadow: 0 10px 30px -22px rgba(30, 27, 36, .35);
}
.soon-ios p {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--soon-text);
}
.soon-ios p strong {
  color: var(--soon-ink);
  font-weight: 700;
}
.soon-ios-btn {
  height: 54px;
  transition: transform .25s var(--soon-ease), box-shadow .25s ease;
}
.soon-ios-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .55);
}

/* Phone and its two floating cards */
.soon-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.soon-phone {
  display: block;
  width: min(100%, 440px);
  height: auto;
  filter: drop-shadow(0 32px 36px rgba(30, 27, 36, .16));
  animation: soon-float 7s ease-in-out infinite;
}

.soon-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 16px;
  box-shadow: 0 22px 44px -18px rgba(30, 27, 36, .32), 0 2px 6px rgba(30, 27, 36, .06);
}
.soon-chip--play {
  left: 0;
  bottom: 17%;
  animation: soon-float 6s ease-in-out -1.5s infinite;
}
.soon-chip--play img {
  width: 26px;
  height: 30px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.soon-chip-text {
  display: flex;
  flex-direction: column;
  min-width: 128px;
}
.soon-chip-text strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 19px;
  color: var(--soon-ink);
}
.soon-chip-text small {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 17px;
  color: var(--soon-brand);
}
/* Indeterminate progress: "in the works", no made-up percentage. */
.soon-bar {
  position: relative;
  display: block;
  height: 4px;
  margin-top: 7px;
  border-radius: 4px;
  background: #FBE3F0;
  overflow: hidden;
}
.soon-bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--soon-brand), var(--soon-orange));
  animation: soon-load 1.9s ease-in-out infinite;
}

.soon-chip--ios {
  right: 2%;
  top: 13%;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  animation: soon-float 6.5s ease-in-out -3.5s infinite;
}
.soon-chip--ios strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: var(--soon-ink);
  white-space: nowrap;
}
.soon-check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #16A34A;
  flex-shrink: 0;
}
.soon-check svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== Meanwhile, on Android ===== */
.soon-section {
  padding: 88px 0 40px;
}
.soon-h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--soon-ink);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 14px;
}
.soon-sub {
  font-size: 17px;
  line-height: 27px;
  color: var(--soon-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.soon-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.soon-card {
  position: relative;
  padding: 32px 28px 30px;
  background: #FFFFFF;
  border: 1px solid var(--soon-line);
  border-radius: 22px;
  transition: transform .35s var(--soon-ease), box-shadow .35s ease, border-color .35s ease;
}
.soon-card:hover {
  transform: translateY(-6px);
  border-color: #F3C6E0;
  box-shadow: 0 26px 50px -26px rgba(180, 16, 120, .38);
}
.soon-card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--soon-soft-2), #FFF4E2);
  color: var(--soon-brand);
  transition: transform .35s var(--soon-ease);
}
.soon-card:hover .soon-card-icon {
  transform: rotate(-6deg) scale(1.06);
}
.soon-card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.soon-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 26px;
  color: var(--soon-ink);
  margin: 0 0 10px;
}
.soon-card p {
  font-size: 15px;
  line-height: 24px;
  color: var(--soon-muted);
  margin: 0;
}
/* Chrome's ⋮ menu, drawn as a key. */
.soon-kbd {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  border: 1px solid #E2E8F0;
  border-bottom-width: 2px;
  border-radius: 6px;
  background: #F8FAFC;
  color: var(--soon-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

/* ===== Stay informed ===== */
.soon-follow-section {
  padding: 48px 0 96px;
}
.soon-follow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 40px 48px 40px 56px;
  border-radius: 28px;
  background: linear-gradient(120deg, var(--soon-soft) 0%, var(--soon-soft-2) 55%, #FFF4E2 100%);
  border: 1px solid #F7DCEB;
  overflow: hidden;
}
.soon-follow h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--soon-ink);
  margin: 0 0 10px;
}
.soon-follow p {
  font-size: 17px;
  line-height: 27px;
  color: var(--soon-text);
  max-width: 520px;
  margin: 0 0 24px;
}
.soon-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.soon-socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--soon-line);
  color: var(--soon-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s var(--soon-ease), box-shadow .25s ease, border-color .25s ease, color .25s ease;
}
.soon-socials a:hover {
  transform: translateY(-2px);
  color: var(--soon-brand);
  border-color: #F3C6E0;
  box-shadow: 0 14px 26px -16px rgba(180, 16, 120, .5);
}
.soon-socials svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--soon-brand);
}
.soon-socials .soon-social-stroke {
  fill: none;
  stroke: var(--soon-brand);
  stroke-width: 2;
}
.soon-socials .soon-social-stroke .soon-social-dot {
  fill: var(--soon-brand);
  stroke: none;
}
.soon-follow-mascot {
  display: block;
  width: 250px;
  height: auto;
}

/* ===== Motion ===== */
@keyframes soon-up {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes soon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes soon-ping {
  75%, 100% { transform: scale(2.6); opacity: 0; }
}
@keyframes soon-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes soon-load {
  from { transform: translateX(-100%); }
  to { transform: translateX(260%); }
}

/* ===== Tablet and phone ===== */
@media (max-width: 991.98px) {
  .soon-hero {
    padding: 36px 0 56px;
  }
  .soon-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .soon-visual {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }
  .soon-phone {
    width: min(84%, 360px);
  }
  .soon-section {
    padding: 64px 0 24px;
  }
  .soon-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 560px;
    margin: 0 auto;
  }
  .soon-follow {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 36px 28px 0;
    text-align: center;
  }
  .soon-follow p {
    margin-left: auto;
    margin-right: auto;
  }
  .soon-socials {
    justify-content: center;
  }
  .soon-follow-mascot {
    width: 210px;
    margin: 8px auto 0;
  }
}

@media (max-width: 575.98px) {
  .soon-wrap {
    padding: 0 16px;
  }
  .soon-eyebrow {
    height: 30px;
    padding: 0 16px;
    font-size: 12px !important;
    letter-spacing: .4px;
  }
  .soon-title {
    font-size: clamp(28px, 8.4vw, 34px);
    letter-spacing: -0.5px;
    margin-bottom: 18px;
  }
  .soon-lede {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 24px;
  }
  .soon-actions {
    flex-direction: column;
    gap: 10px;
  }
  .soon-actions .btn-cta-fill,
  .soon-actions .btn-cta-outline {
    width: 100%;
  }
  .soon-ios {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 28px;
    padding: 18px 16px;
  }
  .soon-chip {
    padding: 9px 12px;
    gap: 10px;
    border-radius: 14px;
  }
  .soon-chip--play {
    left: 0;
    bottom: 12%;
  }
  .soon-chip--play img {
    width: 22px;
    height: 26px;
  }
  .soon-chip-text {
    min-width: 104px;
  }
  .soon-chip-text strong {
    font-size: 14px;
  }
  .soon-chip-text small {
    font-size: 12px;
  }
  .soon-chip--ios {
    right: 0;
    top: 8%;
    padding: 8px 12px 8px 10px;
  }
  .soon-chip--ios strong {
    font-size: 13px;
  }
  .soon-check {
    width: 22px;
    height: 22px;
  }
  .soon-sub {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 32px;
  }
  .soon-card {
    padding: 24px 22px;
    border-radius: 20px;
  }
  .soon-card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    border-radius: 14px;
  }
  .soon-follow-section {
    padding: 32px 0 64px;
  }
  .soon-follow {
    padding: 30px 18px 0;
    border-radius: 22px;
  }
  .soon-follow p {
    font-size: 15px;
    line-height: 24px;
  }
  .soon-socials a {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .soon-js .soon-reveal,
  .soon-js .soon-reveal.is-in {
    opacity: 1;
    animation: none;
  }
  .soon-phone,
  .soon-chip,
  .soon-dot::after,
  .soon-bar::after {
    animation: none;
  }
  .soon-squiggle path {
    animation: none;
    stroke-dashoffset: 0;
  }
  .soon-card,
  .soon-card-icon,
  .soon-socials a,
  .soon-ios-btn,
  .soon-actions .btn-cta-fill,
  .soon-actions .btn-cta-outline {
    transition: none;
  }
}
