/* ClearKey - site.css
   Purple/blue cosmic theme + glass UI
*/

:root{
  --bg:#070913;
  --panel:rgba(10,12,18,.55);
  --panel2:rgba(12,14,22,.70);
  --stroke:rgba(255,255,255,.12);
  --text:#e9ecff;
  --muted:rgba(233,236,255,.75);
  --brand:#8a63ff;
  --brand2:#2dd5ff;
  --shadow:0 20px 60px rgba(0,0,0,.55);
  --radius:18px;
  --radius2:24px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 35% 20%, rgba(138,99,255,.18), transparent 60%),
              radial-gradient(900px 500px at 70% 35%, rgba(45,213,255,.13), transparent 55%),
              var(--bg);
  color:var(--text);
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
a:hover{opacity:.92}

.wrap{width:min(1120px,92%);margin:0 auto}
.section-title{font-size:clamp(22px,3vw,30px);margin:0 0 6px}
.section-sub{margin:0 0 18px;color:var(--muted)}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(135deg, rgba(138,99,255,.95), rgba(45,213,255,.85));
  color:#08101c;
  font-weight:800;
  box-shadow:0 10px 25px rgba(0,0,0,.35);
  cursor:pointer;
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn.outline{
  background:rgba(255,255,255,.06);
  color:var(--text);
}
.btn.small{padding:10px 12px;border-radius:13px;font-weight:800}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 18px 0;
  background: rgba(7, 9, 19, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
 
/* The founders bar sits above the sticky header naturally since it's in flow */
.ck-founders-bar {
  position: sticky;
  top: 0;
  z-index: 21; /* one above the header so it stays on top when scrolling */
}
.nav{display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:10px}
.brand img{width:40px;height:40px;object-fit:contain;filter:drop-shadow(0 10px 20px rgba(0,0,0,.6))}
.brand-name{font-weight:900;letter-spacing:.3px}
.nav-links{
  display:flex;gap:10px;align-items:center;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  padding:8px 10px;
  backdrop-filter:blur(8px);
}
.nav-links a{
  padding:8px 12px;
  border-radius:999px;
  font-weight:800;
  color:rgba(233,236,255,.9);
}
.nav-links a:hover{background:rgba(255,255,255,.06)}

.hero{
  position:relative;
  /* tighter homepage hero: removes the huge empty gap before the next section */
  min-height:auto;
  padding:112px 0 34px;
  background:
    radial-gradient(1200px 700px at 30% 20%, rgba(138,99,255,.22), transparent 60%),
    radial-gradient(900px 500px at 75% 35%, rgba(45,213,255,.16), transparent 55%),
    url("assets/hero.jpg") center/cover no-repeat;
}
.hero:before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(7,9,19,.15), rgba(7,9,19,.85));
}
.hero .wrap{position:relative;z-index:2}
.hero-inner{display:grid;grid-template-columns:1.25fr .9fr;gap:22px;align-items:center}
.hero-content{
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius2);
  padding:26px 26px 22px;
  backdrop-filter: blur(10px);
  box-shadow:var(--shadow);
}
.hero h1{margin:0 0 10px;font-size:clamp(34px,5vw,60px);line-height:1.04}
.hero .sub{margin:0 0 16px;color:var(--muted);max-width:58ch}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}
.hero-fine{margin-top:10px;font-size:13px;color:rgba(233,236,255,.70)}
.hero-side{
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius2);
  padding:18px;
  backdrop-filter: blur(10px);
  box-shadow:var(--shadow);
}
.hero-side h3{margin:0 0 8px;font-size:16px}
.hero-side ul{margin:0;padding-left:16px;color:rgba(233,236,255,.84)}
.hero-side li{margin:8px 0}

.hero.hero-page{min-height:auto;padding:110px 0 46px}

section{padding:34px 0}
.hero + section{padding-top:26px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 10px 35px rgba(0,0,0,.35);
}
.card h3{margin:0 0 8px;font-size:14px;letter-spacing:.7px;text-transform:uppercase;color:rgba(233,236,255,.78)}
.card .title{margin:0 0 8px;font-size:18px;font-weight:900}
.card p{margin:0;color:rgba(233,236,255,.76);line-height:1.55}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  align-items:start;
}
.panel{
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius2);
  padding:18px;
  backdrop-filter: blur(10px);
  box-shadow:var(--shadow);
}
.panel h2{margin:0 0 8px}
.panel p{margin:0;color:rgba(233,236,255,.80);line-height:1.6}

.price-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px}
.price-card .price{font-size:42px;font-weight:1000;margin:6px 0 10px}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:900;
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(138,99,255,.18);
  border:1px solid rgba(138,99,255,.35);
}
.ul-clean{margin:0;padding-left:16px;color:rgba(233,236,255,.84)}
.ul-clean li{margin:8px 0}

.faq details{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:14px 14px;
  margin:10px 0;
}
.faq summary{
  cursor:pointer;
  font-weight:900;
  color:rgba(233,236,255,.92);
}
.faq p{margin:10px 0 0;color:rgba(233,236,255,.76);line-height:1.6}

.cta-row{display:flex;gap:12px;flex-wrap:wrap}

.site-footer{
  padding:34px 0 44px;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.15);
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.foot-brand{font-weight:900;margin-bottom:6px}
.foot-note{color:rgba(233,236,255,.65);font-size:13px;max-width:72ch}
.foot-right{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}
.foot-right a{color:rgba(233,236,255,.78);font-weight:800}
.foot-right a:hover{color:rgba(233,236,255,.95)}

@media (max-width: 920px){
  .hero-inner{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .price-grid{grid-template-columns:1fr}

.hero {
  padding: 46px 0 34px;
}
 
.hero.hero-page {
  padding: 46px 0 46px;
}
 

  /* Nav row: logo left, CTA right, links below spanning full width */
  .nav{flex-wrap:wrap;gap:8px;align-items:center}
  .nav-cta{margin-left:auto}

  /* Nav links pill: full width, all links visible, no overflow */
  .nav-links{
    order:3;
    width:100%;
    justify-content:space-around;
    padding:5px 6px;
    gap:0;
    border-radius:14px;
    overflow:hidden;
  }
  .nav-links a{
    flex:1;
    text-align:center;
    padding:7px 4px;
    font-size:13px;
    border-radius:10px;
    white-space:nowrap;
  }
}

/* ---------------- Get Started modal (shared) ---------------- */

body.ck-modal-open{overflow:hidden}

.ck-modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.62);
  backdrop-filter: blur(3px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:18px;
}

.ck-modal-backdrop.open{display:flex}

.ck-modal{
  width:min(780px, 100%);
  background:rgba(12,14,22,.92);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  box-shadow:0 30px 90px rgba(0,0,0,.65);
  overflow:hidden;
}

.ck-modal-header{
  display:flex;
  gap:16px;
  align-items:flex-start;
  justify-content:space-between;
  padding:18px 18px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(138,99,255,.14), rgba(0,0,0,0));
}

.ck-modal-kicker{
  display:inline-flex;
  font-weight:900;
  font-size:12px;
  letter-spacing:.4px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(45,213,255,.12);
  border:1px solid rgba(45,213,255,.25);
  color:rgba(233,236,255,.92);
  margin-bottom:8px;
}

.ck-modal-title{margin:0;font-size:22px;font-weight:1000}
.ck-modal-sub{margin:6px 0 0;color:rgba(233,236,255,.78);line-height:1.45;max-width:68ch}

.ck-modal-x{
  appearance:none;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:rgba(233,236,255,.9);
  width:40px;height:40px;
  border-radius:12px;
  font-size:22px;
  cursor:pointer;
}
.ck-modal-x:hover{background:rgba(255,255,255,.10)}

.ck-modal-body{padding:16px 18px 18px}

.ck-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
}

.ck-field label{
  display:block;
  font-weight:900;
  font-size:13px;
  margin-bottom:6px;
  color:rgba(233,236,255,.86);
}

.ck-input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.20);
  color:rgba(233,236,255,.95);
  outline:none;
}
.ck-input:focus{
  border-color:rgba(45,213,255,.42);
  box-shadow:0 0 0 3px rgba(45,213,255,.15);
}

.ck-span2{grid-column:span 2}

.ck-modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.08);
}

.ck-modal-fineprint{
  margin-top:10px;
  font-size:12.5px;
  color:rgba(233,236,255,.65);
  line-height:1.45;
}

@media (max-width: 720px){
  .ck-grid{grid-template-columns:1fr}
  .ck-span2{grid-column:span 1}
}
.ck-success { text-align:center; padding: 8px 0 2px; }
.ck-check {
  width:52px; height:52px; border-radius:999px;
  margin:0 auto 10px;
  background:#28a745; color:#fff;
  font-size:32px; line-height:52px; font-weight:700;
}
.ck-fine { font-size: 0.9rem; opacity: .75; }

.ck-form-error{
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 0, 0, 0.12);
  border: 1px solid rgba(255, 0, 0, 0.25);
}
/* ─────────────────────────────────────────────────────────────────────────────
   ClearKey — Founders Banner
   Append this block to assets/site.css
   ───────────────────────────────────────────────────────────────────────────── */

.ck-founders-bar {
  position: relative;
  z-index: 10;
  background:
    linear-gradient(100deg,
      rgba(138, 99, 255, .22) 0%,
      rgba(45, 213, 255, .14) 50%,
      rgba(138, 99, 255, .18) 100%
    );
  border-bottom: 1px solid rgba(138, 99, 255, .35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 11px 0;
  overflow: hidden;
}

/* subtle animated shimmer sweep */
.ck-founders-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, .045) 50%,
    transparent 65%
  );
  background-size: 200% 100%;
  animation: ck-founders-shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ck-founders-shimmer {
  0%   { background-position: -100% 0; }
  60%  { background-position: 200% 0; }
  100% { background-position: 200% 0; }
}

.ck-founders-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ck-founders-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ck-founders-badge {
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(138, 99, 255, .28);
  border: 1px solid rgba(138, 99, 255, .5);
  color: #c4aaff;
  white-space: nowrap;
  flex-shrink: 0;
}

.ck-founders-headline {
  font-size: 14px;
  font-weight: 700;
  color: rgba(233, 236, 255, .96);
  white-space: nowrap;
}

.ck-founders-headline strong {
  color: #2dd5ff;
}

.ck-founders-sub {
  font-size: 13px;
  color: rgba(233, 236, 255, .62);
  white-space: nowrap;
}

.ck-founders-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Slot dots */
.ck-founders-slots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ck-founders-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.ck-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transition: transform .2s;
}

.ck-dot.taken {
  background: rgba(138, 99, 255, .55);
  border: 1px solid rgba(138, 99, 255, .8);
}

.ck-dot.open {
  background: rgba(45, 213, 255, .25);
  border: 1px solid rgba(45, 213, 255, .55);
  box-shadow: 0 0 6px rgba(45, 213, 255, .35);
}

/* pulse the open dots to draw attention */
.ck-dot.open {
  animation: ck-dot-pulse 2.4s ease-in-out infinite;
}

/* stagger the pulse across open dots */
.ck-dot.open:nth-child(2)  { animation-delay: .15s; }
.ck-dot.open:nth-child(3)  { animation-delay: .30s; }
.ck-dot.open:nth-child(4)  { animation-delay: .45s; }
.ck-dot.open:nth-child(5)  { animation-delay: .60s; }
.ck-dot.open:nth-child(6)  { animation-delay: .75s; }
.ck-dot.open:nth-child(7)  { animation-delay: .90s; }
.ck-dot.open:nth-child(8)  { animation-delay: 1.05s; }
.ck-dot.open:nth-child(9)  { animation-delay: 1.20s; }
.ck-dot.open:nth-child(10) { animation-delay: 1.35s; }

@keyframes ck-dot-pulse {
  0%, 100% { opacity: 1;    transform: scale(1); }
  50%       { opacity: .55; transform: scale(.78); }
}

.ck-founders-slots-text {
  font-size: 13px;
  font-weight: 800;
  color: rgba(45, 213, 255, .9);
  white-space: nowrap;
}

/* CTA button inside banner — inherits .btn.small */
.ck-founders-cta {
  white-space: nowrap;
  background: linear-gradient(135deg, rgba(138, 99, 255, .95), rgba(45, 213, 255, .85));
  font-size: 13px;
}

/* ── Mobile ─────────────────────────────────────────── */
@media (max-width: 720px) {
  .ck-founders-inner {
    gap: 10px;
  }

  .ck-founders-sub {
    display: none; /* drop the sub-copy on small screens, keeps it tight */
  }

  .ck-founders-headline {
    font-size: 13px;
  }

  .ck-founders-right {
    gap: 10px;
  }

  .ck-dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .ck-founders-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ck-founders-right {
    width: 100%;
    justify-content: space-between;
  }
}
