/* ============================================================
   Project Orca — Shared Stylesheet
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-primary: #333;
  --text-secondary: #666;
  --border-color: #e0e0e0;
  --color-primary: #2d2d2d;
  --color-accent: #74a8ee;
  --color-coral: #1972eb;
  --color-dark: #000000;
  --color-light: #ffffff;
  --card-bg: #ffffff;
  --card-shadow: rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0f1729;
    --bg-secondary: #000000;
    --text-primary: #e4e4e7;
    --text-secondary: #a1a1aa;
    --border-color: #2d3748;
    --color-primary: #efefef;
    --color-accent: #74a8ee;
    --color-coral: #1972eb;
    --color-dark: #000000;
    --color-light: #ffffff;
    --card-bg: var(--bg-primary);
    --card-shadow: rgba(0, 0, 0, 0.4);
  }

  .orca-icon {
    filter: none;
  }
}

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

/* --- Base --- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin-bottom: 15px;
  color: var(--text-primary);
}

h1 {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

h2 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 15px;
}

h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 30px;
  margin-bottom: 12px;
}

ul, ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

li {
  margin-bottom: 10px;
  color: var(--text-primary);
}

strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header & Nav --- */
header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Logo --- */
.logo {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  text-transform: uppercase;
  gap: 12px;
  text-decoration: none;
}

.orca-icon {
  height: 100px;
  width: auto;
  flex-shrink: 0;
}

@media (prefers-color-scheme: light) {
  .orca-icon {
    filter: invert(1);
  }
}

.beta-badge {
  display: inline-block;
  background: var(--color-coral);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* --- Nav Buttons --- */
.nav-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-button {
  padding: 10px 24px;
  border-radius: 9999px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-size: 14px;
}

.nav-button.login {
  color: var(--color-light);
  background: var(--color-dark);
}

.nav-button.login:hover {
  background: var(--color-accent);
  color: white;
}

.nav-button.signup {
  background: var(--color-coral);
  color: white;
}

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

/* --- Footer --- */
footer {
  padding: 40px 0;
  background: var(--bg-secondary);
  text-align: center;
  color: var(--text-secondary);
}

footer p {
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.footer-links a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-coral);
  text-decoration: none;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    gap: 15px;
  }

  .nav-buttons {
    width: 100%;
    justify-content: center;
  }

  .nav-button {
    padding: 8px 20px;
    font-size: 13px;
  }
}
