/* ============================================
   Floriq – Coming Soon
   ============================================ */

:root {
  --bg: #F8FAF8;
  --primary: #16A34A;
  --primary-soft: rgba(22, 163, 74, 0.14);
  --primary-glow: rgba(74, 222, 128, 0.35);
  --text: #101828;
  --text-muted: #667085;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-shadow: rgba(16, 24, 40, 0.06);
  --topbar-bg: rgba(248, 250, 248, 0.6);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.5;
}

/* ---------- Background ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(22, 163, 74, 0.09), transparent 70%),
    radial-gradient(ellipse 45% 35% at 80% 20%, rgba(134, 239, 172, 0.12), transparent 65%),
    radial-gradient(ellipse 55% 45% at 70% 75%, rgba(22, 163, 74, 0.07), transparent 70%),
    radial-gradient(ellipse 40% 35% at 15% 80%, rgba(187, 247, 208, 0.1), transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(248, 250, 248, 0.4), transparent 80%);
  animation: meshDrift 28s var(--ease-soft) infinite alternate;
  will-change: transform;
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 24, 40, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 40, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 75%);
  animation: gridPulse 12s var(--ease-soft) infinite alternate;
}

.bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: glowFloat 18s var(--ease-soft) infinite alternate;
}

.bg__glow--one {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  top: 8%;
  left: 12%;
  background: var(--primary-glow);
}

.bg__glow--two {
  width: min(360px, 50vw);
  height: min(360px, 50vw);
  bottom: 10%;
  right: 8%;
  background: rgba(22, 163, 74, 0.18);
  animation-delay: -6s;
  animation-duration: 22s;
}

@keyframes meshDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-2%, 1.5%) scale(1.04); }
}

@keyframes gridPulse {
  0% { opacity: 0.55; }
  100% { opacity: 1; }
}

@keyframes glowFloat {
  0% { transform: translate(0, 0); }
  100% { transform: translate(4%, -5%); }
}

/* ---------- Top bar ---------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 20px;
  pointer-events: none;
}

.topbar__group {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--topbar-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.topbar__btn {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.2s var(--ease-soft);
}

.topbar__btn[aria-pressed="true"] {
  color: var(--text);
}

.topbar__btn:hover {
  color: var(--text);
}

.topbar__sep {
  color: var(--text-muted);
  opacity: 0.4;
  font-size: 11px;
}

/* ---------- Page ---------- */

.page {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 72px 24px 48px;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 640px;
}

/* ---------- Reveal ---------- */

.logo-wrap,
.headline,
.subtitle,
.highlight,
.status,
.contact-row,
.footer {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.9s var(--ease-out) forwards;
}

.logo-wrap { animation-delay: 0.06s; }
.headline { animation-delay: 0.18s; }
.subtitle { animation-delay: 0.3s; }
.highlight { animation-delay: 0.42s; }
.status { animation-delay: 0.54s; }
.contact-row { animation-delay: 0.66s; }
.footer { animation-delay: 0.8s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Logo ---------- */

.logo-wrap {
  margin-bottom: 36px;
  will-change: transform;
}

.logo {
  width: 300px;
  height: auto;
  display: block;
  user-select: none;
  animation: float 5.5s var(--ease-soft) 1.2s infinite;
  filter: drop-shadow(0 8px 24px rgba(22, 163, 74, 0.08));
  will-change: transform;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Typography ---------- */

.headline {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 18px;
}

.subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 420px;
}

.highlight {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}

.highlight span {
  position: relative;
  display: inline-block;
}

.highlight span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.45;
  transform: translateY(-50%);
}

/* ---------- Status ---------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 1px 2px var(--glass-shadow),
    0 8px 32px rgba(16, 24, 40, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  margin-bottom: 28px;
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 var(--primary-soft);
  animation: pulse 2.2s var(--ease-soft) infinite;
  flex-shrink: 0;
}

.status__label {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(22, 163, 74, 0);
    transform: scale(1.08);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
    transform: scale(1);
  }
}

/* ---------- Contact ---------- */

.contact-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 40px;
}

.contact {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s var(--ease-soft);
}

.contact:hover {
  color: var(--primary);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s var(--ease-soft), background 0.2s var(--ease-soft);
}

.copy-btn:hover,
.copy-btn.is-copied {
  color: var(--primary);
  background: var(--primary-soft);
}

.contact:focus-visible,
.copy-btn:focus-visible,
.topbar__btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ---------- Footer ---------- */

.footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__copy {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

.footer__meta {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-muted);
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .bg__mesh,
  .bg__grid,
  .bg__glow,
  .logo,
  .logo-wrap,
  .status__dot,
  .headline,
  .subtitle,
  .highlight,
  .status,
  .contact-row,
  .footer {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .page {
    padding: 68px 20px 40px;
  }

  .logo-wrap {
    margin-bottom: 28px;
  }

  .logo {
    width: 240px;
  }

  .headline {
    font-size: clamp(42px, 12vw, 56px);
    margin-bottom: 14px;
  }

  .subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .subtitle br {
    display: none;
  }

  .highlight {
    font-size: 15px;
    gap: 6px 12px;
    margin-bottom: 24px;
  }

  .status {
    margin-bottom: 28px;
  }
}

@media (max-width: 380px) {
  .logo {
    width: 200px;
  }

  .headline {
    font-size: 38px;
  }

  .highlight {
    flex-direction: column;
    gap: 4px;
  }

  .highlight span:not(:last-child)::after {
    display: none;
  }
}

@media (min-width: 1024px) {
  .content {
    max-width: 680px;
  }

  .subtitle {
    font-size: 19px;
  }
}
