/* Leadora — marketing, auth, billing, admin styles.
   Reuses colors/fonts from style.css where possible; add-on only.
   ========================================
   VERSION MARKER: v17-2026-08-16
   If you can see this comment when viewing this file at
   https://leadora.artboardacademy.com/assets/marketing.css
   the correct file is live. If that version marker is missing
   or shows an older date, the upload didn't take — delete the
   file on the server and re-upload this exact one.
   ======================================== */

* { box-sizing: border-box; }
body { margin: 0; font-family: 'Segoe UI', Arial, sans-serif; background: #f7f8fa; color: #222; }

/* ---- Nav ---- */
.marketing-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 40px; background: rgba(255,255,255,0.75); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06); position: relative; z-index: 2;
}
.nav-logo { height: 30px; width: 30px; border-radius: 8px; object-fit: cover; display: block; }
.nav-link { margin-right: 18px; color: #333; text-decoration: none; font-weight: 500; }
.nav-cta { padding: 9px 20px; text-decoration: none; border-radius: 6px; }

/* ---- Landing page background ---- */
.landing-page { margin: 0; background: #fff; position: relative; overflow-x: hidden; }

/* ---- Hero ---- */
.hero { text-align: center; padding: 90px 20px 60px; position: relative; z-index: 1; }
.hero-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: #25D366; margin-bottom: 14px; }
.hero h1 { font-size: 2.6rem; max-width: 760px; margin: 0 auto 14px; color: #12151c; line-height: 1.15; }
.hero p { font-size: 1.1rem; color: #555; margin-bottom: 30px; }
.hero-sub { font-size: 0.85rem; color: #888; margin-top: 10px; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block; background: #25D366; color: #fff; border: none;
  padding: 12px 22px; border-radius: 8px; font-size: 1rem; font-weight: 600;
  cursor: pointer; text-decoration: none; text-align: center;
}
.btn-primary:hover { background: #1ebe57; }
.btn-primary:disabled { background: #ccc; cursor: not-allowed; }
.btn-large { padding: 15px 32px; font-size: 1.1rem; }
.btn-small { padding: 5px 10px; font-size: 0.8rem; border-radius: 5px; border: 1px solid #ccc; background: #fff; cursor: pointer; margin-right: 4px; }
.btn-danger { border-color: #d9534f; color: #d9534f; }

/* ---- Generic landing section ---- */
.landing-section { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 70px 24px; text-align: center; }
.landing-section-alt { background: #F6F8FC; max-width: none; border-radius: 0; }
.landing-section-alt > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.landing-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: #25D366; margin-bottom: 10px; }
.landing-h2 { font-size: 1.9rem; margin: 0 0 8px; color: #12151c; }
.landing-sub { color: #7a8290; font-size: 0.98rem; margin-bottom: 20px; }

/* ---- Feature grid ---- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 40px; text-align: left; }
.feature-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 16px; padding: 26px;
  box-shadow: 0 6px 20px rgba(20,30,60,0.05); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(20,30,60,0.09); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px; background: #E6F5EC;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 14px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: #12151c; }
.feature-card p { margin: 0; font-size: 0.9rem; color: #666; line-height: 1.5; }

/* ---- How it works ---- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; margin-top: 40px; text-align: left; }
.step-card { background: #fff; border-radius: 16px; padding: 28px; border: 1px solid rgba(0,0,0,0.06); }
.step-num {
  width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px;
}
.step-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: #12151c; }
.step-card p { margin: 0; font-size: 0.9rem; color: #666; line-height: 1.5; }

/* ---- FAQ ---- */
.faq-list { max-width: 720px; margin: 36px auto 0; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; padding: 4px 20px; }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: #12151c; font-size: 0.95rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: #25D366; font-weight: 700; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 0 0 16px; color: #666; font-size: 0.9rem; line-height: 1.55; }

/* ---- Pricing (landing page wrapper) ---- */
.pricing { position: relative; z-index: 1; padding: 70px 20px; text-align: center; }
.pricing-note { color: #888; font-size: 0.85rem; margin-top: 24px; }

.marketing-footer { position: relative; z-index: 1; text-align: center; padding: 30px; color: #999; font-size: 0.85rem; }
.marketing-footer a { color: #999; }

/* ---- Auth pages ---- */
.auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; }
.auth-card { background: #fff; border-radius: 12px; padding: 36px; width: 100%; max-width: 400px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.auth-logo { height: 32px; margin-bottom: 18px; }
.auth-greeting { font-size: 0.8rem; color: #888; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.auth-card h1 { font-size: 1.4rem; margin: 0 0 6px; }
.auth-sub { color: #777; font-size: 0.9rem; margin-bottom: 18px; }
.auth-card form { display: flex; flex-direction: column; gap: 4px; }
.auth-card label { font-size: 0.82rem; color: #555; margin-top: 10px; }
.auth-card input { padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 0.95rem; }
.auth-card .btn-primary { margin-top: 18px; }
.auth-foot { text-align: center; font-size: 0.85rem; color: #777; margin-top: 16px; }
.auth-foot a { color: #25D366; text-decoration: none; }

/* ---- Dark split-layout login page ---- */
.login-dark-page {
  margin: 0; min-height: 100vh; background: #0B1220;
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
  padding: 24px;
}
.login-dark-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%);
}
.login-dark-wrap {
  position: relative; z-index: 1; display: flex; gap: 70px; align-items: center;
  max-width: 1040px; width: 100%; flex-wrap: wrap; justify-content: center;
}
.login-dark-left { color: #E6EAF5; max-width: 420px; }
.login-dark-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 40px; }
.login-dark-brand-logo { height: 34px; border-radius: 8px; }
.login-dark-brand-name { font-weight: 700; font-size: 1.1rem; }
.login-dark-brand-sub { font-size: 0.66rem; letter-spacing: 0.06em; color: #7C8AB0; }
.login-dark-welcome { font-family: 'Fraunces', serif; font-size: 2.2rem; margin: 0 0 10px; color: #fff; }
.login-dark-tagline { color: #9AA6C4; font-size: 0.95rem; margin: 0 0 32px; line-height: 1.5; }
.login-dark-feature { display: flex; gap: 14px; margin-bottom: 22px; }
.login-dark-feature-icon {
  width: 38px; height: 38px; border-radius: 10px; background: #1A2440;
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.login-dark-feature-title { font-weight: 600; font-size: 0.92rem; color: #fff; }
.login-dark-feature-desc { font-size: 0.82rem; color: #8D98BB; margin-top: 2px; }

.login-dark-card {
  background: #121A30; border: 1px solid #232E4E; border-radius: 16px;
  padding: 34px 32px; width: 100%; max-width: 360px; box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.login-dark-eyebrow { font-size: 0.7rem; letter-spacing: 0.08em; color: #7C8AB0; margin-bottom: 6px; }
.login-dark-card h2 { color: #fff; font-size: 1.3rem; margin: 0 0 4px; }
.login-dark-card-sub { color: #8D98BB; font-size: 0.85rem; margin: 0 0 22px; }
.login-dark-card label { display: block; color: #C3CADF; font-size: 0.8rem; margin: 14px 0 6px; }
.login-dark-card input {
  width: 100%; box-sizing: border-box; background: #0E1526; border: 1px solid #2A3559;
  border-radius: 8px; padding: 11px 13px; color: #fff; font-size: 0.92rem;
}
.login-dark-card input::placeholder { color: #58628A; }
.login-dark-card input:focus { outline: none; border-color: #4C7EFF; }
.login-dark-password-wrap { position: relative; }
.login-dark-password-wrap input { padding-right: 56px !important; }
.login-dark-password-toggle {
  position: absolute; right: 10px; top: 0; bottom: 0; margin: auto 0 !important;
  height: 20px; display: flex; align-items: center;
  background: transparent !important; border: none !important; box-shadow: none !important;
  padding: 0 !important; color: #7C8AB0; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.04em; cursor: pointer; line-height: 1;
}
.login-dark-password-toggle:hover { color: #fff; background: transparent !important; }
.login-dark-password-toggle:active { transform: none !important; }
.login-dark-submit {
  width: 100%; margin: 22px 0 0; padding: 12px; border: none; border-radius: 8px;
  background: linear-gradient(135deg, #4C7EFF, #2F5FE0); color: #fff; font-weight: 600;
  font-size: 0.95rem; cursor: pointer;
}
.login-dark-submit:hover { background: linear-gradient(135deg, #3D6EF0, #2450C9); }
.login-dark-foot { text-align: center; font-size: 0.82rem; color: #7C8AB0; margin-top: 20px; }
.login-dark-foot a { color: #6FA0FF; text-decoration: none; }
@media (max-width: 860px) { .login-dark-left { text-align: center; } .login-dark-feature { text-align: left; } }

.alert { padding: 10px 14px; border-radius: 6px; font-size: 0.88rem; margin-bottom: 14px; }
.alert-error { background: #fdecea; color: #b71c1c; }
.alert-success { background: #eafaf0; color: #1b7a3d; }
.alert-info { background: #eaf3fb; color: #1a5fa8; }

/* ---- Signup plan picker ---- */
.signup-plan-grid { display: flex; gap: 10px; margin-bottom: 6px; }
.signup-plan-option { flex: 1; cursor: pointer; }
.signup-plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.signup-plan-card {
  border: 2px solid #e5e5e5; border-radius: 10px; padding: 12px 10px;
  text-align: center; transition: border-color 0.15s, background 0.15s;
}
.signup-plan-option input:checked + .signup-plan-card {
  border-color: #25D366; background: #f4fbf6;
}
.signup-plan-name { font-weight: 600; font-size: 0.88rem; }
.signup-plan-price { font-size: 1.1rem; font-weight: 700; margin: 4px 0; }
.signup-plan-price span { font-size: 0.72rem; font-weight: 400; color: #888; }
.signup-plan-feature { font-size: 0.76rem; color: #666; }

/* ---- Billing page (modern standalone design) ---- */
.billing-page { margin: 0; background: #F6F8FC; min-height: 100vh; position: relative; overflow-x: hidden; }

.billing-bg-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; z-index: 0; pointer-events: none; }
.billing-bg-blob-1 { width: 480px; height: 480px; top: -180px; left: -120px; background: #25D366; }
.billing-bg-blob-2 { width: 420px; height: 420px; bottom: -160px; right: -100px; background: #4C7EFF; }

.billing-nav {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px; background: rgba(255,255,255,0.7); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.billing-nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #1a1a1a; }
.billing-logo { height: 30px; width: 30px; border-radius: 8px; object-fit: cover; display: block; }
.billing-back { font-size: 0.85rem; color: #555; text-decoration: none; font-weight: 500; }
.billing-back:hover { color: #25D366; }

.billing-wrap { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: 50px 20px 70px; text-align: center; }
.billing-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: #25D366; margin-bottom: 10px; }
.billing-title { font-size: 2.1rem; margin: 0 0 8px; color: #12151c; }
.billing-subtitle { color: #7a8290; font-size: 0.98rem; margin-bottom: 40px; }

.billing-plan-grid { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.billing-plan-card {
  position: relative; width: 300px; background: #fff; border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 8px 28px rgba(20,30,60,0.06);
  overflow: hidden; text-align: left; transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.billing-plan-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20,30,60,0.1); }
.billing-plan-accent { height: 6px; background: linear-gradient(90deg, #9CA3AF, #C7CBD1); }
.billing-plan-card-pro { border-color: rgba(37,211,102,0.35); }
.billing-plan-card-pro .billing-plan-accent { background: linear-gradient(90deg, #25D366, #128C7E); }
.billing-plan-card-current { border-color: #4C7EFF; }
.billing-plan-body { padding: 30px 28px 28px; }
.billing-plan-body h2 { margin: 0 0 6px; font-size: 1.2rem; color: #12151c; }
.billing-recommended-badge {
  position: absolute; top: 16px; right: 16px; background: #E6F5EC; color: #1b8a5a;
  font-size: 0.68rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.02em;
}
.billing-plan-features { list-style: none; padding: 0; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 11px; }
.billing-plan-features li { display: flex; align-items: center; gap: 9px; font-size: 0.88rem; color: #333; }
.feat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 19px; height: 19px; border-radius: 50%; font-size: 0.68rem; flex-shrink: 0; font-weight: 700;
}
.feat-yes { background: #e6f5ec; color: #1b8a5a; }
.feat-no { background: #fbeceb; color: #c0392b; }
.billing-subscribe-btn {
  width: 100%; padding: 12px; border: none; border-radius: 9px; font-weight: 600; font-size: 0.92rem;
  cursor: pointer; background: #EEF1F6; color: #2b2f38; transition: background 0.15s, color 0.15s;
}
.billing-subscribe-btn:hover { background: #E2E6EE; }
.billing-subscribe-btn-pro { background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; }
.billing-subscribe-btn-pro:hover { background: linear-gradient(135deg, #21bd5b, #0f766a); }
.billing-subscribe-btn:disabled { background: #f0f0f0; color: #aaa; cursor: not-allowed; }

.billing-footnote { margin-top: 36px; color: #8a90a0; font-size: 0.85rem; }
.billing-footnote a { color: #25D366; text-decoration: none; font-weight: 600; }
.billing-wrap .alert { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---- Admin ---- */
.admin-wrap { max-width: 1200px; margin: 0 auto; padding: 30px 20px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.admin-stats { display: flex; gap: 16px; margin-bottom: 24px; }
.stat-box { background: #fff; border-radius: 10px; padding: 18px 24px; border: 1px solid #eee; }
.stat-num { font-size: 1.6rem; font-weight: 700; }
.stat-label { font-size: 0.8rem; color: #888; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; }
.admin-table th, .admin-table td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; font-size: 0.88rem; text-align: left; }
.admin-table th { background: #fafafa; }