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

:root {
  --bg: #2a2a2a;
  --text: #d69d8c;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
}

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Floors (snap sections) ─── */
.floor {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 1.5rem;
}

/* ─── Floor 1: Hero ─── */
.floor-hero {
  flex-direction: column;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-logo {
  display: block;
  margin: 0 auto 2.5rem;
  width: clamp(180px, 25vw, 300px);
  height: auto;
  animation: fadeUp 1.2s ease-out both;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  color: var(--text);
  opacity: 0.85;
  letter-spacing: 0.05em;
  animation: fadeIn 1.2s ease-out 0.5s both;
}

/* ─── Floor 2: Vision + Diamond ─── */
.floor-vision {
  flex-direction: column;
}

.vision-wrap {
  text-align: center;
}

.vision-text {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.6;
  letter-spacing: 0.01em;
  max-width: 56rem;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 1.5s ease-out;
}

.vision-text.in-view {
  opacity: 1;
}

.diamond-divider {
  display: flex;
  justify-content: center;
  padding: 3rem 0 0;
}

.top-diamond {
  width: 84px;
  height: auto;
  opacity: 0;
  transition: opacity 1.2s ease-out;
}

.top-diamond.in-view {
  opacity: 0.7;
}

/* ─── Floor 3: CTA ─── */
.cta-content {
  width: 100%;
  max-width: 28rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.cta-content.in-view {
  opacity: 1;
  transform: translateY(0);
}

.cta-label {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: 300;
  color: var(--text);
  opacity: 0.7;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* ─── Form ─── */
.signup-form {
  margin-bottom: 3rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.email-input {
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: 1px solid rgba(214, 157, 140, 0.3);
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.03em;
  transition: border-color 0.3s;
}

.email-input::placeholder {
  color: var(--text);
  opacity: 0.4;
}

.email-input:focus {
  border-color: rgba(214, 157, 140, 0.6);
}

.submit-btn {
  width: 100%;
  padding: 0.75rem 2rem;
  background-color: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s;
}

.submit-btn:hover {
  opacity: 0.8;
}

/* Thank you message */
.thank-you {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  opacity: 0;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  transition: opacity 0.6s ease-out;
  display: none;
}

.thank-you.visible {
  display: block;
  opacity: 0.9;
}

/* LinkedIn */
.linkedin-link {
  display: inline-block;
  color: var(--text);
  opacity: 0.6;
  margin-bottom: 1.5rem;
  transition: opacity 0.3s;
}

.linkedin-link:hover {
  opacity: 0.4;
}

/* Footer text */
.footer-text {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text);
  opacity: 0.4;
  letter-spacing: 0.05em;
}

/* ─── Scroll Indicator ─── */
.scroll-indicator {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: none;
  border: none;
  color: var(--text);
  opacity: 0.5;
  cursor: pointer;
  padding: 0.5rem;
  transition: opacity 0.3s;
  animation: bounce 2.5s ease-in-out infinite;
}

.scroll-indicator:hover {
  opacity: 0.8;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── Responsive ─── */
@media (min-width: 640px) {
  .form-row {
    flex-direction: row;
  }

  .email-input {
    width: 16rem;
  }

  .submit-btn {
    width: auto;
  }
}
