/* === Compliance365 Premium Theme ============================== */
:root {
  --bg: #0b0f17;
  --page: #ffffff;
  --fg: #0b1220;
  --muted: #586174;
  --surface: #ffffff;
  --border: rgba(10,18,32,.08);

  --primary: #4F46E5;
  --primary-600: #4338CA;
  --accent: #06B6D4;
  --brand-a: #6D28D9;
  --brand-b: #06B6D4;

  --radius: 16px;
  --radius-lg: 22px;
  --container: 1160px;

  --shadow-sm: 0 8px 18px -10px rgba(10,18,32,.18);
  --shadow: 0 18px 45px -22px rgba(10,18,32,.35), 0 10px 22px -12px rgba(10,18,32,.18);
  --shadow-soft: 0 24px 60px -30px rgba(79,70,229,.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--fg);
  background: var(--page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Type Scale === */
h1, h2, h3 {
  line-height: 1.12;
  margin: 0 0 .7rem;
  letter-spacing: -0.015em;
}
h1 { font-weight: 900; font-size: clamp(2.4rem, 4vw, 3.4rem); }
h2 { font-weight: 900; font-size: clamp(1.8rem, 2.6vw, 2.2rem); }
h3 { font-weight: 800; font-size: 1.25rem; }
p { margin: .3rem 0 1rem; }
.muted { color: var(--muted); }
.small { font-size: .95rem; }

/* === Links === */
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }

/* === Layout === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 26px; }
.section { padding: 64px 0; }
.section-tight { padding: 36px 0; }

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fffffff2;
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); }
.brand strong { font-weight: 900; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: #0b1220; opacity: .9; }
.nav a:hover { opacity: 1; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--brand-a) 50%, var(--brand-b) 100%);
  box-shadow: var(--shadow-soft);
  border: 0;
}
.btn-primary:hover { filter: saturate(1.05) brightness(.98); }
.btn-ghost {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-ghost:hover {
  background: linear-gradient(180deg,#fff,#f7f8ff);
  border-color: rgba(79,70,229,.35);
  box-shadow: 0 10px 22px -14px rgba(79,70,229,.25);
}

/* === Pills === */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg,#4F46E5,#3B82F6);
  border: 1px solid rgba(10,18,32,.08);
  box-shadow: 0 2px 6px rgba(79,70,229,.25);
  transition: all .25s ease;
}
.pill:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 4px 10px rgba(79,70,229,.35); }
.pill.brand { background: linear-gradient(135deg,var(--accent),var(--brand-a)); }

.pill-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* === Cards === */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}
.card.lift { transition: transform .28s ease, box-shadow .28s ease; }
.card.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* Feature variant */
.card.feature {
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card.feature::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(600px 160px at 10% -10%, rgba(109,40,217,.08), transparent 60%),
              radial-gradient(600px 160px at 110% 110%, rgba(6,182,212,.08), transparent 60%);
  opacity: 0;
  transition: opacity .22s ease;
}
.card.feature:hover::after { opacity: 1; }

.card .icon {
  width: 56px; height: 56px; margin: 0 auto 12px auto;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,rgba(79,70,229,.12),rgba(6,182,212,.12));
  color: var(--primary);
}
.card .icon svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.8; }

/* === Card Cover Images (used on Resources & Checklists) === */
.card .cover {
  aspect-ratio: 16/9;
  border-radius: 12px;
  border: 1px solid rgba(10,18,32,.08);
  background: linear-gradient(135deg, rgba(79,70,229,.06), rgba(6,182,212,.06));
  display: grid;
  place-items: center;
  padding: 10px;
  overflow: hidden;
}
.card .cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  background: #fff;
}
.card .cover-fallback {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: 1px dashed rgba(10,18,32,.12);
  color: rgba(17,24,39,.6);
}

/* Hover lift on covers */
.card.lift .cover {
  transition: box-shadow .2s, transform .2s;
}
.card.lift:hover .cover {
  box-shadow: 0 10px 30px rgba(10,18,32,.12);
  transform: translateY(-1px);
}

/* === Grids === */
.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
@media (max-width:1040px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width:920px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* === HERO === */
.hero-wrap {
  background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
  padding: 60px 0 80px;
}
.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.015em;
}
.hero-sub { font-size: 1.05rem; color: var(--muted); margin-top: 10px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.mock-card { padding: 0; overflow: hidden; border-radius: 22px; background: transparent; }
.mock-frame {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
@media (max-width:820px) {
  .hero-wrap { padding: 40px 0 60px; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-ctas { justify-content: center; }
  .mock-card { margin-top: 32px; }
}

/* Desktop: 3-column look without breaking the scroll behavior */
#outcomes .auto-scroller{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  justify-content:center;
  overflow:visible;
  scroll-snap-type:none;
}

@media (max-width: 980px){
  #outcomes .auto-scroller{
    display:flex;
    gap:16px;
    overflow-x:auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2px;       /* nicer first snap */
    scrollbar-gutter: stable both-edges;
    padding:12px 2px;
  }
  #outcomes .auto-scroller > a.card{
    flex: 0 0 clamp(280px, 72vw, 360px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  /* spacer so the last card can scroll fully into view */
  #outcomes .auto-scroller::after{ content:""; flex:0 0 2px; }
}

/* Optional: softer scrollbar on WebKit */
#outcomes .auto-scroller::-webkit-scrollbar{ height:8px; }
#outcomes .auto-scroller::-webkit-scrollbar-thumb{
  background: rgba(17,24,39,.15); border-radius:999px;
}

.auto-scroller {
  scroll-behavior: smooth;
}

/* ===== Testimonial Carousel (centered, one-at-a-time) ===== */

:root{
  --cs-primary: var(--primary, #4F46E5);
  --cs-accent:  var(--accent,  #06B6D4);
  --cs-border:  var(--border,  rgba(10,18,32,.10));
  --cs-ink:     #111827;
  --cs-muted:   #6b7280;
  --cs-card:    #ffffff;
}

/* Wrapper */
.t-carousel{
  margin: 22px auto 0;
  max-width: 1100px;          /* overall section width */
  position: relative;
  display: block;
}

/* Viewport shows one slide; let shadows overflow */
.t-viewport{
  overflow: visible;           /* keep card shadow visible */
  width: 100%;
  position: relative;
}

/* Track translates 0%, -100%, ... when JS runs */
.t-track{
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
  transition: transform .6s cubic-bezier(.22,.75,.25,1);
}

/* Slide/card */
.t-slide{
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 960px;            /* cap card width on large screens */
  margin: 0 auto;              /* center card in the viewport */
  padding: 28px;
  box-sizing: border-box;
  background: var(--cs-card);
  border: 1px solid var(--cs-border);
  border-radius: 18px;
  box-shadow: 0 18px 40px -18px rgba(10,18,32,.20);
}

/* Quote text */
.t-slide blockquote{
  margin: 0 0 16px;
  color: var(--cs-ink);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.6;
}

.t-quote{
  width: 22px; height: 22px;
  color: var(--cs-primary);
  opacity: .4;
  position: relative;
  top: -2px;
  margin-right: 6px;
}

/* Attribution */
.t-slide figcaption{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: var(--cs-ink);
}

.t-slide figcaption .muted{ color: var(--cs-muted); }

/* Avatar styles (initial or img holder) */
.t-avatar{
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 999px;
  display: grid; place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, #eef2ff, #f5f7ff);
  border: 1px solid var(--cs-border);
  color: var(--cs-ink);
}
.t-initial{ display: grid; place-items: center; font-weight: 800; }

/* Controls (prev/next) */
.t-controls{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.t-btn{
  width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid var(--cs-border);
  background: #fff;
  color: var(--cs-primary);
  font-weight: 900;
  cursor: pointer;
  display: grid; place-items: center;
  transition: box-shadow .25s ease, transform .25s ease;
}
.t-btn:hover{
  box-shadow: 0 8px 18px -12px rgba(79,70,229,.25);
  transform: translateY(-1px);
}

/* Dots */
.t-dots{
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
}

.t-dots button{
  width: 8px; height: 8px; border-radius: 999px;
  border: 0; cursor: pointer;
  background: #dfe3ee;
  transition: width .25s ease, background .25s ease, transform .25s ease;
}
.t-dots button[aria-current="true"]{
  width: 22px;
  background: linear-gradient(135deg, var(--cs-primary), var(--cs-accent));
}

/* ===== Responsive tweaks ===== */
@media (max-width: 640px){
  .t-slide{ padding: 22px; }
}
/* === Orbit layout (image center, pills around) ============================= */
.orbit-wrap{
  position:relative;
  width:100%;
  max-width:980px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(700px 320px at 20% -10%, rgba(109,40,217,.08), rgba(255,255,255,0) 60%) no-repeat,
    radial-gradient(700px 360px at 90% 20%, rgba(6,182,212,.08), rgba(255,255,255,0) 60%) no-repeat;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Center visual */
.orbit-center{
  position:absolute;
  left:50%; top:50%;
  transform: translate(-50%, -50%);
  width:min(48%, 420px);
  filter: drop-shadow(0 18px 40px rgba(10,18,32,.15));
}
.orbit-center img{
  width:100%; height:auto; display:block; border-radius:14px;
}

/* Pills */
.orbit-pill{
  position:absolute;
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:9px 14px;
  font-weight:800; font-size:.92rem; letter-spacing:.01em;
  border-radius:999px;
  background:linear-gradient(180deg,#fff,#fafbff);
  border:1px solid rgba(10,18,32,.08);
  box-shadow:0 1px 0 rgba(10,18,32,.04) inset, 0 10px 20px -14px rgba(79,70,229,.25);
  color:#0b1220;
  white-space:nowrap;
}

/* Connector lines back to center (subtle, angled) */
.orbit-pill::before{
  content:"";
  position:absolute;
  width:120px; height:1px;
  background:linear-gradient(90deg, rgba(79,70,229,.25), rgba(6,182,212,.15));
  transform-origin:right center;
  right:100%; top:50%;
  opacity:.9;
}

/* Placement (desktop). Top/left in percentages with a tiny jitter for organic feel */
.orbit-pill.p1{ top:10%; left:16%; }  /* SharePoint */
.orbit-pill.p2{ top:6%;  left:58%; }  /* Power Automate */
.orbit-pill.p3{ top:24%; left:78%; }  /* Entra */
.orbit-pill.p4{ top:40%; left:86%; }  /* Defender */
.orbit-pill.p5{ top:68%; left:78%; }  /* Purview */
.orbit-pill.p6{ top:82%; left:55%; }  /* Sentinel */
.orbit-pill.p7{ top:84%; left:24%; }  /* Intune */
.orbit-pill.p8{ top:62%; left:8%;  }  /* Azure */
.orbit-pill.p9{ top:34%; left:6%;  }  /* Teams */

/* Aim each connector roughly toward the center */
.orbit-pill.p1::before{ transform: rotate(10deg);   }
.orbit-pill.p2::before{ transform: rotate(-5deg);   }
.orbit-pill.p3::before{ transform: rotate(-20deg);  }
.orbit-pill.p4::before{ transform: rotate(-35deg);  }
.orbit-pill.p5::before{ transform: rotate(-160deg); }
.orbit-pill.p6::before{ transform: rotate(180deg);  }
.orbit-pill.p7::before{ transform: rotate(165deg);  }
.orbit-pill.p8::before{ transform: rotate(150deg);  }
.orbit-pill.p9::before{ transform: rotate(35deg);   }

/* Hover nudge */
.orbit-pill:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -18px rgba(79,70,229,.35);
  border-color: rgba(79,70,229,.32);
}

/* Responsive: on smaller screens, collapse to stacked + centered */
@media (max-width: 960px){
  .orbit-wrap{
    aspect-ratio:auto;
    padding:22px 16px 16px;
  }
  .orbit-center{
    position:relative;
    transform:none;
    left:auto; top:auto;
    margin: 0 auto 14px;
    width:min(82%, 440px);
  }
  .orbit-pill{
    position:relative;
    display:inline-flex;
    margin:6px;
  }
  .orbit-pill::before{ display:none; }
  /* Simple evenly-distributed wrap */
  .orbit-wrap{
    display:flex; flex-direction:column; align-items:center;
  }
  .orbit-wrap .orbit-pill{
    /* let pills flow under the image */
  }
  /* Put pills into a neat wrap row under the image */
  .orbit-wrap::after{ content:""; display:block; }
}
/* === FAQ Grid (matches feature cards) ======================= */
.faq-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:18px;
}
@media (max-width:920px){ .faq-grid{ grid-template-columns:1fr; } }

.faq-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
}

.faq-card details{ margin:0; }
.faq-card summary{
  list-style:none;
  display:flex; align-items:center; gap:12px;
  padding:18px;
  cursor:pointer; user-select:none;
}
.faq-card summary::-webkit-details-marker{ display:none; }

/* Icon (same visual system as .icon elsewhere) */
.faq-icon{
  width:42px; height:42px; flex:0 0 42px;
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, rgba(79,70,229,.16), rgba(6,182,212,.14));
  color:var(--primary);
}
.faq-icon svg{ width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.8; }

/* Question text */
.faq-q{ font-weight:800; font-size:1.05rem; color:var(--fg); }

/* Plus / minus chevron */
.faq-toggle{
  margin-left:auto; width:28px; height:28px; border-radius:999px;
  display:grid; place-items:center; color:var(--muted);
  border:1px solid var(--border); background:#fff;
  transition:transform .2s ease;
}
.faq-card[open] .faq-toggle{ transform:rotate(45deg); }

.faq-body{
  padding:0 18px 18px 78px; /* indent body under text column */
  color:var(--muted);
}
.faq-body p{ margin:.2rem 0 .8rem; }
.faq-body .pill-row{ display:flex; gap:8px; flex-wrap:wrap; margin-top:6px; }

/* === Footer 2.0 ============================================= */
.footer {
  border-top: 1px solid rgba(10,18,32,.08);
  background: linear-gradient(180deg,#fafbff 0%,#ffffff 100%);
  padding: 50px 0 24px;
  color: #0b1220;
}
.footer-container {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding: 0 22px;
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-brand .socials a {
  color: var(--primary);
  display: inline-flex;
  margin-top: 8px;
  transition: transform .2s ease;
}
.footer-brand .socials a:hover {
  transform: translateY(-2px);
}
.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 6px;
}
.footer-links a {
  color: var(--fg);
  text-decoration: none;
  opacity: .85;
}
.footer-links a:hover {
  color: var(--primary);
  opacity: 1;
}
.subscribe-form {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}
.subscribe-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .9rem;
}
.footer-bottom {
  border-top: 1px solid rgba(10,18,32,.06);
  margin-top: 40px;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  opacity: .75;
}
.footer-links-inline {
  display: flex;
  gap: 8px;
  align-items: center;
}
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

