:root{
  --navy:#1a1e5a;
  --navy2:#0f1238;
  --silver:#c8cbd6;
  --white:#ffffff;
  --bg:#07080c;
  --card:rgba(255,255,255,.06);
  --line:rgba(255,255,255,.12);
  --glow:rgba(26,30,90,.75);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(26,30,90,.85), transparent 70%),
    radial-gradient(700px 420px at 105% 10%, rgba(200,203,214,.18), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 30%),
    var(--bg);
  color: var(--white);
}

a{color:inherit;text-decoration:none}
.container{max-width:1120px;margin:0 auto;padding:0 18px}

.topbar{
  position:sticky;top:0;z-index:30;
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 18px;
  background:rgba(7,8,12,.72);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}

.brand{
  display:flex;align-items:center;gap:12px;
  letter-spacing:.6px;
}
.brand img{
  width:38px;height:38px;border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  object-fit:cover;
}
.brand span{
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1px;
}

.nav{display:flex;gap:16px;align-items:center}
.nav a{font-size:14px;opacity:.86}
.nav a:hover{opacity:1}
.nav a.active{opacity:1; text-decoration: underline; text-underline-offset: 6px}

.navToggle{
  display:none;
  font-size:22px;
  background:transparent;border:1px solid var(--line);
  color:#fff;border-radius:14px;
  padding:6px 10px;
}

.hero{
  position:relative;
  padding:76px 0 52px;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;inset:-140px -140px auto -140px;
  height:560px;
  background:
    radial-gradient(700px 240px at 20% 20%, rgba(26,30,90,.88), transparent 72%),
    radial-gradient(520px 220px at 80% 30%, rgba(200,203,214,.22), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent);
}
.hero .content{
  position:relative;
  max-width:860px;margin:0 auto;text-align:center;padding:0 18px;
}

.badge{
  width:160px;height:160px;margin:0 auto 16px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.16);
  display:grid;place-items:center;
  box-shadow:0 22px 70px rgba(0,0,0,.45);
}
.badge img{
  width:140px;height:140px;border-radius:999px;
  object-fit:cover;
}

.h1{
  margin:10px 0 8px;
  font-size:54px;
  line-height:1.02;
  text-transform:uppercase;
  letter-spacing:1.2px;
  font-weight:1000;
}
.sub{
  opacity:.9;
  font-size:16px;
  margin:0 auto 18px;
  max-width:720px;
}
.kicker{
  display:inline-flex;gap:8px;align-items:center;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  padding:6px 10px;border-radius:999px;
  font-size:12px;opacity:.9;
}

.ctaRow{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:16px}
.btn{
  border-radius:16px;
  padding:12px 16px;
  border:1px solid var(--line);
  font-weight:900;
  letter-spacing:.3px;
  display:inline-flex;align-items:center;justify-content:center;
  text-transform:uppercase;
  font-size:13px;
}
.btn.primary{
  background:linear-gradient(135deg, var(--navy), var(--navy2));
  border-color:rgba(255,255,255,.2);
  box-shadow:0 14px 40px rgba(26,30,90,.25);
}
.btn.ghost{background:rgba(255,255,255,.06)}
.btn.full{width:100%}

.section{padding:54px 0}
.section.alt{
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.h2{
  margin:0 0 10px;
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:22px;
  font-weight:1000;
}
.lead{font-size:16px;opacity:.92;max-width:900px}
.muted{opacity:.72}
.small{font-size:12px;opacity:.7}

.cards{
  display:grid;gap:14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top:18px;
}
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
}
.card h3{margin:0 0 8px;font-size:16px;text-transform:uppercase;letter-spacing:.6px}
.card p{margin:0;opacity:.82;font-size:14px;line-height:1.5}

.panel{
  margin-top:16px;
  background:rgba(0,0,0,.26);
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
}

.grid{
  margin-top:16px;
  display:grid;gap:12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.photo{
  height:170px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  overflow:hidden;
  display:grid;place-items:center;
}
.photo img{width:100%;height:100%;object-fit:cover;display:block}
.photo span{opacity:.7}

.table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  border-radius:16px;
  border:1px solid var(--line);
}
.table th,.table td{
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
  text-align:left;
  font-size:14px;
}
.table th{
  background:rgba(255,255,255,.06);
  text-transform:uppercase;
  letter-spacing:.6px;
  font-size:12px;
}
.table tr:hover td{background:rgba(255,255,255,.03)}

.formRow{
  display:grid;gap:12px;
  grid-template-columns: 1fr 1fr;
}
.input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.22);
  color:#fff;
}
textarea.input{min-height:120px;resize:vertical}
label{display:block;margin-bottom:6px;font-weight:800;text-transform:uppercase;letter-spacing:.6px;font-size:12px;opacity:.85}

.footer{
  border-top:1px solid var(--line);
  padding:18px 0;
  background:rgba(0,0,0,.25);
}
.footerRow{
  display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;
  font-size:13px;
}

@media (max-width: 900px){
  .cards{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr 1fr}
  .formRow{grid-template-columns:1fr}
  .h1{font-size:42px}
  .nav{display:none}
  .navToggle{display:block}
  .nav.isOpen{
    display:flex;
    position:absolute;right:18px;top:58px;
    flex-direction:column;gap:10px;
    padding:12px;
    background:rgba(7,8,12,.95);
    border:1px solid var(--line);
    border-radius:16px;
    width:210px;
  }
}
/* ===== Password-style landing (CODE Motorsports vibe) ===== */
body.gate{
  margin:0;
  background:#000;
  color:#fff;
  min-height:100vh;
}

.bgVideo{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

.overlay{
<<<<<<< HEAD
  position: fixed;
  inset: 0;
  z-index: 1;              /* overlay above video */
  pointer-events: none;    /* overlay can't block clicks */
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.70));
=======
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.08),
    rgba(0,0,0,.18)
  );
>>>>>>> founder-preview
}
.gateWrap{
  position:relative;
  z-index:2;
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:28px 16px;
}

.gateCard{
  width:min(560px, 100%);
  text-align:center;
  padding:22px 18px;
  border-radius:22px;
  background:rgba(0,0,0,.40);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}

.gateLogo{
  width:140px;
  height:140px;
  border-radius:999px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}

.gateNote{
  margin:12px 0 0;
  font-weight:800;
  letter-spacing:.7px;
  text-transform:uppercase;
  opacity:.9;
  font-size:12px;
  line-height:1.35;
}

.gateDivider{
  height:1px;
  background:rgba(255,255,255,.14);
  margin:16px auto;
  width:92%;
}

.gateTitle{
  margin:0 0 12px;
  font-size:18px;
  text-transform:uppercase;
  letter-spacing:.9px;
}

.gateForm{
  margin:0;
}

.gateLabel{
  display:block;
  text-align:left;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.6px;
  opacity:.85;
  margin:0 0 8px;
}

.gateRow{
  display:flex;
  gap:10px;
}

.gateInput{
  flex:1;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.30);
  color:#fff;
  outline:none;
}

.gateBtn{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background:linear-gradient(135deg, #1a1e5a, #0f1238);
  color:#fff;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.4px;
  cursor:pointer;
}

.gateHint{
  margin:10px 0 0;
  font-size:12px;
  opacity:.8;
  text-align:left;
  min-height:16px;
}

.gateLinks{
  margin-top:16px;
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  opacity:.9;
  font-size:13px;
}
.gateLinks a{ text-decoration:underline; text-underline-offset:5px; }

.gateSmall{
  margin-top:16px;
  font-size:12px;
  opacity:.65;
}

/* Mobile polishing */
@media (max-width: 520px){
  .gateLogo{ width:120px; height:120px; }
  .gateRow{ flex-direction:column; }
  .gateBtn{ width:100%; }
  .gateLabel, .gateHint{ text-align:left; }
}

.gateBtn {
  min-width: 180px;
  justify-content: center;
}

@media (max-width: 520px){
  .gateBtn{
    font-size: 14px;
    padding: 14px 16px;
  }
}

/* ===== Landing page fine-tuning ===== */
.overlay{
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.08),
    rgba(0,0,0,.18)
  );
}

.gateCard{
  width: min(460px, 100%);
  padding: 16px 14px;
  background: rgba(0,0,0,.28);
}

.gateLogo{
  width: 96px;
  height: 96px;
}

.gateBtn{
  padding: 10px 14px;
  font-size: 12px;
}

@media (max-width: 520px){
  .gateCard{
    width: min(92vw, 420px);
    padding: 14px 12px;
  }
  .gateLogo{
    width: 80px;
    height: 80px;
  }
}

/* ===== Mobile polish: smaller gate card on phones ===== */
@media (max-width: 480px){
  .gateCard{
    width: 90vw;          /* narrower */
    padding: 12px 10px;  /* tighter padding */
    border-radius: 16px;
  }

  .gateLogo{
    width: 72px;         /* smaller logo */
    height: 72px;
  }

  .gateTitle{
    font-size: 14px;     /* smaller title */
    margin: 6px 0 8px;
  }

  .gateNote{
    font-size: 10px;     /* tighter copy */
    line-height: 1.3;
  }

  .gateBtn{
    padding: 10px 12px; /* slimmer button */
    min-width: 120px;
    font-size: 11px;
  }
}

/* ===== Mobile landing page adjustments ===== */
@media (max-width: 480px){

  .gateCard{
    width: 78vw;              /* smaller card width */
    padding: 10px 8px;        /* tighter padding */
    background: rgba(0,0,0,.15); /* lighter card so video shows */
    border-radius: 14px;
  }

  .gateLogo{
    width: 60px;              /* smaller logo */
    height: 60px;
  }

  .gateTitle{
    font-size: 13px;
    margin: 6px 0;
  }

  .gateNote{
    font-size: 9px;
    line-height: 1.25;
  }

  .gateBtn{
    padding: 8px 10px;
    font-size: 10px;
    min-width: 100px;
  }

}