/* ==========================================
   MARKETING HOMEPAGE — Standalone stylesheet
   No dependency on style.css
   ========================================== */

:root {
  --accent: #017371;
  --darkaccent: #014240;
  --hotpink: #F24C5D;
  --darkhotpink: #912d37;
  --bg-main: #f9f9f9;
  --bg-card: #ffffff;
  --border-color: #e0e0e0;
  --text-main: #333333;
  --text-muted: #666666;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Montserrat", sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* --- Navigation --- */
.marketing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 1.2rem 2.5rem;
  background: transparent;
  transition: background 0.4s ease;
}

.marketing-nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Gradient bottom border via pseudo-element so we can fade it */
.marketing-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hotpink), var(--accent), #1ea97c);
  transition: opacity 0.4s ease;
  opacity: 1;
}

.marketing-nav.border-hidden::after {
  opacity: 0;
}

.marketing-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo — white over video, gradient after scrolling past */
.marketing-logo {
  font-size: 1.6rem;
  font-weight: 900;
  text-decoration: none;
  color: #fff;
  -webkit-text-fill-color: #fff;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  line-height: 1;
}

.marketing-logo-emoji {
  -webkit-text-fill-color: initial;
  margin-left: 10px;
}

.marketing-nav.scrolled .marketing-logo {
  background: linear-gradient(135deg, var(--hotpink) 0%, var(--accent) 50%, #1ea97c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.marketing-nav.scrolled .marketing-nav-cta {
  color: var(--accent);
  border-color: var(--accent);
}

.marketing-nav.scrolled .marketing-nav-cta:hover {
  background: var(--accent);
  color: #fff;
}

/* Nav links */
.marketing-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.marketing-nav-cta {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 24px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  line-height: 1;
  transition: all 0.2s ease;
}

.marketing-nav-cta:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* --- Hero Section --- */
.marketing-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #014240 0%, #017371 40%, #008c8a 70%, #1ea97c 100%);
}

.marketing-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.marketing-hero-video.visible {
  opacity: 1;
}


.marketing-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.marketing-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  max-width: 900px;
}

.marketing-hero-headline {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  animation: hero-headline-in 1.4s ease-out 0.3s forwards;
}

.marketing-hero-sub {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-sub-in 1.2s ease-out 1s forwards;
}

@keyframes hero-headline-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-sub-in {
  to {
    opacity: 0.85;
    transform: translateY(0);
  }
}

/* --- Scroll Arrow --- */
.marketing-scroll-arrow {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  animation: marketing-bounce 2s infinite;
}

.marketing-scroll-arrow:hover {
  opacity: 1;
}

@keyframes marketing-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Sections --- */
.marketing-section {
  padding: 2rem 2rem;
  background: var(--bg-main);
  color: var(--text-main);
}

#valueProps {
  padding-top: 0;
}

.marketing-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.marketing-section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  text-align: center;
  margin: 0 0 3rem 0;
  letter-spacing: -0.01em;
}

/* --- Scroll reveal animation --- */
.reveal-up {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.5s ease, transform 0.7s ease-out;
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-zoom-left {
  opacity: 0;
  transform: translateX(-80px) scale(0.3);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal-zoom-left.revealed {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* --- Feature Rows (left/right blocks) --- */
.marketing-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 0 60px;
  max-width: none;
  height: calc(100vh - 70px);
  position: relative;
}

.marketing-row-arrow {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  animation: marketing-bounce 2s infinite;
}

.marketing-row-arrow:hover {
  opacity: 1;
}

.marketing-feature-row + .marketing-feature-row {
  border-top: 1px solid var(--border-color);
}

.marketing-feature-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--text-main);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.marketing-feature-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hotpink), var(--accent), #1ea97c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease-out;
}

.revealed .marketing-feature-title::after {
  transform: scaleX(1);
  transition-delay: 0.35s;
}

.marketing-feature-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
}

.marketing-feature-cta {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.marketing-feature-cta:hover {
  color: var(--hotpink);
  border-color: var(--hotpink);
}

.marketing-feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.marketing-feature-emoji {
  font-size: 6rem;
  line-height: 1;
}

.marketing-feature-img {
  height: calc((100vh - 70px) * 0.8);
  aspect-ratio: 1 / 1;
  max-width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.marketing-feature-img-placeholder {
  height: calc((100vh - 70px) * 0.8);
  aspect-ratio: 1 / 1;
  max-width: 100%;
  background: #e0e0e0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* --- CTA Section --- */
.marketing-cta-section {
  background: linear-gradient(135deg, #014240 0%, #017371 40%, #008c8a 70%, #1ea97c 100%);
  color: #fff;
  padding-top: 0;
  padding-bottom: 0;
  height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.marketing-stars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.marketing-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.marketing-cta-emoji {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  line-height: 1;
  text-align: center;
}

.marketing-cta-emoji.revealed {
  animation: marketing-rocket-float 2.5s ease-in-out 1s infinite;
}

@keyframes marketing-rocket-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.marketing-cta-headline {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.02em;
}

.marketing-cta-text {
  font-size: 1.15rem;
  opacity: 0.85;
  line-height: 1.6;
  margin: 0;
}

/* Contact form */
.marketing-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.marketing-form-group input,
.marketing-form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.marketing-form-group input::placeholder,
.marketing-form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.marketing-form-group input:focus,
.marketing-form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.marketing-form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.marketing-contact-submit {
  padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, var(--hotpink) 0%, var(--darkhotpink) 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(242, 76, 93, 0.3);
  align-self: center;
  letter-spacing: 0.02em;
}

.marketing-contact-submit:hover {
  opacity: 0.9;
  box-shadow: 0 6px 20px rgba(242, 76, 93, 0.4);
}

/* Success state */
.marketing-contact-success {
  text-align: center;
  padding: 2rem 0;
}

.marketing-success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.marketing-contact-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.marketing-contact-success p {
  font-size: 1rem;
  opacity: 0.85;
  margin: 0;
}

/* --- Footer --- */
.marketing-footer {
  background: #111;
  color: #999;
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marketing-footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.marketing-footer-links a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s ease;
}

.marketing-footer-links a:hover {
  color: #fff;
}

.marketing-footer-copy {
  opacity: 0.6;
  font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .marketing-nav {
    padding: 0.75rem 1rem;
  }

  .marketing-hero-content {
    padding: 0 1.25rem;
  }

  .marketing-section {
    padding: 4rem 1.25rem;
  }

  .marketing-feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.25rem;
    height: auto;
    text-align: center;
  }

  .marketing-feature-img {
    height: auto;
    width: 100%;
  }

  .marketing-feature-img-placeholder {
    height: auto;
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .marketing-row-arrow {
    display: none;
  }

  .marketing-feature-emoji {
    font-size: 4rem;
  }

  .marketing-cta-section {
    height: auto;
    padding: 4rem 1.25rem;
  }

  .marketing-cta-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .marketing-contact-submit {
    align-self: stretch;
  }
}
