/* ======================================================
   CSS Variables & Base
====================================================== */

:root{
  --bg: #070b12;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.12);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --muted2: rgba(255,255,255,0.55);
  --shadow: 0 18px 60px rgba(0,0,0,0.55);
  --radius: 18px;
  --accent: #00bcd4;
  --accent-glow: rgba(0,188,212,0.25);
  --green: #4caf50;
  --green-glow: rgba(76,175,80,0.20);
  --yellow: #ffc107;
}

*{ box-sizing:border-box; }

html{
  min-height: 100%;
  background:
    radial-gradient(1200px 700px at 10% 10%, rgba(0,188,212,0.18), transparent 55%),
    radial-gradient(900px 600px at 85% 25%, rgba(76,175,80,0.16), transparent 55%),
    radial-gradient(800px 700px at 40% 110%, rgba(255,193,7,0.10), transparent 55%),
    linear-gradient(180deg, #060912, #05070c 60%, #04060a);
  background-repeat: no-repeat;
  background-size: cover;
}

body{
  min-height: 100%;
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: transparent;
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

/* ======================================================
   Layout
====================================================== */

.wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 18px 64px;
}

header{
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(14px);
  background: rgba(5,8,14,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.head{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 18px;
  display:flex;
  align-items:center;
  gap: 16px;
}

header{ position: relative; }

/* ======================================================
   Header / Nav
====================================================== */

.brand{
  display:flex;
  align-items:center;
  flex: 0 0 auto;
}

.brandLogo{
  height: 50px;
  width: auto;
  display:block;
  object-fit:contain;
  filter: drop-shadow(0 0 10px rgba(120,255,210,0.12));
}

/* =========================
   Hamburger
========================= */

.navToggle{
  display:none;
  background: transparent;
  border: 0;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  color: var(--text);
}

.navToggle:hover{
  background: rgba(255,255,255,0.06);
}

.navToggleIcon{
  display:inline-block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 999px;
}

.navToggleIcon::before,
.navToggleIcon::after{
  content:"";
  position:absolute;
  left:0;
  width:22px;
  height:2px;
  background: currentColor;
  border-radius: 999px;
}

.navToggleIcon::before{ top:-7px; }
.navToggleIcon::after{ top: 7px; }

.primaryNav{
  display:flex;
  align-items:center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  justify-content: center;
  flex-wrap: nowrap;
}

.navlink{
  font-size: 13px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}

.navlink:hover{
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  text-decoration:none;
}

.navlink.active{
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.08);
}

.adminlink{
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
  white-space: nowrap;
  margin-left: auto;
}

.adminlink:hover{
  color: rgba(255,255,255,0.72);
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  text-decoration:none;
}

/* ======================================================
   Section Titles
====================================================== */

.sectionTitle{
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted2);
  margin: 44px 0 18px;
}

/* ======================================================
   Hero / Cards
====================================================== */

.hero{ padding: 46px 0 26px; }

.heroCard{
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 34px;
  position: relative;
  overflow:hidden;
}

.heroCard:before{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(500px 300px at 20% 20%, var(--accent-glow), transparent 60%),
    radial-gradient(520px 340px at 80% 35%, var(--green-glow), transparent 60%),
    radial-gradient(460px 340px at 55% 95%, rgba(255,193,7,0.12), transparent 70%);
  pointer-events:none;
  filter: blur(2px);
}

.heroCard--slim{
  margin-top: 18px;
}

.heroInner{
  position:relative;
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: stretch;
}

.heroInner--stacked{
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.heroInner--demo{
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.heroCopy--centred{
  max-width: 700px;
  margin: 0 auto;
}

.hero h2{
  margin: 0 0 10px;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.08;
}

.hero p{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  max-width: 55ch;
}

.heroCopy--centred .hero p,
.heroCopy--centred p{
  max-width: none;
}

/* Right-hand hero column: video + stats */
.heroMedia{
  display:flex;
  flex-direction:column;
  gap: 12px;
  align-content: start;
  justify-items: stretch;
  height: 100%;
}

.stats{
  flex: 1;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  padding: 16px 16px;
  gap: 0;
}

.stats--compact{
  flex: unset;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.stats--compact .stat{
  padding: 12px 0;
  border-top: none;
}

.stats--compact .stat + .stat{
  border-top: none;
}

.stat{
  padding: 12px 0;
}

.stat + .stat{
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat b{
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: 0.2px;
}

.stat small{
  display: block;
  margin: 0;
  line-height: 1.35;
  opacity: 0.75;
}

/* Give the right column cards the same "glass" treatment */
.heroMedia > *{
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 12px 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
}

.heroMedia strong,
.heroMedia b{
  display:block;
  margin: 0 0 4px;
  font-size: 16px;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.92);
}

/* ======================================================
   Desktop: align bottoms of pricing + stats cards
====================================================== */
@media (min-width: 901px){
  .heroMedia{
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
  }

  .stats{
    flex: 1;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 700px){
  .ctaRow{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
  }

  .ctaRow .btn{
    width: 100%;
    justify-content: center;
  }
}

/* ======================================================
   Feature cards (the 3 glassy boxes)
====================================================== */

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

.grid--2{
  grid-template-columns: repeat(2, 1fr);
}

.card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  margin-bottom: 14px;
}

.card h3{
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: 0.2px;
}

.card p{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 700px){
  .grid{
    grid-template-columns: 1fr;
  }

  .grid--2{
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   Two-column layout
====================================================== */

.twoCol{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 700px){
  .twoCol{
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   Buttons
====================================================== */

.btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  cursor: pointer;
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18);
  text-decoration:none;
}

.btnPrimary{
  background: rgba(0,188,212,0.16);
  border-color: rgba(0,188,212,0.35);
}

.btnPrimary:hover{
  background: rgba(0,188,212,0.22);
  border-color: rgba(0,188,212,0.45);
}

.btnLg{
  padding: 14px 22px;
  font-size: 15px;
}

.ctaRow{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.ctaRow--centred{
  justify-content: center;
}

/* ======================================================
   Path Cards (homepage dual-audience)
====================================================== */

.pathGrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.pathCard{
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.pathCard::before{
  content: "";
  position: absolute;
  inset: -30px;
  pointer-events: none;
  filter: blur(2px);
}

.pathCard:first-child::before{
  background: radial-gradient(400px 250px at 30% 30%, var(--accent-glow), transparent 65%);
}

.pathCard:last-child::before{
  background: radial-gradient(400px 250px at 70% 30%, var(--green-glow), transparent 65%);
}

@media (hover: hover) and (pointer: fine){
  .pathCard:hover{
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.16);
    box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  }
}

.pathIcon{
  font-size: 28px;
  margin-bottom: 12px;
  opacity: 0.7;
  position: relative;
}

.pathCard h3{
  margin: 0 0 10px;
  font-size: 20px;
  position: relative;
}

.pathCard p{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  position: relative;
}

.pathList{
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  position: relative;
}

.pathList li{
  padding: 6px 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.pathList li::before{
  content: "\2713";
  margin-right: 8px;
  opacity: 0.5;
  font-size: 13px;
}

.pathCard .btn{
  position: relative;
}

@media (max-width: 700px){
  .pathGrid{
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   Steps Grid (venue "how it works")
====================================================== */

.stepsGrid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stepCard{
  position: relative;
  padding-top: 48px;
}

.stepNum{
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 14px;
  font-weight: 700;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,188,212,0.15);
  border: 1px solid rgba(0,188,212,0.30);
  color: rgba(255,255,255,0.85);
}

@media (max-width: 900px){
  .stepsGrid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px){
  .stepsGrid{
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   Pricing Tiers
====================================================== */

.tierGrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}

.tierGrid--single{
  grid-template-columns: 1fr;
  max-width: 520px;
}

.tierCard{
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tierCard::before{
  content: "";
  position: absolute;
  inset: -30px;
  pointer-events: none;
  filter: blur(2px);
}

.tierCard--free::before{
  background: radial-gradient(400px 250px at 30% 20%, var(--accent-glow), transparent 60%);
}

.tierCard--paid::before{
  background: radial-gradient(400px 250px at 70% 20%, rgba(255,193,7,0.12), transparent 60%);
}

.tierCard--featured::before{
  background:
    radial-gradient(400px 250px at 20% 20%, var(--accent-glow), transparent 60%),
    radial-gradient(400px 250px at 80% 80%, var(--green-glow), transparent 60%);
}

.tierBadge{
  position: relative;
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(0,188,212,0.15);
  border: 1px solid rgba(0,188,212,0.25);
  color: rgba(255,255,255,0.8);
  margin-bottom: 14px;
  align-self: flex-start;
}

.tierCard h3{
  margin: 0 0 8px;
  font-size: 20px;
  position: relative;
}

.tierPrice{
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  position: relative;
}

.tierAmount{
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  position: relative;
}

.tierAmount::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 110%;
  background: radial-gradient(circle, rgba(79,209,197,0.25), rgba(79,209,197,0) 60%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

.tierWas{
  font-size: 1.2rem;
  text-decoration: line-through;
  opacity: 0.4;
}

.tierPeriod{
  font-size: 1.05rem;
  opacity: 0.7;
}

.tierDesc{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  position: relative;
}

.tierFeatures{
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
  position: relative;
}

.tierFeatures li{
  padding: 6px 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.tierFeatures li::before{
  content: "\2713";
  margin-right: 8px;
  opacity: 0.5;
  font-size: 13px;
}

.tierCard .btn{
  align-self: flex-start;
  position: relative;
}

@media (max-width: 700px){
  .tierGrid{
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   CTA Section (bottom-of-page callout)
====================================================== */

.ctaSection{
  margin-top: 44px;
}

/* ======================================================
   Demo section (video + copy side by side)
====================================================== */

.demoCopy{
  position: relative;
}

.demoCopy h3{
  margin: 0 0 10px;
  font-size: 20px;
}

.demoCopy p{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 900px){
  .heroInner--demo{
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   Contact Form
====================================================== */

.contactForm{ margin-top: 14px; }

.formGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.formRow{
  margin-bottom: 12px;
}

.formRow label{
  display:block;
  font-size: 12px;
  color: var(--muted2);
  margin: 0 0 6px;
  letter-spacing: 0.2px;
}

.contactForm input,
.contactForm textarea,
.contactForm select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}

.contactForm select{
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.contactForm select option{
  background: #0d1117;
  color: var(--text);
}

.contactForm input:focus,
.contactForm textarea:focus,
.contactForm select:focus{
  border-color: rgba(0,188,212,0.45);
  background: rgba(0,0,0,0.28);
}

.contactForm textarea{ resize: vertical; }

.formActions{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.formNote{
  font-size: 12px;
  color: var(--muted2);
}

.formSuccess{
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.25);
  color: rgba(255,255,255,0.88);
  margin-bottom: 14px;
  font-size: 15px;
}

.formError{
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(244,67,54,0.12);
  border: 1px solid rgba(244,67,54,0.25);
  color: rgba(255,255,255,0.88);
  margin-bottom: 14px;
  font-size: 15px;
}

@media (max-width: 900px){
  .formGrid{ grid-template-columns: 1fr; }
}

/* Honeypot hidden */
.hp{ display:none !important; }

/* ======================================================
   Video
====================================================== */

.heroVideo{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.heroVideo video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ======================================================
   Footer
====================================================== */

footer{
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: var(--muted2);
  font-size: 12px;
  display:flex;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* ======================================================
   Left column layout helpers
====================================================== */

.heroCopy{
  display:flex;
  flex-direction:column;
  min-height: 420px;
}

.heroCopy--centred{
  min-height: unset;
}

/* ======================================================
   Responsive
====================================================== */

@media (max-width: 700px){
  .head{
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
  }

  .brandLogo{
    height: 34px;
  }

  .navToggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .primaryNav{
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 10px);
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(5, 8, 14, 0.92);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 60px rgba(0,0,0,0.55);
    z-index: 999;
  }

  .primaryNav.isOpen{
    display:flex;
  }

  .primaryNav .navlink{
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
  }
}

@media (max-width: 900px){
  .hero{ padding: 30px 0 18px; }

  .heroCard{
    padding: 20px;
    border-radius: 16px;
  }

  .heroInner{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .heroInner > :last-child > *{
    padding: 12px 12px;
  }

  .hero p{
    font-size: 15px;
  }

  .heroCopy{ min-height: unset; }
  .heroMedia{ height: auto; }
  .stats{ flex: unset; }
}

@media (min-width: 901px){
  .heroMedia{
    align-content: start;
  }

  .stats{
    justify-content: space-between;
  }

  .stat{
    padding: 14px 0;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .pathCard,
  .tierCard,
  .btn{
    transition: none;
  }
}
