/* assets/styles.css */

:root{
  --bg: #0b0f17;
  --panel: rgba(255,255,255,0.05);
  --panel-2: rgba(255,255,255,0.08);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --faint: rgba(255,255,255,0.55);
  --border: rgba(255,255,255,0.12);
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --accent: #7dd3fc;
  --accent-2: #a78bfa;

  --max: 1120px;
  --radius: 18px;
}

*{ box-sizing: border-box; }
html, body{  }
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 10% 10%, rgba(125,211,252,0.10), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(167,139,250,0.10), transparent 60%),
    radial-gradient(900px 600px at 50% 100%, rgba(125,211,252,0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a{ color: inherit; text-decoration: none; }
a:focus, button:focus{ outline: 2px solid rgba(125,211,252,0.7); outline-offset: 2px; }

h1{ font-weight: 700; }


.container{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 10px;
  background: #ffffff;
  color: #000000;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 1000;
}
.skip-link:focus{ left: 10px; }

header.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11,15,23,0.78);
  border-bottom: 1px solid var(--border);
}

.navbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}
.brand-mark{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    radial-gradient(12px 12px at 30% 30%, rgba(125,211,252,0.95), transparent 60%),
    radial-gradient(16px 16px at 70% 70%, rgba(167,139,250,0.95), transparent 60%),
    rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.brand-name{
  font-weight: 650;
  letter-spacing: 0.2px;
  font-size: 14px;
  color: rgba(255,255,255,0.90);
}
.brand-sub{
  display: block;
  font-size: 12px;
  color: var(--faint);
  font-weight: 500;
  margin-top: 2px;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: balance;
}

.nav-links a{
  font-size: 13px;
  color: var(--muted);
  padding: 8px 0px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.nav-links a:hover{
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}
.nav-links a[aria-current="page"]{
  color: rgba(255,255,255,0.95);
  border-color: rgba(125,211,252,0.35);
  background: rgba(125,211,252,0.07);
}

.nav-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(125,211,252,0.35);
  background: rgba(125,211,252,0.10);
  color: rgba(255,255,255,0.95);
  font-weight: 650;
  font-size: 13px;
  white-space: nowrap;
}
.cta:hover{
  background: rgba(125,211,252,0.14);
  border-color: rgba(125,211,252,0.50);
}

.menu-btn{
  display: none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.9);
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 650;
  font-size: 13px;
}

main{
  padding: 34px 0 60px;
}

.hero{
  padding: 40px 0 22px;
  /* maintain same radial gradient used on body for hero background */

}
.hero h1{
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.4px;
  line-height: 1.12;
}
.hero p{
  max-width: 820px;
  color: var(--muted);
  font-size: 16px;
}

/* Hero layout with media */
.hero{
  display: grid;
  grid-template-columns: 1fr 480px;
  align-items: center;
  gap: 28px;
}
.hero-copy{ max-width: 820px; }
.hero-media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

@media (max-width: 860px){
  .hero{ grid-template-columns: 1fr; gap: 18px; }
  .hero-media{ order: -1; }
}

.section{
  margin-top: 36px;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.section h2{
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.2px;
}
.section p{
  margin: 0;
  color: var(--muted);
}

.grid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.card{
  grid-column: span 6;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  box-shadow: 0 8.5px 25.5px rgba(0,0,0,0.35);
}
.card h3{
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: -0.1px;
}
.card p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li{ margin: 6px 0; }

.kv{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.kv .k{
  color: rgba(255,255,255,0.90);
  font-weight: 650;
  font-size: 13px;
}
.kv .v{
  color: var(--muted);
  font-size: 13px;
}

.note{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
  color: var(--muted);
  font-size: 13px;
}

.footer{
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(125,211,252,0.0), rgba(125,211,252,0.5), rgba(167,139,250,0.5), rgba(167,139,250,0.0)) 1;
  padding: 18px 0 40px;
  color: var(--faint);
  font-size: 12px;
}
.footer-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a{
  color: var(--faint);
  font-size: 12px;
}
.highlight{
  background: rgba(125,211,252,0.08);
  padding: 12px;
  border-radius: 12px;
  font-size: 15px;
}
.architecture-flow{
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-weight: 600;
  gap: 12px;
}
.architecture-flow div{
  white-space: nowrap;
}

.footer .cta{
  display: inline-flex;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Pricing table */
.pricing{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.pricing th, .pricing td{
  text-align: left;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  color: var(--muted);
  font-size: 13px;
  vertical-align: top;
}
.pricing th{
  color: rgba(255,255,255,0.92);
  font-weight: 650;
  background: rgba(255,255,255,0.05);
}
.pricing tr:last-child td{ border-bottom: none; }
.price{
  color: rgba(255,255,255,0.92);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 980px){
  .card{ grid-column: span 12; }
  .kv{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .menu-btn{ display: inline-flex; }
  .nav-links{
    display: none;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    margin-top: 10px;
    flex-direction: column;
    gap: 8px;
  }
  .nav-links.open{ display: flex; }
  .nav-links a{
    padding: 10px 12px;
  }
  .navbar{
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .brand{ min-width: unset; }
  .nav-actions{
    width: 100%;
    flex-direction: column;
  }
  .cta{
    width: 100%;
    padding: 12px 16px;
    background: rgba(125,211,252,0.14);
  }
}