/* =========================================
   Base Styles
   ========================================= */
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background-color: #ffffff;
  color: #000000;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 20px;
}

header {
  background-color: #000000;
  color: #ffffff;
  padding: 20px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  margin: 0;
  font-size: 2.5em;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
}

nav ul {
  list-style-type: none;
  padding: 0;
  text-align: center;
  margin-top: 10px;
}

nav ul li {
  display: inline;
  margin-right: 20px;
}

nav ul li:last-child {
  margin-right: 0;
}

nav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

nav ul li a:hover {
  text-decoration: underline;
}

.main-content {
  padding: 40px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
}

h2 {
  font-size: 2em;
  border-bottom: 2px solid #000000;
  padding-bottom: 10px;
  margin-top: 40px;
}

h3 {
  margin-top: 25px;
}

p {
  margin-bottom: 20px;
}

footer {
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid #ccc;
  font-size: 0.9em;
}

.button {
  display: inline-block;
  background-color: #000000;
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  border: 2px solid #000000;
  transition: background-color 0.3s, color 0.3s;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.button:hover {
  background-color: #ffffff;
  color: #000000;
}

/* =========================================
   Index Specific Styles
   ========================================= */
.project-card {
  text-align: center;
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}

.project-card h3 {
  font-size: 1.8em;
}

.button-group {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.button.secondary {
  background-color: #ffffff;
  color: #000000;
}

.button.secondary:hover {
  background-color: #000000;
  color: #ffffff;
}

.mac-version {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px dashed #ccc;
}

.mac-version h4 {
  font-size: 1.5em;
  margin-bottom: 10px;
  margin-top: 0;
}

.waitlist-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.waitlist-form input {
  padding: 12px;
  font-size: 1em;
  border: 2px solid #000000;
  width: 100%;
  max-width: 300px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  outline: none;
}

.waitlist-form input:focus {
  border-color: #555;
}

/* Screenshots Section */
.screenshots-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 10px 30px;
  margin: 30px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshots-container::-webkit-scrollbar {
  height: 8px;
}

.screenshots-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.screenshots-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.screenshots-container::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.screenshot-wrapper {
  flex: 0 0 auto;
  width: 250px;
  height: 541px;
  border-radius: 28px;
  overflow: hidden;
  scroll-snap-align: center;
  border: 1px solid #000000;
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #777;
}

.screenshot-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .screenshot-wrapper {
    width: 200px;
    height: 433px;
    border-radius: 24px;
  }
}

/* =========================================
   404 Page Styles
   ========================================= */
.coming-soon {
  text-align: center;
  padding: 40px 0;
}

.coming-soon h3 {
  font-size: 1.8em;
}

.coming-soon p {
  font-size: 1.2em;
}

.error-message-container {
  background: white;
  max-width: 500px;
  margin: 40px auto 16px;
  padding: 32px 24px 16px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  text-align: left;
}

.error-message-container h2 {
  color: #000000;
  font-weight: bold;
  font-size: 2em;
  margin: 0 0 16px;
  border-bottom: none;
}

.error-message-container h1 {
  font-size: 1.5em;
  font-weight: bold;
  color: #000000;
  margin: 0 0 16px;
}

.error-message-container p {
  margin: 16px 0 24px;
  font-size: 1em;
}

.error-message-container .button-link {
  display: inline-block;
  background-color: #000000;
  color: #ffffff;
  padding: 10px 20px;
  text-decoration: none;
  border: 2px solid #000000;
  transition: background-color 0.3s, color 0.3s;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-align: center;
  margin-top: 10px;
}

.error-message-container .button-link:hover {
  background-color: #ffffff;
  color: #000000;
}

/* =========================================
   Support & Privacy Policy Specific Styles
   ========================================= */
.support-card {
  border: 1px solid #eaeaea;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.contact-section {
  background-color: #f9f9f9;
  padding: 30px;
  text-align: center;
  margin-top: 40px;
  border: 2px solid #000000;
}

.contact-section .button {
  margin-top: 15px;
}