/* ─── AuraGrid final site — final.css ───────────────────────────────────────
   Supplements style.css (Claude v2 base). Home-page layout fixes only.
   Desktop rules scoped to home selectors; mobile rules kept minimal.
   ─────────────────────────────────────────────────────────────────────────── */

/* ── Skip link ────────────────────────────────────────────────────────────── */
.skip {
  position: absolute;
  top: -44px;
  left: 6px;
  background: #0b1846;
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 6px 6px;
  font-size: 14px;
  text-decoration: none;
  z-index: 1000;
}
.skip:focus { top: 0; }

/* ── Muted footer span ────────────────────────────────────────────────────── */
footer .muted {
  color: #6b7694;
  font-size: 10.31px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO — strict 2-column grid: text ~46%, art ~54%
   Text column has z-index:2 so nothing from the art column can bleed over it.
   Art column uses overflow:visible so absolutely-positioned cards are NOT
   clipped — they are contained by their coordinates staying within the column.
   ══════════════════════════════════════════════════════════════════════════ */
.hero.fh { 
  padding: 0; 
  overflow-x: hidden; /* Prevent horizontal overflow */
}

.hero-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 0;
  align-items: center;
  min-height: 440px;
  padding: 18px 0 14px;
  width: 100%;
  box-sizing: border-box;
}

/* Left copy column */
.hero-grid .hl {
  width: 100%;
  padding: 0 28px 0 0;
  position: relative;
  z-index: 2;          /* text always above art */
  box-sizing: border-box;
}

/* Hero headline — 52px so it wraps to 2 lines at 1440 */
.hero-grid .hl h1 {
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -1.4px;
}

/* Right art column — fixed height, overflow VISIBLE so cards show */
.hero-art-col {
  position: relative;
  height: 400px;
  overflow: hidden;   /* Clip cards to prevent overflow */
  z-index: 1;
}

/* ── Floating card base ───────────────────────────────────────────────────── */
.hfloat {
  position: absolute;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border-radius: 16px;
  box-shadow:
    inset 0 2px 0 #fff,
    0 0 0 1px rgba(197,217,248,.7),
    0 6px 0 rgba(206,222,248,.9),
    0 24px 36px -14px rgba(20,55,150,.45),
    0 8px 14px -6px rgba(20,55,150,.2);
  animation: hflt 6s ease-in-out infinite;
}
.hfloat-d2 { animation-delay: -2s; }
.hfloat-d3 { animation-delay: -4s; }
@keyframes hflt {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* ── Channels list card — left edge of art col ────────────────────────────── */
/* Art col ≈ 54% of ~940px content = ~508px.
   Card: left:4, width:148 → right edge at 152px. */
.hsc-card {
  left: 4px;
  top: 36px;
  width: 148px;
  padding: 10px 10px 6px;
  z-index: 3;
}
.hsc-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #0b1846;
  margin-bottom: 5px;
}
.hsc-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  border-top: 0.71px solid #eef2f9;
  font-size: 10.5px;
  font-weight: 500;
  color: #27325a;
}
.hsc-row i[data-art] { width: 22px; height: 22px; display: block; flex: none; }
.hsc-icon { flex: none; }

/* ── Hub (glowing centre) ─────────────────────────────────────────────────── */
/* Art col ≈ 508px.
   Channels card right edge: 4+148 = 152px.
   Right cards: right:4, width:200 → left edge: 508-204 = 304px.
   Hub centre target: (152+304)/2 = 228px.
   Hub width = 140px → left = 228-70 = 158px. */
.hero-art-centre {
  position: absolute;
  left: 158px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
}
.hhub {
  width: 140px;
  padding: 12px 10px 10px;
  background: radial-gradient(120% 90% at 50% 35%, #ffffff 0%, #f6f7ff 55%, #e9edff 100%);
  border-radius: 20px;
  border: 1.5px solid #9fd0ff;
  box-shadow:
    0 0 0 3px rgba(96,165,250,.18),
    0 0 18px 4px rgba(59,130,246,.45),
    0 0 44px 8px rgba(56,189,248,.28),
    inset 0 1px 0 #fff;
  text-align: center;
  animation: gpulse 3.2s ease-in-out infinite;
}
@keyframes gpulse {
  50% { box-shadow:
    0 0 0 3px rgba(96,165,250,.28),
    0 0 26px 6px rgba(59,130,250,.6),
    0 0 56px 12px rgba(56,189,248,.4),
    inset 0 1px 0 #fff; }
}
.hhub b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #141a46;
  letter-spacing: -.4px;
  margin-top: 4px;
}
.hhub small {
  display: block;
  font-size: 9px;
  color: #2f3658;
  margin-top: 2px;
}

/* ── Right column cards — chat, reply, mini-cards ─────────────────────────── */
/* All anchored to right:4px, width:200px.
   Art col ≈ 508px → left edge of right cards: 508-204 = 304px.
   Stacked: chat top:8, reply top:112, mini-cards top:248.
   Mini-cards bottom: 248 + 3*(34+5) = 248+117 = 365px < 380px ✓ 
   Adjust positions to fit within 508px art column */
.hcc-card {
  right: 4px;
  top: 8px;
  width: 180px; /* Reduced width to fit within column */
  padding: 10px 12px;
  z-index: 3;
}
.hcc-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}
.hcc-head b { font-size: 11px; font-weight: 700; color: #0b1846; }
.hcc-body {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.hcc-msg { flex: 1; }
.hcc-msg span { font-size: 10.5px; line-height: 1.45; color: #27325a; display: block; }
.hcc-msg small { font-size: 9.5px; color: #8a94ad; display: block; margin-top: 2px; }

/* Reply sent card */
.hrc-card {
  right: 4px;
  top: 100px; /* Adjusted position */
  width: 180px; /* Reduced width to fit within column */
  padding: 10px 12px;
  z-index: 3;
}
.hrc-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}
.hrc-head b { font-size: 11px; font-weight: 700; color: #0b1846; }
.hrc-body {
  font-size: 10.5px;
  line-height: 1.5;
  color: #27325a;
  margin: 0 0 7px;
}
.hrc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e9eef7;
  padding-top: 5px;
}
.hrc-foot span { font-size: 10.5px; color: #3a4566; }

/* Mini CRM/cal/bell cards */
.hmc-row {
  position: absolute;
  right: 4px;
  top: 210px; /* Adjusted position */
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 3;
}
.hmc-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  width: 180px; /* Reduced width to fit within column */
  padding: 6px 10px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow:
    inset 0 2px 0 #fff,
    0 0 0 1px rgba(197,217,248,.7),
    0 4px 0 rgba(206,222,248,.9),
    0 10px 18px -8px rgba(20,55,150,.3);
}
.hmc-card span { font-size: 10.5px; font-weight: 500; color: #27325a; }

/* ══════════════════════════════════════════════════════════════════════════
   PRODUCTS section
   ══════════════════════════════════════════════════════════════════════════ */
.products-section { 
  padding: 20px 0 16px; /* Reduced padding */
}
.products-section .grid.g4 { margin-top: 10px; gap: 10px; }

.products-section .card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.products-section .card ul { flex-grow: 1; }
.products-section .card .price {
  font-weight: 700;
  font-size: 12.8px;
  color: #0b1846;
  padding-top: 8px;
  margin-top: auto;
}
.products-section .card .cbtn {
  margin-top: 8px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 600;
  font-size: 11px;
  color: #1d63ff;
  background: #eaf2ff;
  border: 0.71px solid #d6e6ff;
}

/* ══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS — 2-column grid: heading left, steps right
   ══════════════════════════════════════════════════════════════════════════ */
.how { 
  padding: 20px 0 16px; /* Reduced padding */
}

.how-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

.how-left { padding-top: 4px; }
.how-left h2 { font-size: 24px; margin-top: 6px; }
.how-left .sub { font-size: 11.5px; margin-top: 4px; }
.how-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  font-size: 11px;
  margin-top: 12px;
}

/* Steps grid — 4 equal columns */
.how-right .steps4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  position: relative;
}
.how-right .steps4::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg, #1d63ff 0%, #e2e9f6 100%);
  z-index: 0;
}
.how-right .st {
  background: #fff;
  border: 0.71px solid #e6edf8;
  border-radius: 11px;
  padding: 10px 10px 12px;
  box-shadow: 0 10px 22px -16px rgba(23,60,160,.4);
  text-align: center;
  position: relative;
  z-index: 1;
}
.how-right .st .hd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 700;
  color: #0b1846;
  white-space: nowrap;
}
.how-right .st .n {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #3b8bff, #1d63ff);
  box-shadow: 0 2px 6px -2px rgba(29,99,255,.65);
  flex: none;
}
.how-right .st .art {
  display: flex;
  justify-content: center;
  margin: 6px 0;
}
.how-right .st p {
  font-size: 10px;
  line-height: 1.4;
  color: #4a5677;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   PRICING — 2-column grid: text+plans left, laptop art right
   ══════════════════════════════════════════════════════════════════════════ */
.pricing-section { 
  padding: 20px 0 16px; /* Reduced padding */
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 20px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.pricing-left h2 { font-size: 26px; margin-top: 6px; }
.pricing-left .sub { font-size: 11.5px; margin-top: 4px; }

.plans2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 0.71px solid #e6edf8;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 10px 22px -16px rgba(23,60,160,.45);
}
.plan h3 { font-size: 12px; color: #0b1846; font-weight: 700; }
.plan p  { font-size: 10.5px; color: #4a5677; margin-top: 2px; }
.rnd {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  background: linear-gradient(180deg, #3b8bff, #1d63ff);
  box-shadow: 0 4px 10px -4px rgba(29,99,255,.75);
  flex: none;
  margin-left: 10px;
}

.pricing-right .lapw {
  position: relative;
  width: 400px;
  height: 200px;
  perspective: 924px;
}
.pricing-right .lap3 {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(6deg) rotateY(-16deg);
}

/* ══════════════════════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════════════════════ */
.faq-section { 
  padding: 20px 0 16px; /* Reduced padding */
}
.faq-section h2 { font-size: 27px !important; }

.faq.f2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 16px;
  margin-top: 10px;
}
.faq .q {
  display: block !important;
  background: #fff;
  border: 0.71px solid #e3eaf6;
  border-radius: 7px;
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  color: #1e2a52;
  box-shadow: 0 5px 14px -11px rgba(23,60,160,.55);
  cursor: pointer;
}
.faq .q::after { display: none !important; }
.faq .q summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 11px;
  color: #1e2a52;
  cursor: pointer;
  gap: 8px;
}
.faq .q summary::-webkit-details-marker { display: none; }
.faq .q summary::after {
  content: '';
  display: block !important;
  width: 5px;
  height: 5px;
  border-right: 1.4px solid #1e2a52;
  border-bottom: 1.4px solid #1e2a52;
  transform: rotate(45deg) translate(-2px,-2px);
  flex: none;
}
.faq .q[open] summary::after {
  transform: rotate(-135deg) translate(-2px,-2px);
}
.faq .q p {
  font-weight: 400;
  color: #4a5677;
  line-height: 1.5;
  padding: 0 12px 10px;
  margin: 0;
  font-size: 10.5px;
}

.more {
  display: inline-flex;
  margin-top: 10px;
  color: #1d63ff;
  font-weight: 600;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ══════════════════════════════════════════════════════════════════════════
   CTA band
   ══════════════════════════════════════════════════════════════════════════ */
.cta { 
  padding: 20px 0 16px; /* Reduced padding */
}
.cta .w {
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 12px;
  padding: 14px 28px;
  min-height: 68px;
  overflow: hidden;
  background:
    radial-gradient(280px 140px at 88% 30%, rgba(59,130,246,.5), transparent 70%),
    radial-gradient(200px 130px at 10% 120%, rgba(56,189,248,.22), transparent 70%),
    linear-gradient(90deg, #0a1745, #0b1c56 60%, #0d2470);
  box-shadow: 0 18px 32px -18px rgba(9,20,58,.65);
}
.cta i.tile { width: 58px; height: 58px; display: block; flex: none; }
.cta h2 { color: #fff; font-size: 18px; margin: 0; letter-spacing: -.5px; }
.cta p  { color: #c7d3f2; font-size: 11px; margin-top: 3px; }
.cta .btns { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.cta .bo { background: transparent; color: #fff; border: 1px solid #3d4f86; }
.cta i.pl { width: 96px; height: 70px; display: block; flex: none; margin-right: -6px; }

/* ══════════════════════════════════════════════════════════════════════════
   TRUST bar
   ══════════════════════════════════════════════════════════════════════════ */
.tr-f .w {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  background: #fff;
  border: 0.71px solid #e6edf8;
  border-radius: 11px;
  box-shadow: 0 11px 26px -18px rgba(23,60,160,.35);
}
.tr-f .ti {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 10.5px;
  line-height: 1.45;
  color: #4a5677;
  border-right: 0.71px solid #edf1f8;
}
.tr-f .ti:last-child { border: 0; }
.tr-f .ti .tix { flex: none; }
.tr-f .ti .tix i { width: 28px; height: 28px; display: block; }
.tr-f .ti b { display: block; color: #27325a; font-weight: 500; }

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER — compact version
   ══════════════════════════════════════════════════════════════════════════ */
footer.ft {
  padding: 28px 0 16px;
}
@media (min-width: 900px) {
  footer.ft .fg {
    display: grid;
    grid-template-columns: 1.3fr 1.1fr .8fr 1.9fr 1fr;
    gap: 24px;
  }
}
footer.ft .c a {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
footer.ft .c:nth-child(4) {
  column-count: 2;
  column-gap: 16px;
}
footer.ft .c:nth-child(4) h4 {
  column-span: all;
}

/* ══════════════════════════════════════════════════════════════════════════
   390 px — no horizontal overflow
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  body { width: 100%; overflow-x: hidden; }

  .hero-grid {
    display: block;
    padding: 18px 0 14px;
  }
  .hero-grid .hl { width: 100% !important; padding-right: 0 !important; }
  .hero-grid .hl h1 { font-size: 36px; }
  .hero-art-col { display: none; }

  .checks { flex-wrap: wrap; gap: 10px; }

  .tr-f .w { grid-template-columns: 1fr; }
  .tr-f .ti { border-right: 0; border-bottom: 0.71px solid #edf1f8; }
  .tr-f .ti:last-child { border-bottom: 0; }

  .products-section .grid.g4 { grid-template-columns: 1fr; }

  .how-grid { display: block; }
  .how-right .steps4 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .how-right .steps4::before { display: none; }

  .pricing-grid { display: block; }
  .pricing-right { display: none; }
  .plans2 { grid-template-columns: 1fr; }

  .faq.f2 { grid-template-columns: 1fr; }

  .cta .w { flex-direction: column; text-align: center; gap: 10px; padding: 14px 18px; }
  .cta .btns { margin: 0 auto; flex-direction: column; align-items: center; }

  .ft .fg { grid-template-columns: 1fr 1fr; }
  
  /* Reset footer columns on mobile */
  footer.ft .c:nth-child(4) {
    column-count: initial;
  }
}
