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

body {
  font-family: "Cormorant Garamond", serif;
  color: #404040;
  margin: 0;
}

h1 {
  font-size: 2.5rem;
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  margin: 0.167em 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #525252;
  text-align: justify;
}

strong {
  font-weight: 600;
  color: #1a1a1a;
}

.beta-text,
.top-text,
.subheading {
  text-transform: uppercase;
}

.beta-text {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

.subheading {
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 0.5em;
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.top-text {
  font-size: 0.975rem;
  font-weight: bolder;
  padding-top: 0.25em;
  border-top: 5px solid;
  order: -1;
  margin: 0 auto;
  letter-spacing: 1px;
  opacity: 0.95;
}

.fine-print {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: #858585;
  margin-top: 1.5em;
}

.intro,
.main-content {
  display: flex;
  flex-direction: column;
  padding: 0 2em;
}

.intro {
  justify-content: space-between;
  min-height: 250px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding-bottom: 1.5em;
  position: relative;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/intro-bg.png") center/cover no-repeat;
  opacity: 0.5;
}

.intro > * {
  position: relative;
  z-index: 1;
}

.main-content {
  align-items: center;
  padding-top: 2.5em;
  background: #fafafa;
}

.main-content p,
form {
  max-width: 450px;
}

.img-main {
  width: 120px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 4px solid #ffffff;
  transition: transform 0.3s ease;
}

.img-main:hover {
  transform: scale(1.05);
}

/* === FORM === */
input,
button {
  font-family: inherit;
  width: 100%;
  border-radius: 8px;
  transition: all 0.2s ease;
}

input {
  padding: 0.75em 1em;
  margin-bottom: 0.75em;
  border: 2px solid #e5e7eb;
  font-size: 1rem;
  background: #ffffff;
}

input:hover {
  border-color: #d1d5db;
}

input:focus {
  outline: none;
  border-color: #667eea;
  background-color: #f9fafb;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

input::placeholder {
  color: #9ca3af;
}

/* === BUTTONS === */
.btn {
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 1em 0;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin-top: 1em;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.footer {
  padding: 40px 20px;
  text-align: center;
  background: #fafafa;
  border-top: 1px solid #e5e5e5;
  margin-top: 60px;
}

.footer p {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.footer a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.footer a:hover {
  border-bottom: 1px solid #1a1a1a;
}

/* === RESPONSIVE === */
@media (min-width: 576px) {
  body {
    display: flex;
  }

  h1 {
    font-size: 5vw;
  }

  h2 {
    font-size: 2.625rem;
  }

  .beta-text {
    font-size: 1.25rem;
  }

  .intro,
  .main-content {
    width: 50%;
  }

  .intro {
    min-height: 100vh;
  }

  .main-content {
    justify-content: center;
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  * {
    scroll-behavior: smooth;
  }
}

:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

::selection {
  background-color: #667eea;
  color: white;
}
