:root {
  --bg: #e9f1ec;
  --surface: #ffffff;
  --primary: #ffe04f;
  --primary-dark: #f5c400;
  --text: #1a1d25;
  --muted: #5f6573;
  --border: #dfe8e1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.landing-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #16213c;
  color: #fff;
  font-size: 18px;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo-tagline {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
}

.landing-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.landing-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-btn,
.ghost-btn,
.outline-btn {
  border: none;
  border-radius: 999px;
  font-weight: 600;
  padding: 10px 22px;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.primary-btn {
  background: var(--primary);
  color: var(--text);
  box-shadow: 0 10px 20px rgba(255, 224, 79, 0.4);
}

.primary-btn:hover {
  background: var(--primary-dark);
}

.ghost-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.outline-btn {
  border: 1px solid #cad5ce;
  background: transparent;
  color: var(--text);
  text-align: center;
}

.landing-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  background: linear-gradient(180deg, #f2f6f2 0%, #e9f1ec 60%);
  border-radius: 32px;
  padding: 48px;
  margin-top: 32px;
  border: 1px solid #dfe7df;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-size: 12px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 50px);
  margin: 12px 0;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(18, 42, 32, 0.08);
  border: 1px solid var(--border);
}

.hero-card ul {
  padding-left: 16px;
  margin: 16px 0 0;
  color: var(--muted);
}

.hero-card li {
  margin-bottom: 4px;
}

.card-label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.tabs {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 500;
  background: transparent;
}

.tab.active {
  background: #fff8c8;
  border-color: #fff2a1;
  color: var(--text);
}

.feature-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 36px rgba(12, 34, 20, 0.05);
}

.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff7d6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cta-panel {
  margin-top: 48px;
  padding: 32px;
  border-radius: 28px;
  background: #16213c;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.cta-panel .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}

.cta-panel h2 {
  margin: 8px 0;
}

.cta-panel p {
  margin: 0;
  color: rgba(255,255,255,0.8);
}

.cta-actions {
  display: flex;
  gap: 12px;
}

.cta-panel .primary-btn {
  box-shadow: none;
}

.landing-footer {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 32px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 720px) {
  .landing-nav {
    flex-direction: column;
    gap: 16px;
  }
  .landing-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero {
    padding: 32px;
  }
  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Auth modal styles reused */
.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 14, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.auth-modal.hidden {
  display: none !important;
}

.auth-card {
  background: #fff;
  padding: 32px;
  border-radius: 18px;
  width: min(360px, 90vw);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 24px 70px rgba(18, 17, 49, 0.25);
}

.auth-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #33344a;
}

.auth-card input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #dfe1f5;
  font-family: inherit;
}

.auth-error {
  color: #d7263d;
  font-size: 12px;
  min-height: 16px;
}

.muted {
  color: #6c7289;
  font-size: 14px;
}
