:root{
  --bg:#06070b;
  --surface:#10131b;
  --surface-2:#171b24;
  --text:#f3f4f6;
  --muted:#9ca3af;
  --accent:#3b82f6;
  --accent-strong:#2563eb;
  --border:rgba(59,130,246,.28);
  --shadow:0 24px 80px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.login-page{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 20% 20%, rgba(59,130,246,.16), transparent 60%),
    radial-gradient(1000px 600px at 80% 75%, rgba(37,99,235,.12), transparent 60%),
    linear-gradient(180deg, #0a0d15 0%, #05070b 100%);
  min-height:100vh;
}

.landing-header{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 28px;
  background:rgba(7,10,16,.84);
  border-bottom:1px solid rgba(59,130,246,.18);
  backdrop-filter:blur(18px);
}

.landing-brand{
  color:var(--text);
  text-decoration:none;
  font-size:26px;
  font-weight:900;
  letter-spacing:-.03em;
}

.brand-accent{color:var(--accent)}

.landing-nav{
  display:flex;
  align-items:center;
  gap:28px;
}

.landing-nav a{
  color:#d1d5db;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
}

.landing-login-btn,
.hero-primary,
.google-btn{
  border:0;
  cursor:pointer;
  font-weight:800;
}

.landing-login-btn{
  padding:12px 18px;
  border-radius:999px;
  background:linear-gradient(180deg, var(--accent), var(--accent-strong));
  color:#fff;
  box-shadow:0 12px 30px rgba(37,99,235,.28);
}

.landing-main{
  width:min(1280px, calc(100% - 48px));
  margin:0 auto;
  padding:44px 0 80px;
}

.hero-section{
  display:grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
  gap:40px;
  align-items:center;
  min-height:calc(100vh - 140px);
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border:1px solid rgba(59,130,246,.35);
  border-radius:999px;
  background:rgba(59,130,246,.12);
  color:#bfdbfe;
  font-size:13px;
  font-weight:800;
}

.hero-copy h1{
  margin:18px 0 18px;
  max-width:900px;
  font-size:clamp(36px, 4.3vw, 60px);
  line-height:1.08;
  letter-spacing:-.05em;
}

.hero-line{
  display:block;
  white-space:nowrap;
}

.hero-copy p{
  margin:0;
  max-width:680px;
  color:#cbd5e1;
  font-size:20px;
  line-height:1.7;
}

.hero-actions{
  display:flex;
  gap:14px;
  margin:28px 0 34px;
}

.hero-primary{
  padding:16px 24px;
  border-radius:16px;
  background:linear-gradient(180deg, var(--accent), var(--accent-strong));
  color:#fff;
  box-shadow:0 18px 40px rgba(37,99,235,.24);
}

.hero-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:16px 24px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  color:var(--text);
  text-decoration:none;
  font-weight:800;
}

.hero-stats{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.stat-card,
.feature-card,
.cta-card{
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid rgba(59,130,246,.2);
  box-shadow:var(--shadow);
}

.stat-card{
  padding:18px;
  border-radius:18px;
}

.stat-card strong{
  display:block;
  font-size:22px;
  color:#dbeafe;
}

.stat-card span{
  display:block;
  margin-top:8px;
  color:var(--muted);
  font-size:14px;
}

.hero-preview{
  position:relative;
  min-height:720px;
}

.preview-phone{
  position:absolute;
  width:280px;
  height:560px;
  padding:16px;
  border-radius:42px;
  background:#090b10;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 30px 80px rgba(0,0,0,.55);
}

.preview-phone-left{
  top:20px;
  left:20px;
  transform:rotate(-10deg);
}

.preview-phone-right{
  right:10px;
  top:110px;
  transform:rotate(11deg);
}

.preview-screen{
  width:100%;
  height:100%;
  border-radius:28px;
  padding:18px;
  background:
    linear-gradient(180deg, rgba(59,130,246,.18), rgba(7,10,16,.12)),
    linear-gradient(180deg, #141927 0%, #0b0d13 100%);
  overflow:hidden;
}

.preview-screen-alt{
  position:relative;
}

.preview-label{
  position:absolute;
  top:18px;
  left:18px;
  z-index:2;
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:#2563eb;
  font-size:12px;
  font-weight:800;
}

.preview-label-secondary{
  background:rgba(37,99,235,.88);
}

.preview-video{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:24px;
  display:block;
  background:#05070b;
}

.feature-section{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:24px;
}

.feature-card{
  border-radius:24px;
  padding:28px;
}

.feature-card h2{
  margin:0 0 12px;
  font-size:24px;
}

.feature-card p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.cta-section{
  margin-top:22px;
}

.cta-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border-radius:28px;
  padding:28px 32px;
}

.cta-card h2{
  margin:0 0 10px;
  font-size:30px;
}

.cta-card p{
  margin:0;
  color:var(--muted);
}

.login-modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:50;
}

.login-modal.is-open{display:flex}

.login-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(3,5,10,.76);
  backdrop-filter:blur(8px);
}

.login-card{
  position:relative;
  z-index:1;
  width:100%;
  max-width:620px;
  background:linear-gradient(180deg, rgba(18,22,31,.97), rgba(11,13,18,.97));
  border:1px solid rgba(59,130,246,.22);
  border-radius:20px;
  padding:28px 24px 22px;
  box-shadow:var(--shadow);
}

.login-close{
  position:absolute;
  top:12px;
  right:12px;
  width:36px;
  height:36px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.08);
  background:transparent;
  color:var(--muted);
  font-size:22px;
}

.login-title{
  margin:0 0 10px;
  font-size:26px;
  line-height:1.25;
  letter-spacing:-.03em;
  word-break:keep-all;
}
.login-subtitle{margin:0 0 18px; color:var(--muted); font-size:18px}

.login-checkbox{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:14px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(255,255,255,.03);
  margin-bottom:14px;
  font-size:14px;
  color:#cbd5e1;
}

.login-checkbox input{margin-top:4px}

.google-btn{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  padding:16px;
  border-radius:999px;
  background:#fff;
  color:#111827;
  font-size:16px;
}

.login-legal{
  margin:14px 2px 0;
  font-size:12px;
  color:var(--muted);
  line-height:1.6;
}

.login-error{
  margin:12px 2px 0;
  font-size:13px;
  color:#fca5a5;
}

@media (max-width: 1080px){
  .hero-section{
    grid-template-columns:1fr;
    min-height:auto;
  }
  .hero-preview{
    min-height:620px;
  }
}

@media (max-width: 820px){
  .landing-header{
    flex-wrap:wrap;
    justify-content:center;
  }
  .landing-nav{
    order:3;
    width:100%;
    justify-content:center;
    gap:18px;
  }
  .hero-actions,
  .feature-section,
  .hero-stats{
    grid-template-columns:1fr;
    flex-direction:column;
  }
  .cta-card{
    flex-direction:column;
    align-items:flex-start;
  }
  .preview-phone{
    width:220px;
    height:440px;
  }
}
