:root {
  --presence-green: #4CAF91;
  --light-clay: #ECE3D0;
  --depth-charcoal: #1F1F1F;

  --tuning-flame: #EF6C57;
  --curiosity-blue: #5FA8D3;
  --transition-violet: #C7A7F2;

  --alive-mint: #CFFDF3;
  --sun-drift: #FFE2A0;
  
  --surface-white: #FFFFFF;
  --border-subtle: rgba(31, 31, 31, 0.08);
  --shadow-soft: 0 2px 8px rgba(31, 31, 31, 0.06);
  --shadow-card: 0 4px 16px rgba(31, 31, 31, 0.08);
  --shadow-elevated: 0 8px 32px rgba(31, 31, 31, 0.12);
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 16px;
}

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  background: #F8F9FA;
  color: var(--depth-charcoal);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header {
  background: var(--surface-white);
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}

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

.header-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.header-nav a {
  color: var(--curiosity-blue);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: var(--presence-green);
}

.auth-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.logo {
  font-family: "Quicksand";
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--curiosity-blue);
  white-space: nowrap;
}

main {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  color: rgba(31, 31, 31, 0.8);
}

.cta {
  margin-top: 2rem;
  display: inline-block;
  background: var(--curiosity-blue);
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

.cta:hover {
  background: var(--presence-green);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--depth-charcoal);
}

input[type="text"], 
input[type="email"], 
input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--light-clay);
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

input[type="text"]:focus, 
input[type="email"]:focus, 
input[type="password"]:focus {
  outline: none;
  border-color: var(--curiosity-blue);
  box-shadow: 0 0 0 2px rgba(95, 168, 211, 0.1);
}

button {
  background: var(--curiosity-blue);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

button:hover {
  background: var(--presence-green);
}

button:disabled {
  background: var(--light-clay);
  cursor: not-allowed;
  color: var(--depth-charcoal);
}

/* Result Messages */
.result {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid;
}

.result.success {
  background: var(--alive-mint);
  border-color: var(--presence-green);
  color: var(--depth-charcoal);
}

.result.error {
  background: var(--sun-drift);
  border-color: var(--tuning-flame);
  color: var(--depth-charcoal);
}

/* Footer Styles */
.footer {
  background: var(--surface-white);
  padding: 2rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 3rem;
  text-align: center;
}

.footer-copyright {
  margin: 0;
  color: rgba(31, 31, 31, 0.6);
  font-size: 0.9rem;
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--curiosity-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--presence-green);
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 1rem;
  }
  
  .header-content {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .header-nav {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  
  .header-nav a {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
    text-align: left;
  }
  
  .header-nav a:last-child {
    border-bottom: none;
  }
  
  .auth-nav {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    align-items: flex-start;
  }
  
  main {
    padding: 1.5rem 1rem;
  }
  
  h1 {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  p {
    font-size: 1rem;
  }
  
  .cta {
    display: block;
    text-align: center;
    margin: 1rem 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  .footer {
    padding: 1.5rem 1rem;
  }
  
  .footer-links {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.5rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  .header-nav a {
    font-size: 0.95rem;
  }
}
