/* NepTas Coming Soon — warm cultural theme */

:root {
  --crimson: #C8102E;
  --crimson-dark: #A00D24;
  --gold: #D4A017;
  --earth: #6B3A1F;
  --green: #5C8A6E;
  --bg: #F5F0E8;
  --bg-warm: #EDE4D3;
  --text: #2C1810;
  --text-muted: #5C4A3A;
  --white: #FFFFFF;
  --shadow: rgba(44, 24, 16, 0.08);
  --shadow-lg: rgba(44, 24, 16, 0.12);
  --radius: 12px;
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Subtle textile-inspired pattern overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(135deg, var(--bg) 0%, var(--bg-warm) 50%, var(--bg) 100%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(212, 160, 23, 0.03) 20px,
      rgba(212, 160, 23, 0.03) 21px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(200, 16, 46, 0.02) 20px,
      rgba(200, 16, 46, 0.02) 21px
    );
  z-index: -1;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 2rem 1.25rem;
}

.container {
  width: 100%;
  max-width: 520px;
  text-align: center;
}

/* Logo */
.logo-link {
  display: inline-block;
  margin-bottom: 1.75rem;
  transition: transform 0.2s ease;
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.logo {
  width: min(280px, 85vw);
  height: auto;
}

/* Hero */
.hero {
  margin-bottom: 2.5rem;
}

.tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--earth);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.mission {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto;
}

/* Coming soon badge */
.badge {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crimson);
  background: rgba(200, 16, 46, 0.08);
  border: 1px solid rgba(200, 16, 46, 0.2);
  border-radius: 999px;
}

/* Signup form */
.signup {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 4px 24px var(--shadow), 0 1px 3px var(--shadow);
  margin-bottom: 2rem;
  text-align: left;
}

.signup__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--earth);
  margin-bottom: 0.35rem;
  text-align: center;
}

.signup__subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.form-group label .optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid rgba(107, 58, 31, 0.15);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder {
  color: rgba(92, 74, 58, 0.5);
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2);
}

.form-group input:invalid:not(:placeholder-shown) {
  border-color: var(--crimson);
}

.btn {
  display: block;
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--crimson);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  margin-top: 0.25rem;
}

.btn:hover:not(:disabled) {
  background: var(--crimson-dark);
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.25);
}

.btn:active:not(:disabled) {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border-radius: 8px;
  text-align: center;
  display: none;
}

.form-message.is-visible {
  display: block;
}

.form-message--success {
  background: rgba(92, 138, 110, 0.12);
  color: #3D6B52;
  border: 1px solid rgba(92, 138, 110, 0.25);
}

.form-message--error {
  background: rgba(200, 16, 46, 0.08);
  color: var(--crimson-dark);
  border: 1px solid rgba(200, 16, 46, 0.2);
}

/* Contact */
.contact {
  margin-bottom: 1.75rem;
}

.contact__label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.contact__link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--crimson);
  text-decoration: none;
  transition: color 0.2s;
}

.contact__link:hover {
  color: var(--crimson-dark);
  text-decoration: underline;
}

.contact__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Social links */
.social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--earth);
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px var(--shadow);
  transition: color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.social__link:hover {
  color: var(--crimson);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-lg);
}

.social__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.social__link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Footer */
.footer {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer__org {
  font-weight: 600;
  color: var(--earth);
}

/* Responsive */
@media (min-width: 480px) {
  .page {
    padding: 3rem 1.5rem;
  }

  .signup {
    padding: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
