/* TeamCRM marketing + giriş — public/index.html (#publicMarketing) */
:root {
  --lp-bg: #0b0f14;
  --lp-surface: #141b26;
  --lp-border: #2a3548;
  --lp-text: #f1f5f9;
  --lp-muted: #94a3b8;
  --lp-primary: #3b82f6;
  --lp-accent: #14b8a6;
  --lp-warm: #ffb347;
  --lp-danger: #f87171;
}

body.entry-marketing {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--lp-text);
  background: var(--lp-bg);
  line-height: 1.55;
}

body.entry-marketing .tpa-header {
  display: none !important;
}

body.entry-marketing #publicMarketing a:not(.lp-btn) {
  color: var(--lp-accent);
}
body.entry-marketing #publicMarketing a:not(.lp-btn):hover {
  color: #5eead4;
}

body.entry-overlay-auth {
  background: #f3f4f6;
}
body.entry-overlay-auth #publicMarketing,
body.entry-overlay-auth #entryPublicHeader {
  display: none !important;
}

.lp-hero-login .login-card {
  width: 100%;
  max-width: 400px;
  margin: 0;
  border-color: var(--lp-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.lp-hero-login .login-card h2 {
  color: #111827;
}

.lp-hero-login .subtitle-inline {
  color: #6b7280;
}

.lp-hero-login-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lp-accent);
  margin: 0 0 0.5rem;
}

#publicMarketing.hidden {
  display: none !important;
}

#entryPublicHeader.hidden {
  display: none !important;
}

.lp-wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--lp-border);
}

.lp-logo {
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--lp-text);
}
.lp-logo .team { color: #8b5cf6; }
.lp-logo .crm { color: var(--lp-warm); }

.lp-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
}
.lp-nav-links a {
  color: var(--lp-muted);
  text-decoration: none;
}
.lp-nav-links a:hover { color: var(--lp-text); }

.lp-nav-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.lp-btn--whatsapp {
  background: #25d366;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.lp-btn--whatsapp:hover {
  background: #20bd5a;
  color: #fff;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.lp-btn--ghost {
  background: transparent;
  border-color: var(--lp-border);
  color: var(--lp-text);
}
.lp-btn--ghost:hover { border-color: var(--lp-muted); }
.lp-btn--primary {
  background: var(--lp-primary);
  color: #fff;
}
.lp-btn--primary:hover { background: #2563eb; }
.lp-btn--accent {
  background: var(--lp-accent);
  color: #042f2e;
}
.lp-btn--accent:hover { background: #2dd4bf; }

.lp-hero {
  padding: 4rem 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .lp-hero { grid-template-columns: 1fr; }
  .lp-nav-links { display: none; }
}

.lp-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-accent);
  margin: 0 0 0.75rem;
}

.lp-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 700;
}
.lp-hero h1 em {
  font-style: normal;
  color: var(--lp-accent);
}

.lp-lead {
  font-size: 1.05rem;
  color: var(--lp-muted);
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.lp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.lp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--lp-muted);
}
.lp-trust span::before {
  content: "✓ ";
  color: var(--lp-accent);
}

.lp-hero-visual {
  background: linear-gradient(145deg, #1a2332 0%, #0f172a 100%);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.lp-mini-ui {
  font-size: 0.75rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--lp-border);
  background: #0f172a;
}
.lp-mini-ui__bar {
  padding: 0.5rem 0.75rem;
  background: #1e293b;
  border-bottom: 1px solid var(--lp-border);
  display: flex;
  gap: 0.35rem;
}
.lp-mini-ui__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #475569;
}
.lp-mini-ui__body { padding: 0.85rem; }
.lp-mini-ui__title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--lp-text);
}
.lp-mini-ui__row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.4rem 0;
  border-bottom: 1px solid #1e293b;
  color: var(--lp-muted);
}
.lp-mini-ui__row:last-child { border-bottom: 0; }
.lp-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(20, 184, 166, 0.2);
  color: var(--lp-accent);
}
.lp-badge--lock {
  background: rgba(248, 113, 113, 0.15);
  color: var(--lp-danger);
}

.lp-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--lp-border);
}
.lp-section--alt { background: var(--lp-surface); }
.lp-section h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 0.5rem;
}
.lp-section-intro {
  color: var(--lp-muted);
  max-width: 42rem;
  margin: 0 0 2rem;
}

.lp-problems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.lp-problem-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 1.25rem;
}
.lp-problem-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #fca5a5;
}
.lp-problem-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--lp-muted);
}

.lp-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
@media (max-width: 800px) {
  .lp-flow { grid-template-columns: 1fr; }
}
.lp-flow-step {
  position: relative;
  background: #0f172a;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 1rem;
  animation: lp-fade-up 0.6s ease both;
}
.lp-flow-step:nth-child(1) { animation-delay: 0.05s; }
.lp-flow-step:nth-child(2) { animation-delay: 0.15s; }
.lp-flow-step:nth-child(3) { animation-delay: 0.25s; }
.lp-flow-step:nth-child(4) { animation-delay: 0.35s; }
@keyframes lp-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .lp-flow-step { animation: none; }
}
.lp-flow-num {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lp-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.lp-flow-step h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}
.lp-flow-step p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--lp-muted);
}

.lp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.lp-feature {
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 1.35rem;
  background: var(--lp-bg);
}
.lp-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}
.lp-feature p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--lp-muted);
}
.lp-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
}
.lp-status--live {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}
.lp-status--roadmap {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.lp-mcp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 800px) {
  .lp-mcp { grid-template-columns: 1fr; }
}
.lp-code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.78rem;
  background: #0f172a;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  padding: 1rem;
  overflow-x: auto;
  color: #cbd5e1;
  line-height: 1.5;
}

.lp-seo-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--lp-muted);
  font-size: 0.92rem;
}
.lp-seo-list li { margin-bottom: 0.5rem; }

.lp-contact-section {
  padding-bottom: 2rem;
}

.lp-contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .lp-contact {
    grid-template-columns: 1fr;
  }
}

.lp-contact-details {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  font-size: 0.92rem;
  color: var(--lp-muted);
}
.lp-contact-details strong {
  color: var(--lp-text);
  display: block;
  margin-bottom: 0.25rem;
}
.lp-contact-details a {
  color: var(--lp-accent);
}

.lp-contact-login-hint {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--lp-muted);
}

.lp-demo-form-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
}

.lp-demo-form-title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.lp-demo-form-lead {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--lp-muted);
}

.lp-demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.lp-demo-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--lp-muted);
}
.lp-demo-field--full {
  grid-column: 1 / -1;
}

.lp-demo-field input,
.lp-demo-field select,
.lp-demo-field textarea {
  height: auto;
  min-height: 42px;
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  background: #0f172a;
  color: var(--lp-text);
  font-size: 0.9rem;
  width: 100%;
}
.lp-demo-field textarea {
  min-height: 96px;
  resize: vertical;
}

.lp-required {
  color: var(--lp-danger);
}

.lp-demo-submit {
  grid-column: 1 / -1;
  width: 100%;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.75rem;
  margin-top: 0.25rem;
}

.lp-demo-form-hint {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.82rem;
}

.lp-footer-site {
  margin-top: 0;
  border-top: 1px solid var(--lp-border);
}

.lp-footer-main {
  background: var(--lp-bg);
  color: var(--lp-muted);
  padding: 3.5rem 0 2.5rem;
}

.lp-footer-columns {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem 2.5rem;
}
@media (max-width: 900px) {
  .lp-footer-columns {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .lp-footer-columns {
    grid-template-columns: 1fr;
  }
}

.lp-footer-logo {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.lp-footer-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--lp-muted);
  max-width: 22rem;
}

.lp-footer-col-title {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lp-text);
}

.lp-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.lp-footer-links a {
  color: var(--lp-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}
.lp-footer-links a:hover {
  color: var(--lp-text);
}

.lp-footer-bar {
  background: var(--lp-surface);
  border-top: 1px solid var(--lp-border);
  padding: 0.85rem 0;
}

.lp-footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.lp-footer-copyright {
  margin: 0;
  font-size: 0.75rem;
  color: var(--lp-muted);
}

.lp-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  font-size: 0.75rem;
}

.lp-footer-legal a {
  color: var(--lp-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.lp-footer-legal a:hover {
  color: var(--lp-accent);
}

.lp-footer-legal-sep {
  color: var(--lp-border);
  user-select: none;
}
