/*
=========================================================
ZENDIOTECH — DESIGN V2 PAGE SYSTEM
Page-specific visual identities
Loaded after global.css and responsive.css
=========================================================
*/

/* =======================================================
   PAGE IDENTITY FOUNDATION
   ======================================================= */

.page-home,
.page-about,
.page-services,
.page-industries,
.page-how-we-work,
.page-roadmap,
.page-marketplace,
.page-contact,
.page-privacy {
  --page-accent: var(--blue);
  --page-accent-soft: rgba(0, 128, 190, 0.08);
  --page-hero-bg: var(--page);
}

/* =======================================================
   SHARED V2 SECTION POLISH
   ======================================================= */

.page-home .section,
.page-about .section,
.page-services .section,
.page-industries .section,
.page-how-we-work .section,
.page-roadmap .section,
.page-marketplace .section,
.page-contact .section {
  position: relative;
}

.page-home .section-heading,
.page-about .section-heading,
.page-services .section-heading,
.page-industries .section-heading,
.page-how-we-work .section-heading,
.page-roadmap .section-heading,
.page-marketplace .section-heading,
.page-contact .section-heading {
  max-width: 760px;
}

.page-home .card,
.page-about .card,
.page-services .card,
.page-industries .card,
.page-how-we-work .card,
.page-roadmap .card,
.page-marketplace .card {
  position: relative;
  overflow: hidden;
}

/* =======================================================
   HOME — FLAGSHIP TECHNOLOGY IDENTITY
   ======================================================= */

.page-home {
  --page-accent: var(--cyan);
  --page-accent-soft: rgba(32, 198, 208, 0.08);
}

.page-home .hero {
  min-height: 720px;
}

.page-home .hero-content h1 {
  max-width: 760px;
}

.page-home .hero-visual {
  min-height: 440px;
}

.page-home .card:hover {
  border-color: rgba(32, 198, 208, 0.45);
}

/* =======================================================
   MARKETPLACE — FUTURE ECOSYSTEM IDENTITY
   ======================================================= */

.page-marketplace {
  --page-accent: var(--teal);
  --page-accent-soft: rgba(22, 184, 176, 0.09);
}

.page-marketplace .hero {
  min-height: 740px;
}

.page-marketplace .hero-content h1 {
  max-width: 820px;
}

.page-marketplace .section-heading {
  max-width: 820px;
}

.page-marketplace .card:hover {
  border-color: rgba(22, 184, 176, 0.45);
}

/* =======================================================
   ABOUT — CORPORATE / TRUST IDENTITY
   ======================================================= */

.page-about {
  --page-accent: var(--blue);
  --page-accent-soft: rgba(0, 128, 190, 0.07);
}

.page-about .hero-content h1 {
  max-width: 720px;
}

/* =======================================================
   SERVICES — SOLUTIONS IDENTITY
   ======================================================= */

.page-services {
  --page-accent: var(--blue);
  --page-accent-soft: rgba(0, 128, 190, 0.08);
}

.page-services .hero-content h1 {
  max-width: 760px;
}

/* =======================================================
   INDUSTRIES — SECTOR IDENTITY
   ======================================================= */

.page-industries {
  --page-accent: var(--teal);
  --page-accent-soft: rgba(22, 184, 176, 0.08);
}

.page-industries .hero-content h1 {
  max-width: 780px;
}

/* =======================================================
   HOW WE WORK — PROCESS IDENTITY
   ======================================================= */

.page-how-we-work {
  --page-accent: var(--cyan);
  --page-accent-soft: rgba(32, 198, 208, 0.08);
}

.page-how-we-work .hero-content h1 {
  max-width: 760px;
}

/* =======================================================
   ROADMAP — FUTURE / PROGRESSION IDENTITY
   ======================================================= */

.page-roadmap {
  --page-accent: var(--teal);
  --page-accent-soft: rgba(22, 184, 176, 0.08);
}

.page-roadmap .hero-content h1 {
  max-width: 800px;
}

/* =======================================================
   CONTACT — CONVERSION IDENTITY
   ======================================================= */

.page-contact {
  --page-accent: var(--blue);
  --page-accent-soft: rgba(0, 128, 190, 0.08);
}

/* =======================================================
   LEGAL PAGES — QUIET DOCUMENT IDENTITY
   ======================================================= */

.page-privacy {
  --page-accent: var(--blue);
  --page-accent-soft: rgba(0, 128, 190, 0.06);
}

/* =======================================================
   ACCESSIBILITY
   ======================================================= */

.page-home a:focus-visible,
.page-about a:focus-visible,
.page-services a:focus-visible,
.page-industries a:focus-visible,
.page-how-we-work a:focus-visible,
.page-roadmap a:focus-visible,
.page-marketplace a:focus-visible,
.page-contact a:focus-visible {
  outline-color: var(--page-accent);
}

/* =========================================================
   HOME V2 — FLAGSHIP EXPERIENCE
   ========================================================= */

.page-home {
  --home-glow: rgba(32, 198, 208, 0.18);
  --home-glow-soft: rgba(0, 128, 190, 0.10);
}

/* ---------- Hero ---------- */

.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 760px;
  padding-top: 96px;
  padding-bottom: 120px;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: 620px;
  height: 620px;
  top: 50%;
  right: -180px;
  transform: translateY(-50%);
  background:
    radial-gradient(
      circle,
      var(--home-glow) 0%,
      rgba(32, 198, 208, 0.07) 34%,
      transparent 70%
    );
  filter: blur(8px);
  pointer-events: none;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: -220px;
  background: radial-gradient(
    circle,
    var(--home-glow-soft) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.page-home .hero-content {
  position: relative;
  z-index: 2;
}

.page-home .hero-content h1 {
  max-width: 780px;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.page-home .hero-description {
  max-width: 650px;
  font-size: 1.15rem;
  line-height: 1.75;
}

.page-home .hero-actions {
  margin-top: 30px;
}

.page-home .hero-actions .button {
  min-width: 190px;
}

/* ---------- Hero visual ---------- */

.page-home .hero-visual {
  position: relative;
  min-height: 480px;
}

.page-home .hero-visual::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(32, 198, 208, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 80px rgba(32, 198, 208, 0.08),
    inset 0 0 60px rgba(0, 128, 190, 0.04);
}

.page-home .hero-visual::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(0, 128, 190, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

/* ---------- Services ---------- */

.page-home #services {
  background:
    linear-gradient(
      180deg,
      var(--page) 0%,
      rgba(232, 243, 250, 0.55) 100%
    );
}

.page-home #services .section-heading {
  margin-bottom: 52px;
}

.page-home #services .grid {
  gap: 20px;
}

.page-home #services .card {
  min-height: 230px;
  padding: 30px;
  border-color: rgba(32, 198, 208, 0.20);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(247, 251, 253, 0.96)
    );
  transition:
    transform var(--transition-slow),
    box-shadow var(--transition-slow),
    border-color var(--transition-slow);
}

.page-home #services .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--cyan),
    var(--blue)
  );
}

.page-home #services .card-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--page-accent);
  background: var(--page-accent-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.page-home #services .card h3 {
  margin-top: 8px;
  letter-spacing: -0.02em;
}

.page-home #services .card p {
  color: var(--muted);
  line-height: 1.7;
}

@media (pointer: fine) {
  .page-home #services .card:hover {
    transform: translateY(-7px);
    border-color: rgba(32, 198, 208, 0.55);
    box-shadow:
      0 20px 45px rgba(18, 43, 70, 0.12),
      0 0 30px rgba(32, 198, 208, 0.06);
  }
}

/* ---------- Roadmap ---------- */

.page-home #roadmap {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
}

.page-home #roadmap::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  top: -360px;
  right: -220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(32, 198, 208, 0.12) 0%,
    transparent 68%
  );
  pointer-events: none;
}

.page-home #roadmap .card,
.page-home #roadmap .roadmap-cta {
  position: relative;
  z-index: 1;
}

.page-home #roadmap h2 {
  color: #fff;
}

.page-home #roadmap .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.page-home #roadmap .eyebrow {
  color: var(--cyan);
}

.page-home #roadmap .card {
  min-height: 250px;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.page-home #roadmap .card-number {
  color: var(--cyan);
}

.page-home #roadmap .card h3 {
  color: #fff;
}

.page-home #roadmap .card p {
  color: rgba(255, 255, 255, 0.68);
}

.page-home #roadmap .status-badge {
  align-self: flex-start;
  margin-top: auto;
  padding: 6px 11px;
  border: 1px solid rgba(32, 198, 208, 0.28);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(32, 198, 208, 0.08);
  font-size: 0.75rem;
  font-weight: 750;
}

.page-home #roadmap .roadmap-cta {
  margin-top: 42px;
}

/* ---------- Final CTA ---------- */

.page-home .contact-cta {
  background:
    radial-gradient(
      circle at 85% 30%,
      rgba(32, 198, 208, 0.13),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #eef8fb 0%,
      #f4f7fb 55%,
      #eaf4fa 100%
    );
}

.page-home .contact-cta-inner {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.page-home .contact-cta-inner h2 {
  letter-spacing: -0.035em;
}

.page-home .contact-cta-description {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-home .contact-cta-inner .button {
  margin-top: 14px;
}

/* ---------- Home responsive ---------- */

@media (max-width: 820px) {
  .page-home .hero {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 80px;
  }

  .page-home .hero-visual {
    min-height: 380px;
    margin-top: 20px;
  }

  .page-home .hero-visual::after {
    width: 400px;
    height: 400px;
  }

  .page-home #services .card {
    min-height: 210px;
  }
}

@media (max-width: 560px) {
  .page-home .hero {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .page-home .hero-content h1 {
    letter-spacing: -0.035em;
  }

  .page-home .hero-description {
    font-size: 1rem;
  }

  .page-home .hero-actions {
    margin-top: 22px;
  }

  .page-home .hero-actions .button {
    width: 100%;
  }

  .page-home .hero-visual {
    min-height: 300px;
  }

  .page-home .hero-visual::before {
    width: 260px;
    height: 260px;
  }

  .page-home .hero-visual::after {
    width: 320px;
    height: 320px;
  }

  .page-home #services .card {
    min-height: auto;
    padding: 26px 24px;
  }

  .page-home #roadmap .card {
    min-height: 220px;
  }
}

/* =========================================================
HOME V2 — PREMIUM HERO VISUAL
Adds depth, precision and restrained technology ambience
without changing the existing HTML structure.
========================================================= */

.page-home .hero-visual {
  position: relative;
  min-height: 500px;
  isolation: isolate;
}

.page-home .hero-visual::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(32, 198, 208, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 90px rgba(32, 198, 208, 0.08),
    inset 0 0 70px rgba(0, 128, 190, 0.04);
  pointer-events: none;
}

.page-home .hero-visual::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 128, 190, 0.08);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(32, 198, 208, 0.07) 0%,
      rgba(0, 128, 190, 0.035) 28%,
      transparent 66%
    );
  pointer-events: none;
}

.page-home .hero-visual .orbit {
  width: 330px;
  height: 330px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(32, 198, 208, 0.24);
  box-shadow:
    0 0 45px rgba(32, 198, 208, 0.08),
    inset 0 0 35px rgba(0, 128, 190, 0.04);
  animation: premiumOrbitPulse 7s ease-in-out infinite;
}

.page-home .hero-visual .core {
  width: 150px;
  height: 150px;
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(32, 198, 208, 0.22),
      rgba(0, 128, 190, 0.10) 48%,
      rgba(4, 29, 58, 0.04) 100%
    );
  border: 1px solid rgba(32, 198, 208, 0.20);
  box-shadow:
    0 0 50px rgba(32, 198, 208, 0.12),
    inset 0 0 30px rgba(255, 255, 255, 0.04);
}

.page-home .hero-visual .core-dot {
  width: 10px;
  height: 10px;
  background: var(--cyan);
  box-shadow:
    0 0 12px rgba(32, 198, 208, 0.75),
    0 0 30px rgba(32, 198, 208, 0.35);
}

.page-home .hero-visual .node {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(32, 198, 208, 0.55);
}

.page-home .hero-visual .node:nth-child(2) {
  transform: translate(-50%, -50%) translate(165px, 0);
}

.page-home .hero-visual .node:nth-child(3) {
  transform: translate(-50%, -50%) translate(-82px, -142px);
}

.page-home .hero-visual .node:nth-child(4) {
  transform: translate(-50%, -50%) translate(-92px, 138px);
}

@keyframes premiumOrbitPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.88;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.025);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-visual .orbit {
    animation: none;
  }
}


/* =========================================================
HOME V2 — PREMIUM TYPOGRAPHY & SECTION RHYTHM
Refines hierarchy, spacing and desktop proportions.
========================================================= */

@media (min-width: 1101px) {

  .page-home .hero {
    width: min(100% - 96px, 1320px);
    min-height: 720px;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    gap: 72px;
    padding: 96px 0 120px;
  }

  .page-home .hero-content {
    max-width: 760px;
  }

  .page-home .hero-content .eyebrow {
    margin-bottom: 22px;
    letter-spacing: 2px;
  }

  .page-home .hero-content h1 {
    max-width: 760px;
    font-size: clamp(3.5rem, 5vw, 5.25rem);
    line-height: 0.99;
    letter-spacing: -0.045em;
    margin-bottom: 26px;
  }

  .page-home .hero-content > p {
    max-width: 650px;
    font-size: 1.08rem;
    line-height: 1.75;
    margin-bottom: 30px;
  }

  .page-home .hero-actions {
    gap: 14px;
  }

  .page-home #services {
    padding-top: 112px;
    padding-bottom: 112px;
  }

  .page-home #services > .eyebrow,
  .page-home #services > h2,
  .page-home #services > .section-intro {
    max-width: 900px;
  }

  .page-home #services > h2 {
    font-size: clamp(2.7rem, 4vw, 4rem);
    letter-spacing: -0.035em;
    margin-bottom: 14px;
  }

  .page-home #services > .section-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 48px;
  }

  .page-home #services .grid {
    gap: 20px;
  }

  .page-home #services .card {
    min-height: 210px;
    padding: 30px 28px;
    border-radius: 18px;
    transition:
      transform var(--transition),
      box-shadow var(--transition),
      border-color var(--transition);
  }

  .page-home #services .card:hover {
    transform: translateY(-5px);
    box-shadow:
      0 22px 45px rgba(18, 43, 70, 0.12),
      0 0 0 1px rgba(32, 198, 208, 0.08);
  }

  .page-home #roadmap {
    padding-top: 108px;
    padding-bottom: 112px;
  }

  .page-home #roadmap > h2 {
    font-size: clamp(2.7rem, 4vw, 4rem);
    letter-spacing: -0.035em;
  }

  .page-home #roadmap .card {
    min-height: 245px;
  }


}


/* =========================================================
HOME V2 — MOBILE PREMIUM REFINEMENT
Designed specifically for narrow mobile screens.
Preserves the desktop composition while improving
readability, hierarchy and touch-friendly spacing.
========================================================= */

@media (max-width: 560px) {

  /* ---------- HERO ---------- */

  .page-home .hero {
    width: calc(100% - 32px);
    padding: 58px 0 54px;
    gap: 28px;
  }

  .page-home .hero-content {
    max-width: none;
  }

  .page-home .hero-content .eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 1.6px;
  }

  .page-home .hero-content h1 {
    max-width: 340px;
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    margin-bottom: 18px;
  }

  .page-home .hero-content > p {
    max-width: 350px;
    font-size: 0.96rem;
    line-height: 1.65;
    margin-bottom: 22px;
  }

  .page-home .hero-actions {
    gap: 10px;
  }

  .page-home .hero-actions .button,
  .page-home .hero-actions a.button {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .page-home .hero-visual {
    min-height: 290px;
    margin-top: 4px;
    overflow: hidden;
  }

  .page-home .hero-visual::before {
    width: 300px;
    height: 300px;
  }

  .page-home .hero-visual::after {
    width: 390px;
    height: 390px;
  }

  .page-home .hero-visual .orbit {
    width: 235px !important;
    height: 235px !important;
  }

  .page-home .hero-visual .core {
    width: 92px !important;
    height: 92px !important;
  }

  .page-home .hero-visual .core-dot {
    width: 7px;
    height: 7px;
  }

  .page-home .hero-visual .node {
    width: 5px;
    height: 5px;
  }

  .page-home .hero-visual .node:nth-child(2) {
    transform: translate(-50%, -50%) translate(118px, 0);
  }

  .page-home .hero-visual .node:nth-child(3) {
    transform: translate(-50%, -50%) translate(-59px, -102px);
  }

  .page-home .hero-visual .node:nth-child(4) {
    transform: translate(-50%, -50%) translate(-66px, 98px);
  }

  /* ---------- SERVICES ---------- */

  .page-home #services {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .page-home #services > .eyebrow {
    margin-bottom: 12px;
  }

  .page-home #services > h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    margin-bottom: 12px;
  }

  .page-home #services > .section-intro {
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 28px;
  }

  .page-home #services .grid {
    gap: 14px;
  }

  .page-home #services .card {
    min-height: 0;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .page-home #services .card-number {
    margin-bottom: 16px;
  }

  .page-home #services .card h3 {
    font-size: 1.08rem;
    line-height: 1.18;
    margin-bottom: 8px;
  }

  .page-home #services .card p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* ---------- ROADMAP ---------- */

  .page-home #roadmap {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .page-home #roadmap > h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .page-home #roadmap .card {
    min-height: 0;
    padding: 24px 20px;
  }

  .page-home #roadmap .card h3 {
    font-size: 1.08rem;
  }

  .page-home #roadmap .card p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .page-home #roadmap .button {
    margin-top: 6px;
  }

  /* ---------- FINAL CTA ---------- */

    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* ---------- FOOTER ---------- */

  .page-home .site-footer {
    padding-top: 48px;
  }

  .page-home .footer-content {
    gap: 30px;
  }

  .page-home .footer-column p {
    max-width: 330px;
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .page-home .footer-column a,
  .page-home .footer-column span {
    font-size: 0.84rem;
  }

  .page-home .footer-legal {
    margin-top: 4px;
    padding-top: 22px;
  }

  .page-home .footer-bottom {
    padding-top: 18px;
    padding-bottom: 18px;
  }

}

/* Extra-small devices such as iPhone SE */
@media (max-width: 380px) {

  .page-home .hero {
    padding-top: 48px;
  }

  .page-home .hero-content h1 {
    font-size: 2.15rem;
  }

  .page-home .hero-content > p {
    font-size: 0.91rem;
  }

  .page-home .hero-visual {
    min-height: 270px;
  }


  .page-home #services .card,
  .page-home #roadmap .card {
    padding: 22px 18px;
  }

}
