/*
  AimSight final visual redesign layer.
  Purpose: fix the oversized raw screenshots, tighten vertical rhythm, and make the page feel like a polished SaaS/app landing page.
  This intentionally sits last in the stylesheet stack.
*/
:root{
  --final-ink:#11102d;
  --final-muted:#68708f;
  --final-purple:#5b2df4;
  --final-purple-2:#7c4dff;
  --final-pink:#ff4b93;
  --final-cyan:#19d1d1;
  --final-soft:#f7f5ff;
  --final-line:#ece8ff;
  --final-card:#ffffff;
  --final-shadow:0 28px 80px rgba(34,24,96,.12);
  --final-shadow-strong:0 36px 110px rgba(34,24,96,.18);
}

body.aimsight-wp{
  background:#fff;
  color:var(--final-muted);
}

.container{
  width:min(100% - 48px,1120px);
}

.as-header{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid rgba(91,45,244,.07);
  box-shadow:0 10px 32px rgba(21,17,50,.04);
}

.as-header .as-brand-img{
  max-width:126px;
  height:auto;
  object-fit:contain;
}

.as-nav-links{
  gap:28px;
}

.as-nav-links a:not(.as-download){
  font-weight:700;
  color:#1d1a3a;
}

.as-download,
.as-btn-primary,
.as-final-primary{
  background:linear-gradient(135deg,var(--final-purple),#4721df) !important;
  color:#fff !important;
  border:0 !important;
  box-shadow:0 18px 40px rgba(91,45,244,.24) !important;
}

/* HERO */
.as-hero-alt .as-hero-reference{
  min-height:auto;
  padding:96px 0 76px;
  background:
    radial-gradient(circle at 8% 34%, rgba(91,45,244,.08) 0 72px, transparent 73px),
    radial-gradient(circle at 92% 28%, rgba(255,75,147,.08) 0 96px, transparent 97px),
    linear-gradient(180deg,#fff 0%,#fff 78%,#fbf9ff 100%);
}

.as-hero-alt .as-hero-grid-alt{
  grid-template-columns:minmax(0,1.02fr) minmax(430px,.88fr);
  gap:56px;
  align-items:center;
}

.as-hero-alt .as-target-line{
  font-size:14px;
  font-weight:800;
  letter-spacing:-.02em;
  margin-bottom:14px;
}

.as-hero-alt .as-choice-line{
  margin-bottom:14px;
  max-width:560px;
  font-size:16px;
  color:#60709b;
}

.as-hero-alt .as-hero h1{
  max-width:650px;
  font-size:clamp(46px,5vw,68px);
  line-height:1.03;
  letter-spacing:-.07em;
  font-weight:800;
}

.as-hero-alt .as-hero h1 .circled:after{
  inset:-7px -12px -5px -10px;
  border-width:4px;
}

.as-hero-alt .as-hero-copy>p:not(.as-eyebrow):not(.as-choice-line){
  max-width:620px;
  margin-top:24px;
  font-size:17px;
  line-height:1.78;
  color:#61709b;
}

.as-hero-alt .as-actions{
  margin-top:28px;
}

.as-hero-alt .as-btn{
  min-height:52px;
  padding:0 26px;
  font-size:14px;
  border-radius:12px;
}

.as-hero-alt .as-btn-ghost{
  color:#16132f;
  text-decoration:none;
  font-size:14px;
  background:#fff;
  border:1px solid var(--final-line);
  box-shadow:0 10px 28px rgba(34,24,96,.06);
}

.as-hero-alt .as-hero-visual-alt{
  min-height:500px;
}

.as-hero-alt .as-phone-orb{
  left:78px;
  top:105px;
  width:320px;
  height:320px;
  background:linear-gradient(180deg,rgba(91,45,244,.72),rgba(25,209,209,.16));
}

.as-hero-alt .as-phone-scene-alt{
  left:178px;
  top:52px;
  width:220px;
  height:480px;
}

.as-hero-alt .as-real-phone-screen{
  left:26px;
  right:26px;
  top:49px;
  height:380px;
  border-radius:18px;
}

.as-real-phone-screen img{
  object-fit:cover;
  object-position:top center;
}

.as-hero-alt .as-card-top{
  right:8px;
  top:38px;
  width:210px;
  padding:20px 22px;
  border-radius:18px;
}

.as-hero-alt .as-card-top strong{
  font-size:36px;
}

.as-hero-alt .as-card-top span,
.as-hero-alt .as-card-bottom span{
  font-size:13px;
  line-height:1.5;
}

.as-hero-alt .as-card-bottom{
  left:58px;
  bottom:52px;
  width:168px;
  padding:18px 20px;
  border-radius:18px;
}

.as-hero-alt .as-benefits-alt{
  right:0;
  top:190px;
  width:286px;
  padding:18px;
  border-radius:20px;
  gap:12px;
  box-shadow:0 24px 68px rgba(34,24,96,.12);
}

.as-hero-alt .as-benefits li{
  font-size:13px;
  line-height:1.45;
}

.as-hero-alt .as-avatar-bubble{
  width:72px;
  height:72px;
  left:24px;
  top:220px;
}

.as-outline-card,
.as-gradient-pearl,
.as-hero-alt .as-wave{
  opacity:.45;
}

/* PROOF + FEATURES */
.as-proof-strip{
  margin-top:-26px;
  position:relative;
  z-index:10;
}

.as-proof-grid{
  border-radius:22px;
  padding:16px;
  box-shadow:0 22px 70px rgba(34,24,96,.10);
}

.as-proof-item{
  padding:14px;
}

.as-proof-item strong{
  font-size:13px;
}

.as-proof-item span{
  font-size:11px;
}

.as-section{
  padding:88px 0;
}

.as-section-title.left{
  max-width:620px;
  margin-bottom:52px;
}

.as-section-title h2,
.as-real-preview-head h2,
.as-analytics-copy h2,
.as-scoring-copy h2,
.as-control-copy h2,
.as-faq-copy h2{
  font-weight:800;
  letter-spacing:-.06em;
}

.as-feature-grid{
  gap:22px;
}

.as-feature{
  min-height:220px;
  padding:26px 22px;
  border-radius:22px;
  background:linear-gradient(180deg,#fff,#fcfbff);
  border:1px solid rgba(91,45,244,.08);
  border-bottom:2px solid rgba(91,45,244,.14);
}

.as-feature.featured{
  transform:translateY(-10px);
}

.as-feature h3{
  font-size:16px;
}

.as-feature p{
  font-size:12px;
}

/* REAL SCREENSHOTS: stop raw screenshots from dominating the whole page */
.as-real-preview-section{
  padding:86px 0;
  background:linear-gradient(180deg,#fff 0%,#fbf9ff 100%);
}

.as-real-preview-head{
  max-width:680px;
  margin-bottom:44px;
}

.as-real-preview-head h2{
  font-size:clamp(34px,4vw,52px);
}

.as-real-preview-head p{
  font-size:15px;
}

.as-real-preview-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(260px,.72fr);
  gap:26px;
  align-items:stretch;
  max-width:940px;
  margin:0 auto;
}

.as-real-preview-main,
.as-real-preview-side{
  border-radius:30px;
  box-shadow:var(--final-shadow);
  border:1px solid rgba(91,45,244,.08);
  background:#fff;
}

.as-real-preview-main{
  display:grid;
  place-items:center;
  min-height:520px;
  padding:28px;
  background:
    radial-gradient(circle at 18% 12%,rgba(91,45,244,.08),transparent 24%),
    linear-gradient(180deg,#fff,#faf8ff);
}

.as-real-preview-main img{
  width:auto;
  max-width:100%;
  max-height:470px;
  object-fit:contain;
  border-radius:26px;
  box-shadow:0 26px 70px rgba(34,24,96,.14);
}

.as-real-preview-side{
  padding:28px;
  display:grid;
  align-content:center;
  gap:22px;
  background:linear-gradient(180deg,#fff,#fbfaff);
}

.as-real-preview-phone{
  width:auto;
  max-width:230px;
  max-height:420px;
  object-fit:contain;
  margin:0 auto;
  border-radius:28px;
  box-shadow:0 26px 70px rgba(34,24,96,.16);
}

.as-real-preview-copy h3{
  font-size:22px;
  line-height:1.2;
  color:var(--final-ink);
}

.as-real-preview-copy p{
  font-size:13px;
}

/* HOW IT WORKS */
.as-process{
  background:#fff;
}

.as-process .as-section-title{
  max-width:760px;
  margin-bottom:44px;
}

.as-process-card{
  border-radius:24px;
  min-height:230px;
}

/* ANALYTICS SCREENSHOT */
.as-analytics-showcase{
  background:linear-gradient(180deg,#fbf9ff,#fff);
}

.as-analytics-layout.with-real-screen{
  grid-template-columns:minmax(0,.9fr) minmax(420px,1fr);
  gap:58px;
}

.as-dashboard-visual.with-screenshot{
  display:grid;
  place-items:center;
}

.as-real-screenshot-card{
  width:100%;
  max-width:480px;
  min-height:520px;
  display:grid;
  place-items:center;
  border-radius:32px;
  padding:28px;
  background:
    radial-gradient(circle at 88% 14%,rgba(91,45,244,.10),transparent 26%),
    linear-gradient(180deg,#fff,#fbf9ff);
}

.as-real-screenshot-card img{
  width:auto;
  max-width:100%;
  max-height:460px;
  object-fit:contain;
  border-radius:26px;
}

.as-dashboard-visual.with-screenshot .as-dashboard-floating{
  right:18px;
  bottom:28px;
  width:190px;
  border:1px solid rgba(91,45,244,.08);
}

.as-metric-pill{
  border-radius:18px;
}

/* SCORING + PRIVACY */
.as-target-visual,
.as-control-visual{
  border-radius:32px;
}

.as-target-visual{
  min-height:430px;
}

.as-target-ring{
  width:250px;
  height:250px;
}

.as-target-score{
  right:30px;
  top:30px;
}

.as-scoring-layout,
.as-control-panel{
  gap:58px;
}

.as-control-visual.with-login{
  min-height:430px;
}

.as-login-preview{
  width:132px;
  left:26px;
  bottom:26px;
}

.as-control-visual.with-login .as-control-table,
.as-control-visual.with-login .as-control-actions{
  margin-left:128px;
}

.as-privacy-grid{
  gap:16px;
}

.as-privacy-card{
  padding:22px;
  border-radius:20px;
}

/* FAQ + CTA */
.as-faq-section{
  padding:88px 0;
  background:linear-gradient(180deg,#fff,#fbf9ff);
}

.as-faq-layout{
  gap:54px;
}

.as-faq-item{
  border-radius:20px;
}

.as-final-cta{
  padding:88px 0;
}

.as-final-cta-card{
  max-width:1040px;
}

.as-newsletter{
  padding:78px 0 84px;
}

.as-news-card{
  max-width:780px;
  border-radius:24px;
  padding:52px 46px;
}

.as-news-card h2{
  font-size:clamp(28px,3.3vw,42px);
  line-height:1.14;
}

.as-footer-grid{
  padding:64px 0;
}

/* RESPONSIVE: tablet/mobile should be compact, not giant vertical screenshot slabs */
@media(max-width:1040px){
  .container{
    width:min(100% - 36px,960px);
  }

  .as-hero-alt .as-hero-grid-alt{
    grid-template-columns:1fr;
    gap:38px;
  }

  .as-hero-alt .as-hero-reference{
    padding-top:72px;
  }

  .as-hero-alt .as-hero h1{
    max-width:700px;
  }

  .as-hero-alt .as-hero-visual-alt{
    max-width:620px;
    min-height:500px;
    margin:0 auto;
    width:100%;
  }

  .as-hero-alt .as-phone-orb{
    left:50%;
    transform:translateX(-50%);
  }

  .as-hero-alt .as-phone-scene-alt{
    left:50%;
    transform:translateX(-50%);
  }

  .as-hero-alt .as-card-top{
    right:0;
  }

  .as-hero-alt .as-benefits-alt{
    right:0;
  }

  .as-hero-alt .as-card-bottom{
    left:0;
  }

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

  .as-real-preview-grid{
    grid-template-columns:minmax(0,1fr) minmax(230px,.75fr);
  }

  .as-analytics-layout.with-real-screen,
  .as-scoring-layout,
  .as-control-panel,
  .as-faq-layout{
    grid-template-columns:1fr;
  }

  .as-real-screenshot-card{
    min-height:430px;
  }

  .as-control-visual.with-login .as-control-table,
  .as-control-visual.with-login .as-control-actions{
    margin-left:0;
  }

  .as-login-preview{
    position:relative;
    inset:auto;
    width:180px;
    margin:0 auto 24px;
  }
}

@media(max-width:760px){
  .container{
    width:min(100% - 28px,720px);
  }

  .as-nav{
    height:68px;
  }

  .as-header .as-brand-img{
    max-width:110px;
  }

  .as-hero-alt .as-hero-reference{
    padding:56px 0 54px;
  }

  .as-hero-alt .as-hero h1{
    font-size:42px;
  }

  .as-hero-alt .as-choice-line,
  .as-hero-alt .as-hero-copy>p:not(.as-eyebrow):not(.as-choice-line){
    font-size:15px;
  }

  .as-hero-alt .as-actions{
    display:flex;
    flex-wrap:wrap;
  }

  .as-hero-alt .as-hero-visual-alt{
    min-height:430px;
  }

  .as-hero-alt .as-phone-scene-alt{
    width:190px;
    height:420px;
    top:40px;
  }

  .as-hero-alt .as-phone-orb{
    top:82px;
    width:260px;
    height:260px;
  }

  .as-hero-alt .as-real-phone-screen{
    left:23px;
    right:23px;
    top:43px;
    height:328px;
  }

  .as-hero-alt .as-card-top,
  .as-hero-alt .as-card-bottom,
  .as-hero-alt .as-benefits-alt,
  .as-hero-alt .as-avatar-bubble{
    display:none;
  }

  .as-proof-grid,
  .as-feature-grid,
  .as-process-grid,
  .as-real-preview-grid{
    grid-template-columns:1fr;
  }

  .as-real-preview-section,
  .as-section,
  .as-faq-section{
    padding:68px 0;
  }

  .as-real-preview-head{
    text-align:left;
    margin-bottom:30px;
  }

  .as-real-preview-main{
    min-height:auto;
    padding:20px;
  }

  .as-real-preview-main img{
    max-height:420px;
  }

  .as-real-preview-side{
    padding:22px;
  }

  .as-real-preview-phone{
    max-height:360px;
  }

  .as-real-screenshot-card{
    min-height:auto;
    padding:20px;
  }

  .as-real-screenshot-card img{
    max-height:420px;
  }

  .as-dashboard-visual.with-screenshot .as-dashboard-floating{
    position:relative;
    right:auto;
    bottom:auto;
    width:100%;
    margin-top:18px;
  }

  .as-target-visual{
    min-height:350px;
  }

  .as-target-ring{
    width:210px;
    height:210px;
  }

  .as-target-score{
    right:18px;
    top:18px;
    padding:14px 16px;
  }

  .as-news-card{
    padding:38px 22px;
  }

  .as-footer-grid{
    padding:52px 0;
  }
}

@media(max-width:480px){
  .as-hero-alt .as-hero h1{
    font-size:36px;
  }

  .as-hero-alt .as-btn{
    width:100%;
  }

  .as-proof-strip{
    margin-top:0;
  }

  .as-real-preview-main img,
  .as-real-screenshot-card img{
    max-height:360px;
  }
}
