/* =========================
   weSPACE Landing (LinkedIn/Facebook Style, Premium)
   File: css/landing.css
   ========================= */

:root{
  --bg: #eef3f8;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e5e7eb;

  --blue: #0a66c2;       /* LinkedIn-ish */
  --blueHover: #084f96;
  --green: #22c55e;
  --greenHover: #16a34a;

  --shadow: 0 12px 34px rgba(2,6,23,0.08);
  --radius: 14px;
}

*{ box-sizing: border-box; }

body.landing{
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Premium light background (not too white) */
  background:
    radial-gradient(900px 500px at 18% 10%, rgba(10,102,194,0.10), transparent 60%),
    radial-gradient(900px 500px at 82% 18%, rgba(34,197,94,0.08), transparent 60%),
    linear-gradient(180deg, #eef3f8 0%, #f6f8fb 55%, #eef3f8 100%);
}

/* Top bar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(238,243,248,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229,231,235,0.95);
}

.topbar-inner{
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 10px 22px rgba(10,102,194,0.18);
}

.brandname{
  font-weight: 900;
  letter-spacing: -0.2px;
  font-size: 18px;
  line-height: 1.1;
}

.brandtag{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.top-actions{
  display: flex;
  align-items: center;
  gap: 14px;
}

.link{
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}

.link:hover{ color: var(--text); }

.primarylink{
  color: var(--blue);
}
.primarylink:hover{
  color: var(--blueHover);
}

/* Main shell */
.shell{
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 28px 0 18px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: start;
}

@media (max-width: 920px){
  .shell{
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 18px;
  }
}

/* Left panel */
.left{
  padding: 10px 6px;
}

.headline{
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -1px;
  line-height: 1.1;
  font-weight: 950;
}

.subtext{
  margin: 0 0 18px;
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
}

/* Feature grid (professional) */
.feature-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 720px;
  margin-top: 10px;
}

@media (max-width: 560px){
  .feature-grid{ grid-template-columns: 1fr; }
}

.feature{
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;

  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(229,231,235,0.95);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 8px 18px rgba(2,6,23,0.04);
}

.f-ic{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #f1f5f9;
  border: 1px solid rgba(229,231,235,0.95);
  display: grid;
  place-items: center;
  color: var(--blue);
}

.f-ic svg{
  width: 22px;
  height: 22px;
}

.f-title{
  font-weight: 950;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.f-desc{
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.note{
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-size: 14px;
}

.note .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(34,197,94,0.15);
}

/* Right panel */
.right{
  display: grid;
  gap: 10px;
}

.card{
  background: var(--card);
  border: 1px solid rgba(229,231,235,0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.card-title{
  font-weight: 950;
  font-size: 18px;
}

.card-sub{
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.form{
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.field{
  display: grid;
  gap: 6px;
}

.field span{
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.field input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(229,231,235,0.95);
  outline: none;
  font-size: 14px;
  background: #fff;
}

.field input:focus{
  border-color: rgba(10,102,194,0.45);
  box-shadow: 0 0 0 4px rgba(10,102,194,0.12);
}

/* Buttons */
.btn{
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 950;
  font-size: 14px;
}

.btn.primary{
  background: var(--blue);
  color: #fff;
}
.btn.primary:hover{ background: var(--blueHover); }

.btn.ghost{
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid rgba(229,231,235,0.95);
}
.btn.ghost:hover{ background: #eaf0f7; }

.btn.success{
  background: var(--green);
  color: #fff;
}
.btn.success:hover{ background: var(--greenHover); }

.btn.linkbtn{
  background: transparent;
  color: var(--blue);
  padding: 10px 0;
  font-weight: 900;
}
.btn.linkbtn:hover{
  text-decoration: underline;
}

.divider{
  display: grid;
  place-items: center;
  margin: 2px 0;
}
.divider span{
  font-size: 12px;
  color: var(--muted);
  padding: 0 10px;
  position: relative;
}
.divider span::before,
.divider span::after{
  content:"";
  position:absolute;
  top: 50%;
  width: 110px;
  height: 1px;
  background: rgba(229,231,235,0.95);
}
.divider span::before{ right: 100%; margin-right: 10px; }
.divider span::after{ left: 100%; margin-left: 10px; }

.tiny{
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}

.below{
  color: #334155;
  font-size: 13px;
  padding: 0 4px;
}
.below-strong{ font-weight: 950; }

/* Footer */
.footer{
  padding: 18px 0 24px;
}

.footer-inner{
  width: min(1100px, 92vw);
  margin: 0 auto;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.sep{ opacity: 0.5; }
.muted{ color: var(--muted); }

/* Mobile */
@media (max-width: 520px){
  .top-actions{ display:none; }
  .card{ padding: 14px; }
  .divider span::before,
  .divider span::after{ width: 70px; }
}