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

:root {
  --vivid-orange: #FF9F1C;
  --hunyadi-yellow: #FFBF69;
  --buff: #CB997E;
  --pale-peach: #FFE8D6;
  --dark-brown: #5C4033;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--pale-peach);
  min-height: 100vh;
}

/* Navigation */
header {
  width: 100%;
  padding: 1rem 1.5rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-link img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: white;
  padding: 0.25rem;
  object-fit: contain;
}

.brand-name {
  font-family: 'Pacifico', cursive;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--vivid-orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--buff);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--vivid-orange);
}

/* Hero Section */
.hero {
  padding: 2rem 1.5rem;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Left Content */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--hunyadi-yellow);
  color: var(--dark-brown);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  width: fit-content;
}

.hero-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-brown);
  line-height: 1.2;
}

.hero-heading .highlight {
  color: var(--vivid-orange);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--buff);
  line-height: 1.6;
  max-width: 36rem;
}

/* Email Form */
.email-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
}

.input-wrapper {
  position: relative;
  flex: 1;
}

.input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--buff);
}

.email-input {
  width: 100%;
  height: 3rem;
  padding-left: 2.75rem;
  padding-right: 1rem;
  background: white;
  border: 2px solid var(--buff);
  border-radius: 0.5rem;
  font-size: 1rem;
  color: var(--dark-brown);
  outline: none;
  transition: border-color 0.3s ease;
}

.email-input:focus {
  border-color: var(--vivid-orange);
}

.email-input::placeholder {
  color: var(--buff);
}

.submit-button {
  height: 3rem;
  background: var(--vivid-orange);
  color: white;
  font-weight: 600;
  padding: 0 2rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1rem;
}

.submit-button:hover {
  background: var(--hunyadi-yellow);
}

.join-info {
  font-size: 0.875rem;
  color: var(--buff);
}

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: var(--hunyadi-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--dark-brown);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-brown);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--buff);
}

/* Message */
.msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.msg:not(:empty) {
  background: white;
  border: 1px solid var(--buff);
  color: var(--buff);
}

/* Responsive */
@media (min-width: 640px) {
  .email-form {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  header {
    padding: 1rem 3rem;
  }

  .hero {
    padding: 3rem 3rem;
  }

  .brand-link img {
    width: 3.5rem;
    height: 3.5rem;
  }

  .hero-heading {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  header {
    padding: 1rem 5rem;
  }

  .hero {
    padding: 3rem 5rem;
  }

  .hero-heading {
    font-size: 3.75rem;
  }
}
