/* =========================================================
   SimpleFLO & NL Labs Shared Stylesheet — v1.2
   Dark-friendly, minimal, fully responsive
   ========================================================= */

/* ---------- Root Variables ---------- */
:root {
  --bg: #0f172a;            /* dark slate */
  --bg-card: #1e293b;       /* softer dark */
  --text: #e2e8f0;          /* light gray */
  --accent: #14b8a6;        /* teal */
  --accent-hover: #0d9488;
  --danger: #dc2626;
  --success: #16a34a;
  --border: #334155;
  --radius: 10px;
  --transition: 0.2s ease;
  font-family: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Utility Spacing ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
}
.btn:hover { background: var(--accent-hover); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* ---------- Navigation ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}
.nav-logo img {
  height: 34px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }

/* ---------- Hero Section ---------- */
.hero {
  text-align: center;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  padding: 6rem 1.5rem 5rem;
}
.hero-logo {
  width: 160px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 1.9rem;
  max-width: 720px;
  margin: 0 auto 1rem;
  color: #fff;
  line-height: 1.3;
}
.hero .tagline {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-note {
  max-width: 650px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  color: #cbd5e1;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Step Cards / Features ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.step-card h3 {
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.step-card.highlight {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(34,211,238,0.25);
}

/* ---------- Founding Section ---------- */
.founding {
  background: #0f172a;
  text-align: center;
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.founding-inner {
  max-width: 800px;
  margin: 0 auto;
}
.founding h2 {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.founding p {
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}
.founding .btn {
  background: var(--accent);
  color: #0f172a;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Community Section ---------- */
.community {
  background: #111827;
  text-align: center;
  padding: 4rem 1.5rem;
}
.community-inner {
  max-width: 750px;
  margin: 0 auto;
}
.community h2 {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.community p {
  color: #e2e8f0;
  line-height: 1.6;
}
.community a {
  color: var(--accent);
  text-decoration: underline;
}
.community a:hover { color: var(--accent-hover); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 30px 20px;
  color: #94a3b8;
}
.site-footer a {
  color: var(--accent);
  text-decoration: none;
}
.site-footer a:hover { color: var(--accent-hover); }
.site-footer .sm {
  font-size: 0.9rem;
  margin-top: 6px;
}

/* ---------- Forms (Contact & Auth shared) ---------- */
form { text-align: left; }
label {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
  color: #cbd5e1;
}
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  background: #0f172a;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin-bottom: 12px;
  transition: border var(--transition);
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
}
textarea {
  resize: vertical;
  min-height: 100px;
}

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 900px) {
  .hero h1 { font-size: 1.6rem; }
}
@media (max-width: 600px) {
  .hero { padding: 4rem 1rem 3rem; }
  .hero h1 { font-size: 1.4rem; }
  .hero .tagline { font-size: 1rem; }
  .step-card { text-align: left; }
}
/* ---------- Navigation Responsive Fix ---------- */

/* Desktop & Tablet default (inline) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Make "Join Beta" break below other links on mobile */
@media (max-width: 700px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
  }

  .nav-links .btn.join-beta {
    margin-top: 5px;
    align-self: stretch;
    text-align: center;
    width: 100%;
  }
}
/* ---------- Features Section (v2 Unified Style) ---------- */
.features {
  background: var(--bg);
  padding: 80px 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.feature-card h2 {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
}

/* =========================================================
   Auth & Form Page Layouts
   ========================================================= */
.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: var(--bg);
  padding: 60px 20px;
}

.auth-wrap {
  width: 100%;
  max-width: 480px;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  padding: 40px 30px 50px;
  text-align: left;
}
.auth-card img {
	max-width: -webkit-fill-available;
}
.auth-card h1 {
  text-align: center;
  color: var(--accent);
  margin-bottom: 10px;
}

.auth-card p {
  text-align: center;
  color: #cbd5e1;
  margin-bottom: 24px;
  line-height: 1.6;
}

.auth-card form {
  margin-top: 10px;
}

.auth-card .btn {
  width: 100%;
  margin-top: 18px;
}

@media (max-width: 600px) {
  .auth-card {
    padding: 30px 20px 40px;
    margin: 0 10px;
  }
}


/* =========================================================
   Contact Page Styles
   ========================================================= */

.contact-section {
  max-width: 640px;
  margin: 60px auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px 30px 50px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.contact-section h1 {
  text-align: center;
  color: var(--accent);
  margin-bottom: 10px;
}

.contact-section p {
  text-align: center;
  color: #cbd5e1;
  margin-bottom: 24px;
  line-height: 1.6;
}

.contact-section form {
  margin-top: 10px;
}

.contact-section button {
  display: block;
  width: 100%;
  margin-top: 20px;
  font-weight: 600;
}

main {
  padding-bottom: 80px; /* breathing room above footer */
}

@media (max-width: 600px) {
  .contact-section {
    margin: 40px 15px;
    padding: 30px 20px 40px;
  }
}
.password-wrap { position: relative; }
    .toggle-pass {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      font-size: 0.9rem;
      color: #555;
    }
    .tos-box {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 10px;
      font-size: 0.9rem;
    }
    .strength {
      font-size: 0.85rem;
      margin-top: 4px;
    }