:root{
  --bg: #ffffff;
  --text: #0b0c10;
  --muted: rgba(11, 12, 16, .72);
  --muted2: rgba(11, 12, 16, .56);
  --border: rgba(11,12,16,.12);

  --surface: rgba(255,255,255,.82);
  --shadow: 0 16px 40px rgba(0,0,0,.10);
  --shadow2: 0 12px 30px rgba(0,0,0,.08);

  --r12: 12px;
  --r16: 16px;
  --r22: 22px;
  --r28: 28px;

  --grad: linear-gradient(135deg, #1E90FF 0%, #7C3AED 100%);
  --container: 1160px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }

html {
  /* Added scroll padding so anchor links aren't hidden under fixed header */
  scroll-padding-top: 80px;
}

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: var(--bg);
  /* Added padding to prevent content from sliding under the fixed header */
  padding-top: 70px;
}

a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; height:auto; }
button, input, textarea{ font: inherit; }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Loader Styles */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.45s ease-out;
}
#loader video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Header */
.header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
}

.brand__logo{
  height: 40px;
  width: auto;
}

.navToggle{
  display:none;
  border: 1px solid var(--border);
  background:#fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
}
.navToggle__bars{
  display:block;
  width:18px;
  height:2px;
  background: var(--text);
  position: relative;
}
.navToggle__bars::before, .navToggle__bars::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background: var(--text);
}
.navToggle__bars::before{ top:-6px; }
.navToggle__bars::after{ top: 6px; }

.nav{
  display:flex;
  align-items:center;
  justify-content: center;
  gap: 18px;
  flex: 1;
  position: relative;
}
.nav__left {
  display:flex;
  align-items:center;
  gap: 14px;
}
.nav__right {
  display:flex;
  align-items:center;
  gap: 14px;
  position: absolute;
  right: 0;
}
.nav__link{
  font-weight: 650;
  color: rgba(11,12,16,.82);
  padding: 10px 10px;
  border-radius: 12px;
}
.nav__link:hover{ background: rgba(0,0,0,.04); }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 700;
  cursor:pointer;
  user-select:none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  background: #fff;
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow2); }
.btn:active{ transform: translateY(0px); box-shadow:none; }

.btn--primary{
  border: none;
  background: var(--grad);
  color: white;
  box-shadow: 0 18px 40px rgba(30,144,255,.22);
}
.btn--primary:hover{ box-shadow: 0 22px 46px rgba(124,58,237,.22); }

.btn--ghost{
  background: transparent;
}
.btn--soft{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  color: white;
}
.btn--block{ width:100%; }

/* Menus */
.menu{ position: relative; }
.menu__trigger{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 12px;
  padding: 10px 10px;
  font-weight: 750;
  color: rgba(11,12,16,.82);
  cursor:pointer;
}
.menu__trigger:hover{ background: rgba(0,0,0,.04); }
.chev{ opacity:.8; }

.menu__panel{
  position:absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 560px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 14px;
  display:none;
}
.menu__panel--small{
  min-width: 220px;
  padding: 10px;
}
.menu[data-open="true"] .menu__panel{ display:block; }
.menu__item{
  display:block;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  color: rgba(11,12,16,.78);
}
.menu__item:hover{ background: rgba(0,0,0,.04); color: var(--text); }

/* Mega menu layout */
.mega{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr 0.9fr;
  gap: 14px;
}
.mega__col{
  border-right: 1px solid rgba(0,0,0,.06);
  padding-right: 12px;
}
.mega__col:last-child{ border-right: none; }
.mega__title{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted2);
  font-weight: 800;
  margin-bottom: 10px;
}
.mega__item{
  display:block;
  padding: 10px 10px;
  border-radius: 14px;
}
.mega__item:hover{ background: rgba(0,0,0,.04); }
.mega__itemTitle{ display:block; font-weight: 800; }
.mega__itemDesc{ display:block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }

.mega__cta{
  border-radius: 18px;
  padding: 14px;
  background: var(--grad);
  color: white;
}
.mega__ctaTitle{ font-weight: 900; margin-bottom: 4px; }
.mega__ctaDesc{ opacity:.85; margin-bottom: 12px; font-size: 13px; }

/* Hero */
.hero{
  padding: 66px 0 48px;
  overflow:hidden;
  position: relative;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items:center;
  position: relative;
  z-index: 1;
}
.hero__copy h1{
  margin: 0 0 14px 0;
  font-size: clamp(36px, 4.4vw, 54px);
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.hero__copy p{
  margin: 0 0 20px 0;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.7;
  font-size: 16px;
}
.hero__cta{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  align-items:center;
}

.hero__note{
  margin-top: 16px;
  display:flex;
  gap: 10px;
  align-items:center;
}
.pill{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.02);
  font-weight: 800;
  font-size: 12px;
}
.muted-link{
  color: rgba(11,12,16,.72);
  font-weight: 700;
}
.muted-link:hover{ text-decoration: underline; }

/* Hero Media - New Background Style */
.hero__media{
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  z-index: 0;
  pointer-events: none;
}
.hero__img{
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.4);
}

/* Sections */
.sectionHead{
  margin-bottom: 22px;
}
.eyebrow{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--muted2);
  margin-bottom: 10px;
}
.sectionHead h2{
  margin: 0 0 8px 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
}
.sectionSub{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* How it works steps */
.how{
  padding: 44px 0 20px;
}
.steps{
  list-style:none;
  padding: 0;
  margin: 18px 0 0 0;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step{
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 16px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  background: #fff;
  display:flex;
  gap: 12px;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

.step__num{
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: rgba(0,0,0,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  flex-shrink: 0;
}
.step__body {
  flex: 1;
}
.step__title{ font-weight: 900; margin-bottom: 0; }

.step__reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-top 0.3s ease;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
}

.step__desc{ 
  color: var(--muted); 
  line-height: 1.6; 
  font-size: 14px; 
  overflow: hidden;
}

.step:hover .step__reveal,
.step:focus-within .step__reveal {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 4px;
}

/* Features */
.features{
  padding: 56px 0;
}
.featureGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.featureCard{
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  /* Allow expansion */
  display: flex;
  flex-direction: column;
}
.featureCard__icon{
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: #0891b2;
  display: block;
}
.featureCard h3{
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

/* Feature Reveal Logic */
.featureCard__reveal{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-top 0.3s ease;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
}
.featureCard__inner{
  overflow: hidden;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14.5px;
}
.featureCard p{
  margin: 0;
}
.featureCard:hover .featureCard__reveal, 
.featureCard:focus-within .featureCard__reveal {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 6px;
}

.featureShots{
  margin-top: 32px;
  display:flex;
  justify-content: center;
}
.featureShots img{
  max-width: 100%;
  width: auto;
  max-height: 600px;
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow2);
  background: #fff;
}

/* Stories */
.stories{
  padding: 12px 0 56px;
}
.storyGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.storyCard{
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
}
.storyCard__tag{
  display:inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.02);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 10px;
}
.storyCard h3{
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}
.storyCard p{ margin:0; color: var(--muted); line-height: 1.7; flex: 1; }

.storyCard__author {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-weight: 750;
  font-size: 13px;
  color: var(--text);
}

/* FAQ */
.faq{
  padding: 56px 0;
  background: rgba(0,0,0,.02);
  border-top: 1px solid rgba(0,0,0,.04);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.accordion{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.accItem{
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  height: fit-content;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.accItem:hover, .accItem:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}
.accHead{
  font-weight: 850;
  cursor: default;
}
.accBody{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out, opacity 0.3s ease;
  opacity: 0;
}
.accInner{
  overflow: hidden;
  color: var(--muted);
  line-height: 1.7;
  padding-top: 0;
  transition: padding-top 0.3s ease;
}
.accItem:hover .accBody, .accItem:focus-within .accBody{
  grid-template-rows: 1fr;
  opacity: 1;
}
.accItem:hover .accInner, .accItem:focus-within .accInner{
  padding-top: 10px;
}

/* Pricing */
.pricing{
  padding: 56px 0;
}
.pricingGrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.priceCard{
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  overflow:hidden;
}
.priceCard__top{
  padding: 18px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.priceCard h3{
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}
.priceCard__desc{
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 12px;
  font-size: 14px;
}
.priceCard__price{
  font-weight: 950;
  font-size: 34px;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.priceCard__price span{
  font-weight: 850;
  font-size: 14px;
  color: var(--muted);
}
.priceCard__meta{
  color: var(--muted2);
  font-weight: 800;
  margin-bottom: 12px;
}
.priceCard__list{
  margin: 0;
  padding: 16px 18px 18px 34px;
  color: rgba(11,12,16,.78);
}
.priceCard__list li{
  margin: 9px 0;
  line-height: 1.55;
}

.priceCard--featured{
  border: 1px solid rgba(124,58,237,.35);
  box-shadow: 0 18px 44px rgba(124,58,237,.14);
}
.badge{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.28);
  color: rgba(11,12,16,.86);
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 10px;
}

/* Contact */
.contact{
  padding: 56px 0 70px;
}
.contactCard{
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow:hidden;
}
.contactCard__copy{
  padding: 26px;
  background: linear-gradient(135deg, rgba(30,144,255,.10) 0%, rgba(124,58,237,.08) 100%);
}
.contactCard__copy h2{
  margin: 0 0 8px 0;
  letter-spacing: -0.03em;
}
.contactCard__copy p{
  margin: 0 0 12px 0;
  color: var(--muted);
  line-height: 1.75;
}
.emailLink{
  display:inline-flex;
  font-weight: 900;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(255,255,255,.75);
}
.emailLink:hover{ text-decoration: underline;
}

.form{
  padding: 22px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field{ display:flex; flex-direction: column;
  gap: 6px; }
.field--full{ grid-column: 1 / -1; }
.field__label{
  font-size: 12px;
  color: var(--muted2);
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.field__input{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 12px;
  outline:none;
}
.field__input:focus{
  border-color: rgba(124,58,237,.45);
  box-shadow: 0 0 0 4px rgba(124,58,237,.10);
}
.field__input--area{ resize: vertical; min-height: 120px; }
.formState{
  grid-column: 1 / -1;
  padding-top: 2px;
}
.formState__ok, .formState__err{
  border-radius: 16px;
  padding: 12px 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.02);
}
.formState__ok{ border-color: rgba(16,185,129,.35);
  background: rgba(16,185,129,.07); }
.formState__err{ border-color: rgba(239,68,68,.35);
  background: rgba(239,68,68,.06); }

/* Footer */
.footer{
  padding: 26px 0 40px;
  border-top: 1px solid rgba(0,0,0,.06);
  background: rgba(0,0,0,.01);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer__title{
  font-weight: 950;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.footer__right{
  display:flex;
  align-items:center;
  gap: 10px;
}
.social{
  display:inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  align-items:center;
  justify-content:center;
}
.social img{
  width: 20px;
  height: auto;
}
.social:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
}

/* Responsive */
@media (max-width: 980px){
  .menu__panel{ min-width: 520px; }
  .pricingGrid{ grid-template-columns: repeat(2, 1fr); }
  .featureGrid{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: 1fr; }
  .accordion{ grid-template-columns: 1fr; }
  .storyGrid{ grid-template-columns: 1fr; }
  .contactCard{ grid-template-columns: 1fr; }
  .form{ grid-template-columns: 1fr; }
}
@media (max-width: 860px){
  .navToggle{ display:inline-flex;
  align-items:center;
  justify-content:center; }
  .nav{
    position:absolute;
    left: 0;
    right: 0;
    top: 64px;
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(0,0,0,.12);
    padding: 14px 20px 18px;
  }
  .nav[data-open="true"]{ display:flex; }
  .nav__left, .nav__right{
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
  }
  .nav__right {
    position: static;
  }
  .menu__panel{
    position: static;
    min-width: auto;
    box-shadow: none;
    margin-top: 8px;
  }
  .mega{ grid-template-columns: 1fr; }
  .mega__col{ border-right: none;
  padding-right: 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding-bottom: 10px; }
  .mega__cta{ margin-top: 10px; }
  
  /* Hero overrides for mobile */
  .hero{ padding: 44px 0 34px; }
  .hero__grid{ grid-template-columns: 1fr;
  gap: 22px; }
  
  /* Reset absolute pos for mobile */
  .hero__media{
    position: relative;
    width: 100%;
    padding: 0;
    margin-top: 30px;
    height: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }
  .hero__img{
    max-height: 500px;
    margin: 0 auto;
    transform: none;
  }
}