/* ============================================================
   BrickFlow — Landing Page & Auth Styles
   ============================================================ */

/* ── Google Fonts fallback ───────────────────────────────── */
.lp-hero-h1, .lp-section-h, .lp-johan-h,
.lp-cta-left h2, h2[style*="Syne"] {
  font-family: 'Syne', system-ui, sans-serif;
}

/* ── Base reset for landing sections ─────────────────────── */
#authPage * { box-sizing: border-box; }

/* ── Nav ─────────────────────────────────────────────────── */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(7,17,29,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.lp-nav-logo-mark {
  width: 34px; height: 34px;
  background: #FF6233;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 13px; font-weight: 800; color: white;
  letter-spacing: 0.5px;
}
.lp-nav-logo-name {
  font-family: 'Syne', sans-serif;
  font-size: 17px; font-weight: 800;
  color: white; letter-spacing: -0.5px;
}
.lp-nav-links {
  display: flex; align-items: center; gap: 28px;
}
.lp-nav-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px; font-weight: 500;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: color 0.2s;
}
.lp-nav-links a:hover { color: white; }
.lp-nav-cta {
  background: #FF6233;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background 0.2s;
}
.lp-nav-cta:hover { background: #e55520; }

/* ── Hero ─────────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 40px 60px;
  gap: 60px;
  overflow: hidden;
  background: #07111D;
}
.lp-hero-bg {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.lp-hero-glow1 {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(27,75,138,0.35) 0%, transparent 65%);
  top: -100px; left: -100px;
  border-radius: 50%;
}
.lp-hero-glow2 {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,98,51,0.2) 0%, transparent 65%);
  bottom: 0; right: 15%;
  border-radius: 50%;
}
.lp-hero-bfwatermark {
  position: absolute;
  font-family: 'Syne', sans-serif;
  font-size: 280px; font-weight: 800;
  color: rgba(255,255,255,0.025);
  right: -20px; bottom: -60px;
  line-height: 1; user-select: none;
  pointer-events: none;
}
.lp-hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
/* Floating geometric shapes */
.lp-hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: white;
  pointer-events: none;
}
.lp-hero-shape.a { width:80px;  height:80px;  top:12%; left:55%; }
.lp-hero-shape.b { width:40px;  height:40px;  top:25%; right:8%; background:#FF6233; opacity:0.15; }
.lp-hero-shape.c { width:120px; height:120px; bottom:20%; left:48%; opacity:0.04; }
.lp-hero-shape.d { width:60px;  height:60px;  top:60%; right:25%; background:#1B4B8A; opacity:0.2; }
.lp-hero-shape.e { width:20px;  height:20px;  top:35%; left:62%; background:#FFD166; opacity:0.25; }
.lp-hero-shape.f { width:90px;  height:90px;  bottom:15%; right:10%; background:#34D399; opacity:0.08; }
.lp-hero-shape.g { width:50px;  height:50px;  top:70%; left:52%; background:#FF6233; opacity:0.1; }

.lp-hero-left {
  position: relative; z-index: 2;
  flex: 1; max-width: 560px;
}
.lp-hero-badge {
  display: inline-block;
  background: rgba(255,98,51,0.12);
  border: 1px solid rgba(255,98,51,0.3);
  color: #FF8060;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
  letter-spacing: 0.2px;
}
.lp-hero-h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800;
  color: white;
  line-height: 1.0;
  letter-spacing: -3px;
  margin: 0 0 24px;
}
.lp-hero-h1 span { color: #FF6233; }
.lp-hero-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin: 0 0 36px;
}
.lp-hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.lp-btn-primary {
  background: #FF6233;
  color: white; border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px; font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255,98,51,0.4);
  transition: transform 0.15s, background 0.2s;
}
.lp-btn-primary:hover { background:#e55520; transform:translateY(-1px); }
.lp-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.2);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px; font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lp-btn-ghost:hover { border-color:rgba(255,255,255,0.5); color:white; }
.lp-hero-stats {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.lp-hero-stat {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.8px;
}
.lp-hero-stat::before { content:'✓ '; color:#34D399; }

.lp-hero-right {
  position: relative; z-index: 2;
  flex: 1; max-width: 480px;
  display: flex; justify-content: center;
}
.lp-hero-visual {
  position: relative;
  background: linear-gradient(145deg, rgba(27,75,138,0.25), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 40px 30px;
  min-width: 300px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.lp-hero-mascot { position: relative; z-index: 2; }
.lp-notification-card {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 10px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  color: #1F2937;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  white-space: nowrap;
  z-index: 3;
}
.nc-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.nc1 { top:-18px; right:-24px; animation: floatY 3s ease-in-out infinite; }
.nc2 { bottom:-18px; right:-24px; animation: floatY 3.5s ease-in-out 0.5s infinite; }
.nc3 { top:30%; left:-90px; animation: floatY 4s ease-in-out 1s infinite; }
.nc4 { bottom:20%; left:-80px; animation: floatY 3.2s ease-in-out 1.5s infinite; }
@keyframes floatY {
  0%,100% { transform:translateY(0); }
  50% { transform:translateY(-6px); }
}
.lp-scroll-hint {
  position: absolute; bottom:28px; left:50%; transform:translateX(-50%);
  color: rgba(255,255,255,0.25);
  font-size:11px; font-weight:700; letter-spacing:3px;
  font-family:'Plus Jakarta Sans', sans-serif;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:0.4;} 50%{opacity:1;} }

/* ── Sections ─────────────────────────────────────────────── */
.lp-section {
  padding: 96px 40px;
  background: #0C1927;
}
.lp-section-dark   { background: #07111D; }
.lp-section-darker { background: #050E18; }
.lp-section-label {
  display: inline-block;
  background: rgba(255,98,51,0.1);
  border: 1px solid rgba(255,98,51,0.25);
  color: #FF8060;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.lp-section-h {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  color: white;
  letter-spacing: -2px;
  margin: 0 0 16px;
}
.lp-section-h .lp-accent, .lp-section-h span, .lp-hero-h1 span { color: #FF6233; }
.lp-accent { color: #FF6233; }
.lp-section-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 560px; margin-bottom: 48px;
}

/* ── Reveal animation ─────────────────────────────────────── */
.lp-reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.lp-reveal.revealed {
  opacity: 1; transform: translateY(0);
}

/* ── Chaos vs Control ─────────────────────────────────────── */
.lp-split-wrap {
  display: flex; align-items: stretch; gap: 0;
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.lp-panel {
  flex: 1; padding: 36px;
}
.lp-panel-chaos { background: rgba(220,38,38,0.08); }
.lp-panel-order { background: rgba(5,150,105,0.1); }
.lp-split-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 24px;
  font-size: 28px; font-weight: 800; color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.03);
  flex-shrink: 0;
}
.lp-panel-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px; font-weight: 800; color: white;
  margin-bottom: 20px;
}
.lp-chaos-item, .lp-order-item {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px; line-height: 1.6;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-chaos-item { color: rgba(255,255,255,0.5); }
.lp-order-item  { color: rgba(255,255,255,0.85); font-weight:500; }
.lp-chaos-item:last-child, .lp-order-item:last-child { border-bottom: none; }

/* ── Tool cards ───────────────────────────────────────────── */
.lp-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.lp-tool-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.lp-tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,98,51,0.3);
}
.lp-tool-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.lp-tool-name {
  font-family: 'Syne', sans-serif;
  font-size: 16px; font-weight: 800; color: white;
  margin-bottom: 8px;
}
.lp-tool-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,0.5);
}

/* ── Johan AI section ────────────────────────────────────── */
.lp-johan-wrap {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 72px;
}
.lp-johan-visual {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(27,75,138,0.15);
  border: 1px solid rgba(27,75,138,0.3);
  border-radius: 24px;
  padding: 40px;
}
.lp-johan-text { flex: 1; }
.lp-johan-h {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800; color: white;
  letter-spacing: -2.5px; line-height: 1.05;
  margin: 0 0 20px;
}
.lp-johan-h span { color: #FFD166; }
.lp-johan-p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.lp-johan-quote {
  background: rgba(255,209,102,0.08);
  border-left: 3px solid #FFD166;
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px; font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.lp-johan-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-johan-pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 20px;
}

/* ── CTA section ─────────────────────────────────────────── */
.lp-cta-wrap {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 72px;
  align-items: center;
}
.lp-cta-bullets { display: flex; flex-direction: column; gap: 14px; }
.lp-cta-bullet {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.75);
}
.lp-cta-bullet-icon {
  font-size: 20px; flex-shrink: 0;
}

/* ── Auth card ───────────────────────────────────────────── */
.lp-form-card {
  background: white;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.auth-right-logo-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
}
.auth-right-logo-mark {
  width: 32px; height: 32px;
  background: #FF6233;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 12px; font-weight: 800; color: white;
}
.auth-right-logo-name {
  font-family: 'Syne', sans-serif;
  font-size: 16px; font-weight: 800;
  color: #1F2937;
}
.auth-form-group {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 14px;
}
.auth-form-group label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px; font-weight: 700;
  color: #374151; text-transform: uppercase; letter-spacing: 0.5px;
}
.auth-form-group input {
  padding: 11px 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #111827;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.auth-form-group input:focus { border-color: #1B4B8A; }
.auth-form-group.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex-direction: unset;
}
.auth-form-group.two-col > div {
  display: flex; flex-direction: column; gap: 6px;
}
.auth-btn {
  width: 100%;
  background: #FF6233;
  color: white; border: none;
  padding: 13px;
  border-radius: 10px;
  font-size: 15px; font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s, transform 0.15s;
}
.auth-btn:hover { background: #e55520; transform: translateY(-1px); }
.auth-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 8px;
  padding: 10px 14px;
  color: #DC2626;
  font-size: 13px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 14px;
  display: none;
}
.auth-error:not(:empty) { display: block; }
.auth-form { animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from{opacity:0;transform:translateY(8px);} to{opacity:1;transform:none;} }

/* ── Footer ──────────────────────────────────────────────── */
.lp-footer {
  background: #030B13;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.lp-footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 18px; font-weight: 800;
  color: white;
}
.lp-footer-logo span { color: #FF6233; }
.lp-footer-links {
  display: flex; gap: 24px; flex-wrap: wrap;
}
.lp-footer-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; color: rgba(255,255,255,0.35);
  text-decoration: none;
}
.lp-footer-links a:hover { color: rgba(255,255,255,0.7); }
.lp-footer-copy,
.lp-footer-p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px; color: rgba(255,255,255,0.2);
  margin: 0;
}

/* ── Scroll reveal JS hook ───────────────────────────────── */

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .lp-hero {
    flex-direction: column;
    min-height: auto;
    padding: 80px 20px 60px;
    text-align: center;
  }
  .lp-hero-left { max-width: 100%; }
  .lp-hero-btns { justify-content: center; }
  .lp-hero-stats { justify-content: center; }
  .lp-hero-right { max-width: 340px; }
  .lp-nav { padding: 0 20px; }
  .lp-nav-links a { display: none; }
  .lp-section { padding: 64px 20px; }
  .lp-cta-wrap { grid-template-columns: 1fr; gap: 40px; }
  .lp-johan-wrap { flex-direction: column; gap: 32px; }
  .lp-split-wrap { flex-direction: column; }
  .lp-split-arrow { padding: 8px; }
  .lp-form-card { padding: 24px; }
}
