/* Home page design — scoped under .home-page */
.home-page {
  --brand: #68139f;
  --brand-2: #9036cf;
  --brand-3: #3c075f;
  --ink: #16131d;
  --muted: #686270;
  --paper: #fff;
  --soft: #f7f3fa;
  --night: #090711;
  --line: #e9e1ee;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(41,10,61,.13);

  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

/* Resets against the global theme stylesheet */
.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-page h1, .home-page h2, .home-page h3, .home-page h4, .home-page h5, .home-page h6 { font-family: inherit; color: inherit; font-size: inherit; }
.home-page p { font-size: inherit; line-height: inherit; color: inherit; }
.home-page ul, .home-page ol { list-style: none; margin: 0; padding: 0; }
.home-page li { font-size: inherit; margin: 0; color: inherit; }
.home-page a { color: inherit; text-decoration: none; }
.home-page a:hover { color: inherit; }
.home-page img { max-width: 100%; display: block; }

.home-page .container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.home-page .eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; font-weight: 800; color: #a849e7; margin: 0 0 12px; }

.home-page .button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; padding: 14px 20px; border-radius: 8px; font-weight: 700; font-size: 15px; border: 1px solid transparent; box-shadow: 0 10px 28px rgba(104,19,159,.28); transition: .2s; cursor: pointer; }
.home-page .button:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff; }
.home-page .button-outline { background: transparent; border-color: rgba(255,255,255,.7); box-shadow: none; }
.home-page .button-light { background: #fff; color: var(--brand); }
.home-page .button-light:hover { color: var(--brand); }
.home-page .text-link { color: var(--brand); font-weight: 800; font-size: 13.4px; }
.home-page .text-link:hover { color: var(--brand); }

/* Hero */
.home-page .hero { position: relative; overflow: hidden; background: radial-gradient(circle at 72% 40%, #321049 0, #14091e 38%, #08070e 75%); color: #fff; padding: 65px 0 0; }
.home-page .hero-grid { min-height: 510px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 48px; }
.home-page .hero-glow { position: absolute; border-radius: 50%; filter: blur(55px); opacity: .35; }
.home-page .hero-glow-one { width: 380px; height: 380px; background: var(--brand-2); right: 8%; top: 5%; }
.home-page .hero-glow-two { width: 180px; height: 180px; background: #bc5bf8; left: 9%; bottom: 5%; }
.home-page .hero-copy { position: relative; z-index: 2; }
.home-page .hero .eyebrow { color: #d49af5; }
.home-page .hero h1 { font-size: clamp(49.6px, 5vw, 91.2px); line-height: .93; letter-spacing: -.055em; margin: 0 0 24px; color: #fff; }
.home-page .hero h1 span, .home-page .section-heading h2 span { color: #9b35df; }
.home-page .hero-lead { font-size: 18px; max-width: 650px; color: #eee7f2; }
.home-page .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0; }
.home-page .trust-list { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; padding: 0; margin: 26px 0; color: #e7dcec; font-size: 13px; }
.home-page .trust-list li::before { content: '✓'; color: #c85cff; border: 1px solid #8c2dc4; border-radius: 50%; padding: 1px 4px; margin-right: 7px; }
.home-page .review-placeholder { font-size: 12.5px; color: #c9bdce; }
.home-page .review-placeholder strong { color: #f6b93b; margin-right: 8px; letter-spacing: 2px; }

.home-page .hero-visual { position: relative; height: 410px; perspective: 900px; z-index: 2; }
.home-page .screen { position: absolute; border: 1px solid rgba(197,88,255,.5); background: linear-gradient(150deg, rgba(13,15,25,.96), rgba(39,10,56,.95)); box-shadow: 0 0 45px rgba(159,43,222,.25), inset 0 0 20px rgba(255,255,255,.03); border-radius: 8px; color: #cfb8dd; }
.home-page .screen-main { width: 73%; height: 57%; top: 7%; left: 9%; transform: rotateY(-6deg); padding: 25px; }
.home-page .screen-label { font-size: 12.8px; text-transform: uppercase; letter-spacing: .1em; }
.home-page .screen-line { height: 2px; background: linear-gradient(90deg, var(--brand), #ce6cff); margin: 25px 0; }
.home-page .chart-bars { height: 100px; display: flex; align-items: flex-end; gap: 10px; }
.home-page .chart-bars i { width: 12%; background: linear-gradient(#c436f4, #68139f); border-radius: 3px 3px 0 0; }
.home-page .chart-bars i:nth-child(1) { height: 25%; }
.home-page .chart-bars i:nth-child(2) { height: 56%; }
.home-page .chart-bars i:nth-child(3) { height: 40%; }
.home-page .chart-bars i:nth-child(4) { height: 78%; }
.home-page .chart-bars i:nth-child(5) { height: 52%; }
.home-page .chart-bars i:nth-child(6) { height: 88%; }
.home-page .chart-bars i:nth-child(7) { height: 72%; }
.home-page .screen-one, .home-page .screen-two { width: 190px; height: 90px; padding: 16px; display: flex; flex-direction: column; font-size: 13px; }
.home-page .screen-one { left: 0; bottom: 23%; }
.home-page .screen-two { right: 0; top: 20%; }
.home-page .screen strong { color: #7ff6b4; margin-top: 8px; }
.home-page .server-stack { position: absolute; right: 8%; bottom: 1%; display: flex; gap: 8px; }
.home-page .server-stack i { width: 48px; height: 145px; border: 1px solid #a83ce2; border-radius: 4px; background: repeating-linear-gradient(to bottom, #170822 0, #170822 12px, #7920a9 13px, #25102e 16px); box-shadow: 0 0 25px rgba(135,24,190,.32); }

.home-page .partner-strip { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; background: #fff; color: #241a29; border-radius: 15px 15px 0 0; padding: 18px 25px; margin-top: 10px; }
.home-page .partner-strip > span { font-size: 12.5px; color: var(--muted); margin-right: auto; }
.home-page .partner-pill { padding: 8px 13px; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; font-size: 12.5px; font-weight: 700; }

/* Sections */
.home-page .section { padding: 88px 0; }
.home-page .section-heading { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.home-page .section-heading h2, .home-page .feature-card h2, .home-page .calculator h2, .home-page .cta h2 { font-size: clamp(32px, 3vw, 52px); line-height: 1.05; letter-spacing: -.045em; margin: 0 0 16px; }
.home-page .section-heading > p:last-child { color: var(--muted); }
.home-page .card-grid { display: grid; gap: 18px; }
.home-page .card-grid.six { grid-template-columns: repeat(6, 1fr); }
.home-page .card-grid.three { grid-template-columns: repeat(3, 1fr); }
.home-page .service-card { padding: 27px 21px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(#fff, #fcf9fd); transition: .2s; }
.home-page .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d2a4ec; }
.home-page .service-card .icon { width: 49px; height: 49px; border-radius: 12px; display: grid; place-items: center; background: #f1e3f8; color: var(--brand); font-size: 24px; }
.home-page .service-card h3 { font-size: 16px; margin: 20px 0 10px; }
.home-page .service-card p { font-size: 13px; color: var(--muted); min-height: 90px; }
.home-page .service-card a, .home-page .case-card a { color: var(--brand); font-weight: 800; font-size: 13.4px; }
.home-page .service-card a:hover, .home-page .case-card a:hover { color: var(--brand); }

/* Proof band */
.home-page .proof-band { background: linear-gradient(100deg, #31064e, #68139f 50%, #8d26c7); color: #fff; padding: 30px 0; }
.home-page .proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.home-page .proof-grid div { padding: 5px 30px; border-right: 1px solid rgba(255,255,255,.2); }
.home-page .proof-grid div:last-child { border: 0; }
.home-page .proof-grid strong, .home-page .proof-grid span { display: block; }
.home-page .proof-grid strong { font-size: 20px; }
.home-page .proof-grid span { font-size: 12px; color: #e5d4ed; }

/* Split showcase */
.home-page .split-showcase { background: var(--soft); }
.home-page .split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.home-page .feature-card { min-height: 390px; background: #fff; border-radius: var(--radius); display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; padding: 42px; overflow: hidden; box-shadow: var(--shadow); }
.home-page .feature-card h2 { font-size: 34.4px; }
.home-page .check-list { padding: 0; list-style: none; color: var(--muted); font-size: 14.4px; }
.home-page .check-list li { margin: 10px 0; }
.home-page .check-list li::before { content: '✓'; color: var(--brand); font-weight: 900; margin-right: 8px; }
.home-page .device-mock { align-self: end; position: relative; height: 250px; }
.home-page .laptop { position: absolute; width: 260px; height: 168px; border: 9px solid #201725; border-bottom-width: 18px; border-radius: 9px; right: -20px; top: 20px; background: #eee; transform: rotate(-4deg); box-shadow: 0 18px 35px #cfc2d7; }
.home-page .mini-site { height: 100%; background: linear-gradient(135deg, #100819, #4d126c); color: #fff; padding: 25px; }
.home-page .mini-site b { font-size: 14.4px; }
.home-page .mini-site span { display: block; width: 80%; height: 5px; background: #9d34d8; margin-top: 18px; }
.home-page .mobile-mini { position: absolute; width: 65px; height: 135px; background: linear-gradient(#170a20, #68139f); border: 5px solid #1e1522; border-radius: 12px; right: -4px; bottom: 4px; }
.home-page .rack { display: flex; align-items: end; gap: 7px; }
.home-page .rack i { width: 52px; height: 210px; background: repeating-linear-gradient(#1b0e24 0, #1b0e24 14px, #7d24ad 15px, #3b144e 19px); border-radius: 6px; box-shadow: 0 15px 30px rgba(74,13,115,.25); }
.home-page .rack i:nth-child(odd) { height: 185px; }

/* Industries */
.home-page .industries { padding-top: 75px; }
.home-page .industry-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.home-page .industry-grid span { text-align: center; padding: 24px 12px; background: var(--soft); border-radius: 10px; font-weight: 700; font-size: 13px; }

/* Case studies */
.home-page .cases { background: #fbf9fc; }
.home-page .heading-row { max-width: none; display: flex; text-align: left; align-items: end; justify-content: space-between; }
.home-page .case-card { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 16px; }
.home-page .case-image { height: 170px; border-radius: 10px; margin-bottom: 18px; }
.home-page .gradient-one { background: linear-gradient(145deg, #220a31, #8532b4); }
.home-page .gradient-two { background: linear-gradient(145deg, #68139f, #dd9aff); }
.home-page .gradient-three { background: linear-gradient(145deg, #090711, #4a0d73); }
.home-page .case-card small { color: var(--brand); font-weight: 800; }
.home-page .case-card h3 { margin: 6px 0; font-size: 19px; }
.home-page .case-card p { color: var(--muted); font-size: 14px; }

/* Calculator */
.home-page .calculator { background: #16071f; color: #fff; }
.home-page .calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.home-page .calc-grid > div > p:last-child { color: #c9b9cf; }
.home-page .calc-card { background: #fff; color: var(--ink); padding: 25px; border-radius: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.home-page .calc-card label { font-size: 12px; font-weight: 700; }
.home-page .calc-card input { display: block; width: 100%; padding: 12px; border: 1px solid #ddd0e4; border-radius: 7px; margin-top: 5px; font-size: 15px; }
.home-page .calc-card output { align-self: center; font-size: 17.6px; font-weight: 800; color: var(--brand); }

/* Testimonials */
.home-page .testimonials blockquote { margin: 0; padding: 30px; background: var(--soft); border-radius: 15px; font-weight: 600; }
.home-page .testimonials cite { display: block; margin-top: 20px; color: var(--muted); font-size: 12.2px; font-style: normal; }

/* CTA */
.home-page .cta { padding: 65px 0; background: linear-gradient(100deg, #350651, #68139f 60%, #8725bb); color: #fff; }
.home-page .cta-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.home-page .cta p { color: #eadcf0; }
.home-page .cta-actions { display: flex; gap: 12px; flex-direction: column; }

@media (max-width: 1050px) {
  .home-page .card-grid.six { grid-template-columns: repeat(3, 1fr); }
  .home-page .feature-card { grid-template-columns: 1fr; padding: 30px; }
  .home-page .device-mock, .home-page .rack { display: none; }
}

@media (max-width: 760px) {
  .home-page .container { width: min(100% - 28px, 680px); }
  .home-page .hero { padding-top: 48px; }
  .home-page .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .home-page .hero h1 { font-size: 52px; }
  .home-page .hero-visual { height: 265px; order: 2; }
  .home-page .hero-actions { flex-direction: column; }
  .home-page .hero-actions .button { width: 100%; }
  .home-page .trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .home-page .screen-main { width: 90%; left: 5%; }
  .home-page .screen-one { bottom: 1%; left: 3%; }
  .home-page .screen-two { right: 3%; top: 46%; }
  .home-page .server-stack { display: none; }
  .home-page .partner-strip { margin-top: 35px; padding: 18px 14px; }
  .home-page .partner-strip > span { width: 100%; text-align: center; }
  .home-page .section { padding: 65px 0; }
  .home-page .card-grid.six, .home-page .card-grid.three { grid-template-columns: 1fr; }
  .home-page .service-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; }
  .home-page .service-card .icon { grid-row: 1 / 4; }
  .home-page .service-card h3 { margin: 5px 0; }
  .home-page .service-card p { min-height: 0; margin: 4px 0; }
  .home-page .service-card a { margin-top: 8px; }
  .home-page .proof-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .home-page .proof-grid div { padding: 10px; border-right: 0; }
  .home-page .split-grid { grid-template-columns: 1fr; }
  .home-page .feature-card { min-height: auto; }
  .home-page .industry-grid { grid-template-columns: 1fr 1fr; }
  .home-page .heading-row { display: block; }
  .home-page .calc-grid { grid-template-columns: 1fr; gap: 30px; }
  .home-page .calc-card { grid-template-columns: 1fr; }
  .home-page .cta-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page * { scroll-behavior: auto !important; transition: none !important; }
}
