/* Pax Color Palette */
:root {
  /* Design Tokens */
  --hibiscus: #ff007b;
  --red: #e61919;
  --orange: #e68019;
  --green: #14b814;
  --black: #000000;
  --white: #ffffff;

  /* Grayscale Tokens */
  --grey10: #1a1a1a;
  --grey20: #333333;
  --grey30: #4d4d4d;
  --grey40: #666666;
  --grey50: #808080;
  --grey60: #999999;
  --grey70: #b3b3b3;
  --grey80: #cccccc;
  --grey90: #e6e6e6;
}

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

body {
  font-family: "JetBrains Mono", "Courier New", monospace;
  line-height: 1.6;
  color: var(--grey10);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 53px;
}

/* Hero Section */
.hero {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.product-name {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -0.1em;
  margin-bottom: 16px;
  color: var(--black);
}

.tagline {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--grey50);
  margin-bottom: 24px;
}

.description {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--grey40);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Screenshots Section */
.screenshots {
  margin: 0 auto;
}

.screenshot-grid {
  display: flex;
  gap: 12px;
  max-width: 726px;
  margin: 0 auto;
  padding: 24px;
  background: var(--white);
  border-top: 1px solid var(--grey90);
  border-bottom: 1px solid var(--grey90);
}

.screenshot-image {
  width: calc(50% - 6px);
  height: auto;
  border-radius: 12px;
}

/* Features Section */
.features {
  max-width: 800px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.feature {
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
  color: var(--hibiscus);
}

.feature h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--grey10);
}

.feature p {
  font-size: 1rem;
  color: var(--grey50);
  font-weight: 400;
  line-height: 1.5;
}

/* Why Minimal Section */
.why-minimal {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.why-minimal h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--grey10);
}

.why-minimal p {
  font-size: 1.125rem;
  color: var(--grey40);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Signup Section */
.signup {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.signup h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--grey10);
}

.signup > p {
  font-size: 1.125rem;
  color: var(--grey50);
  margin-bottom: 32px;
}

.email-form {
  margin-bottom: 16px;
}

.input-group {
  display: flex;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.input-group input {
  flex: 1;
  padding: 16px 20px;
  font-size: 1rem;
  border: 2px solid var(--grey80);
  border-radius: 12px;
  background-color: var(--white);
  color: var(--grey10);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  font-family: "JetBrains Mono", "Courier New", monospace;
}

.input-group input:focus {
  outline: none;
  border-color: var(--hibiscus);
  box-shadow: 0 0 0 4px rgba(255, 0, 123, 0.1);
}

.input-group button {
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 500;
  background: var(--hibiscus);
  color: var(--white);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  font-family: "JetBrains Mono", "Courier New", monospace;
  white-space: nowrap;
}

.input-group button:hover {
  background: #e6006f;
  transform: translateY(-1px);
}

.input-group button:active {
  transform: translateY(0);
}

.privacy-note {
  font-size: 0.875rem;
  color: var(--grey60);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    gap: 60px;
    padding: 0 20px;
  }

  .product-name {
    font-size: 3.5rem;
  }

  .tagline {
    font-size: 1.25rem;
  }

  .description {
    font-size: 1rem;
  }

  .screenshot-grid {
    flex-direction: column;
    gap: 16px;
    max-width: 320px;
    padding: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .input-group {
    flex-direction: column;
    gap: 16px;
  }

  .input-group button {
    align-self: center;
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .product-name {
    font-size: 2.5rem;
  }

  .container {
    gap: 40px;
  }
}

/* Success and Error states */
.success-message {
  background: rgba(20, 184, 20, 0.1);
  color: var(--green);
  border: 1px solid var(--green);
  padding: 16px 20px;
  border-radius: 12px;
  margin-top: 16px;
  font-weight: 500;
  display: none;
}

.error-message {
  background: rgba(230, 25, 25, 0.1);
  color: var(--red);
  border: 1px solid var(--red);
  padding: 16px 20px;
  border-radius: 12px;
  margin-top: 16px;
  font-weight: 500;
}

/* Form feedback styles */
.success {
  background: linear-gradient(135deg, rgba(20, 184, 20, 0.1), rgba(20, 184, 20, 0.05));
  color: var(--green);
  border: 1px solid rgba(20, 184, 20, 0.3);
  padding: 16px 20px;
  border-radius: 12px;
  margin-top: 16px;
  font-weight: 500;
  text-align: center;
  font-family: "JetBrains Mono", "Courier New", monospace;
  animation: slideInUp 0.4s ease-out;
  box-shadow: 0 4px 12px rgba(20, 184, 20, 0.15);
}

.error {
  background: linear-gradient(135deg, rgba(230, 25, 25, 0.1), rgba(230, 25, 25, 0.05));
  color: var(--red);
  border: 1px solid rgba(230, 25, 25, 0.3);
  padding: 16px 20px;
  border-radius: 12px;
  margin-top: 16px;
  font-weight: 500;
  text-align: center;
  font-family: "JetBrains Mono", "Courier New", monospace;
  animation: slideInUp 0.4s ease-out;
  box-shadow: 0 4px 12px rgba(230, 25, 25, 0.15);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Privacy Policy Styles */
.privacy-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--grey90);
}

.privacy-header h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--grey10);
}

.privacy-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--hibiscus);
  margin-bottom: 16px;
}

.privacy-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 0.875rem;
  color: var(--grey60);
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
}

.privacy-section {
  margin-bottom: 48px;
}

.privacy-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--grey10);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--hibiscus);
}

.privacy-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--grey10);
  margin-bottom: 12px;
  margin-top: 24px;
}

.privacy-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--grey30);
  margin-bottom: 16px;
}

.privacy-section ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.privacy-section li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--grey30);
  margin-bottom: 8px;
}

.contact-info {
  background: var(--grey90);
  padding: 24px;
  border-radius: 12px;
  margin-top: 24px;
}

.contact-info h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.contact-info ul {
  list-style: none;
  margin-left: 0;
}

.contact-info li {
  margin-bottom: 8px;
}

.privacy-footer {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--grey90);
  margin-top: 40px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--hibiscus);
  text-decoration: none;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #e6006f;
}

/* Site Footer */
.site-footer {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid var(--grey90);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-content p {
  font-size: 0.875rem;
  color: var(--grey60);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--grey50);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Privacy page responsive styles */
@media (max-width: 768px) {
  .privacy-header h1 {
    font-size: 2.25rem;
  }

  .privacy-meta {
    flex-direction: column;
    gap: 8px;
  }

  .privacy-section {
    margin-bottom: 32px;
  }

  .privacy-section h2 {
    font-size: 1.5rem;
  }

  .privacy-content {
    padding-top: 32px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .privacy-header h1 {
    font-size: 2rem;
  }

  .privacy-section h2 {
    font-size: 1.375rem;
  }

  .site-footer {
    margin-top: 60px;
  }
}
