/* Landing Page Styles - V3 */

:root {
  --brand-green: #31B77A;
  --brand-green-dark: #29a06a;
  --background-light: #F4F4F4;
  --text-dark: #333333;
  --text-dark-darker: #222222;
  --text-muted: #4F4F4F;
  --font-family: 'Work Sans', sans-serif;
}

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

/* ==================== Landing wrapper ==================== */
.landing {
  font-family: var(--font-family);
  background-color: var(--background-light);
  min-height: 100vh;
  scroll-behavior: smooth;
  color: var(--text-dark);
}

.landing-main {
  padding-top: 70px;
}

/* ==================== Fade-in animation ==================== */
.landing-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.landing-fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== Header ==================== */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 20px;
  background-color: white;
  transition: box-shadow 0.2s ease;
}

.landing-header--scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.landing-header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.landing-header__logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.landing-header__logo {
  font-family: var(--font-family);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.landing-header__nav {
  display: flex;
  align-items: center;
}

.landing-header__login-btn {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  background: transparent;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.landing-header__login-btn:hover {
  color: var(--brand-green);
  background-color: rgba(49, 183, 122, 0.08);
}

.landing-header__login-btn:focus {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}

/* ==================== Hero ==================== */
.landing-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 60px;
  background-color: white;
  min-height: auto;
}

.landing-hero__content {
  text-align: center;
  max-width: 300px;
  margin-bottom: 40px;
}

.landing-hero__headline {
  font-family: var(--font-family);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0 0 16px;
}

.landing-hero__subheadline {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

.landing-hero__cta-btn {
  display: inline-block;
  background-color: var(--text-dark);
  color: white;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.landing-hero__cta-btn:hover {
  background-color: var(--text-dark-darker);
  transform: translateY(-2px);
}

.landing-hero__cta-btn:active {
  transform: translateY(0);
}

.landing-hero__microcopy {
  font-family: var(--font-family);
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 16px 0 0;
}

.landing-hero__showcase {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing-hero__video-container {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: linear-gradient(145deg, #e6e6e6, #f5f5f5);
}

.landing-hero__video {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================== Steps Overview ==================== */
.landing-steps {
  background-color: var(--background-light);
  padding: 60px 20px;
}

.landing-steps__container {
  max-width: 1000px;
  margin: 0 auto;
}

.landing-steps__headline {
  font-family: var(--font-family);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 48px;
}

.landing-steps__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.landing-steps__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.landing-steps__number {
  font-family: var(--font-family);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-green);
  line-height: 1;
  margin-bottom: 12px;
}

.landing-steps__title {
  font-family: var(--font-family);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px;
}

.landing-steps__description {
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}

/* ==================== Social Proof ==================== */
.landing-social-proof {
  background-color: #fff;
  padding: 60px 20px;
}

.landing-social-proof__container {
  max-width: 600px;
  margin: 0 auto;
}

.landing-social-proof__headline {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 40px;
}

.landing-social-proof__cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.landing-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.landing-card__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.landing-card__quote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 24px;
  font-style: italic;
}

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

.landing-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.landing-card__title {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==================== Pricing ==================== */
.landing-pricing {
  background-color: #fff;
  padding: 20px 20px 60px;
}

.landing-pricing__container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.landing-pricing__headline {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 40px;
}

.landing-pricing__card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.1);
  padding: 40px 24px;
  max-width: 480px;
  margin: 0 auto;
}

.landing-pricing__card-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 12px;
}

.landing-pricing__card-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.landing-pricing__feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}

.landing-pricing__feature-list li {
  font-size: 0.9375rem;
  color: var(--text-dark);
  padding-left: 28px;
  position: relative;
}

.landing-pricing__feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #D1FAE5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23059669'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.landing-pricing__price {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.landing-pricing__price strong {
  color: var(--text-dark);
  font-weight: 700;
}

.landing-pricing__cta-btn {
  display: inline-block;
  background-color: var(--brand-green);
  color: white;
  font-family: var(--font-family);
  font-size: 1.0625rem;
  font-weight: 600;
  padding: 16px 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.landing-pricing__cta-btn:hover {
  background-color: var(--brand-green-dark);
  transform: translateY(-2px);
}

.landing-pricing__cta-btn:active {
  transform: translateY(0);
}

.landing-pricing__subtext {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 24px 0 0;
}

/* ==================== Footer ==================== */
.landing-footer {
  flex-shrink: 0;
  display: flex;
  margin: 50px auto 0 auto;
  padding: 0 10px 40px;
  flex-flow: wrap;
  width: auto;
  justify-content: center;
}

.landing-footer > a {
  text-decoration: none;
  white-space: nowrap;
}

.landing-footer > a:hover {
  text-decoration: underline;
}

.landing-footer > span,
.landing-footer > a {
  color: #444444;
  font-size: 0.8em;
  margin: 0 12.5px;
  height: 30px;
  opacity: 0.7;
}

/* ==================== Modal ==================== */
.landing-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.landing-modal {
  position: relative;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  font-family: var(--font-family);
  animation: landing-slideUp 0.3s ease-out;
}

@keyframes landing-slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landing-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-modal__close:hover {
  color: var(--text-dark);
}

.landing-modal__headline {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 24px 0;
}

.landing-modal__subheadline {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 32px 0;
  line-height: 1.5;
}

.landing-modal__google-btn {
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 4px;
  min-width: 44px;
  min-height: 44px;
}

.landing-modal__google-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.landing-modal__google-btn:active {
  transform: translateY(0);
}

.landing-modal__google-btn img {
  display: block;
  height: 46px;
  width: auto;
}

/* ==================== Responsive ==================== */
@media (min-width: 768px) {
  .landing-header {
    padding: 16px 40px;
  }

  .landing-header__logo {
    height: 36px;
  }

  .landing-hero__content {
    max-width: 400px;
  }

  .landing-hero__headline {
    font-size: 2.25rem;
  }

  .landing-hero__subheadline {
    font-size: 1.125rem;
  }

  .landing-hero__microcopy {
    font-size: 0.9375rem;
  }

  .landing-hero__cta-btn {
    font-size: 1.125rem;
    padding: 16px 40px;
  }

  .landing-steps {
    padding: 80px 40px;
  }

  .landing-steps__headline {
    font-size: 2.75rem;
    margin-bottom: 56px;
  }

  .landing-steps__grid {
    flex-direction: row;
    gap: 32px;
  }

  .landing-social-proof {
    padding: 80px 40px;
  }

  .landing-social-proof__container {
    max-width: 1200px;
  }

  .landing-social-proof__headline {
    font-size: 2.25rem;
    margin-bottom: 48px;
  }

  .landing-social-proof__cards {
    flex-direction: row;
    gap: 32px;
  }

  .landing-card {
    flex: 1;
  }

  .landing-card__quote {
    font-size: 0.9375rem;
  }

  .landing-pricing {
    padding: 40px 40px;
  }

  .landing-pricing__headline {
    font-size: 2.25rem;
    margin-bottom: 48px;
  }

  .landing-pricing__card {
    padding: 48px 40px;
  }

  .landing-pricing__card-title {
    font-size: 1.625rem;
  }

  .landing-pricing__subtext {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .landing-header {
    padding: 16px 60px;
  }

  .landing-hero {
    min-height: calc(100vh - 60px);
    padding: 60px 40px 80px;
    justify-content: center;
  }

  .landing-hero__content {
    margin-bottom: 60px;
    max-width: 500px;
  }

  .landing-hero__headline {
    font-size: 2.75rem;
  }

  .landing-hero__subheadline {
    font-size: 1.25rem;
  }

  .landing-hero__video-container {
    border-radius: 12px;
  }

  .landing-steps {
    padding: 100px 60px;
  }

  .landing-steps__headline {
    font-size: 3rem;
    margin-bottom: 64px;
  }

  .landing-social-proof {
    padding: 100px 60px;
  }

  .landing-social-proof__headline {
    font-size: 2.5rem;
  }

  .landing-pricing {
    padding: 40px 60px 80px;
  }

  .landing-pricing__headline {
    font-size: 2.5rem;
  }
}

@media (min-width: 1440px) {
  .landing-hero {
    padding: 80px 60px 100px;
  }

  .landing-hero__headline {
    font-size: 3rem;
  }
}

@media (max-width: 548px) {
  .landing-footer {
    flex-flow: wrap;
    width: auto;
    justify-content: center;
  }
}
