/* Landing page ( / and /login when signed out ). Loaded after app.css and site.css. */

/* ── Split layout: sales column + sign-in card ── */
.hero-split {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: stretch;
  min-height: calc(100vh - 56px);
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .login-col { order: -1; }
}

/* ── Sales column ── */
.sales-col {
  padding: 3.5rem 3rem 3rem;
  position: relative;
  overflow: hidden;
}
.sales-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(67,97,238,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(0,180,120,.10) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 10%, rgba(120,60,220,.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.sales-col > * { position: relative; z-index: 1; }
@media (max-width: 600px) { .sales-col { padding: 2.25rem 1.25rem 2.5rem; } }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(67,97,238,.15);
  border: 1px solid rgba(67,97,238,.35);
  color: #93b4ff;
  border-radius: 100px;
  padding: .3rem .85rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.kicker .dot {
  width: 6px; height: 6px;
  background: #4361ee;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .4; transform: scale(.7); }
}

.hero-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  color: #fff;
  margin: 0 0 1.1rem;
  letter-spacing: -.02em;
}
.hero-headline em {
  font-style: italic;
  background: linear-gradient(135deg, #7eb3ff 0%, #4361ee 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: #94a3b8;
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 540px;
  margin: 0 0 2rem;
  line-height: 1.65;
}

/* ── Locations ── */
.location-strip {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.loc-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: .5rem .9rem;
  color: #cbd5e1;
  font-size: .85rem;
  font-weight: 500;
}
.loc-badge .flag { font-size: 1.25rem; line-height: 1; }
.loc-badge .city { font-size: .72rem; color: #64748b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.loc-sep { color: #2a3a50; font-size: 1.2rem; font-weight: 300; }
.one-price-tag {
  background: linear-gradient(135deg, rgba(67,97,238,.2), rgba(0,180,120,.15));
  border: 1px solid rgba(67,97,238,.3);
  border-radius: 8px;
  padding: .45rem .9rem;
  font-size: .8rem;
  color: #7eb3ff;
  font-weight: 500;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }
.feat-card {
  background: rgba(17,24,39,.7);
  border: 1px solid #1f2d42;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  transition: border-color .2s, background .2s;
}
.feat-card:hover { border-color: rgba(67,97,238,.4); background: rgba(26,34,53,.9); }
.feat-card.wide { grid-column: 1 / -1; }
.feat-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: .65rem;
}
.feat-icon.blue   { background: rgba(67,97,238,.2);  color: #7eb3ff; }
.feat-icon.green  { background: rgba(0,180,120,.15); color: #34d399; }
.feat-icon.purple { background: rgba(139,92,246,.2); color: #c4b5fd; }
.feat-icon.amber  { background: rgba(251,191,36,.15); color: #fbbf24; }
.feat-icon.rose   { background: rgba(244,63,94,.15); color: #fb7185; }
.feat-icon.cyan   { background: rgba(6,182,212,.15); color: #22d3ee; }
.feat-icon.orange { background: rgba(247,130,8,.15); color: #fb923c; }
.feat-card h6 { color: #e2e8f0; font-size: .85rem; font-weight: 600; margin: 0 0 .25rem; }
.feat-card p { color: #8796a8; font-size: .78rem; margin: 0; line-height: 1.5; }
.feat-card a.inline-link { color: #60a5fa; }

/* ── Tech pills ── */
.tech-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.tech-pill {
  background: rgba(255,255,255,.04);
  border: 1px solid #263347;
  border-radius: 100px;
  padding: .3rem .8rem;
  font-size: .73rem;
  color: #94a3b8;
  font-family: ui-monospace, 'Cascadia Code', Menlo, monospace;
  white-space: nowrap;
}
.tech-pill strong { color: #cbd5e1; }

/* ── CTA ── */
.cta-strip { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #4361ee;
  color: #fff;
  border-radius: 8px;
  padding: .7rem 1.5rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, transform .1s;
}
.btn-cta-primary:hover { background: #3451d1; color: #fff; transform: translateY(-1px); text-decoration: none; }
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #94a3b8;
  font-size: .85rem;
  text-decoration: none;
  transition: color .15s;
}
.btn-cta-secondary:hover { color: #e2e8f0; text-decoration: none; }

/* ── Stats ── */
.social-strip {
  display: flex;
  gap: 1.5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #1a2235;
  flex-wrap: wrap;
}
.social-stat .val { font-size: 1.4rem; color: #fff; font-family: 'DM Serif Display', Georgia, serif; }
.social-stat .lbl { font-size: .72rem; color: #64748b; margin-top: -.1rem; }

/* ── Sign-in column ── */
.login-col {
  background: #0d1220;
  border-left: 1px solid #1f2d42;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2rem;
  position: sticky;
  top: 56px;                       /* height of .site-topbar */
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}
@media (max-width: 900px) {
  .login-col { position: static; max-height: none; border-left: none; border-bottom: 1px solid #1f2d42; padding: 2rem 1.25rem; }
  .login-col > * { width: 100%; max-width: 420px; margin-left: auto; margin-right: auto; }
}
.login-col-logo { text-align: center; margin-bottom: 1.5rem; }
.login-col-logo img { display: inline-block; filter: drop-shadow(0 6px 18px rgba(59,130,246,.35)); }
.login-col-logo h2 { color: #fff; font-size: 1rem; font-weight: 600; margin: .5rem 0 .1rem; }
.login-col-logo small { color: #64748b; font-size: .78rem; }

.login-card {
  background: #111827;
  border: 1px solid #1f2d42;
  border-radius: 12px;
  padding: 1.5rem;
}
.login-card label { margin-top: 0; }
.login-card label + input, .login-card .pw-field { margin-bottom: .9rem; }
.login-card input[type=text], .login-card input[type=password] { background: #0a0d14; border-color: #1f2d42; font-size: .9rem; }
.login-card .alert { font-size: .85rem; padding: .6rem .8rem; }
.login-card .alert-sub { margin-top: .3rem; }
.login-card .alert-sub a { color: #fcd34d; font-weight: 600; }

.pw-field { position: relative; }
.pw-field input { padding-right: 2.6rem; }
.pw-eye {
  position: absolute;
  top: 50%; right: .35rem;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: #64748b;
  padding: .3rem .45rem;
  cursor: pointer;
  border-radius: 5px;
}
.pw-eye:hover, .pw-eye:focus-visible { color: #e2e8f0; }

.btn.block { width: 100%; justify-content: center; padding: .6rem 1rem; font-weight: 600; }
.btn.block.mt { margin-top: .25rem; }
.login-forgot { text-align: center; margin-top: .9rem; font-size: .8rem; }
.login-forgot a { color: #8796a8; }
.login-forgot a:hover { color: #e2e8f0; text-decoration: none; }

.login-aside { text-align: center; font-size: .78rem; color: #64748b; margin: 1rem 0 0; }
.login-aside a { color: #4361ee; }
.login-aside.dim { margin-top: .4rem; font-size: .74rem; }
.login-aside.dim a { color: #8796a8; }

/* ── Entrance animation ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-1 { animation: fade-up .55s ease both; }
.anim-2 { animation: fade-up .55s .1s ease both; }
.anim-3 { animation: fade-up .55s .2s ease both; }
.anim-4 { animation: fade-up .55s .3s ease both; }
.anim-5 { animation: fade-up .55s .4s ease both; }
.anim-6 { animation: fade-up .55s .5s ease both; }
@media (prefers-reduced-motion: reduce) {
  .anim-1, .anim-2, .anim-3, .anim-4, .anim-5, .anim-6, .kicker .dot { animation: none; }
}
