@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #0a0a0b;
  --surface: #111113;
  --card: #16161a;
  --border: #222228;
  --border2: #2e2e38;
  --fg: #f0eff0;
  --muted: #6b6a72;
  --sub: #3a3a44;
  --accent: #e8975a;
  --accent2: #f0b87a;
  --red: #e05a5a;
  --radius: 0.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 3.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.logo {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--fg);
  display: flex;
  align-items: center;
}
.logo-icon {
  height: 18px;
  width: auto;
  margin-right: 10px;
}
.main-nav {
  display: flex;
  gap: 2rem;
}
.main-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.03em;
  transition: color 150ms;
}
.main-nav a:hover {
  color: var(--fg);
}
.nav-mobile-only {
  display: none;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-ghost {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition:
    border-color 150ms,
    color 150ms;
}
.btn-ghost:hover {
  border-color: var(--border2);
  color: var(--fg);
}
.btn-primary {
  padding: 0.4rem 1rem;
  border: 0;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--fg);
  color: var(--bg);
  cursor: pointer;
  transition: opacity 150ms;
}
.btn-primary:hover {
  opacity: 0.88;
}
.nav-toggle {
  display: none;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--muted);
}

section.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2.5rem;
  position: relative;
  overflow: hidden;
}
section.page + section.page {
  border-top: 1px solid var(--border);
}

#home {
  text-align: center;
  gap: 1.5rem;
}

.floating-logos {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fl {
  position: absolute;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border2);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
}
.fl img {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
  filter: grayscale(0.2);
}

h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.2rem;
  max-width: 14em;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  max-width: 32rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.cta-primary {
  padding: 0.65rem 1.4rem;
  border: 0;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--fg);
  color: var(--bg);
  cursor: pointer;
  transition:
    opacity 150ms,
    transform 150ms;
}
.cta-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.cta-secondary {
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition:
    border-color 150ms,
    color 150ms;
}
.cta-secondary:hover {
  color: var(--fg);
  border-color: var(--sub);
}

.provider-strip {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.provider-strip span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.provider-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border2);
  border-radius: 99px;
  background: var(--card);
  font-size: 0.75rem;
  color: var(--muted);
}
.provider-pill img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

#preview {
  padding: 2rem 2.5rem;
  gap: 2rem;
}
.preview-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.preview-frame {
  width: 100%;
  max-width: 72rem;
  border: 1px solid var(--border2);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--card);
  box-shadow:
    0 0 0 1px var(--border),
    0 40px 120px rgba(0, 0, 0, 0.7);
}
.preview-frame img {
  width: 100%;
  height: auto;
}
.preview-placeholder {
  width: 100%;
  height: 38rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sub);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#features {
  gap: 3rem;
}
.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-align: center;
  max-width: 26rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  width: 100%;
  max-width: 60rem;
}
.feature-cell {
  padding: 2rem;
  background: var(--card);
  transition: background 200ms;
}
.feature-cell:hover {
  background: #1a1a20;
}
.f-num {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.feature-cell h3 {
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.feature-cell p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

#modules {
  gap: 3rem;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  width: 100%;
  max-width: 60rem;
}
.mod {
  padding: 1.8rem;
  background: var(--card);
  transition: background 200ms;
  position: relative;
}
.mod:hover {
  background: #1a1a20;
}
.mod-tag {
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2rem;
}
.mod h3 {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.mod p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

#about {
  gap: 3rem;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 60rem;
  width: 100%;
  align-items: center;
}
.about-copy p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: 1rem;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}
.stat {
  padding: 1.5rem;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.stat strong {
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.stat span {
  font-size: 0.78rem;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
}
.site-footer .logo {
  font-size: 0.95rem;
}
.site-footer p {
  font-size: 0.78rem;
  color: var(--muted);
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg);
}
.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(62rem, 100%);
  border: 1px solid var(--border2);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}
.auth-left {
  padding: 3rem 2.5rem;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border);
}
.auth-left-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.auth-left-content {
  padding: 3rem 0 0;
}
.auth-left h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}
.auth-left p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.auth-provider-hints {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 2rem;
}
.provider-hint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 0.8rem;
  color: var(--muted);
}
.provider-hint img {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
}
.provider-hint strong {
  color: var(--fg);
  font-weight: 500;
}

.auth-right {
  padding: 3rem 2.5rem;
  background: var(--card);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-right h2 {
  font-family: "Manrope", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
}
.auth-right > p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.field input,
.field select {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--fg);
  padding: 0.7rem 0.9rem;
  outline: none;
  transition:
    border-color 150ms,
    box-shadow 150ms;
  font-size: 0.9rem;
}
.field input:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 151, 90, 0.12);
}
.auth-submit {
  margin-top: 0.5rem;
  padding: 0.7rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--fg);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 150ms;
}
.auth-submit:hover {
  opacity: 0.88;
}
.auth-switch {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.auth-switch a {
  color: var(--accent);
  font-weight: 600;
}
.form-note {
  min-height: 1.2rem;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  text-align: center;
}
.auth-nav-link {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 150ms;
}
.auth-nav-link:hover {
  color: var(--fg);
}

@media (max-width: 860px) {
  .about-inner {
    grid-template-columns: 1fr;
  }
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .auth-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .auth-provider-hints {
    display: none;
  }
  .module-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .site-header {
    padding: 0 1.2rem;
  }
  .main-nav,
  .header-right {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .site-header.is-open .main-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 3.5rem;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    z-index: 99;
  }
  .nav-mobile-only {
    display: block;
  }
  .nav-mobile-only.signup {
    color: var(--accent);
  }
  .site-header.is-open .main-nav a {
    padding: 0.75rem 1.5rem;
  }
  section.page {
    padding: 4rem 1.2rem;
  }
  h1 {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
  }
  .feature-grid,
  .module-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }
  .site-footer {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem;
  }
  .auth-wrap {
    border-radius: 0.75rem;
  }
  .auth-left,
  .auth-right {
    padding: 2rem 1.5rem;
  }
}
