@charset "utf-8";

/* --- 1. BASE STYLES (Applies to everything) --- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

main {
  flex-grow: 1;
}

.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 2. HEADER STYLES --- */
header {
  width: 100%;
  background-color: #1a1a1a;
  z-index: 10;
}

.header-container {
  display: flex;
  justify-content: space-between; /* Logo left, Nav right */
  align-items: center;
  padding: 20px 0;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: #efefef;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #b0b0b0;
}

.cta-button a {
  background-color: #efefef;
  color: #1a1a1a;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

/* --- 3. HERO & TYPING STYLES (Restored) --- */
#hero {
  padding: 120px 20px;
  background-color: #1a1a1a;
}

.typing-container {
  text-align: left;
}

.typing-container p {
  font-family: 'Courier New', Courier, monospace;
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  color: #efefef;
  margin: 0;
  white-space: nowrap;
}

.cursor-1, .cursor-2 {
  border-left: 3px solid rgba(255, 255, 255, 0.75);
  animation: blink .75s step-end infinite;
}

.cursor-2 {
  visibility: hidden;
}

@keyframes blink {
  from, to { border-color: transparent }
  50% { border-color: rgba(255, 255, 255, 0.75); }
}

/* --- 4. HOMEPAGE SECTIONS (Columns & About) --- */
#cta-banner {
  background-color: #ffffff;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.cta-button-large {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  display: inline-block;
  transition: opacity 0.3s ease;
}

#how-it-works, #about {
  padding: 80px 0;
}

#how-it-works h2, #about h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.columns-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.column {
  flex: 1;
  text-align: center;
}

.column .icon {
  width: 80px;
  height: 80px;
  border: 2px solid #1a1a1a;
  border-radius: 50%;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image img {
  width: 100%;
  border-radius: 5px;
}

/* --- 5. LOGIN PAGE SPECIFIC (Isolated) --- */
#login-section {
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

/* Container to sit buttons side-by-side */
.login-actions {
  display: flex;
  justify-content: flex-start; /* Aligns both to the left */
  gap: 15px; /* Space between the two buttons */
  margin-top: 20px;
}

.login-container {
  background: #ffffff;
  padding: 60px 40px 40px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
}

.login-container .form-group {
  margin-bottom: 20px;
}

.login-container label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

/* Ensure the 'a' tag behaves exactly like the 'button' tag */
.login-container .cta-button-large {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  border: none;
  /* Use your existing cta-button-large styles for the rest */
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  white-space: nowrap; /* Prevents text from wrapping on small screens */
}

/* Hover state for both */
.login-container .cta-button-large:hover {
  opacity: 0.8;
}

/* Explicit fix for matching input sizes */
.login-container input[type="email"],
.login-container input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  display: block;
}

.login-footer {
  margin-top: 30px;
  text-align: center;
  font-size: 0.9rem;
}

.login-footer a {
  color: #0000EE; /* Standard link blue, or match your brand */
  font-size: 0.9rem;
  text-decoration: underline;
}

/* --- 6. WAITLIST/NOTIFY PAGE --- */
.form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* --- 7. FOOTER --- */
footer {
  background-color: #1a1a1a;
  color: #b0b0b0;
  padding: 40px 0;
  margin-top: auto; /* Keeps footer at bottom on short pages */
}

footer .section-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- 8. MOBILE RESPONSIVE STYLES (Screen sizes below 768px) --- */
@media (max-width: 768px) {

  /* 1. Header: Stack the logo and nav so they don't overlap */
  .header-container {
    flex-direction: column;
    padding: 15px 0;
    gap: 15px;
  }

  nav ul {
    gap: 15px;
    flex-wrap: wrap; /* Allows links to go to a second line if needed */
    justify-content: center;
  }

  nav a {
    font-size: 0.9rem; /* Slightly smaller text for mobile */
  }

  /* 2. Hero Section: Fix the overlapping/overflowing text */
  .typing-container p {
    font-size: 2rem; /* Shrinks the text so it fits on one line */
    white-space: normal; /* Allows text to wrap if it's still too long */
    width: 100%;
  }

  #hero {
    padding: 60px 20px; /* Reduces the massive desktop padding */
  }

  /* 3. Columns: Stack them vertically instead of side-by-side */
  .columns-container {
    flex-direction: column;
    gap: 40px;
  }

  /* 4. About Section: Stack the image and text */
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  /* 5. Login/Form Buttons: Stack buttons so they are easy to tap */
  .login-actions {
    flex-direction: column;
    width: 100%;
  }

  .login-container .cta-button-large {
    width: 100%; /* Makes buttons full-width for easy thumb-tapping */
  }

  .login-container {
    padding: 30px 20px;
    margin: 0 10px; /* Adds a tiny margin so the box doesn't touch the screen edges */
  }
}