.ai-hosting-page { background: #fff; }
.ai-hosting-page .site-header { position: relative; }
.ai-hosting-page section[id] { scroll-margin-top: 24px; }

.ai-hero {
  display: grid;
  grid-template-columns: .98fr 1.02fr;
  gap: 72px;
  align-items: center;
  min-height: 700px;
  padding: 92px max(24px, calc((100vw - 1180px) / 2)) 108px;
  background:
    radial-gradient(circle at 8% 18%, rgba(255,202,86,.3) 0 5px, transparent 6px),
    radial-gradient(circle at 92% 12%, rgba(91,97,246,.14) 0 6px, transparent 7px),
    linear-gradient(145deg, #f8f7ff 0%, #f1f2ff 62%, #f9f9ff 100%);
}
.ai-hero h1 { max-width: 670px; margin: 25px 0 28px; font-size: clamp(3.4rem, 5.4vw, 5.85rem); }
.ai-hero h1 em { display: inline; color: var(--blue); font-style: normal; }
.ai-lead { max-width: 640px; color: var(--muted); font-size: 1.05rem; line-height: 1.72; }
.ai-trust { display: flex; flex-wrap: wrap; gap: 20px; margin: 34px 0 0; padding: 0; list-style: none; color: #55586a; font-size: .78rem; font-weight: 700; }
.ai-trust li { display: flex; align-items: center; gap: 8px; }
.ai-trust span { display: grid; width: 25px; height: 25px; place-items: center; color: var(--blue); background: white; border: 1px solid #dcdffa; border-radius: 7px; font-size: .62rem; box-shadow: 0 5px 14px rgba(66,65,130,.08); }

.ai-flow { position: relative; padding: 28px; border: 1px solid rgba(91,97,246,.14); border-radius: 24px; background: rgba(255,255,255,.78); box-shadow: 0 34px 85px rgba(58,60,137,.16); backdrop-filter: blur(10px); }
.ai-flow::before { content: ""; position: absolute; width: 76px; height: 76px; right: -28px; top: -32px; z-index: -1; border-radius: 22px; background: var(--yellow); transform: rotate(14deg); }
.flow-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.flow-head span { color: var(--blue); font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.flow-head b { font: 700 .82rem var(--display); }
.flow-node { position: relative; padding: 19px 20px 18px 62px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.flow-node::before { position: absolute; left: 18px; top: 20px; display: grid; width: 29px; height: 29px; place-items: center; color: white; border-radius: 8px; font-weight: 900; }
.node-ai::before { content: "✦"; background: var(--blue); }
.node-server::before { content: "▦"; color: var(--ink); background: var(--yellow); }
.node-live::before { content: "✓"; background: var(--green); }
.flow-node small, .flow-node strong, .flow-node > span { display: block; }
.flow-node small { color: #9698a6; font-size: .58rem; font-weight: 800; letter-spacing: .09em; }
.flow-node strong { margin: 4px 0 5px; font: 700 1.12rem var(--display); }
.flow-node > span { color: var(--muted); font-size: .72rem; }
.node-live > span { color: #277d56; font-weight: 700; }
.node-live > span i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(85,201,143,.14); }
.flow-link { position: relative; height: 48px; display: flex; align-items: center; justify-content: center; }
.flow-link i { position: absolute; left: 36px; top: 0; bottom: 0; width: 1px; background: #cfd2eb; }
.flow-link i::after { content: ""; position: absolute; left: -3px; bottom: 6px; width: 6px; height: 6px; border-right: 1px solid #9296c3; border-bottom: 1px solid #9296c3; transform: rotate(45deg); }
.flow-link span { padding: 5px 9px; color: #858797; background: #f5f5fb; border-radius: 99px; font-size: .6rem; font-weight: 700; }
.continuity-note { display: flex; gap: 12px; justify-content: space-between; margin-top: 18px; padding: 14px 16px; color: white; background: var(--ink); border-radius: 10px; font-size: .7rem; }
.continuity-note strong { color: var(--yellow); }

.ai-proof { display: grid; grid-template-columns: repeat(3,1fr); width: min(1180px, calc(100% - 48px)); margin: -42px auto 0; position: relative; z-index: 2; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 18px 55px rgba(49,52,111,.11); }
.ai-proof div { display: flex; gap: 18px; align-items: center; padding: 26px 30px; border-right: 1px solid var(--line); }
.ai-proof div:last-child { border-right: 0; }
.ai-proof strong { color: var(--blue); font: 800 1.65rem var(--display); white-space: nowrap; }
.ai-proof span { color: var(--muted); font-size: .75rem; line-height: 1.4; }

.ai-intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: 100px; width: min(1080px, calc(100% - 48px)); margin: auto; padding: 126px 0 112px; }
.ai-intro h2, .ai-offer h2, .ai-independence h2, .ai-method h2, .ai-price h2, .ai-faq h2 { margin: 20px 0 0; font-size: clamp(2.6rem, 4.2vw, 4.5rem); line-height: 1.02; letter-spacing: -.06em; }
.ai-intro-copy { padding-top: 18px; }
.ai-intro-copy p { color: var(--muted); font-size: 1.03rem; line-height: 1.76; }
.ai-intro-copy p + p { margin-top: 22px; }
.ai-intro-copy strong { color: var(--ink); }

.ai-offer { padding: 105px max(24px, calc((100vw - 1180px) / 2)); background: var(--wash); }
.ai-offer .section-heading.compact > p { color: var(--muted); }
.ai-offer-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 52px; }
.ai-offer-grid article { position: relative; min-height: 235px; padding: 34px 34px 32px 96px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 14px 38px rgba(49,52,111,.05); }
.ai-offer-grid article > span { position: absolute; left: 30px; top: 32px; display: grid; width: 42px; height: 42px; place-items: center; color: white; background: var(--blue); border-radius: 10px; font-size: .68rem; font-weight: 800; }
.ai-offer-grid article:nth-child(2) > span { color: var(--ink); background: var(--yellow); }
.ai-offer-grid article:nth-child(3) > span { background: var(--green); }
.ai-offer-grid article:nth-child(4) > span { background: var(--red); }
.ai-offer-grid h3 { margin: 0 0 13px; font-size: 1.45rem; }
.ai-offer-grid p { color: var(--muted); font-size: .92rem; line-height: 1.65; }

.ai-independence { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 74px; padding: 112px max(24px, calc((100vw - 1080px) / 2)); color: white; background: linear-gradient(135deg, #242641, #34375e); }
.ai-independence .eyebrow { color: white; background: rgba(255,255,255,.1); }
.independence-card > p:not(.eyebrow) { max-width: 690px; margin-top: 25px; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.72; }
.independence-detail { margin-top: 30px; padding: 20px 22px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; background: rgba(255,255,255,.06); }
.independence-detail span { color: var(--yellow); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.independence-detail p { margin: 7px 0 0; color: rgba(255,255,255,.68); font-size: .78rem; line-height: 1.55; }
.independence-visual { position: relative; min-height: 360px; }
.sub-card, .site-card { position: absolute; width: 270px; min-height: 175px; padding: 28px; border-radius: 18px; box-shadow: 0 24px 55px rgba(0,0,0,.2); }
.sub-card { top: 26px; left: 0; color: #a7a9b8; background: #f1f1f5; transform: rotate(-7deg); }
.sub-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(30,31,45,.025) 12px 24px); }
.site-card { right: 0; bottom: 22px; z-index: 2; color: var(--ink); background: white; transform: rotate(4deg); }
.sub-card span, .site-card span { display: block; font-size: .58rem; font-weight: 800; letter-spacing: .1em; }
.sub-card strong, .site-card strong { display: block; margin-top: 34px; font: 800 1.5rem var(--display); }
.sub-card i { position: absolute; right: 24px; top: 24px; display: grid; width: 28px; height: 28px; place-items: center; color: #8e909e; background: #dedee5; border-radius: 50%; font-style: normal; }
.site-card i { display: inline-block; width: 9px; height: 9px; margin: 18px 8px 0 0; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(85,201,143,.15); }
.site-card small { color: #777989; font-size: .72rem; }

.ai-method { width: min(1080px, calc(100% - 48px)); margin: auto; padding: 112px 0; }
.ai-method .section-heading { display: block; }
.ai-steps { margin: 58px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ai-steps li { display: grid; grid-template-columns: 70px 1fr; gap: 26px; padding: 30px 8px; border-bottom: 1px solid var(--line); }
.ai-steps li > span { display: grid; width: 46px; height: 46px; place-items: center; color: white; background: var(--blue); border-radius: 11px; font-weight: 800; }
.ai-steps li:nth-child(2) > span { color: var(--ink); background: var(--yellow); }
.ai-steps li:nth-child(3) > span { background: var(--green); }
.ai-steps li:nth-child(4) > span { background: var(--red); }
.ai-steps h3 { margin: 0 0 8px; font-size: 1.3rem; }
.ai-steps p { max-width: 770px; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.compatibility-note { margin: 30px 0 0 96px; padding: 18px 20px; color: var(--muted); background: var(--wash); border-left: 4px solid var(--blue); border-radius: 5px; font-size: .82rem; line-height: 1.6; }
.compatibility-note strong { color: var(--ink); }

.ai-price { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; padding: 112px max(24px, calc((100vw - 1080px) / 2)); background: linear-gradient(145deg, #f3f2ff, #fafaff); }
.price-copy { position: sticky; top: 40px; }
.price-copy > p:last-child { max-width: 420px; margin-top: 24px; color: var(--muted); }
.ai-price-card { overflow: hidden; border: 1px solid #d8d8f0; border-radius: 18px; background: white; box-shadow: 0 24px 65px rgba(49,52,111,.12); }
.price-top { padding: 34px; color: white; background: linear-gradient(135deg, #5158ed, #7066f7); }
.price-top > span { font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.price-top p { margin: 18px 0 3px; }
.price-top strong { font: 800 3.5rem var(--display); letter-spacing: -.06em; }
.price-top small { color: rgba(255,255,255,.7); }
.ai-price-card ul { margin: 0; padding: 30px 34px 15px; list-style: none; }
.ai-price-card li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid #eeeef5; color: #535667; font-size: .88rem; }
.ai-price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.ai-price-card .button { margin: 22px 34px 0; text-align: center; }
.price-fineprint { margin: 18px 34px 30px; color: #8a8c98; font-size: .69rem; line-height: 1.5; }
.domain-option { grid-column: 2; display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px; border: 1px solid #e5d49a; border-radius: 12px; background: #fff8df; }
.domain-option > span { align-self: start; padding: 5px 8px; color: #755e12; background: var(--yellow); border-radius: 4px; font-size: .58rem; font-weight: 900; letter-spacing: .08em; }
.domain-option strong { font: 700 1.05rem var(--display); }
.domain-option p { margin: 6px 0 0; color: #716a54; font-size: .75rem; line-height: 1.55; }

.ai-faq { grid-template-columns: .8fr 1.2fr; gap: 85px; }
.ai-faq > div:first-child { position: sticky; top: 40px; align-self: start; }
.ai-faq > div:first-child > p:last-child { margin-top: 24px; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.ai-faq details p { max-width: 670px; }

.ai-contact { margin-top: 0; }
.ai-stage-types .type-card:nth-child(1) .type-icon { background: var(--green); }
.ai-stage-types .type-card:nth-child(2) .type-icon { color: white; background: var(--blue); }
.ai-stage-types .type-card:nth-child(3) .type-icon { color: var(--ink); background: var(--yellow); }

.solution-card.ai { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; column-gap: 24px; align-items: center; min-height: 155px; background: linear-gradient(135deg, #f3f2ff, #fafaff); border-color: #d9d8f7; }
.solution-card.ai .card-number { grid-row: 1 / 3; position: static; display: grid; width: 58px; height: 58px; place-items: center; color: white; background: var(--blue); border-radius: 14px; }
.solution-card.ai h3 { margin: 0 0 8px; }
.solution-card.ai p { margin: 0; }
.solution-card.ai a { grid-column: 3; grid-row: 1 / 3; padding: 12px 16px; color: white; background: var(--blue); border-radius: 6px; font-size: .75rem; font-weight: 800; white-space: nowrap; }

@media (max-width: 1000px) {
  .ai-hero { grid-template-columns: 1fr; gap: 58px; padding-top: 70px; }
  .ai-flow { max-width: 650px; }
  .ai-proof { grid-template-columns: 1fr; margin-top: -28px; }
  .ai-proof div { border-right: 0; border-bottom: 1px solid var(--line); }
  .ai-proof div:last-child { border-bottom: 0; }
  .ai-intro, .ai-independence, .ai-price, .ai-faq { grid-template-columns: 1fr; gap: 50px; }
  .ai-intro { gap: 35px; }
  .ai-offer-grid { grid-template-columns: 1fr; }
  .independence-visual { width: min(520px, 100%); }
  .price-copy, .ai-faq > div:first-child { position: static; }
  .domain-option { grid-column: auto; }
  .solution-card.ai { grid-template-columns: auto 1fr; }
  .solution-card.ai a { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 10px; }
}

@media (max-width: 620px) {
  .ai-hero { padding: 58px 18px 86px; }
  .ai-hero h1 { font-size: 3.15rem; }
  .ai-hero .hero-actions { align-items: flex-start; flex-direction: column; }
  .ai-trust { align-items: flex-start; flex-direction: column; }
  .ai-flow { padding: 18px; border-radius: 16px; }
  .flow-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .flow-node { padding-left: 54px; }
  .flow-node::before { left: 14px; }
  .continuity-note { align-items: flex-start; flex-direction: column; }
  .ai-proof, .ai-intro, .ai-method, .ai-faq { width: calc(100% - 32px); }
  .ai-proof div { padding: 21px; }
  .ai-intro { padding: 82px 0; }
  .ai-offer, .ai-independence, .ai-price { padding: 82px 18px; }
  .ai-intro h2, .ai-offer h2, .ai-independence h2, .ai-method h2, .ai-price h2, .ai-faq h2 { font-size: 2.6rem; }
  .ai-offer-grid article { min-height: 0; padding: 85px 24px 26px; }
  .ai-offer-grid article > span { left: 24px; top: 24px; }
  .independence-visual { min-height: 380px; }
  .sub-card, .site-card { width: 245px; }
  .ai-method { padding: 82px 0; }
  .ai-steps li { grid-template-columns: 52px 1fr; gap: 14px; }
  .compatibility-note { margin-left: 0; }
  .ai-price-card .button { display: block; }
  .ai-faq { padding: 82px 0; }
  .solution-card.ai { display: block; }
  .solution-card.ai .card-number { margin-bottom: 22px; }
  .solution-card.ai a { display: inline-block; margin-top: 18px; white-space: normal; }
}
