/* CSS Variables */
:root {
  /* Light mode colors */
  --bg-primary: #fafafa;
  --bg-secondary: #f5f5f5;
  --bg-tertiary: #f0f0f0;
  --border-color: rgba(23, 23, 23, 0.08);
  --text-primary: #323232;
  --text-secondary: #7e7e7e;
  --accent-color: #dfff1a;
  --accent-hover: #cbe81a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #141414;
    --bg-tertiary: #141414;
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #fff;
    --text-secondary: #7e7e7e;
    --accent-color: #dfff1a;
    --accent-hover: #b1cc00;
  }
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

#main {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Add this to your main.css */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 448px;
  min-height: 75vh;
  justify-content: center;
}

.header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-container {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.title {
  font-family: "Jockey One", sans-serif;
  font-size: 48px;
  line-height: 1em;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

/* Status Badge */
.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  background: radial-gradient(
    28% 84% at 5.6% 50%,
    var(--bg-primary) 0%,
    var(--bg-primary) 100%
  );
  border: 1px solid var(--border-color);
  border-radius: 24px;
  width: fit-content;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

.status-text {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 4px 0;
}

/* Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.hero-description {
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  text-align: center;
}

/* Newsletter Section */
.newsletter-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.newsletter-subtitle {
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  text-align: center;
}

/* Email Signup Form */
.signup-form {
  position: relative;
  width: 100%;
}

.email-input {
  width: 100%;
  padding: 12px 127px 12px 16px;
  border: 1px solid var(--bg-tertiary);
  border-radius: 12px;
  background: var(--bg-tertiary);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-primary);
  outline: none;
}

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

.submit-button {
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  padding: 0 10px;
  background-color: var(--accent-color);
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.04em;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit-button:hover {
  background-color: var(--accent-hover);
}

/* App Store Section */
.app-store-section {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 16px 0;
}

.app-store-link {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.app-store-link:hover {
  opacity: 0.8;
}

.app-store-badge {
  height: 50px;
  width: auto;
}

/* Social Proof */
.social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.images-row {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  padding: 0 22px 0 0;
}

.user-image {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0px 0px 0px 2px var(--bg-primary);
  position: relative;
}

.user-image:not(:first-child) {
  margin-left: -13px;
}

.user-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-proof-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 600px;
}

.faq-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.faq-title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4em;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.faq-description {
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
}

/* FAQ List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.faq-item {
  background-color: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
}

.question-text {
  flex: 1;
}

.faq-toggle {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 12px 16px 16px;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--text-primary) 90%, transparent);

  &:first-child {
    border-top: 1px solid var(--border-color);
    margin: 0 16px;
    padding-left: 0;
    padding-right: 0;
  }
}

.faq-answer ul {
  padding: 0 16px 0 40px;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: color-mix(in srgb, var(--text-primary) 90%, transparent);
  margin: -8px 0 -4px;
}

.faq-answer ul li {
  margin-bottom: 4px;
}

/* Footer */
.footer {
  width: 100%;
  padding: 40px 0 32px;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.copyright {
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  margin-top: 8px;
}

.footer-separator {
  font-size: 15px;
  color: var(--text-secondary);
}

.footer-link {
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--text-secondary);
}

.footer-email {
  color: color-mix(in srgb, var(--text-primary) 70%, var(--text-secondary) 30%);
}

.footer-email:hover {
  color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 809px) {
  .container {
    padding: 64px 16px 48px;
  }

  .images-row {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }
}

@media (max-width: 375px) {
  .faq-title {
    font-size: 24px;
  }

  .footer {
    padding: 32px 0;
  }

  .footer-content {
    align-items: flex-start;
    gap: 24px;
    padding: 0 16px;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-separator {
    display: none;
  }

  .copyright {
    align-self: center;
    margin: 0;
  }
}
