/* Sky Accounting — product page (product.html) */

/* Shared inner-page helpers */
.page-gradient {
  background: linear-gradient(105deg, #aeeafb 0%, #dcf5fd 40%, #ffffff 76%);
}


.page-section-title {
  margin-bottom: 64px;
  font-size: 40px;
  font-weight: 800;
  text-align: center;
}
.page-section-title span { color: var(--cyan); }
.page-section-title.light { color: #fff; }

/* Hero — sky/cloud composition with phone */
.product-page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(232, 249, 255, .5) 0%, rgba(232, 249, 255, 0) 55%),
    url(../images/product-hero.jpg) center 35% / cover no-repeat #cdeffb;
}
.product-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding: 224px 0 66px;
}
.page-hero-copy h1 {
  margin-bottom: 50px;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
}
.page-hero-copy h1 span { color: var(--cyan); }
.page-hero-copy > p {
  max-width: 500px;
  margin-bottom: 38px;
  color: #3b4c60;
  font-size: 20px;
  line-height: 24.5px;
}
.product-phone-wrap { position: relative; }
.product-phone-wrap img {
  position: absolute;
  top: -110px;
  left: -115px;
  width: 758px;
  max-width: none;
  height: auto;
}

/* Dark pillars strip */
.product-pillars {
  padding: 86px 0;
  background: linear-gradient(90deg, #060f1a 0%, #0c2233 100%);
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.pillar-card {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 170px;
  padding: 25px 30px;
  border: 1px solid rgba(118, 155, 181, .35);
  border-radius: 18px;
  background: rgba(11, 29, 45, .4);
  color: #fff;
  transition: transform .35s var(--ease), border-color .35s ease, background-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.pillar-card img {
  width: 56px;
  height: 56px;
  padding: 12px;
  border: 1px solid rgba(0, 195, 255, .55);
  border-radius: 12px;
  background: rgba(0, 195, 255, .05);
  object-fit: contain;
  flex: 0 0 auto;
}
.pillar-copy { min-width: 0; }
.pillar-card h2 {
  margin-bottom: 11px;
  font-size: 17px;
  font-weight: 800;
  line-height: 19px;
}
.pillar-card p {
  margin: 0;
  color: #b9c6d3;
  font-size: 16px;
  line-height: 19px;
}
.pillar-card:hover,
.pillar-card:focus-visible {
  border-color: transparent;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(2, 10, 20, .4);
  transform: translateY(-6px);
}
.pillar-card:hover img,
.pillar-card:focus-visible img { background: rgba(0, 195, 255, .08); }
.pillar-card:hover p,
.pillar-card:focus-visible p { color: var(--ink-soft); }

/* Feature catalog — 12 cards */
.product-features { padding: 98px 0 104px; }
.product-features .page-section-title {
  font-size: 36px;
  line-height: 40px;
  margin-bottom: 87px;
}
.feature-catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 22px;
}
.catalog-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 26px 28px 37px;
  border: 1px solid #e2ecf2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 18, 32, .05);
  transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s var(--ease);
}
.catalog-card img {
  width: 48px;
  height: 48px;
  padding: 0;
  margin-bottom: 61px;
  border: 1px solid rgba(0, 195, 255, .45);
  border-radius: 12px;
  background: rgba(0, 195, 255, .06);
  object-fit: contain;
}
.catalog-card h3 {
  margin-bottom: 9px;
  font-size: 24px;
  font-weight: 800;
  line-height: 29px;
}
.catalog-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 19.5px;
}
.catalog-card:focus-visible {
  border-color: var(--cyan);
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 195, 255, .13);
}
@media (hover: hover) and (pointer: fine) {
  .catalog-card:hover {
    border-color: var(--cyan);
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 195, 255, .13);
  }
}
.product-features .center { margin-top: 91px; }

/* Accounting suite — dark patterned section */
.accounting-suite {
  position: relative;
  padding: 104px 0 83px;
  color: #fff;
  background: url(../images/product-dark-bg.png) center / cover no-repeat;
  background-color: var(--dark);
}
.accounting-suite .page-section-title {
  font-size: 36px;
  line-height: 52px;
  margin-bottom: 39px;
}
.suite-grid {
  display: grid;
  width: min(910px, 100%);
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 36px;
}
.suite-card {
  display: flex;
  flex-direction: column;
  padding: 66px 46px 79px;
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 16px;
  background: rgba(15, 26, 43, .55);
  box-shadow: 0 0 18px rgba(255, 255, 255, .32), 0 0 38px rgba(0, 195, 255, .12);
  margin-bottom: 24px;
}
.suite-card h3 {
  margin-bottom: 19px;
  margin-left: 4px;
  color: var(--cyan);
  font-size: 30px;
  font-weight: 800;
  line-height: 42px;
}
.suite-card ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.suite-card li {
  position: relative;
  padding-left: 29px;
  font-size: 16px;
  line-height: 19px;
}
.suite-card li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
}
.accounting-suite .center { margin-top: 60px; }

/* Results — tilted dark stat cards */
.product-results {
  padding: 96px 0 63px;
  background: radial-gradient(90% 70% at 50% 0%, #d8f4fe 0%, #ffffff 62%);
}
.product-results .page-section-title {
  font-size: 36px;
  line-height: 50px;
  margin-bottom: 83px;
}
.result-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 75px;
}
.result-cards article {
  --card-rotate: 0deg;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 260px;
  height: 331px;
  padding: 27px 45px 31px;
  border: 1px solid transparent;
  border-radius: 24px;
  background: #0b111f;
  box-shadow: 0 18px 38px rgba(34, 68, 110, .48);
  transform: rotate(var(--card-rotate));
  transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease;
}
.result-cards article:nth-child(1) { --card-rotate: -7deg; }
.result-cards article:nth-child(2) { z-index: 2; }
.result-cards article:nth-child(3) { --card-rotate: 7deg; }
.result-cards article:hover,
.result-cards article:focus-visible {
  border-color: var(--cyan);
  transform: translateY(-8px) rotate(var(--card-rotate));
  box-shadow: 0 20px 45px rgba(0, 195, 255, .13);
}
.result-cards strong {
  margin-bottom: 117px;
  color: var(--cyan);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}
.result-cards h3 {
  margin: 0 0 20px;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 21px;
  color: #fff;
}
.result-cards p {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 19px;
}
.result-note {
  max-width: 560px;
  margin: 0 auto 69px;
  color: var(--ink);
  font-size: 16px;
  line-height: 19px;
  text-align: center;
}

/* Product-page buttons */
.product-page-hero .button,
.product-features .center .button,
.accounting-suite .center .button,
.product-results .center .button {
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 700;
  border-radius: 4px;
}
.product-page-hero .button { width: 150px; min-height: 39px; padding: 9px 14px; border-radius: 6px; font-family: Inter, Arial, sans-serif; font-size: 14px; font-weight: 600; }
.product-page-hero .button-row { gap: 13px; }
.product-page-hero .button-outline {
  width: 173px;
  background: #fff;
  border-color: #083b55;
  color: #083b55;
}

/* Tablet */
@media (max-width: 1100px) {
  .product-page-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 132px 0 72px;
  }
  .page-hero-copy h1 { font-size: 44px; }
  .page-hero-copy > p { max-width: 560px; font-size: 18px; }
  .product-phone-wrap { min-height: 0; }
  .product-phone-wrap img {
    position: static;
    width: min(680px, 100%);
    height: auto;
    margin-inline: auto;
  }
  .pillar-grid { gap: 18px; }
  .pillar-card { padding: 24px 26px; gap: 16px; }
  .pillar-card img { width: 54px; height: 54px; padding: 11px; }
  .pillar-card h2 { font-size: 15px; }
  .pillar-card p { font-size: 13px; }
  .feature-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-card { min-height: 250px; }
  .catalog-card img { margin-bottom: 34px; }
  .catalog-card h3 { font-size: 19px; }
  .result-cards article { width: 215px; min-height: 330px; padding: 24px 22px; }
  .result-cards strong { font-size: 42px; }
  .result-cards p { font-size: 14px; }
}

@media (max-width: 900px) {
  .page-section-title { font-size: 32px; margin-bottom: 48px; }
  .pillar-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .product-features { padding: 76px 0 88px; }
  .accounting-suite { padding: 76px 0 68px; }
  .product-results { padding: 76px 0 92px; }
}

@media (prefers-reduced-motion: reduce) {
  .pillar-card:hover,
  .pillar-card:focus-visible,
  .catalog-card:hover,
  .catalog-card:focus-visible,
  .result-cards article:hover,
  .result-cards article:focus-visible {
    transform: rotate(var(--card-rotate, 0deg));
  }
}

/* Mobile */
@media (max-width: 650px) {
  .product-page-hero-grid { padding: 116px 0 56px; }
  .page-hero-copy h1 { font-size: 34px; }
  .page-hero-copy > p { font-size: 16.5px; }
  .product-phone-wrap img { width: min(480px, 100%); height: auto; }
  .page-section-title { font-size: 26px; margin-bottom: 40px; }
  .feature-catalog { grid-template-columns: 1fr; }
  .catalog-card { min-height: 0; }
  .suite-grid { grid-template-columns: 1fr; gap: 24px; }
  .suite-card { padding: 28px 24px 32px; }
  .suite-card h3 { font-size: 21px; }
  .product-results .page-section-title { margin-bottom: 52px; }
  .result-cards {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-bottom: 44px;
  }
  .result-cards article,
  .result-cards article:nth-child(1),
  .result-cards article:nth-child(2),
  .result-cards article:nth-child(3) {
    width: min(380px, 100%);
    min-height: 280px;
    transform: none;
  }
  .result-cards strong { font-size: 46px; }
  .result-note { font-size: 15px; }
}
