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

:root {
  --bg: #1C1F2E;
  --bg-surface: #252838;
  --fg: #FFFFFF;
  --fg-muted: rgba(255,255,255,0.55);
  --accent: #F5A623;
  --accent-dim: rgba(245, 166, 35, 0.15);
  --border: rgba(255,255,255,0.10);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-brand { display: flex; align-items: center; gap: 10px; }

.brand-mark {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: inline-block;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }

.brand-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-login {
  background: var(--accent);
  color: #1C1F2E;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0;
  transition: opacity 0.15s;
}

.btn-login:hover { opacity: 0.85; }

.btn-login-outline {
  background: transparent;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid var(--border);
  text-decoration: none;
  letter-spacing: 0;
  transition: border-color 0.15s;
}

.btn-login-outline:hover { border-color: rgba(255,255,255,0.30); }

/* HERO */
.hero {
  padding: 100px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,148,26,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { max-width: 880px; }

.hero-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 56px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

.btn-hero-primary {
  background: var(--accent);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.15s;
  display: inline-block;
}

.btn-hero-primary:hover { opacity: 0.85; }

.btn-hero-ghost {
  color: rgba(255,255,255,0.55);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s;
}

.btn-hero-ghost:hover { color: var(--fg); }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 600px;
}

.metric-card {
  background: var(--bg-surface);
  padding: 28px 24px;
}

.metric-value {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.metric-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* SECTION SHARED */
.section-header {
  margin-bottom: 56px;
}

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 600px;
}

/* FEATURES */
.features {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
}

.features-inner { max-width: 1100px; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg-surface);
  padding: 36px 32px;
}

.feature-icon {
  width: 28px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ACTIVITY FEED */
.activity {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

.activity-inner { max-width: 900px; }

.feed { display: flex; flex-direction: column; gap: 0; }

.feed-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.feed-item:last-child { border-bottom: none; }

.feed-time {
  font-size: 12px;
  color: var(--fg-muted);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding-top: 3px;
}

.feed-action {
  font-size: 15px;
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: 6px;
}

.feed-status {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
}

.feed-status.done {
  background: rgba(39, 174, 96, 0.15);
  color: #6fcf97;
}

.feed-status.warning {
  background: rgba(232, 148, 26, 0.15);
  color: var(--accent);
}

.feed-status.neutral {
  background: rgba(242, 237, 228, 0.08);
  color: var(--fg-muted);
}

/* MANIFESTO */
.manifesto {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}

.manifesto-inner { max-width: 800px; }

.manifesto-text {
  font-size: 20px;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 28px;
}

.manifesto-text:last-child { margin-bottom: 0; }

.manifesto-accent {
  color: var(--fg);
  font-size: 21px;
}

/* CLOSING */
.closing {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}

.closing-inner { max-width: 800px; }

.closing-line {
  width: 48px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 40px;
}

.closing-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 56px;
}

.closing-tag {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.closing-pricing {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.pricing-tag {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.pricing-note {
  font-size: 14px;
  color: var(--fg-muted);
}

/* FOOTER */
.footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ========== LANDING PAGE (redesign) ========== */

/* HERO */
.lp-hero {
  padding: 80px 48px 64px;
  text-align: center;
}

.lp-hero-inner { max-width: 680px; margin: 0 auto; }

.lp-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 20px;
}

.lp-sub {
  font-size: 20px;
  color: var(--fg-muted);
  line-height: 1.55;
  max-width: 480px;
  margin: 0 auto 40px;
}

.lp-cta {
  display: inline-block;
  background: var(--accent);
  color: #1C1F2E;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0;
  transition: opacity 0.15s;
  margin-bottom: 12px;
}
.lp-cta:hover { opacity: 0.85; }

.lp-cta--secondary {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid var(--border);
}
.lp-cta--secondary:hover { border-color: rgba(255,255,255,0.30); opacity: 1; }

.lp-hero-note {
  font-size: 13px;
  color: var(--fg-muted);
}

/* FEATURES */
.lp-features {
  padding: 0 48px 80px;
  border-top: 1px solid var(--border);
}

.lp-features-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

.lp-card {
  background: var(--bg-surface);
  padding: 36px 32px;
}

.lp-card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.lp-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 10px;
}

.lp-card-body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* PRICING CTA */
.lp-pricing {
  padding: 64px 48px 80px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.lp-pricing-inner { max-width: 480px; margin: 0 auto; }

.lp-pricing-tag {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 12px;
}

.lp-pricing-sub {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.lp-pricing-note {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 16px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 64px 24px 56px; }
  .hero-sub { font-size: 17px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .features { padding: 56px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .activity { padding: 56px 24px; }
  .feed-item { grid-template-columns: 1fr; gap: 8px; }
  .manifesto { padding: 64px 24px; }
  .manifesto-text { font-size: 17px; }
  .closing { padding: 64px 24px; }
  .closing-title { font-size: 30px; }
  .footer { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 8px; align-items: flex-start; }

  /* Landing page mobile */
  .lp-hero { padding: 60px 24px 48px; }
  .lp-headline { font-size: 38px; }
  .lp-sub { font-size: 17px; }
  .lp-features { padding: 0 24px 48px; }
  .lp-features-inner { grid-template-columns: 1fr; }
  .lp-pricing { padding: 48px 24px 64px; }
  .lp-pricing-tag { font-size: 32px; }
}

@media (max-width: 480px) {
  .nav-tagline { display: none; }
}

/* SIGNUP / AUTH PAGES */
.signup-page {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.signup-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  width: 100%;
  max-width: 440px;
}

.signup-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}

.signup-brand .brand-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.signup-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  width: 100%;
}

.signup-title {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.signup-subtitle {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 28px;
}

.signup-form .form-group { margin-bottom: 16px; }

.signup-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 6px;
}

.signup-form input,
.signup-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(0,0,0,0.30);
  color: #FFFFFF;
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 15px;
  transition: border-color 0.15s;
}

.signup-form input:focus,
.signup-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.signup-form input::placeholder { color: rgba(255,255,255,0.45); }

.signup-form select { cursor: pointer; }

.signup-btn {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #0A0A0B;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.15s;
}

.signup-btn:hover { opacity: 0.85; }
.signup-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.signup-disclaimer {
  font-size: 12px;
  color: var(--fg-muted);
  text-align: center;
  margin-top: 12px;
}

.signup-success {
  text-align: center;
  padding: 8px 0;
}

.success-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.signup-success h2 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

.signup-success p {
  font-size: 15px;
  color: var(--fg-muted);
}

.signup-error {
  color: #f87171;
  font-size: 13px;
  padding: 10px;
  background: rgba(248,113,113,0.1);
  border-radius: 8px;
  margin-top: 12px;
}

.signup-alt-link {
  text-align: center;
  margin-top: 20px;
}

.signup-alt-link a {
  color: var(--fg-muted);
  font-size: 13px;
  transition: color 0.15s;
}

.signup-alt-link a:hover { color: var(--fg); }

.signup-back {
  margin-top: 24px;
  color: var(--fg-muted);
  font-size: 13px;
  transition: color 0.15s;
}

.signup-back:hover { color: var(--fg); text-decoration: none; }

/* NOISE TEXTURE */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}