/* Homepage sections (resources/views/site/sections). */
.hm-section { padding: 72px 0; }
.hm-section + .hm-section { padding-top: 0; }
.hm-heading { padding-bottom: 32px !important; }
.hm-heading + .hm-plans { padding-top: 0; }
.hm-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.hm-title { font-size: clamp(1.45rem, 2.6vw, 2.05rem); line-height: 1.55; font-weight: 800; margin: 0 0 10px; color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
.hm-title-sm { font-size: clamp(1.25rem, 2.1vw, 1.6rem); }
.hm-lead { color: var(--muted); font-size: 1.02rem; line-height: 2; }
.hm-lead p { margin: 0 0 .6em; }
.hm-lead p:last-child { margin: 0; }
.hm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--primary); background: rgba(21, 96, 255, .07); border: 1px solid rgba(21, 96, 255, .2); padding: 4px 14px; border-radius: 999px; margin-bottom: 14px; }
.hm-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px var(--primary); animation: hm-pulse 2s ease-in-out infinite; }
@keyframes hm-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }
.hm-grid { display: grid; gap: 20px; }
.hm-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.hm-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hm-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); flex-shrink: 0; }
.hm-icon .icon { width: 26px; height: 26px; }
.hm-icon-lg { width: 56px; height: 56px; border-radius: 16px; }
.hm-icon-lg .icon { width: 30px; height: 30px; }
.hm-sub { color: var(--muted); font-size: .88rem; }

/* Check lists */
.hm-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hm-checks li { position: relative; padding-inline-start: 28px; font-size: .92rem; color: var(--muted); line-height: 1.8; }
.hm-checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231560ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.8 2.6L12 5.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.hm-checks li b { color: var(--ink); font-weight: 700; }
.hm-checks-sm li { font-size: .88rem; }

/* Hero */
/* Calm midnight indigo built on the logo blue (#1622c0); --hm-line is the canvas streak color. */
.hm-hero {
  --hm-line: 165, 185, 255;
  position: relative; overflow: hidden; isolation: isolate; color: rgba(255, 255, 255, .84);
  background:
    radial-gradient(820px 480px at 12% 0%, rgba(110, 140, 255, .32), transparent 62%),
    radial-gradient(680px 460px at 85% 115%, rgba(94, 200, 255, .16), transparent 62%),
    linear-gradient(160deg, #0b1244 0%, #19237f 50%, #2d43b5 100%);
}
.hm-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hm-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to left, rgba(12, 19, 71, .72) 6%, rgba(12, 19, 71, .35) 40%, rgba(12, 19, 71, 0) 72%); }
.hm-hero-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hm-hero-wrap.is-single { grid-template-columns: 1fr; }
.hm-hero h1 { font-size: clamp(1.85rem, 4vw, 3rem); line-height: 1.45; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; margin: 0; max-width: 15em; color: #fff; }
.hm-hero .hm-lead { margin: 20px 0 0; max-width: 34em; font-size: 1.07rem; color: rgba(255, 255, 255, .82); }
.hm-hero .hm-actions .btn-primary { background: #fff; color: #1622c0; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55); }
.hm-hero .hm-actions .btn-primary:hover { background: #e3e9ff; color: #101a99; }
.hm-hero .hm-actions .btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hm-hero .hm-actions .btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.hm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hm-facts { display: flex; flex-wrap: wrap; margin: 44px 0 0; }
.hm-facts div { padding-inline-end: 28px; margin-inline-end: 28px; border-inline-end: 1px solid rgba(255, 255, 255, .2); }
.hm-facts div:last-child { border: 0; margin: 0; padding: 0; }
.hm-facts dt { font-size: 1.35rem; font-weight: 800; color: #fff; }
.hm-facts dd { margin: 2px 0 0; font-size: .82rem; color: rgba(255, 255, 255, .68); }
.hm-hero-plans { width: 100%; max-width: 440px; margin-inline: auto 0; }
/* Hero image (slot hero-home.webp, 720x600) in place of the plan cards */
.hm-hero-media { position: relative; margin: 0; width: 100%; max-width: 540px; margin-inline: auto 0; }
.hm-hero-media::before { content: ""; position: absolute; inset: 12% 10%; z-index: -1; border-radius: 50%; background: rgba(110, 150, 255, .45); filter: blur(70px); }
.hm-hero-media img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(3, 7, 40, .45)); }
.hm-hero-media img.up-slot-empty { border-radius: 22px; filter: none; box-shadow: 0 30px 70px -30px rgba(3, 7, 40, .7); }
.hm-tabs { display: flex; gap: 4px; padding: 4px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); border-radius: 14px; margin-bottom: 12px; }
.hm-tab { flex: 1; min-height: 42px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .78); transition: background .2s, color .2s; }
.hm-tab:hover { color: #fff; }
.hm-tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11, 27, 51, .12); }
.hm-hero-card { background: #fff; border: 0; border-radius: 20px; padding: 26px; color: var(--muted); box-shadow: 0 30px 70px -30px rgba(3, 7, 40, .7); }
.hm-hero-card[hidden] { display: none !important; }
.hm-hero-card:not([hidden]) { animation: hm-in .28s ease; }
@keyframes hm-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hm-hero-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hm-hero-card h2 { font-size: 1.2rem; font-weight: 800; margin: 0; color: var(--ink); }
.hm-tag { font-size: .75rem; font-weight: 600; color: var(--primary-dark); background: var(--primary-soft); padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.hm-hero-card .hm-sub { margin: 4px 0 0; }
.hm-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin: 20px 0; padding-block: 16px; border-block: 1px solid var(--border); }
.hm-price strong { font-size: 2.75rem; font-weight: 900; line-height: 1; color: var(--ink); }
.hm-price span { font-size: .88rem; color: var(--muted); }
.hm-price del { margin-inline-start: auto; font-size: .82rem; color: #8a99ae; }
.hm-hero-card .btn { margin-top: 24px; }
@media (max-width: 900px) {
  .hm-hero-wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
  .hm-hero-plans { max-width: none; }
  .hm-hero-media { max-width: 420px; margin-inline: auto; }
  .hm-hero::after { background: linear-gradient(to bottom, rgba(12, 19, 71, .55), rgba(12, 19, 71, .2)); }
}
@media (max-width: 520px) {
  .hm-actions .btn { flex: 1 1 100%; }
  .hm-facts div { padding-inline-end: 16px; margin-inline-end: 16px; }
}

/* Intro */
.hm-intro { padding-top: 72px !important; }
.hm-intro-head { text-align: center; max-width: 860px; margin: 0 auto 36px; }
.hm-text { color: var(--muted); line-height: 2.1; font-size: 1.02rem; }
.hm-feature { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--border); color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.hm-feature:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(21, 96, 255, .3); }
.hm-feature-body { display: grid; gap: 2px; }
.hm-feature-body strong { color: var(--ink); font-size: 1rem; }
.hm-feature-body span { color: var(--muted); font-size: .88rem; line-height: 1.8; }

/* Plans */
.hm-plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.hm-plan { position: relative; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 26px 22px 22px; transition: transform .2s, box-shadow .2s; }
.hm-plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hm-plan.is-featured { border: 2px solid var(--primary); box-shadow: 0 18px 40px -20px rgba(21, 96, 255, .45); }
.hm-plan-badge { position: absolute; top: 0; inset-inline-start: 22px; transform: translateY(-50%); background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; box-shadow: 0 6px 14px -4px rgba(21, 96, 255, .5); }
.hm-plan-code { align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--primary-dark); background: var(--primary-soft); padding: 1px 10px; border-radius: 6px; }
.hm-plan h3 { margin: 4px 0 0; font-size: 1.12rem; color: var(--ink); }
.hm-plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; padding: 12px 0 16px; margin-bottom: 14px; border-bottom: 1px dashed var(--border); }
.hm-plan-price strong { font-size: 1.65rem; font-weight: 900; color: var(--ink); }
.hm-plan-price span { color: var(--muted); font-size: .82rem; }
.hm-plan .hm-checks { flex: 1; margin-bottom: 20px; }
.hm-more { text-align: center; margin-top: 28px; }
@media (max-width: 1100px) { .hm-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hm-plan-grid { grid-template-columns: 1fr; } }

/* Compare */
.hm-compare { background: #fff; padding-top: 72px !important; border-block: 1px solid var(--border); margin-bottom: 72px; }
.hm-compare-card { position: relative; display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px 30px; box-shadow: 0 1px 2px rgba(15, 23, 42, .03), 0 10px 28px rgba(15, 23, 42, .04); transition: transform .25s, box-shadow .25s, border-color .25s; }
.hm-compare-card:hover { transform: translateY(-4px); border-color: rgba(21, 96, 255, .3); box-shadow: 0 18px 36px rgba(21, 96, 255, .1); }
.hm-compare-card.is-featured { border-color: rgba(21, 96, 255, .4); }
.hm-compare-card .hm-plan-badge { inset-inline-start: 30px; }
.hm-compare-card header { display: flex; align-items: center; gap: 14px; }
.hm-compare-card header img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 4px var(--primary-soft); }
.hm-compare-card h3 { margin: 0; font-size: 1.2rem; color: var(--ink); }
.hm-compare-text { color: var(--muted); font-size: .94rem; line-height: 2; }
.hm-compare-text p { margin: 0; }
.hm-compare-card .hm-checks { flex: 1; }

/* Services (two columns) */
.hm-services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.hm-services-title { display: grid; grid-template-columns: 1fr 120px; gap: 20px; align-items: center; }
.hm-services-intro .hm-lead { margin: 6px 0 28px; }
.hm-orbit { position: relative; display: grid; place-items: center; width: 120px; height: 120px; color: var(--primary); }
.hm-orbit > .icon { width: 44px; height: 44px; transform: rotate(-45deg); animation: hm-float 3.5s ease-in-out infinite; }
.hm-orbit-ring { position: absolute; inset: 22px; border: 1px dashed rgba(91, 107, 130, .3); border-radius: 50%; animation: hm-spin 16s linear infinite; }
.hm-orbit-ring.is-outer { inset: 0; animation-duration: 28s; animation-direction: reverse; }
.hm-orbit-ring::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
@keyframes hm-spin { to { transform: rotate(360deg); } }
@keyframes hm-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.hm-list-title { font-size: 1.1rem; margin: 0 0 14px; color: var(--ink); }
.hm-services-list { display: grid; gap: 14px; }
.hm-service { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--border); color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.hm-service:hover { text-decoration: none; transform: translateX(-4px); border-color: rgba(21, 96, 255, .3); box-shadow: var(--shadow); }
.hm-service-body { display: grid; gap: 2px; flex: 1; }
.hm-service-body strong { color: var(--ink); }
.hm-service-body span { color: var(--muted); font-size: .88rem; }
.hm-service-go { color: var(--muted); }
a.hm-service:hover .hm-service-go { color: var(--primary); }

/* Tiles */
.hm-tiles { padding-top: 72px !important; }
.hm-tile { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; transition: transform .2s, box-shadow .2s; }
.hm-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hm-tile-head { display: flex; align-items: center; gap: 14px; }
.hm-tile-head h3 { margin: 0; font-size: 1.1rem; color: var(--ink); }
.hm-tile-img { width: 48px; height: 48px; object-fit: contain; }
.hm-tile-text { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.9; }
.hm-tile .hm-checks { flex: 1; }
.hm-tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px dashed var(--border); }
.hm-tile-price { font-size: .85rem; font-weight: 700; color: var(--ink); }

/* Testimonials */
.hm-testimonials { background: linear-gradient(180deg, transparent, #eaf1fb); padding-bottom: 88px; }
.hm-quotes { columns: 3 300px; column-gap: 20px; }
.hm-quote { break-inside: avoid; margin: 0 0 20px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: 0 1px 2px rgba(11, 27, 51, .04); }
.hm-stars { display: flex; gap: 2px; color: #d6dde8; }
.hm-stars .on { color: #f5a524; }
.hm-stars .icon { width: 18px; height: 18px; }
.hm-quote blockquote { margin: 10px 0 16px; color: #33435c; font-size: .93rem; line-height: 2; }
.hm-quote blockquote p { margin: 0 0 .5em; }
.hm-quote figcaption { display: flex; align-items: center; gap: 10px; }
.hm-quote figcaption > span:last-child { display: grid; }
.hm-quote small { color: var(--muted); }
.hm-avatar { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #011b82); color: #fff; font-weight: 800; }

/* FAQ */
.hm-faq-list { display: grid; gap: 12px; }
.hm-faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.hm-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
.hm-faq-item summary::-webkit-details-marker { display: none; }
.hm-faq-item summary .icon { transition: transform .2s; color: var(--muted); }
.hm-faq-item[open] summary .icon { transform: rotate(180deg); }
.hm-faq-answer { padding: 0 20px 16px; color: var(--muted); line-height: 2; }
.hm-faq-answer p { margin: 0 0 .5em; }

@media (max-width: 960px) {
  .hm-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-services-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .hm-section { padding: 52px 0; }
  .hm-grid-2, .hm-grid-3 { grid-template-columns: 1fr; }
  .hm-compare { margin-bottom: 52px; }
  .hm-compare-card { padding: 28px 20px; }
  .hm-services-title { grid-template-columns: 1fr 84px; }
  .hm-orbit { width: 84px; height: 84px; }
  .hm-orbit-ring { inset: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-hero-card:not([hidden]), .hm-orbit > .icon, .hm-orbit-ring, .hm-eyebrow .dot { animation: none; }
}
