/* index.css -- styles used only on index.html.
   Generated by tools/split-css.js from the original style.css. */



.hero {
  width: min(100% - 96px, 1080px);
  min-height: 449px;
  margin: 2px auto 0;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: start;
  position: relative;
  isolation: isolate;
  animation: heroSettle .75s ease both;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2px -52px 0 -52px;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(1, 7, 22, .96), rgba(1, 7, 22, .56) 45%, rgba(1, 7, 22, .08) 76%),
    linear-gradient(180deg, rgba(1, 7, 22, .04), rgba(1, 7, 22, .85));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -52px 0 -52px;
  height: 92px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(2, 8, 25, .96));
}

.hero-copy {
  padding-top: 50px;
  position: relative;
  z-index: 3;
  animation: riseFade .7s ease .08s both;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 4.45vw, 53px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(0, 179, 255, .16);
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.trust-item {
  display: grid;
  grid-template-columns: 30px max-content;
  column-gap: 7px;
  align-items: center;
  min-width: 66px;
}

.trust-item strong {
  font-size: 13px;
  line-height: 1.1;
}
.trust-item small {
  grid-column: 2;
  color: #d2dbf4;
  font-size: 10px;
  line-height: 1.1;
}

.trust-icon {
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.44);
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.trust-icon img {
  width: 30px;
  height: 30px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.qb .trust-icon {
  background: #2dbd35;
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 0 12px rgba(55, 224, 67, .35);
}

.seal-mark {
  position: relative;
}
.seal-mark::before { content: "IRS"; font-size: 9px; letter-spacing: 0; }

.hero-visual {
  position: relative;
  min-height: 486px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  z-index: 2;
  animation: heroFloat 7s ease-in-out infinite;
}

.hero-visual img {
  display: block;
  width: 117%;
  max-width: none;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 22px 46px rgba(0, 0, 0, .36));
}

.section-pad {
  width: min(100% - 108px, 1040px);
  margin: 28px auto 0;
  padding-top: 4px;
}

.services h2 {
  margin: 0 0 15px;
  text-align: center;
  font-size: 31px;
  line-height: 1.15;
  font-weight: 800;
}
.services h2 span { color: var(--cyan); }

.violet-card {
}
.violet-card::before {  }

.learn-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
  transition: color .22s ease, text-shadow .22s ease;
}

.learn-link span {
  display: inline-block;
  transition: transform .22s ease;
}

.learn-link:hover {
  text-shadow: 0 0 16px rgba(0, 201, 255, .38);
}

.service-card:hover .learn-link span {
  transform: translateX(4px);
}

.pricing,
.testimonials,
.videos {
  width: min(100% - 96px, 1080px);
  margin: 0 auto;
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 clamp(24px, 3.2vw, 34px);
}

.pricing-tab {
  min-height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color .22s ease, border-color .22s ease, background .22s ease, transform .22s ease;
}

.pricing-tab:hover {
  color: #fff;
  border-color: rgba(0, 205, 255, .6);
}

.pricing-tab:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.pricing-tab.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, #13c7ff 0%, #0576ff 100%);
  box-shadow: 0 12px 28px rgba(0, 128, 255, .28), inset 0 1px 0 rgba(255,255,255,.38);
  transform: translateY(-1px);
}

.pricing-panels {
  position: relative;
}

.pricing-panel {
  display: none;
}

.pricing-panel.active {
  display: grid;
  animation: pricingPanelIn .35s ease both;
}

@keyframes pricingPanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-panel.active {
    animation: none;
  }
}

/* US LLC cards only: "+ State Fee" sits inline beside the price digits
   (same grid row as currency+amount) instead of on its own line, while
   the existing "One Time" <small> keeps its original position/styling. */
#pricing-panel-llc .price .state-fee {
  grid-row: 1;
  grid-column: 3;
  align-self: end;
  margin-left: 4px;
  padding-bottom: 3px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #e6efff;
  white-space: nowrap;
  text-shadow: none;
}

/* Same inline "+ fee" treatment for the UK LTD tab's government fee. */
#pricing-panel-ukltd .price .state-fee {
  grid-row: 1;
  grid-column: 3;
  align-self: end;
  margin-left: 4px;
  padding-bottom: 3px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #e6efff;
  white-space: nowrap;
  text-shadow: none;
}

/* Checkmark treatment, CTA breathing room, and the "Most Popular" badge
   fix for ".price-card" now live in pricing-shared.css (unscoped), since
   the standalone pricing pages (llc/itin/bookkeeping/uk-ltd-pricing.html)
   share the exact same component and now use the same treatment. */

.feature-strip {
  width: min(100% - 96px, 1080px);
  margin: 15px auto 15px;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
}

/* The reference screenshot shows this section sitting flush on the page
   background -- no card border, corner-cut, or glass-panel fill like the
   other boxed homepage sections get from the generic
   ".home-page .container > section" rules -- so that treatment is
   cancelled here only, leaving the shared ambient page background (see
   .home-page main::before) visible behind the content. */
.feature-strip,
.home-page .feature-strip {
  padding: clamp(18px, 2.6vw, 30px) 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.feature-strip::before,
.feature-strip::after {
  content: none !important;
}

/* Small accent line above the eyebrow, matching the screenshot. */
.feature-strip .section-heading {
  position: relative;
  padding-top: 22px;
}
.feature-strip .section-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 90px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(94, 168, 255, .65), transparent);
}

/* Accreditation subtitle -- sits under the section-heading h2, above the
   four certification badges. */
.feature-strip-subtitle {
  margin: 12px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.feature-strip .section-heading h2 span {
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(0, 179, 255, .16);
}

/* Certification badges (IRS / QuickBooks / Xero / AIPB) -- logo on a
   neutral plate (so transparent-background and white-background source
   images read consistently), caption centered below. */
.accreditation-badge {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.accreditation-logo {
  width: 108px;
  height: 108px;
  padding: 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f4f7fc;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
  transition: transform .24s cubic-bezier(.2,.8,.2,1);
}

.accreditation-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.accreditation-badge:hover .accreditation-logo {
  transform: translateY(-4px);
}

.accreditation-badge p {
  margin: 0;
  max-width: 190px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.stars.small { font-size: 14px; margin-top: 3px; }

@media (max-width: 980px) {

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero::before {
    display: none;
  }
  .hero-copy {
    padding-top: 25px;
    position: relative;
    z-index: 2;
  }
  .hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: 0;
    overflow: hidden;
    opacity: .4;
    pointer-events: none;
    mask-image:
      radial-gradient(ellipse at 78% 48%, #000 0%, rgba(0, 0, 0, .7) 42%, rgba(0, 0, 0, .34) 60%, transparent 86%),
      linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .72) 14%, #000 44%, rgba(0, 0, 0, .72) 84%, transparent 100%);
    -webkit-mask-image:
      radial-gradient(ellipse at 78% 48%, #000 0%, rgba(0, 0, 0, .7) 42%, rgba(0, 0, 0, .34) 60%, transparent 86%),
      linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .72) 14%, #000 44%, rgba(0, 0, 0, .72) 84%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
  }
  .hero-visual img {
    width: auto;
    height: 100%;
    max-width: none;
    object-position: right center;
    border-radius: 0;
    filter: none;
  }
  .section-pad {
    margin-top: 34px;
  }
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .hero h1 { font-size: 45px; }
  .trust-row { gap: 14px; }
  .section-pad {
    margin-top: 30px;
  }
  .feature-strip {
    grid-template-columns: 1fr;
  }
}

/* Client testimonial marquee (right-to-left, continuous loop) */
.testimonial-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: testimonial-scroll 48s linear infinite;
}

.testimonial-marquee:hover .testimonial-track,
.testimonial-marquee:focus-within .testimonial-track {
  animation-play-state: paused;
}

@keyframes testimonial-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-card {
  flex: 0 0 340px;
  width: 340px;
  min-height: 190px;
  padding: 20px 24px;
}

.marquee-card .avatar {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

.marquee-card p {
  font-size: 14px;
  line-height: 1.55;
}

.marquee-card .stars {
  font-size: 20px;
}

.marquee-card .person strong {
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none;
  }
}

/* Homepage client-review YouTube embed */
.video-embed {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 16 / 9;
  margin: 0 auto clamp(28px, 4vw, 40px);
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 12px 24px rgba(0,0,0,.27);
}

.video-embed-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 620px) {
  .marquee-card {
    flex-basis: 285px;
    width: 285px;
    padding: 18px 20px;
  }
}