/* ═══════════════════════════════════════════════════════════════════
   Novus Tec Content Manager — Landing Page Styles
   Brand: Navy Premium + Champagner Gold
   ═══════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/Inter-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Inter-Bold.woff2') format('woff2');
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --navy: #0C1220;
  --soft-navy: #141E30;
  --card-bg: #1A2540;
  --gold: #C9A84C;
  --gold-hover: #D4B85E;
  --cream: #E8E4DF;
  --slate: #64748B;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Base ──────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 18, 32, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  padding: 16px 0;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
}
.nav-brand span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--slate);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cream); }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  font-size: 18px;
  color: var(--slate);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}
.hero-cta:hover {
  background: var(--gold-hover);
  color: var(--navy);
  transform: translateY(-1px);
}

/* ── Section Base ──────────────────────────────────────────────── */
section { padding: 80px 0; }
.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--slate);
  max-width: 560px;
}

/* ── Features ──────────────────────────────────────────────────── */
.features { background: var(--soft-navy); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s;
}
.feature-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

/* ── How It Works ──────────────────────────────────────────────── */
.how-it-works { text-align: center; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.step-number {
  width: 48px;
  height: 48px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 16px;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

/* ── Platforms ──────────────────────────────────────────────────── */
.platforms { background: var(--soft-navy); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.platform-card {
  background: var(--card-bg);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}
.platform-card .icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.platform-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.platform-card p {
  font-size: 13px;
  color: var(--slate);
}

/* ── Pricing Teaser ────────────────────────────────────────────── */
.pricing { text-align: center; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-card {
  background: var(--soft-navy);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 12px;
  padding: 36px 28px;
}
.pricing-card.featured {
  border-color: var(--gold);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
}
.pricing-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.pricing-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--slate);
}
.pricing-features {
  list-style: none;
  margin-top: 20px;
  text-align: left;
}
.pricing-features li {
  font-size: 14px;
  color: var(--slate);
  padding: 6px 0;
  border-bottom: 1px solid rgba(100, 116, 139, 0.15);
}
.pricing-features li::before {
  content: '\2713';
  color: var(--gold);
  margin-right: 8px;
  font-weight: 700;
}
.coming-soon {
  display: inline-block;
  margin-top: 40px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
}

/* ── Waitlist ──────────────────────────────────────────────────── */
.waitlist {
  background: var(--soft-navy);
  text-align: center;
}
.waitlist-form {
  max-width: 480px;
  margin: 32px auto 0;
}
.form-group {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.form-group input[type="email"] {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--cream);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input[type="email"]:focus {
  border-color: var(--gold);
}
.form-group input[type="email"]::placeholder {
  color: var(--slate);
}
.form-group button {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.form-group button:hover {
  background: var(--gold-hover);
}
.form-group button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
  text-align: left;
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--gold);
}
.form-message {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
}
.form-message.success { color: #4ade80; }
.form-message.error { color: #f87171; }

/* ── Honeypot (invisible to humans) ────────────────────────────── */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding: 40px 0;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  color: var(--slate);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cream); }
.footer-copy {
  font-size: 13px;
  color: var(--slate);
}

/* ── Auth Pages ────────────────────────────────────────────────── */
.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 80px 24px 40px;
}
.auth-card {
  background: var(--soft-navy);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
}
.auth-card h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}
.auth-subtitle {
  color: var(--slate);
  font-size: 14px;
  margin-bottom: 28px;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--cream);
}
.field input[type="email"],
.field input[type="password"],
.field input[type="file"],
.field textarea {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--cream);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--slate);
}
.field-hint {
  font-size: 12px;
  color: var(--slate);
  margin-top: 4px;
  display: block;
}
.btn-primary {
  display: inline-block;
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
  text-decoration: none;
  margin-top: 8px;
}
.btn-primary:hover { background: var(--gold-hover); color: var(--navy); }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-secondary:hover { background: rgba(201, 168, 76, 0.1); color: var(--gold); }
.btn-large { width: auto; padding: 16px 32px; font-size: 16px; }
.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--slate);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 600 !important;
}
.nav-logout {
  background: none;
  border: none;
  color: var(--slate);
  font-family: var(--font);
  font-size: 14px;
  cursor: pointer;
}
.nav-logout:hover { color: var(--cream); }

/* ── Alerts ────────────────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #f87171;
}
.alert-success {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
}

/* ── Dashboard ─────────────────────────────────────────────────── */
.dashboard {
  padding: 100px 0 60px;
}
.dashboard h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}
.dash-welcome {
  color: var(--slate);
  font-size: 14px;
  margin-bottom: 32px;
}
.dash-section {
  margin-bottom: 32px;
}
.dash-section h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--gold);
}
.account-card {
  background: var(--soft-navy);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.account-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.account-icon { font-size: 32px; }
.account-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}
.account-status {
  font-size: 13px;
  font-weight: 500;
}
.account-status.connected { color: #4ade80; }
.account-status.disconnected { color: var(--slate); }
.account-meta {
  font-size: 12px;
  color: var(--slate);
  margin-top: 2px;
}
.empty-state {
  color: var(--slate);
  font-size: 14px;
  padding: 24px;
  text-align: center;
  background: var(--soft-navy);
  border-radius: 12px;
}
.posts-table {
  width: 100%;
  border-collapse: collapse;
}
.posts-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate);
  padding: 8px 12px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}
.posts-table td {
  padding: 12px;
  font-size: 14px;
  border-bottom: 1px solid rgba(100, 116, 139, 0.1);
}
.status-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.status-published { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.status-pending { background: rgba(201, 168, 76, 0.15); color: var(--gold); }
.status-failed { background: rgba(248, 113, 113, 0.15); color: #f87171; }
.status-uploading { background: rgba(96, 165, 250, 0.15); color: #60a5fa; }
.error-hint { cursor: help; margin-left: 4px; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 120px 0 60px; }
  .form-group { flex-direction: column; }
  section { padding: 60px 0; }
  .footer .container { flex-direction: column; text-align: center; }
}

/* ── Legal Pages ───────────────────────────────────────────────── */
.legal {
  padding: 120px 0 60px;
  max-width: 720px;
  margin: 0 auto;
}
.legal h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}
.legal .last-updated {
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--gold);
}
.legal p, .legal li {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal ul {
  padding-left: 20px;
}
.legal a {
  color: var(--gold);
}
