/* ===== Design Tokens ===== */
:root {
  --color-brand: #8BBFDE;
  --color-brand-light: #B5D7EB;
  --color-brand-dark: #5A9CC4;
  --color-brand-pale: #E8F2F9;

  --color-white: #FFFFFF;
  --color-bg: #F9FBFD;
  --color-gray: #8A8580;
  --color-dark: #2C2926;
  --color-charcoal: #3D3833;

  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-bg);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===== Particles Background ===== */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-10vh) scale(1);
  }
}

/* ===== Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.5s; }
.reveal-delay-4 { transition-delay: 0.7s; }

/* ===== Coming Soon Layout ===== */
.coming-soon {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3vh 2rem 1vh;
  text-align: center;
  position: relative;
  z-index: 1;
  gap: 0;
}

/* ===== Logo ===== */
.logo-wrap {
  margin-bottom: clamp(1rem, 2.5vh, 2rem);
}

.logo {
  height: clamp(80px, 14vh, 140px);
  width: auto;
  opacity: 0.7;
  transition: var(--transition-smooth);
  mix-blend-mode: multiply;
}

.logo:hover {
  opacity: 0.85;
  transform: scale(1.03);
}



/* ===== Headline ===== */
.headline {
  margin-bottom: clamp(1.2rem, 2.5vh, 2rem);
  max-width: 800px;
}

.headline .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-brand-dark);
  margin-bottom: clamp(0.5rem, 1vh, 0.8rem);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.headline .label::before,
.headline .label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--color-brand);
  opacity: 0.5;
}

.headline h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-dark);
  margin-bottom: clamp(0.5rem, 1.2vh, 1rem);
}

.headline h1 em {
  font-style: italic;
  color: var(--color-brand);
}

.headline .subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: var(--color-gray);
  font-weight: 400;
}

/* ===== Email Signup ===== */
.signup {
  width: 100%;
  max-width: 460px;
  margin-bottom: clamp(1rem, 2.5vh, 2rem);
}

.signup-form {
  display: flex;
  gap: 0;
  background: var(--color-white);
  border-radius: var(--radius-full);
  padding: 5px;
  box-shadow: 0 4px 24px rgba(139, 191, 222, 0.12),
              0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(139, 191, 222, 0.15);
  transition: var(--transition-smooth);
}

.signup-form:focus-within {
  box-shadow: 0 4px 30px rgba(139, 191, 222, 0.25),
              0 1px 3px rgba(0, 0, 0, 0.04);
  border-color: var(--color-brand-light);
}

.signup-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.85rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-dark);
  outline: none;
  min-width: 0;
}

.signup-form input::placeholder {
  color: #B8B3AE;
}

.signup-form button {
  background: var(--color-brand);
  color: var(--color-white);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  white-space: nowrap;
  flex-shrink: 0;
}

.signup-form button:hover {
  background: var(--color-brand-dark);
  transform: translateX(2px);
  box-shadow: 0 4px 16px rgba(90, 156, 196, 0.35);
}

.signup-form button .btn-icon {
  transition: var(--transition-fast);
  font-size: 1rem;
}

.signup-form button:hover .btn-icon {
  transform: translateX(3px);
}

.signup-note {
  font-size: 0.78rem;
  color: var(--color-gray);
  margin-top: 0.8rem;
  opacity: 0.7;
}

/* Success State */
.signup-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem;
  margin-top: 0.8rem;
  background: rgba(168, 195, 160, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: #5E8B54;
  animation: fadeInUp 0.5s ease;
}

.signup-success.show {
  display: flex;
}

.success-icon {
  width: 24px;
  height: 24px;
  background: #5E8B54;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Social Links ===== */
.socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-gray);
  transition: var(--transition-smooth);
  background: transparent;
}

.social-link:hover {
  color: var(--color-brand-dark);
  background: var(--color-brand-pale);
  transform: translateY(-3px);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 0.8rem;
  font-size: 0.7rem;
  color: var(--color-gray);
  opacity: 0.5;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ===== Responsive ===== */

/* Short viewports (landscape phones, small laptops) */
@media (max-height: 700px) {
  .logo {
    height: clamp(50px, 10vh, 70px);
  }

  .headline h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
  }

  .headline .subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .headline .subtitle br {
    display: none;
  }
}

/* Very short viewports */
@media (max-height: 550px) {
  .logo {
    height: 40px;
  }

  .logo-wrap {
    margin-bottom: 0.5rem;
  }

  .headline {
    margin-bottom: 0.8rem;
  }

  .headline h1 {
    font-size: 2rem;
  }

  .headline .label {
    margin-bottom: 0.3rem;
    font-size: 0.65rem;
  }

  .signup {
    margin-bottom: 0.5rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .coming-soon {
    padding: 2vh 1.2rem 1vh;
  }

  .headline .subtitle br {
    display: none;
  }

  .signup-form {
    flex-direction: column;
    border-radius: var(--radius-sm);
    padding: 4px;
  }

  .signup-form input {
    text-align: center;
    padding: 0.85rem;
  }

  .signup-form button {
    border-radius: calc(var(--radius-sm) - 2px);
    justify-content: center;
    padding: 0.85rem;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .headline h1 {
    font-size: 1.7rem;
  }

  .social-link {
    width: 36px;
    height: 36px;
  }
}
