
:root{
  --bg:#06111f;
  --bg2:#0a1a2d;
  --panel:#0d2036;
  --panel2:#102943;
  --line:#1c3855;
  --text:#f4f8fc;
  --muted:#aab9c9;
  --cyan:#35c5e8;
  --green:#64c832;
  --danger:#ff5c6c;
  --shadow:0 18px 50px rgba(0,0,0,.25);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(circle at 82% 10%,rgba(53,197,232,.10),transparent 24rem),
    linear-gradient(180deg,var(--bg) 0%,#071524 55%,#08131e 100%);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.6;
}
a{color:inherit}
.site-header{
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(6,17,31,.92);
  position:sticky;top:0;z-index:10;
  backdrop-filter:blur(14px);
}
.nav{
  max-width:1180px;margin:auto;padding:15px 24px;
  display:flex;align-items:center;gap:26px;
}
.brand{
  display:flex;align-items:center;gap:10px;
  text-decoration:none;font-size:1.15rem;font-weight:800;margin-right:auto;
}
.brand img{width:40px;height:40px;border-radius:10px}
.brand .ride{color:var(--green)}
.nav-links{display:flex;gap:22px;flex-wrap:wrap}
.nav-links a{
  text-decoration:none;color:#c6d5e4;font-weight:650;font-size:.94rem;
}
.nav-links a:hover{color:var(--cyan)}
.wrap{max-width:1180px;margin:auto;padding:0 24px}
.hero{
  min-height:540px;display:grid;grid-template-columns:1.25fr .75fr;
  align-items:center;gap:64px;padding:72px 0 58px;
}
.eyebrow{
  color:var(--cyan);font-size:.78rem;font-weight:850;letter-spacing:.16em;
  text-transform:uppercase;margin-bottom:16px;
}
.hero h1,.feature-hero h1{
  font-size:clamp(3.3rem,7vw,6.4rem);line-height:.94;letter-spacing:-.055em;
  margin:0 0 24px;
}
.feature-hero h1{font-size:clamp(2.8rem,6vw,5.2rem)}
.hero .lead,.feature-hero .lead{
  color:#c2cfdd;font-size:1.15rem;max-width:690px;margin:0;
}
.hero-logo{
  width:min(100%,420px);justify-self:center;border-radius:30px;
  box-shadow:var(--shadow);
}
.meta{display:flex;gap:18px;align-items:center;margin-top:28px;color:#d1dce8}
.badge{
  background:#1d76df;border-radius:7px;padding:3px 8px;
  font-weight:850;font-size:.72rem;letter-spacing:.07em;
}
.features{
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:20px 0 70px;
}
.feature-card{
  background:linear-gradient(180deg,rgba(16,41,67,.92),rgba(10,29,48,.96));
  border:1px solid var(--line);border-radius:var(--radius);
  padding:28px;min-height:245px;text-decoration:none;
  box-shadow:0 8px 28px rgba(0,0,0,.13);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
  display:flex;flex-direction:column;
}
.feature-card:hover{
  transform:translateY(-4px);border-color:#2f9ec0;
  box-shadow:0 18px 44px rgba(0,0,0,.23);
}
.feature-card .icon{
  width:48px;height:48px;border-radius:50%;
  display:grid;place-items:center;background:rgba(100,200,50,.10);
  border:1px solid rgba(100,200,50,.32);font-size:1.4rem;
}
.feature-card h2{font-size:1.28rem;margin:18px 0 8px}
.accent{width:42px;height:3px;background:var(--green);border-radius:20px;margin-bottom:14px}
.feature-card p{color:var(--muted);margin:0 0 24px}
.learn{margin-top:auto;color:var(--cyan);font-weight:800}
.safety-strip{
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  background:rgba(13,32,54,.72);padding:30px 0;
}
.safety-strip h2{margin:0 0 4px;font-size:1.2rem}
.safety-strip p{margin:0;color:var(--muted)}
.feature-hero{
  padding:74px 0 44px;max-width:900px;
}
.feature-layout{
  display:grid;grid-template-columns:1fr;gap:18px;padding:0 0 68px;
}
.info-card{
  background:linear-gradient(180deg,rgba(16,41,67,.88),rgba(11,29,48,.94));
  border:1px solid var(--line);border-radius:20px;padding:28px 30px;
}
.info-card h2{font-size:1.36rem;margin:0 0 9px}
.info-card p{color:#bccadb;margin:0}
.info-card ul{color:#bccadb;margin:12px 0 0;padding-left:22px}
.info-card strong{color:var(--text)}
.callout{
  border-left:4px solid var(--green);
  background:rgba(100,200,50,.07);
}
.back-link{
  display:inline-block;color:var(--cyan);text-decoration:none;font-weight:800;margin-bottom:14px
}
.footer{
  color:#8fa2b6;text-align:center;padding:34px 24px 44px;font-size:.9rem;
}
.footer a{color:#a8c7df;text-decoration:none}
.footer a:hover{color:var(--cyan)}
@media(max-width:820px){
  .hero{grid-template-columns:1fr;gap:36px;padding-top:52px}
  .hero-logo{max-width:310px}
  .features{grid-template-columns:1fr}
  .nav{align-items:flex-start;flex-wrap:wrap}
  .nav-links{width:100%;gap:14px}
}

.legal-wrap{max-width:920px;margin:auto;padding:56px 24px 70px}
.legal-wrap h1{font-size:clamp(2.1rem,5vw,3.7rem);line-height:1.05;margin:0 0 8px}
.legal-wrap .version{color:var(--cyan);font-weight:800;margin-bottom:28px}
.legal-wrap .intro{font-size:1.05rem;color:#c2cfdd;margin-bottom:26px}
.legal-section{padding:18px 0;border-top:1px solid rgba(255,255,255,.075)}
.legal-section:first-of-type{border-top:0}
.legal-section h2{font-size:1.12rem;margin:0 0 9px;color:#f3f8fc}
.legal-section p{color:#bccadb;margin:7px 0}
.legal-list{color:#bccadb;margin:8px 0 0;padding-left:22px}
.support-card{background:linear-gradient(180deg,rgba(16,41,67,.88),rgba(11,29,48,.94));border:1px solid var(--line);border-radius:20px;padding:28px;margin-top:24px}
.support-card a{color:var(--cyan);font-weight:800}


/* ============================================================
   CERTIRIDE BETA HELP
   ============================================================ */
.beta-help-callout{
  margin:0 0 68px;
  padding:28px 30px;
  display:flex;
  align-items:center;
  gap:28px;
  justify-content:space-between;
  background:linear-gradient(135deg,rgba(53,197,232,.12),rgba(100,200,50,.08));
  border:1px solid rgba(53,197,232,.32);
  border-radius:22px;
}
.beta-help-callout h2{margin:0 0 7px;font-size:1.45rem}
.beta-help-callout p{margin:0;color:#bccadb;max-width:720px}
.beta-help-button{
  flex:0 0 auto;
  padding:12px 18px;
  border-radius:12px;
  text-decoration:none;
  font-weight:850;
  background:var(--cyan);
  color:#03111d;
}
.beta-help-button:hover{filter:brightness(1.06)}

.help-wrap{max-width:980px;margin:auto;padding:52px 24px 76px}
.help-wrap h1{font-size:clamp(2.25rem,5vw,4rem);line-height:1;margin:0 0 12px}
.help-intro{color:#c2cfdd;font-size:1.06rem;max-width:780px}
.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:28px}
.help-card{
  background:linear-gradient(180deg,rgba(16,41,67,.92),rgba(10,29,48,.96));
  border:1px solid var(--line);
  border-radius:20px;
  padding:22px;
}
.help-card h2{margin:0 0 8px;font-size:1.25rem}
.help-card p{color:#bccadb;margin:0 0 16px}
.quick-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.quick-action{
  border:1px solid #2b5778;
  background:#0c263f;
  color:#e7f4ff;
  border-radius:999px;
  padding:8px 12px;
  cursor:pointer;
  font:inherit;
}
.quick-action:hover{border-color:var(--cyan)}
.chat-box{
  margin-top:14px;
  background:#071827;
  border:1px solid var(--line);
  border-radius:14px;
  min-height:260px;
  max-height:430px;
  overflow:auto;
  padding:14px;
}
.chat-message{
  margin:0 0 12px;
  padding:10px 12px;
  border-radius:12px;
  max-width:88%;
  white-space:pre-wrap;
}
.chat-message.bot{background:#102943;color:#d7e5f2}
.chat-message.user{background:#174662;color:#fff;margin-left:auto}
.chat-form{display:flex;gap:9px;margin-top:10px}
.chat-form input,.bug-form input,.bug-form textarea,.bug-form select{
  width:100%;
  background:#071827;
  color:var(--text);
  border:1px solid #29455f;
  border-radius:10px;
  padding:11px 12px;
  font:inherit;
}
.chat-form button,.bug-form button{
  border:0;
  border-radius:10px;
  padding:11px 16px;
  font:inherit;
  font-weight:850;
  cursor:pointer;
  background:var(--cyan);
  color:#03111d;
}
.bug-form{display:grid;gap:12px;margin-top:14px}
.bug-form label{font-weight:750;font-size:.93rem}
.bug-form small{color:#92a8bc}
.bug-form textarea{min-height:92px;resize:vertical}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.checkbox-row{display:flex;gap:10px;align-items:flex-start;color:#c2cfdd}
.checkbox-row input{width:auto;margin-top:5px}
.status-box{
  display:none;
  margin-top:12px;
  border-radius:12px;
  padding:12px;
  background:rgba(100,200,50,.08);
  border:1px solid rgba(100,200,50,.30);
}
.status-box.error{
  background:rgba(255,92,108,.08);
  border-color:rgba(255,92,108,.38);
}
.privacy-note{color:#91a8bc;font-size:.86rem;margin-top:18px}
@media(max-width:820px){
  .help-grid{grid-template-columns:1fr}
  .beta-help-callout{align-items:flex-start;flex-direction:column}
  .form-row{grid-template-columns:1fr}
  .chat-form{flex-direction:column}
}
