/* ========================================
   SITAC Landing Page — landing.css
   Webapp-specific styles (pricing, signup, auth)
   The main 338.team styles are in /338/assets/css/style.css
   ======================================== */

/* ---- Pricing Section ---- */

.landing-pricing {
  background: #f3f3f3;
  padding: 80px 0;
}

.landing-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.landing-pricing__header {
  text-align: center;
  margin-bottom: 48px;
}

.landing-pricing__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #3c3c3b;
  margin-bottom: 12px;
}

.landing-pricing__sub {
  font-size: 1.05rem;
  color: #666;
}

.landing-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.landing-pricing-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  border: 1px solid #e0e0e0;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.landing-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.landing-pricing-card--featured {
  border: 2px solid #e94b32;
  transform: scale(1.05);
}

.landing-pricing-card--featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.landing-pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #e94b32;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 20px;
  border-radius: 20px;
}

.landing-pricing-card__name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #3c3c3b;
  margin-bottom: 8px;
}

.landing-pricing-card__price {
  font-size: 1rem;
  color: #b2b2b2;
  margin-bottom: 24px;
}

.landing-pricing-card__features {
  text-align: left;
  margin-bottom: 32px;
  list-style: none;
  padding: 0;
}

.landing-pricing-card__features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: #555;
  border-bottom: 1px solid #f3f3f3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-pricing-card__features li:last-child {
  border-bottom: none;
}

.landing-pricing-card__features li i {
  color: #e94b32;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.landing-pricing-card .landing-btn {
  width: 100%;
}

/* ---- Sticky Nav (signup & standalone pages) ---- */

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

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #3c3c3b;
  z-index: 1000;
  height: 64px;
}

.landing-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.landing-nav__logo img {
  height: 36px;
  width: auto;
}

.landing-nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.landing-nav__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.landing-nav__actions .landing-btn {
  padding: 8px 20px;
  font-size: 0.875rem;
}

/* ---- Footer (signup & standalone pages) ---- */

.landing-footer {
  background: #212121;
  color: #b2b2b2;
  padding: 48px 0 24px;
}

.landing-footer__bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
}

/* ---- Buttons (pricing & auth) ---- */

.landing-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.landing-btn--primary {
  background: #e94b32;
  color: #ffffff;
  border-color: #e94b32;
}

.landing-btn--primary:hover {
  background: #d4402b;
  border-color: #d4402b;
  color: #ffffff;
}

.landing-btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: #b2b2b2;
}

.landing-btn--outline:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.landing-btn--outline-dark {
  background: transparent;
  color: #3c3c3b;
  border-color: #b2b2b2;
}

.landing-btn--outline-dark:hover {
  border-color: #3c3c3b;
}

.landing-btn--dark {
  background: #3c3c3b;
  color: #ffffff;
  border-color: #3c3c3b;
}

.landing-btn--dark:hover {
  background: #212121;
  border-color: #212121;
  color: #ffffff;
}

.landing-btn--danger {
  background: #c21300;
  color: #ffffff;
  border-color: #c21300;
}

.landing-btn--danger:hover {
  background: #a01000;
  border-color: #a01000;
  color: #ffffff;
}

/* ---- Footer auth links ---- */

.landing-footer__auth-links {
  margin-bottom: 16px;
}

.landing-footer__auth-links a {
  color: #b2b2b2;
  font-size: 0.9rem;
  transition: color 0.2s;
  margin: 0 8px;
}

.landing-footer__auth-links a:hover {
  color: #ffffff;
}

/* ---- Nav auth button ---- */

.nav-item-auth {
  display: flex;
  align-items: center;
  margin-left: 12px;
}

.nav-item-auth .btn-get-started {
  padding: 6px 18px;
  font-size: 0.85rem;
}

/* ---- Signup Form ---- */

.landing-signup {
  background: #f3f3f3;
  padding: 120px 0 80px;
  min-height: 100vh;
}

.landing-signup__card {
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 48px 40px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.landing-signup__header {
  text-align: center;
  margin-bottom: 32px;
}

.landing-signup__badge {
  display: inline-block;
  background: #e94b32;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.landing-signup__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #3c3c3b;
  margin-bottom: 8px;
}

.landing-signup__sub {
  font-size: 0.95rem;
  color: #666;
}

.landing-signup__errors {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
}

.landing-signup__error {
  color: #dc2626;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.landing-signup__error:last-child {
  margin-bottom: 0;
}

.landing-signup__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.landing-signup__row {
  display: flex;
  gap: 16px;
}

.landing-signup__row .landing-signup__field {
  flex: 1;
}

.landing-signup__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.landing-signup__field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #3c3c3b;
}

.landing-signup__field input {
  padding: 12px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.landing-signup__field input:focus {
  border-color: #e94b32;
  box-shadow: 0 0 0 3px #ffaea1;
}

.landing-signup__submit {
  width: 100%;
  margin-top: 8px;
}

.landing-signup__terms {
  text-align: center;
  font-size: 0.8rem;
  color: #999;
}

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

@media (max-width: 768px) {
  .landing-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .landing-pricing-card--featured {
    transform: none;
  }

  .landing-pricing-card--featured:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 540px) {
  .landing-signup__card {
    padding: 32px 24px;
  }

  .landing-signup__row {
    flex-direction: column;
  }
}
