:root {
  --ink: #090d16;
  --ink-raised: #101827;
  --ink-soft: #172337;
  --line: #26364f;
  --paper: #f2f5fb;
  --paper-soft: #e5ebf5;
  --muted: #9ba9bf;
  --muted-dark: #536178;
  --blue: #1478f2;
  --blue-deep: #0b58c3;
  --gold: #e5b657;
  --green: #45a678;
  --white: #ffffff;
  --danger: #a5343d;
  --shadow: 0 22px 56px rgba(1, 6, 16, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(155, 169, 191, 0.18);
  background: rgba(9, 13, 22, 0.96);
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand strong {
  font-size: 13px;
  line-height: 0.94;
  font-weight: 900;
}

.brand small {
  color: #8ea6c9;
  font-size: 11px;
  font-weight: 700;
}

.primary-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: 14px;
  font-weight: 750;
}

.primary-navigation a {
  color: #dce6f5;
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible {
  color: var(--white);
}

.primary-navigation .nav-download {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #3d78c5;
  border-radius: 5px;
  background: #0f57bd;
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  padding: 0;
  border: 1px solid #40516d;
  border-radius: 5px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 685px;
  overflow: hidden;
  background: #0b101a;
  color: var(--white);
}

.hero-product {
  position: absolute;
  z-index: -2;
  right: max(-70px, calc((100vw - 1440px) / 2));
  bottom: -35px;
  width: min(1180px, 78vw);
  height: 430px;
  max-width: none;
  border: 1px solid rgba(137, 170, 216, 0.45);
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(7, 11, 19, 0.56);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 685px;
  width: min(720px, calc(100% - 48px));
  max-width: 720px;
  padding: 100px 0 80px;
  margin-right: 0;
  margin-left: max(24px, calc((100% - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 900;
}

h1 {
  max-width: 650px;
  margin-bottom: 25px;
  font-size: 86px;
  line-height: 0.94;
}

h2 {
  margin-bottom: 0;
  font-size: 54px;
  line-height: 1;
}

h3 {
  margin-bottom: 9px;
  font-size: 21px;
  line-height: 1.1;
}

.hero-copy {
  max-width: 570px;
  margin-bottom: 30px;
  color: #dce6f5;
  font-size: 20px;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.button-quiet {
  border-color: #8094b4;
  background: rgba(12, 19, 31, 0.68);
  color: var(--white);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  border-color: var(--white);
  background: #18243a;
}

.button-outline {
  border-color: #657690;
  background: transparent;
  color: var(--white);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--white);
  background: #22324b;
}

.button-large {
  min-height: 56px;
  padding: 14px 22px;
  white-space: nowrap;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 31px 0 0;
  padding: 0;
  color: #bcc8da;
  list-style: none;
  font-size: 13px;
  font-weight: 750;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.trust-strip {
  border-bottom: 1px solid #d5deeb;
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid p {
  display: grid;
  gap: 5px;
  min-height: 124px;
  margin: 0;
  padding: 28px 30px;
  border-right: 1px solid #d5deeb;
}

.trust-grid p:first-child {
  border-left: 1px solid #d5deeb;
}

.trust-grid strong {
  color: #182744;
  font-size: 16px;
}

.trust-grid span {
  color: var(--muted-dark);
  font-size: 14px;
}

.section {
  padding: 116px 0;
}

.section-product {
  background: var(--paper);
}

.section-intro {
  margin-bottom: 54px;
}

.intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 60px;
}

.intro-split > p,
.centered > p {
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 18px;
  line-height: 1.6;
}

.centered {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.capability {
  min-height: 275px;
  padding: 25px;
  border: 1px solid #cbd7e7;
  border-radius: 7px;
  background: var(--white);
}

.capability span {
  display: block;
  margin-bottom: 64px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.capability p {
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 15px;
}

.workflow {
  background: #111a29;
  color: var(--white);
}

.workflow .eyebrow {
  color: var(--gold);
}

.workflow .centered > p {
  color: #aebbd0;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid #3b4a62;
  border-bottom: 1px solid #3b4a62;
  list-style: none;
}

.workflow-list li {
  min-height: 244px;
  padding: 27px 25px 31px;
  border-right: 1px solid #3b4a62;
}

.workflow-list li:first-child {
  border-left: 1px solid #3b4a62;
}

.workflow-list span {
  display: block;
  margin-bottom: 62px;
  color: var(--gold);
  font-weight: 900;
}

.workflow-list h3 {
  font-size: 23px;
}

.workflow-list p {
  margin-bottom: 0;
  color: #aebbd0;
  font-size: 15px;
}

.pricing {
  background: var(--paper);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 28px 24px 24px;
  border: 1px solid #cbd7e7;
  border-radius: 7px;
  background: #182337;
  color: var(--white);
}

.price-card.featured {
  border-color: #1b70da;
  background: #0e4fa8;
}

.price-label {
  align-self: flex-start;
  margin: -6px 0 21px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--gold);
  color: #302202;
  font-size: 12px;
  font-weight: 900;
}

.plan-name {
  margin-bottom: 12px;
  color: #dce6f5;
  font-size: 16px;
  font-weight: 800;
}

.price {
  margin-bottom: 2px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.price span {
  font-size: 16px;
  vertical-align: 18px;
}

.plan-term {
  margin-bottom: 26px;
  color: #aebbd0;
  font-size: 14px;
  font-weight: 750;
}

.price-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 29px;
  padding: 0;
  color: #dce6f5;
  list-style: none;
  font-size: 14px;
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.price-card li::before {
  flex: 0 0 auto;
  color: #77d1a3;
  content: "✓";
  font-weight: 900;
}

.price-card .button {
  margin-top: auto;
}

.pricing-note {
  max-width: 900px;
  margin: 25px auto 0;
  color: var(--muted-dark);
  font-size: 13px;
  text-align: center;
}

.download-band {
  padding: 74px 0;
  background: #e7b956;
  color: #211806;
}

.download-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.download-band .eyebrow {
  color: #73520c;
}

.download-band h2 {
  max-width: 680px;
  margin-bottom: 16px;
  font-size: 45px;
}

.download-band p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.55;
}

.download-band .button-primary {
  background: #142747;
  border-color: #142747;
}

.download-band .button-primary:hover,
.download-band .button-primary:focus-visible {
  background: #0a1424;
  border-color: #0a1424;
}

.faq {
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.75fr) minmax(430px, 1.15fr);
  gap: 80px;
}

.faq-intro h2 {
  margin-bottom: 22px;
  font-size: 49px;
}

.faq-intro > p:not(.eyebrow) {
  margin-bottom: 27px;
  color: var(--muted-dark);
  font-size: 17px;
}

.text-link {
  color: var(--blue-deep);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.faq-list {
  border-top: 1px solid #cbd7e7;
}

.faq-list details {
  border-bottom: 1px solid #cbd7e7;
}

.faq-list summary {
  position: relative;
  padding: 22px 42px 22px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 21px;
  right: 4px;
  color: var(--blue);
  content: "+";
  font-size: 25px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -5px 0 22px;
  color: var(--muted-dark);
  font-size: 16px;
  line-height: 1.6;
}

.site-footer {
  padding: 60px 0 21px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 220px 190px;
  gap: 70px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
}

.footer-brand strong {
  font-size: 14px;
}

.footer-copy {
  max-width: 360px;
  margin: 22px 0 0;
  color: #aebbd0;
  font-size: 14px;
}

.footer-heading {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-grid > div:not(:first-child) a {
  color: #dce6f5;
  font-size: 14px;
}

.footer-grid > div:not(:first-child) a:hover,
.footer-grid > div:not(:first-child) a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid #26364f;
  color: #8090a8;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  padding: 95px 0 56px;
  background: #111a29;
  color: var(--white);
}

.legal-hero h1 {
  margin-bottom: 0;
  font-size: 64px;
}

.legal-content {
  max-width: 780px;
  padding: 72px 0 100px;
}

.legal-content h2 {
  margin: 46px 0 16px;
  font-size: 31px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #38485f;
  font-size: 17px;
  line-height: 1.68;
}

.legal-content a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content ul {
  padding-left: 23px;
}

@media (max-width: 1100px) {
  .hero-product {
    right: -190px;
    width: 1020px;
    height: 385px;
  }

  .capability-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-list li:nth-child(3) {
    border-left: 1px solid #3b4a62;
  }

  .faq-layout {
    gap: 52px;
  }
}

@media (max-width: 800px) {
  .shell {
    width: min(100% - 32px, 680px);
  }

  .header-inner {
    min-height: 64px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-navigation {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 16px 18px;
    border-bottom: 1px solid #2d3d56;
    background: #0d1421;
  }

  .primary-navigation.is-open {
    display: flex;
  }

  .primary-navigation a {
    padding: 13px 2px;
  }

  .primary-navigation .nav-download {
    justify-content: center;
    margin-top: 8px;
    padding: 11px 14px;
  }

  .hero,
  .hero-content {
    min-height: 690px;
  }

  .hero-product {
    top: auto;
    right: -120px;
    bottom: -18px;
    width: 760px;
    height: 255px;
  }

  .hero-shade {
    background: rgba(7, 11, 19, 0.68);
  }

  .hero-content {
    justify-content: flex-start;
    width: min(100% - 32px, 680px);
    padding: 82px 0 42px;
    margin-right: auto;
    margin-left: auto;
  }

  h1 {
    max-width: 460px;
    font-size: 62px;
  }

  h2 {
    font-size: 43px;
  }

  .hero-copy {
    max-width: 460px;
    font-size: 18px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid p,
  .trust-grid p:first-child {
    min-height: auto;
    padding: 21px 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid #d5deeb;
  }

  .trust-grid p:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 78px 0;
  }

  .intro-split,
  .faq-layout,
  .download-layout,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
    gap: 29px;
  }

  .intro-split > p,
  .centered > p {
    font-size: 16px;
  }

  .capability-grid {
    gap: 10px;
  }

  .capability {
    min-height: 225px;
  }

  .capability span,
  .workflow-list span {
    margin-bottom: 43px;
  }

  .download-layout {
    align-items: start;
  }

  .download-band h2,
  .faq-intro h2 {
    font-size: 39px;
  }

  .footer-grid > div:not(:first-child) {
    gap: 8px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-top: 38px;
  }

  .legal-hero {
    padding: 75px 0 45px;
  }

  .legal-hero h1 {
    font-size: 49px;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 39px;
    height: 39px;
  }

  .brand strong {
    font-size: 11px;
  }

  .brand small {
    font-size: 10px;
  }

  .hero,
  .hero-content {
    min-height: 730px;
  }

  .hero-product {
    top: auto;
    right: -92px;
    bottom: -8px;
    width: 575px;
    height: 165px;
  }

  h1 {
    max-width: 330px;
    margin-bottom: 19px;
    font-size: 52px;
  }

  h2 {
    font-size: 35px;
  }

  .hero-copy {
    max-width: 355px;
    margin-bottom: 25px;
    font-size: 17px;
  }

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

  .hero-meta {
    gap: 8px 15px;
    margin-top: 24px;
    font-size: 12px;
  }

  .capability-grid,
  .pricing-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workflow-list li,
  .workflow-list li:first-child,
  .workflow-list li:nth-child(3) {
    min-height: 198px;
    border-right: 1px solid #3b4a62;
    border-left: 1px solid #3b4a62;
  }

  .workflow-list li:not(:last-child) {
    border-bottom: 1px solid #3b4a62;
  }

  .price-card {
    min-height: 390px;
  }

  .download-band {
    padding: 62px 0;
  }

  .download-band h2,
  .faq-intro h2 {
    font-size: 34px;
  }

  .button-large {
    width: 100%;
    white-space: normal;
  }

  .faq-list summary {
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 16px;
  }

  .faq-list summary::after {
    top: 17px;
  }

  .legal-content {
    padding: 54px 0 76px;
  }

  .legal-content h2 {
    font-size: 28px;
  }
}

/* Hero product positioning (moved from inline page styles). */
.hero-product {
  right: 0;
  bottom: 70px;
  width: 100%;
  height: auto;
  border-color: rgba(137, 170, 216, 0.34);
  object-fit: contain;
  object-position: center;
}

@media (max-width: 760px) {
  .hero-product {
    right: -440px;
    bottom: 72px;
    width: 960px;
    height: auto;
  }
}

/* ============================================================
   Magic Album Designer — Cinematic Motion System PRO 2
   Stronger product-launch animation, native CSS + JavaScript.
   ============================================================ */
:root {
  --motion-ease: cubic-bezier(.2,.8,.2,1);
  --motion-spring: cubic-bezier(.16,1,.3,1);
  --motion-out: cubic-bezier(.22,1,.36,1);
  --electric: #4b98ff;
  --violet: #765cff;
  --cyan: #53dbff;
  --surface-deep: #070b13;
  --surface-mid: #0c1421;
  --mag-x: 0px;
  --mag-y: 0px;
}

body { overflow-x: hidden; }
body.intro-running, body.modal-open { overflow: hidden; }

/* Cinematic first-load intro */
.mad-intro {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(29,119,255,.18), transparent 35%),
    #070b13;
  color: #fff;
  transition: opacity 460ms ease, visibility 460ms ease;
}
.mad-intro::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 62px 62px;
  content: "";
  opacity: .55;
  animation: proIntroGrid 6s linear infinite;
}
.mad-intro.is-leaving { opacity: 0; visibility: hidden; }
.mad-intro-inner { position: relative; width: min(430px, calc(100% - 48px)); text-align: center; }
.mad-intro-icon {
  width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(135,183,255,.38), 0 24px 70px rgba(30,115,255,.3);
  animation: proIntroIcon 820ms var(--motion-spring) both;
}
.mad-intro-icon img { width: 100%; height: 100%; object-fit: cover; }
.mad-intro-copy { display: grid; gap: 5px; overflow: hidden; }
.mad-intro-copy strong { font-size: 18px; letter-spacing: .08em; animation: proIntroText 750ms 180ms var(--motion-out) both; }
.mad-intro-copy span { color: #8fa7c9; font-size: 13px; font-weight: 700; animation: proIntroText 750ms 260ms var(--motion-out) both; }
.mad-intro-line { height: 2px; margin-top: 25px; overflow: hidden; border-radius: 20px; background: rgba(255,255,255,.08); }
.mad-intro-line span { display: block; width: 100%; height: 100%; transform-origin: left; background: linear-gradient(90deg,var(--blue),var(--cyan),var(--gold)); animation: proIntroLine 950ms 100ms var(--motion-out) both; }

/* Pointer aura */
.cursor-aura {
  position: fixed; z-index: 1; width: 460px; height: 460px; border-radius: 50%;
  pointer-events: none; opacity: 0; filter: blur(8px);
  background: radial-gradient(circle, rgba(61,142,255,.075), rgba(61,142,255,0) 68%);
  transition: opacity 300ms ease;
}
.cursor-aura.is-on { opacity: 1; }
.site-header, main, .site-footer { position: relative; z-index: 2; }

/* Progress bar */
.scroll-progress { position: fixed; z-index: 3000; top: 0; right: 0; left: 0; height: 3px; pointer-events: none; }
.scroll-progress__bar { width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg,var(--blue),var(--cyan) 52%,var(--gold)); box-shadow: 0 0 20px rgba(54,143,255,.75); will-change: transform; }

/* Header */
.site-header {
  background: rgba(7,11,19,.74);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: background-color 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}
.site-header.is-scrolled { background: rgba(7,11,19,.93); border-bottom-color: rgba(117,154,209,.25); box-shadow: 0 16px 50px rgba(0,0,0,.25); }
.brand { animation: proHeaderDown 700ms 80ms var(--motion-spring) both; }
.primary-navigation > a, .language-control { animation: proHeaderDown 700ms var(--motion-spring) both; }
.primary-navigation > a:nth-child(1){animation-delay:130ms}.primary-navigation > a:nth-child(2){animation-delay:170ms}.primary-navigation > a:nth-child(3){animation-delay:210ms}.primary-navigation > a:nth-child(4){animation-delay:250ms}.primary-navigation > a:nth-child(5){animation-delay:290ms}.primary-navigation > a:nth-child(6){animation-delay:330ms}.primary-navigation > a:nth-child(7){animation-delay:370ms}.language-control{animation-delay:410ms}
.primary-navigation { gap: 18px; }
.primary-navigation > a:not(.nav-download) { position: relative; white-space: nowrap; }
.primary-navigation > a:not(.nav-download)::after {
  position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; border-radius: 99px;
  background: linear-gradient(90deg,var(--blue),var(--cyan)); content: ""; opacity: 0; transform: scaleX(.2); transform-origin: center;
  transition: opacity 220ms ease, transform 360ms var(--motion-spring);
}
.primary-navigation > a:hover::after,.primary-navigation > a:focus-visible::after,.primary-navigation > a.is-active::after { opacity: 1; transform: scaleX(1); }

/* Hero */
.hero {
  min-height: 0; overflow: clip;
  background:
    radial-gradient(circle at 78% 18%, rgba(42,124,255,.18), transparent 28%),
    radial-gradient(circle at 22% 45%, rgba(118,92,255,.095), transparent 27%),
    linear-gradient(180deg,#060a12 0%,#09111d 58%,#0b1422 100%);
}
.hero-layout { position: relative; z-index: 3; display: grid; gap: clamp(48px,6vw,84px); padding-top: clamp(92px,9vw,132px); padding-bottom: clamp(72px,8vw,112px); }
.hero-content { width: 100%; max-width: 900px; min-height: 0; padding: 0; margin: 0; transform: translateY(var(--copy-scroll-y,0)); will-change: transform; }
.hero .eyebrow { opacity: 0; letter-spacing: .1em; animation: proFadeUp 800ms 220ms var(--motion-out) forwards; }
.hero h1 { max-width: 880px; margin-bottom: 26px; font-size: clamp(66px,7.45vw,104px); line-height: .88; letter-spacing: -.06em; }
.hero-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.03em; }
.hero-line > span { display: block; opacity: 0; transform: translateY(108%) rotate(1.6deg); filter: blur(7px); animation: proHeroLine 980ms var(--hero-line-delay,300ms) var(--motion-spring) forwards; }
.hero-copy { max-width: 690px; font-size: 20px; opacity: 0; animation: proFadeUp 850ms 570ms var(--motion-out) forwards; }
.hero-actions { opacity: 0; animation: proFadeUp 850ms 660ms var(--motion-out) forwards; }
.hero-meta { opacity: 0; animation: proFadeUp 850ms 760ms var(--motion-out) forwards; }
.hero-meta li:last-child::before { background: var(--gold); box-shadow: 0 0 10px rgba(229,182,87,.35); }
.hero-ambient { position:absolute; z-index:1; inset:0; overflow:hidden; pointer-events:none; }
.hero-grid-lines { position:absolute; inset:-80px; opacity:.13; background-image:linear-gradient(rgba(255,255,255,.052) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.052) 1px,transparent 1px); background-size:70px 70px; mask-image:linear-gradient(to bottom,transparent,#000 20%,#000 78%,transparent); animation: proGrid 28s linear infinite; }
.hero-grid-lines::after { position:absolute; inset:0; background:linear-gradient(120deg,transparent 25%,rgba(68,154,255,.12) 47%,transparent 68%); content:""; transform:translateX(-100%); animation: proGridSweep 7s 1s ease-in-out infinite; }
.hero-orb { position:absolute; border-radius:50%; filter:blur(85px); pointer-events:none; }
.hero-orb-one { width:620px; height:620px; top:-330px; right:-100px; background:#1d78ff; opacity:.28; animation:proOrbA 15s ease-in-out infinite alternate; }
.hero-orb-two { width:560px; height:560px; left:-300px; bottom:-300px; background:#765cff; opacity:.13; animation:proOrbB 18s ease-in-out infinite alternate; }
.hero-visual { position:relative; z-index:4; width:min(1550px,calc(100vw - 30px)); justify-self:center; perspective:1800px; opacity:0; transform:translateY(calc(58px + var(--scroll-y,0))) scale(.955); animation:proProductIn 1150ms 620ms var(--motion-spring) forwards; will-change:transform; }
.hero-visual::before { position:absolute; z-index:-1; right:8%; bottom:-25%; left:8%; height:70%; border-radius:50%; background:linear-gradient(90deg,rgba(20,120,242,.32),rgba(118,92,255,.16),rgba(83,219,255,.2)); filter:blur(82px); content:""; opacity:.58; animation:proProductAura 6s ease-in-out infinite; }
.hero-visual::after { position:absolute; z-index:-1; right:8%; bottom:-34px; left:8%; height:80px; border:1px solid rgba(85,150,239,.12); border-radius:50%; content:""; transform:perspective(600px) rotateX(72deg); box-shadow:0 0 80px rgba(20,120,242,.14); }
.hero-product-frame { --tilt-x:0deg; --tilt-y:0deg; position:relative; overflow:hidden; border:1px solid rgba(137,177,232,.44); border-radius:14px; background:#0e1521; box-shadow:0 50px 120px rgba(0,0,0,.52),0 12px 38px rgba(7,39,84,.32),inset 0 1px rgba(255,255,255,.07); transform:rotateX(var(--tilt-y)) rotateY(var(--tilt-x)); transform-style:preserve-3d; transition:transform 180ms ease-out,border-color 300ms ease,box-shadow 300ms ease; will-change:transform; }
.hero-product-frame::before { position:absolute; z-index:3; inset:0; border-radius:inherit; box-shadow:inset 0 0 55px rgba(60,146,255,.035); content:""; pointer-events:none; }
.hero-product-frame:hover { border-color:rgba(117,181,255,.7); box-shadow:0 58px 135px rgba(0,0,0,.55),0 14px 50px rgba(19,98,203,.20),inset 0 1px rgba(255,255,255,.09); }
.hero-product { position:relative; inset:auto; z-index:1; width:100%; height:auto; max-width:100%; border:0; box-shadow:none; object-fit:contain; }
.hero-product-sheen { position:absolute; z-index:2; top:-35%; bottom:-35%; left:-28%; width:18%; background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent); filter:blur(5px); pointer-events:none; transform:skewX(-16deg) translateX(-360%); animation:proSheen 1.45s 1.5s var(--motion-ease) both; }

/* Buttons */
.button { --mag-x:0px; --mag-y:0px; position:relative; overflow:hidden; border-radius:9px; transform:translate(var(--mag-x),var(--mag-y)); transition:transform 220ms var(--motion-spring),box-shadow 240ms ease,background-color 240ms ease,border-color 240ms ease,color 240ms ease; }
.button::before { position:absolute; inset:-1px; border-radius:inherit; background:linear-gradient(115deg,transparent 22%,rgba(255,255,255,.2) 45%,transparent 68%); content:""; opacity:0; transform:translateX(-120%); transition:opacity 180ms ease,transform 620ms var(--motion-ease); pointer-events:none; }
.button:hover::before,.button:focus-visible::before { opacity:1; transform:translateX(125%); }
.button:hover,.button:focus-visible { transform:translate(var(--mag-x),calc(var(--mag-y) - 3px)); }
.button-primary { box-shadow:0 8px 26px rgba(20,120,242,.16); }
.button-primary:hover,.button-primary:focus-visible { box-shadow:0 15px 34px rgba(20,120,242,.34); }
.button-windows { border-color:rgba(34,52,80,.5); background:#101b2d; color:#fff; }
.button-windows:hover,.button-windows:focus-visible { border-color:#4b98ff; background:#152844; box-shadow:0 14px 30px rgba(20,120,242,.18); }
.windows-coming-button::after { margin-left:9px; padding:3px 7px; border:1px solid rgba(255,255,255,.19); border-radius:99px; content:"SOON"; color:#9fc8ff; font-size:9px; letter-spacing:.08em; }

/* General section reveals */
.motion-ready .reveal { opacity:0; filter:blur(8px); transition:opacity 800ms var(--motion-out) var(--reveal-delay,0ms),transform 900ms var(--motion-spring) var(--reveal-delay,0ms),filter 800ms ease var(--reveal-delay,0ms); }
.motion-ready .reveal-up { transform:translateY(52px) scale(.985); }
.motion-ready .reveal-left { transform:translateX(-52px); }
.motion-ready .reveal-right { transform:translateX(52px); }
.motion-ready .reveal.is-visible { opacity:1; filter:blur(0); transform:translate(0,0) scale(1); }
.section { position:relative; overflow:hidden; }
.section::after { position:absolute; inset:auto 0 0; height:1px; background:linear-gradient(90deg,transparent,rgba(70,110,170,.16),transparent); content:""; }
.section-intro h2 { text-wrap:balance; }

/* Trust strip */
.trust-grid p { position:relative; overflow:hidden; transition:transform 320ms var(--motion-spring),background-color 320ms ease,box-shadow 320ms ease; }
.trust-grid p::after { position:absolute; top:0; left:0; width:100%; height:3px; background:linear-gradient(90deg,var(--blue),var(--cyan)); content:""; transform:scaleX(0); transform-origin:left; transition:transform 460ms var(--motion-spring); }
.trust-grid p:hover { z-index:2; transform:translateY(-6px); background:#fff; box-shadow:0 16px 38px rgba(25,58,105,.10); }
.trust-grid p:hover::after { transform:scaleX(1); }

/* Live stats */
.community-stats { position:relative; overflow:hidden; padding:82px 0; background:#0a111d; color:#fff; }
.community-stats::before { position:absolute; top:-180px; right:7%; width:440px; height:440px; border-radius:50%; background:#1478f2; content:""; filter:blur(110px); opacity:.13; animation:proStatGlow 8s ease-in-out infinite alternate; }
.stats-shell { position:relative; z-index:1; display:grid; grid-template-columns:minmax(300px,.9fr) minmax(560px,1.2fr); align-items:end; gap:60px; }
.stats-copy h2 { max-width:560px; font-size:clamp(36px,4vw,56px); }
.stats-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.stat-card { --rx:0deg; --ry:0deg; position:relative; overflow:hidden; min-height:160px; padding:25px; border:1px solid rgba(133,168,218,.22); border-radius:14px; background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018)); box-shadow:inset 0 1px rgba(255,255,255,.05); transform:perspective(800px) rotateX(var(--rx)) rotateY(var(--ry)); transition:transform 220ms ease,border-color 280ms ease,background 280ms ease; }
.stat-card::before { position:absolute; inset:0; background:radial-gradient(circle at var(--pointer-x,50%) var(--pointer-y,50%),rgba(91,164,255,.16),transparent 55%); content:""; opacity:.7; }
.stat-card strong,.stat-card span { position:relative; z-index:1; display:block; }
.stat-card strong { margin-bottom:14px; font-size:48px; line-height:1; letter-spacing:-.05em; background:linear-gradient(135deg,#fff,#90c3ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat-card span { color:#96a9c5; font-size:13px; font-weight:750; text-transform:uppercase; letter-spacing:.055em; }
.stat-card.counter-unavailable strong { color:#70809a; -webkit-text-fill-color:#70809a; }

/* Capability cards */
.capability,.price-card,.template-card,.term-card { --rx:0deg; --ry:0deg; position:relative; overflow:hidden; transform:perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style:preserve-3d; transition:transform 220ms ease,border-color 300ms ease,box-shadow 320ms ease,background-color 300ms ease; }
.capability::after,.price-card::after,.template-card::after,.term-card::after { position:absolute; z-index:0; inset:0; background:radial-gradient(circle at var(--pointer-x,50%) var(--pointer-y,50%),rgba(34,128,255,.13),transparent 44%); content:""; opacity:0; transition:opacity 260ms ease; pointer-events:none; }
.capability:hover::after,.price-card:hover::after,.template-card:hover::after,.term-card:hover::after { opacity:1; }
.capability > *,.price-card > *,.template-card > *,.term-card > * { position:relative; z-index:1; }
.capability:hover { border-color:#9ab9e4; box-shadow:0 24px 56px rgba(26,59,107,.13); }
.capability span { transition:transform 360ms var(--motion-spring),color 300ms ease; }
.capability:hover span { transform:translateX(7px); color:#055fcf; }

/* Workflow — animated production rail */
.workflow { position:relative; overflow:hidden; background:linear-gradient(145deg,#0c1421,#111c2d 58%,#0b1320); }
.workflow::before { position:absolute; inset:0; background:radial-gradient(circle at 12% 5%,rgba(229,182,87,.09),transparent 26%),radial-gradient(circle at 88% 84%,rgba(20,120,242,.10),transparent 28%); content:""; }
.workflow .shell { position:relative; z-index:1; }
.workflow-list { position:relative; overflow:hidden; }
.workflow-list::after { position:absolute; z-index:2; top:0; left:0; width:100%; height:2px; background:linear-gradient(90deg,var(--gold),var(--blue),var(--cyan)); content:""; transform:scaleX(0); transform-origin:left; transition:transform 1800ms 250ms var(--motion-out); }
.workflow-list:has(.step-active)::after { transform:scaleX(1); }
.workflow-list li { position:relative; transition:background-color 320ms ease,transform 320ms var(--motion-spring); }
.workflow-list li::after { position:absolute; top:26px; right:24px; width:9px; height:9px; border:1px solid rgba(229,182,87,.5); border-radius:50%; background:#111a29; content:""; box-shadow:0 0 0 0 rgba(229,182,87,.25); transition:background-color 400ms ease,box-shadow 400ms ease,transform 400ms var(--motion-spring); }
.workflow-list li.step-active::after { background:var(--gold); box-shadow:0 0 0 8px rgba(229,182,87,.09),0 0 18px rgba(229,182,87,.25); transform:scale(1.05); }
.workflow-list li:hover { background:rgba(255,255,255,.025); transform:translateY(-5px); }

/* Template library */
.templates-section { background:linear-gradient(180deg,#f3f6fb 0%,#edf2f9 100%); }
.template-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.template-card { min-height:390px; border:1px solid #cad7e8; border-radius:16px; background:#fff; box-shadow:0 10px 34px rgba(31,63,107,.07); }
.template-card:hover { border-color:#8fb8ee; box-shadow:0 30px 70px rgba(31,73,131,.15); transform:perspective(1000px) translateY(-8px) rotateX(var(--rx)) rotateY(var(--ry)); }
.template-preview { position:relative; overflow:hidden; height:300px; border-bottom:1px solid #d4deec; background:#0e1726; }
.template-preview::before { position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size:38px 38px; content:""; opacity:.28; }
.template-preview::after { position:absolute; top:-40%; bottom:-40%; left:-30%; width:32%; background:linear-gradient(90deg,transparent,rgba(255,255,255,.14),transparent); content:""; transform:skewX(-13deg); animation:proTemplateSheen 5.5s ease-in-out infinite; }
.template-preview span { position:absolute; display:block; border:1px solid rgba(152,192,247,.38); border-radius:6px; background:linear-gradient(145deg,rgba(60,136,244,.18),rgba(255,255,255,.025)); box-shadow:0 18px 50px rgba(0,0,0,.20); animation:proTemplateFloat 5.5s ease-in-out infinite alternate; }
.template-preview span:nth-child(1){width:46%;height:60%;left:8%;top:20%;}.template-preview span:nth-child(2){width:31%;height:36%;right:8%;top:14%;animation-delay:-1.4s}.template-preview span:nth-child(3){width:34%;height:35%;right:11%;bottom:10%;animation-delay:-2.6s}
.template-preview-2 { background:#151425; }.template-preview-2 span { border-color:rgba(180,143,255,.38); background:linear-gradient(145deg,rgba(116,82,242,.20),rgba(255,255,255,.025)); }
.template-preview-3 { background:#141713; }.template-preview-3 span { border-color:rgba(229,182,87,.34); background:linear-gradient(145deg,rgba(229,182,87,.14),rgba(255,255,255,.025)); }
.template-card-meta { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px 24px; }
.template-card-meta span { color:#66758b; font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.template-card-meta strong { padding:5px 9px; border-radius:99px; background:#e9f2ff; color:#1765c6; font-size:11px; text-transform:uppercase; letter-spacing:.055em; }
.template-note { margin-top:22px; color:#65758b; font-size:13px; text-align:center; }

/* Pricing */
.pricing { background:linear-gradient(180deg,#eef3fa,#f7f9fc); }
.price-card { border-radius:14px; }
.price-card.featured { box-shadow:0 24px 70px rgba(14,79,168,.24); }
.price-card.featured::before { position:absolute; z-index:0; width:280px; height:280px; top:-180px; right:-130px; border-radius:50%; background:#4c9aff; filter:blur(55px); content:""; opacity:.30; animation:proPriceGlow 7s ease-in-out infinite alternate; }
.price-card:hover { transform:perspective(1000px) translateY(-10px) rotateX(var(--rx)) rotateY(var(--ry)); border-color:#7199cf; box-shadow:0 30px 70px rgba(13,34,67,.24); }
.price-card.featured:hover { box-shadow:0 34px 85px rgba(14,79,168,.34); }

/* Terms */
.terms-section { background:#fff; }
.terms-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.term-card { min-height:270px; padding:26px; border:1px solid #d2ddea; border-radius:14px; background:linear-gradient(145deg,#fff,#f8fafd); }
.term-card > span { display:inline-grid; place-items:center; width:38px; height:38px; margin-bottom:42px; border-radius:50%; background:#eaf3ff; color:#1166cf; font-size:12px; font-weight:900; }
.term-card p { margin:0; color:#586a82; font-size:14px; line-height:1.62; }
.term-card:hover { border-color:#8fb7eb; box-shadow:0 24px 58px rgba(35,75,126,.12); transform:perspective(1000px) translateY(-7px) rotateX(var(--rx)) rotateY(var(--ry)); }
.terms-link-row { margin-top:28px; text-align:center; }

/* Download band */
.download-band { position:relative; overflow:hidden; background:linear-gradient(115deg,#e7b956 0%,#f0c86d 42%,#dca541 100%); background-size:180% 180%; animation:proGoldShift 9s ease-in-out infinite; }
.download-band::before { position:absolute; width:500px; height:500px; top:-290px; right:-80px; border:1px solid rgba(32,24,7,.16); border-radius:50%; content:""; box-shadow:0 0 0 70px rgba(32,24,7,.025),0 0 0 145px rgba(32,24,7,.018); animation:proRing 7s ease-in-out infinite alternate; }
.download-layout { position:relative; z-index:1; }
.download-actions { display:flex; flex-direction:column; gap:10px; flex:0 0 auto; min-width:240px; }
.download-band .button-windows { background:#fff3d5; border-color:rgba(65,46,7,.2); color:#302205; }
.download-band .button-windows:hover { background:#fff8e8; border-color:rgba(65,46,7,.4); box-shadow:0 14px 30px rgba(72,47,4,.15); }
.download-band .button-windows::after { color:#74520d; border-color:rgba(74,52,12,.26); }

/* FAQ */
.faq-list details { overflow:hidden; transition:background-color 260ms ease,padding 260ms ease; }
.faq-list details:hover { background:#f7f9fd; }
.faq-list details[open] { background:#f5f8fd; }
.faq-list details p { animation:proFaqOpen 360ms var(--motion-out) both; }
.faq-list summary::after { transition:transform 350ms var(--motion-spring),color 220ms ease; }
.faq-list details[open] summary::after { transform:rotate(180deg); }

/* Customer community marquee */
.customer-section { background:linear-gradient(180deg,#0a111d 0%,#0e1725 100%); color:#fff; }
.customer-section .section-intro > p:not(.eyebrow) { max-width:760px; margin:18px auto 0; color:#9eafc6; }
.customer-marquee { display:grid; gap:14px; width:100%; overflow:hidden; padding:6px 0 12px; mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); }
.customer-track-viewport { overflow:hidden; }
.customer-track { display:flex; width:max-content; animation:proMarquee 38s linear infinite; will-change:transform; }
.customer-track.reverse { animation-direction:reverse; animation-duration:44s; }
.customer-track-viewport:hover .customer-track { animation-play-state:paused; }
.customer-track-set { display:flex; gap:14px; padding-right:14px; }
.customer-card { display:grid; grid-template-columns:48px minmax(0,1fr); align-items:center; gap:13px; width:310px; min-height:100px; padding:18px; border:1px solid rgba(127,164,215,.22); border-radius:14px; background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.022)); box-shadow:inset 0 1px rgba(255,255,255,.04); }
.customer-avatar { display:grid; place-items:center; width:48px; height:48px; border-radius:13px; background:linear-gradient(145deg,#1b6ed3,#3b93ff); color:#fff; font-size:13px; font-weight:900; letter-spacing:.04em; box-shadow:0 10px 28px rgba(20,120,242,.23); }
.customer-card strong,.customer-card span { display:block; }
.customer-card strong { overflow:hidden; color:#f5f8ff; font-size:14px; text-overflow:ellipsis; white-space:nowrap; }
.customer-studio { overflow:hidden; margin-top:3px; color:#abc0de; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.customer-location { overflow:hidden; margin-top:5px; color:#7189aa; font-size:11px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }

/* Windows modal */
.windows-modal[hidden] { display:none; }
.windows-modal { position:fixed; z-index:4500; inset:0; display:grid; place-items:center; padding:24px; }
.windows-modal-backdrop { position:absolute; inset:0; background:rgba(3,7,13,.76); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); opacity:0; transition:opacity 260ms ease; }
.windows-modal-card { position:relative; z-index:1; width:min(560px,100%); padding:42px; overflow:hidden; border:1px solid rgba(126,174,240,.35); border-radius:22px; background:linear-gradient(145deg,#17263c,#0c1421 68%); box-shadow:0 45px 120px rgba(0,0,0,.52); color:#fff; opacity:0; transform:translateY(28px) scale(.95); filter:blur(5px); transition:opacity 360ms ease,transform 440ms var(--motion-spring),filter 360ms ease; }
.windows-modal-card::before { position:absolute; width:320px; height:320px; top:-230px; right:-150px; border-radius:50%; background:#1478f2; filter:blur(70px); content:""; opacity:.3; }
.windows-modal.is-open .windows-modal-backdrop { opacity:1; }
.windows-modal.is-open .windows-modal-card { opacity:1; transform:translateY(0) scale(1); filter:blur(0); }
.windows-modal.is-closing .windows-modal-card { opacity:0; transform:translateY(16px) scale(.97); }
.windows-modal-x { position:absolute; z-index:4; top:16px; right:16px; width:38px; height:38px; border:1px solid rgba(255,255,255,.16); border-radius:50%; background:rgba(255,255,255,.055); color:#fff; font-size:25px; cursor:pointer; transition:background-color 220ms ease,transform 280ms var(--motion-spring); }
.windows-modal-x:hover { background:rgba(255,255,255,.11); transform:rotate(90deg); }
.windows-mark { display:grid; grid-template-columns:repeat(2,24px); gap:4px; width:max-content; margin-bottom:28px; transform:skewY(-4deg); }
.windows-mark span { display:block; width:24px; height:24px; background:linear-gradient(145deg,#63acff,#1676ef); box-shadow:0 5px 14px rgba(20,120,242,.18); animation:proWinTile 2.6s ease-in-out infinite alternate; }
.windows-mark span:nth-child(2){animation-delay:-.4s}.windows-mark span:nth-child(3){animation-delay:-.8s}.windows-mark span:nth-child(4){animation-delay:-1.2s}
.windows-modal-card h2 { max-width:460px; margin-bottom:18px; font-size:clamp(36px,5vw,52px); }
.windows-modal-card > p:not(.eyebrow) { color:#b6c6dc; font-size:16px; line-height:1.62; }
.windows-modal-rule { padding:14px 16px; border:1px solid rgba(229,182,87,.23); border-radius:10px; background:rgba(229,182,87,.065); color:#dccb9f !important; font-size:13px !important; }
.windows-modal-actions { display:flex; gap:10px; margin-top:26px; }

/* Legal pages */
.legal-hero { position:relative; overflow:hidden; background:linear-gradient(145deg,#0b1320,#131f31); }
.legal-hero::after { position:absolute; width:520px; height:520px; right:-180px; top:-300px; border-radius:50%; background:#1478f2; content:""; filter:blur(100px); opacity:.13; }
.legal-lead { max-width:650px; margin:20px 0 0; color:#a9bad1; font-size:18px; }
.legal-content { position:relative; }

/* Language popups */
.language-menu:not([hidden]) { transform-origin:top right; animation:proMenu 260ms var(--motion-spring) both; }
.language-overlay { animation:proOverlay 320ms ease both; }
.language-dialog { animation:proDialog 520ms var(--motion-spring) both; }

/* Keyframes */
@keyframes proIntroGrid{to{transform:translate3d(62px,62px,0)}}
@keyframes proIntroIcon{from{opacity:0;transform:translateY(22px) scale(.82);filter:blur(8px)}to{opacity:1;transform:none;filter:none}}
@keyframes proIntroText{from{opacity:0;transform:translateY(100%);filter:blur(5px)}to{opacity:1;transform:none;filter:none}}
@keyframes proIntroLine{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes proHeaderDown{from{opacity:0;transform:translateY(-14px);filter:blur(5px)}to{opacity:1;transform:none;filter:none}}
@keyframes proFadeUp{from{opacity:0;transform:translateY(28px);filter:blur(8px)}to{opacity:1;transform:none;filter:none}}
@keyframes proHeroLine{from{opacity:0;transform:translateY(108%) rotate(1.6deg);filter:blur(7px)}to{opacity:1;transform:none;filter:none}}
@keyframes proProductIn{from{opacity:0;transform:translateY(58px) scale(.955);filter:blur(10px)}to{opacity:1;transform:translateY(var(--scroll-y,0)) scale(1);filter:none}}
@keyframes proSheen{from{transform:skewX(-16deg) translateX(-360%)}to{transform:skewX(-16deg) translateX(900%)}}
@keyframes proGrid{to{transform:translate3d(70px,70px,0)}}
@keyframes proGridSweep{0%,14%{transform:translateX(-120%);opacity:0}38%{opacity:1}70%,100%{transform:translateX(120%);opacity:0}}
@keyframes proOrbA{from{transform:translate3d(0,0,0) scale(.9)}to{transform:translate3d(-120px,100px,0) scale(1.13)}}
@keyframes proOrbB{from{transform:translate3d(0,0,0)}to{transform:translate3d(160px,-70px,0) scale(1.16)}}
@keyframes proProductAura{0%,100%{opacity:.42;transform:scale(.95)}50%{opacity:.66;transform:scale(1.04)}}
@keyframes proStatGlow{to{transform:translate(-100px,80px) scale(1.1);opacity:.2}}
@keyframes proTemplateSheen{0%,45%{transform:skewX(-13deg) translateX(-250%)}75%,100%{transform:skewX(-13deg) translateX(600%)}}
@keyframes proTemplateFloat{from{transform:translateY(-3px) rotate(-.6deg)}to{transform:translateY(8px) rotate(.7deg)}}
@keyframes proPriceGlow{to{transform:translate(-60px,70px) scale(1.18);opacity:.44}}
@keyframes proGoldShift{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes proRing{to{transform:translate(-42px,35px) scale(1.06)}}
@keyframes proFaqOpen{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@keyframes proMarquee{to{transform:translateX(-50%)}}
@keyframes proWinTile{to{transform:translateY(-3px);filter:brightness(1.18)}}
@keyframes proMenu{from{opacity:0;transform:translateY(-8px) scale(.95);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
@keyframes proOverlay{from{opacity:0}to{opacity:1}}
@keyframes proDialog{from{opacity:0;transform:translateY(24px) scale(.95);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}

/* Responsive */
@media (max-width: 1180px) {
  .primary-navigation { gap: 14px; font-size: 13px; }
  .primary-navigation .nav-download { padding: 0 11px; }
  .stats-shell { grid-template-columns:1fr; align-items:start; gap:34px; }
  .terms-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 980px) {
  .menu-toggle { display:block; }
  .primary-navigation { position:absolute; top:64px; right:0; left:0; display:flex; visibility:hidden; opacity:0; transform:translateY(-12px); pointer-events:none; flex-direction:column; align-items:stretch; gap:0; padding:14px 18px 20px; border-bottom:1px solid #2d3d56; background:rgba(8,14,24,.98); box-shadow:0 24px 50px rgba(0,0,0,.28); transition:opacity 250ms ease,transform 320ms var(--motion-spring),visibility 0s linear 320ms; }
  .primary-navigation.is-open { visibility:visible; opacity:1; transform:none; pointer-events:auto; transition-delay:0s; }
  .primary-navigation > a { padding:12px 4px; animation:none; }
  .primary-navigation > a::after { display:none; }
  .primary-navigation .nav-download { justify-content:center; margin-top:8px; padding:11px 14px; }
  .template-grid { grid-template-columns:1fr 1fr; }
  .template-card:last-child { grid-column:1/-1; }
  .template-card:last-child .template-preview { height:240px; }
}
@media (max-width: 800px) {
  .shell { width:min(100% - 32px,680px); }
  .hero-layout { gap:42px; padding-top:76px; padding-bottom:72px; }
  .hero h1 { font-size:clamp(54px,12.7vw,76px); }
  .hero-content { transform:none !important; }
  .hero-visual { width:calc(100vw - 24px); transform:translateY(var(--scroll-y,0)); }
  .stats-grid { grid-template-columns:1fr; }
  .stat-card { min-height:120px; }
  .stat-card strong { font-size:42px; }
  .template-grid { grid-template-columns:1fr; }
  .template-card:last-child { grid-column:auto; }
  .terms-grid { grid-template-columns:1fr; }
  .download-actions { width:100%; min-width:0; }
  .download-actions .button { width:100%; }
  .windows-modal-card { padding:34px 26px 28px; }
  .windows-modal-actions { flex-direction:column; }
}
@media (max-width: 560px) {
  .hero-layout { gap:34px; padding-top:62px; padding-bottom:58px; }
  .hero h1 { font-size:clamp(47px,14.8vw,62px); }
  .hero-copy { font-size:17px; }
  .hero-visual { width:calc(100vw - 16px); }
  .hero-product-frame { border-radius:9px; box-shadow:0 28px 65px rgba(0,0,0,.48); }
  .hero-actions,.hero-actions .button { width:100%; }
  .community-stats { padding:64px 0; }
  .stats-copy h2 { font-size:38px; }
  .template-preview { height:230px; }
  .customer-card { width:270px; }
  .windows-modal { padding:14px; }
  .windows-modal-card h2 { font-size:36px; }
  .motion-ready .reveal-up,.motion-ready .reveal-left,.motion-ready .reveal-right { transform:translateY(28px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  .motion-ready .reveal,.motion-ready .reveal-up,.motion-ready .reveal-left,.motion-ready .reveal-right { opacity:1; filter:none; transform:none; }
  .hero-line > span,.hero .eyebrow,.hero-copy,.hero-actions,.hero-meta,.hero-visual { opacity:1; filter:none; transform:none; }
  .customer-track { animation:none !important; }
  .customer-track-set[aria-hidden="true"] { display:none; }
  .cursor-aura,.mad-intro { display:none !important; }
}


/* ============================================================
   MAD PRO V3 — platform compatibility + Safari-safe hero motion
   ============================================================ */
.platform-button-icon{width:17px;height:17px;display:inline-block;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));transition:transform .35s var(--motion-spring),filter .35s ease}
.button .platform-button-icon,.nav-download .platform-button-icon{margin-right:8px;vertical-align:-3px}
.button:hover .platform-button-icon,.nav-download:hover .platform-button-icon{transform:translateY(-1px) scale(1.09);filter:drop-shadow(0 0 10px rgba(255,255,255,.22))}
.nav-download{display:inline-flex!important;align-items:center;justify-content:center}
.hero-actions .button{display:inline-flex;align-items:center;justify-content:center}

/* Headline reliability: no unsupported CSS multiplication in animation-delay. */
.hero-line>span{animation:proHeroLine 980ms var(--hero-line-delay,300ms) var(--motion-spring) forwards!important}
.hero-line:nth-child(2)>span{text-shadow:0 0 52px rgba(61,142,255,.16)}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .hero-line:nth-child(2)>span{background:linear-gradient(105deg,#fff 0%,#d8e8ff 32%,#7fc1ff 57%,#fff 86%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;animation:proHeroLine 980ms var(--hero-line-delay,430ms) var(--motion-spring) forwards,proHeadlineShimmer 7s 1.5s ease-in-out infinite!important}
}
@keyframes proHeadlineShimmer{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}

.compatibility-section{position:relative;overflow:hidden;padding:clamp(72px,8vw,112px) 0;background:linear-gradient(180deg,#0a1320 0%,#0b1524 100%);border-top:1px solid rgba(130,168,220,.12);border-bottom:1px solid rgba(130,168,220,.12)}
.compatibility-section:before{content:"";position:absolute;inset:-35% -10%;pointer-events:none;background:radial-gradient(circle at 20% 40%,rgba(28,119,255,.15),transparent 27%),radial-gradient(circle at 82% 52%,rgba(74,199,255,.10),transparent 24%);animation:compatAmbient 12s ease-in-out infinite alternate}
.compatibility-shell{position:relative;z-index:2}
.compatibility-heading{max-width:820px;margin-bottom:34px}
.compatibility-heading h2{font-size:clamp(36px,4vw,58px);line-height:.98;letter-spacing:-.045em;margin:9px 0 16px}
.compatibility-heading>p:last-child{max-width:660px;font-size:18px;color:var(--muted)}
.compatibility-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.compat-card{position:relative;min-height:218px;display:grid;grid-template-columns:74px 1fr;gap:20px;align-items:start;padding:26px;border:1px solid rgba(139,178,231,.17);border-radius:22px;background:linear-gradient(145deg,rgba(19,31,48,.88),rgba(10,18,31,.78));box-shadow:0 18px 58px rgba(0,0,0,.2);overflow:hidden;transition:transform .45s var(--motion-spring),border-color .35s ease,box-shadow .45s ease}
.compat-card:before{content:"";position:absolute;width:170px;height:170px;right:-70px;top:-80px;border-radius:50%;background:radial-gradient(circle,rgba(61,146,255,.18),transparent 68%);opacity:.35;transition:opacity .35s,transform .55s var(--motion-spring)}
.compat-card:after{content:"";position:absolute;inset:0;background:linear-gradient(112deg,transparent 25%,rgba(255,255,255,.055) 48%,transparent 70%);transform:translateX(-130%);transition:transform .8s ease}
.compat-card:hover{transform:translateY(-8px) scale(1.012);border-color:rgba(111,174,255,.38);box-shadow:0 30px 80px rgba(0,0,0,.32),0 0 42px rgba(30,123,255,.08)}
.compat-card:hover:before{opacity:.8;transform:scale(1.18)}
.compat-card:hover:after{transform:translateX(130%)}
.compat-logo{position:relative;width:64px;height:64px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 1px rgba(255,255,255,.07),0 12px 28px rgba(0,0,0,.2);animation:compatLogoFloat 4.8s ease-in-out infinite alternate}
.compat-logo img{width:29px;height:34px;object-fit:contain}
.compat-logo-windows img{width:34px;height:34px}
.compat-logo-ps{font-size:25px;font-weight:700;letter-spacing:-.04em;color:#67c7ff;background:linear-gradient(145deg,rgba(0,113,180,.26),rgba(6,24,43,.92));border-color:rgba(38,160,230,.35)}
.compat-card h3{font-size:23px;margin:8px 0 9px;letter-spacing:-.025em}
.compat-card p{margin:0;color:var(--muted);line-height:1.55}
.compat-status{display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:800;letter-spacing:.105em;padding:6px 9px;border-radius:999px;border:1px solid rgba(255,255,255,.12)}
.compat-status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 10px currentColor}
.compat-status-live{color:#64d995;background:rgba(52,183,111,.07);border-color:rgba(78,209,135,.20)}
.compat-status-soon{color:#75b9ff;background:rgba(46,125,226,.08);border-color:rgba(80,156,250,.22)}
.compat-footnote{margin-top:20px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:13px;color:#9db0c8;font-size:13px;font-weight:650;letter-spacing:.02em}
.compat-footnote i{width:4px;height:4px;border-radius:50%;background:#3e8df5;box-shadow:0 0 10px #3e8df5}
@keyframes compatAmbient{from{transform:translate3d(-2%,0,0) scale(.97)}to{transform:translate3d(2%,2%,0) scale(1.06)}}
@keyframes compatLogoFloat{from{transform:translateY(-2px) rotate(-1deg)}to{transform:translateY(5px) rotate(1deg)}}

/* Use the existing reveal engine for the new V3 section. */
.motion-ready .compatibility-heading,.motion-ready .compat-card,.motion-ready .compat-footnote{opacity:0;transform:translateY(30px);filter:blur(8px);transition:opacity .75s ease,transform .9s var(--motion-spring),filter .75s ease}
.motion-ready .compatibility-heading.is-visible,.motion-ready .compat-card.is-visible,.motion-ready .compat-footnote.is-visible{opacity:1;transform:none;filter:none}
.compat-card:nth-child(2){transition-delay:.08s}.compat-card:nth-child(3){transition-delay:.16s}

@media(max-width:980px){.compatibility-grid{grid-template-columns:1fr}.compat-card{min-height:0}.compatibility-heading h2{font-size:clamp(36px,7vw,54px)}}
@media(max-width:620px){.compat-card{grid-template-columns:58px 1fr;padding:20px;gap:15px}.compat-logo{width:54px;height:54px;border-radius:15px}.compat-logo img{width:25px;height:30px}.compat-logo-windows img{width:30px;height:30px}.compatibility-section{padding:64px 0}.hero h1{font-size:clamp(48px,15vw,66px)}}


/* MAD PRO V4 — high-contrast dark compatibility section */
.compatibility-section {
  color: #f7fbff;
  background:
    radial-gradient(circle at 16% 38%, rgba(27, 117, 255, .16), transparent 31%),
    radial-gradient(circle at 86% 55%, rgba(45, 190, 255, .10), transparent 27%),
    linear-gradient(180deg, #081321 0%, #0a1727 100%);
}
.compatibility-section .eyebrow {
  color: #ffc65a;
  text-shadow: 0 0 24px rgba(255, 198, 90, .18);
}
.compatibility-heading h2 {
  color: #ffffff;
  text-shadow: 0 8px 34px rgba(0, 0, 0, .28);
}
.compatibility-heading > p:last-child {
  color: #c7d5e9;
}
.compat-card {
  color: #f7fbff;
  background: linear-gradient(145deg, rgba(23, 39, 60, .96), rgba(10, 21, 37, .93));
  border-color: rgba(139, 184, 244, .24);
  box-shadow: 0 20px 64px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .035);
}
.compat-card h3 {
  color: #f8fbff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .28);
}
.compat-card p {
  color: #c2d0e3;
}
.compat-footnote {
  color: #c5d2e5;
}
.compat-status-live {
  color: #72e3a3;
  background: rgba(54, 190, 116, .11);
  border-color: rgba(89, 224, 148, .30);
}
.compat-status-soon {
  color: #86c5ff;
  background: rgba(49, 129, 235, .12);
  border-color: rgba(101, 177, 255, .31);
}
.compat-logo {
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.045));
  border-color: rgba(255,255,255,.17);
}

/* PRO V5 — Language dropdown stacking fix */
.site-header {
  z-index: 2500 !important;
  overflow: visible !important;
}
main,
.site-footer {
  z-index: 2;
}
.header-inner,
.language-control {
  overflow: visible !important;
}
.language-control {
  z-index: 2600 !important;
}
.language-menu {
  z-index: 2700 !important;
  isolation: isolate;
}
.language-menu:not([hidden]) {
  display: grid;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}


/* === PRO V6 · OFFICIAL MAD BRAND SYSTEM === */
.site-header .brand img.brand-logo-official {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 52px;
  filter: drop-shadow(0 0 10px rgba(255, 184, 55, .22));
  transition: transform .42s var(--motion-spring), filter .42s ease;
}
.site-header .brand:hover img.brand-logo-official {
  transform: translateY(-1px) scale(1.055);
  filter: drop-shadow(0 0 14px rgba(255, 190, 63, .42));
}
.hero-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 7px 12px 7px 8px;
  border: 1px solid rgba(240, 181, 64, .22);
  border-radius: 999px;
  background: linear-gradient(105deg, rgba(247,181,64,.09), rgba(255,255,255,.018));
  box-shadow: inset 0 1px rgba(255,255,255,.04), 0 14px 34px rgba(0,0,0,.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-brand-badge img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(255,184,55,.32));
  animation: madBrandFloat 4.4s ease-in-out infinite alternate;
}
.hero-brand-badge .eyebrow { margin: 0; }
@keyframes madBrandFloat {
  from { transform: translateY(1px) rotate(-.4deg); filter: drop-shadow(0 0 7px rgba(255,184,55,.25)); }
  to   { transform: translateY(-2px) rotate(.4deg); filter: drop-shadow(0 0 13px rgba(255,184,55,.45)); }
}
.footer-brand-official {
  display: inline-block;
  width: min(100%, 300px);
}
.footer-brand-official .footer-official-lockup,
.footer-brand img.footer-official-lockup {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  opacity: .98;
  filter: drop-shadow(0 12px 34px rgba(0,0,0,.28));
  transition: transform .45s var(--motion-spring), filter .45s ease;
}
.footer-brand-official:hover .footer-official-lockup {
  transform: translateY(-2px) scale(1.012);
  filter: drop-shadow(0 14px 38px rgba(225,165,53,.12));
}
.legal-official-mark {
  display: block;
  width: 78px;
  height: 78px;
  object-fit: contain;
  margin: 0 0 18px;
  filter: drop-shadow(0 0 16px rgba(247,181,64,.28));
}
.mad-intro-icon img { filter: drop-shadow(0 0 20px rgba(247,181,64,.38)); }
@media (max-width: 620px) {
  .site-header .brand img.brand-logo-official { width: 44px; height: 44px; flex-basis: 44px; }
  .hero-brand-badge { gap: 9px; padding: 6px 10px 6px 7px; }
  .hero-brand-badge img { width: 31px; height: 31px; }
  .footer-brand-official, .footer-brand img.footer-official-lockup { max-width: 250px; }
  .legal-official-mark { width: 64px; height: 64px; }
}

/* ============================================================
   Razorpay secure purchase dialog — scoped, non-destructive
   ============================================================ */
.payment-dialog {
  width: min(560px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  overflow: auto;
  border: 1px solid #34445b;
  border-radius: 18px;
  color: #f7f9fc;
  background: #111c2e;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .55);
}
.payment-dialog::backdrop { background: rgba(3, 9, 18, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.payment-form { position: relative; display: grid; gap: 16px; padding: 34px; }
.payment-form h2 { margin: 0; color: #fff; font-size: clamp(28px, 5vw, 40px); }
.payment-plan { margin: -7px 0 5px; color: #9fb2cd; }
.payment-form label { display: grid; gap: 7px; color: #dbe5f4; font-size: 14px; font-weight: 700; }
.payment-form input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #43546d; border-radius: 8px; color: #fff; background: #0b1423; font: inherit; }
.payment-form input:focus { outline: 2px solid #2f8cff; outline-offset: 2px; }
.purchase-type { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; }
.purchase-type legend { grid-column: 1 / -1; margin-bottom: 5px; color: #dbe5f4; font-size: 14px; font-weight: 700; }
.payment-form .purchase-type label { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 12px; border: 1px solid #43546d; border-radius: 8px; background: #0b1423; cursor: pointer; }
.payment-form .purchase-type input { width: auto; min-height: 0; padding: 0; accent-color: #2f8cff; }
.payment-form .renewal-match-note { margin: 0; padding: 11px 13px; border: 1px solid #43546d; border-radius: 8px; color: #dbe5f4; background: #101d30; font-size: 14px; line-height: 1.45; }
.payment-close { position: absolute; top: 14px; right: 16px; border: 0; color: #fff; background: transparent; font-size: 30px; line-height: 1; cursor: pointer; }
.payment-submit { width: 100%; margin-top: 5px; }
.payment-submit:disabled { opacity: .65; cursor: wait; }
.payment-status { min-height: 22px; margin: 0; color: #b9c9df; font-size: 14px; line-height: 1.5; }
.payment-status.is-success { color: #6ee7aa; }
.payment-status.is-error { color: #ff9c9c; }
.payment-safe { margin: 0; color: #8395ae; font-size: 12px; line-height: 1.5; }
@media (max-width: 560px) { .payment-form { padding: 30px 20px 24px; } }


/* ============================================================
   Free trial CTA + dialog
   ============================================================ */
.existing-download-note{margin:12px 0 0;color:#8fa1ba;font-size:12px;line-height:1.5}
.existing-download-note a{color:#bcd5f7;text-decoration:underline;text-underline-offset:3px}
.download-actions .trial-buy-now{background:rgba(255,255,255,.82);border-color:rgba(41,31,8,.2);color:#302205}
.existing-download-band{display:block;text-align:center;color:#4b3508;font-size:12px;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.trial-pricing-note{margin-bottom:8px;font-weight:750;color:#27425f}
.trial-dialog{width:min(560px,calc(100% - 28px));max-height:calc(100vh - 28px);padding:0;overflow:auto;border:1px solid #34445b;border-radius:18px;color:#f7f9fc;background:#111c2e;box-shadow:0 28px 90px rgba(0,0,0,.58)}
.trial-dialog::backdrop{background:rgba(3,9,18,.82);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}
.trial-form{position:relative;display:grid;gap:16px;padding:34px}
.trial-form h2{margin:0;color:#fff;font-size:clamp(28px,5vw,40px)}
.trial-intro{margin:-7px 0 4px;color:#a8bad2;font-size:14px}
.trial-form label{display:grid;gap:7px;color:#dbe5f4;font-size:14px;font-weight:700}
.trial-form input{width:100%;min-height:48px;padding:11px 13px;border:1px solid #43546d;border-radius:8px;color:#fff;background:#0b1423;font:inherit}
.trial-form input:focus{outline:2px solid #2f8cff;outline-offset:2px}
.trial-close{position:absolute;top:14px;right:16px;border:0;color:#fff;background:transparent;font-size:30px;line-height:1;cursor:pointer}
.trial-submit{width:100%;margin-top:4px;text-align:center}

.trial-credential-note{display:grid;grid-template-columns:auto 1fr;gap:11px;align-items:start;padding:13px 14px;border:1px solid rgba(75,153,255,.28);border-radius:10px;background:rgba(31,117,255,.08);color:#dce9fb;font-size:13px;line-height:1.55}
.trial-credential-note p{margin:0}
.trial-credential-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:rgba(47,140,255,.16);color:#80b8ff;font-size:15px}
.trial-submit:disabled{opacity:.65;cursor:wait}
.trial-status{min-height:22px;margin:0;color:#b9c9df;font-size:14px;line-height:1.5}
.trial-status.is-success{color:#6ee7aa}.trial-status.is-error{color:#ff9c9c}
.trial-safe{margin:0;color:#8395ae;font-size:12px;line-height:1.55}
@media(max-width:560px){.trial-form{padding:30px 20px 24px}.existing-download-note{text-align:center}}


/* ============================================================
   Razorpay trust branding — official Razorpay newsroom asset
   ============================================================ */
.razorpay-secure-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  margin: -2px auto 0;
  padding: 8px 12px;
  border: 1px solid rgba(110, 155, 220, .22);
  border-radius: 999px;
  background: rgba(5, 13, 25, .58);
  color: #a9b9cf;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .02em;
}
.razorpay-secure-row img {
  display: block;
  width: 86px;
  height: auto;
  max-height: 22px;
  object-fit: contain;
}
.razorpay-pricing-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 18px auto 12px;
  padding: 9px 14px;
  border: 1px solid rgba(28, 48, 78, .18);
  border-radius: 999px;
  background: #101b2d;
  box-shadow: 0 8px 24px rgba(14, 31, 55, .10);
  color: #d7e1ef;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
}
.razorpay-pricing-trust img {
  display: block;
  width: 94px;
  height: auto;
  max-height: 24px;
  object-fit: contain;
}
@media (max-width: 560px) {
  .razorpay-pricing-trust {
    gap: 8px;
    padding: 9px 12px;
    font-size: 11px;
  }
  .razorpay-pricing-trust img { width: 82px; }
  .razorpay-secure-row img { width: 80px; }
}


/* ============================================================
   2026-09-21 content polish: hero descenders, trial policy, footer contact
   ============================================================ */
.hero h1 {
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.055em;
  padding-bottom: .06em;
  overflow: visible;
  text-rendering: geometricPrecision;
}
.hero-line {
  overflow: hidden;
  padding: .02em 0 .18em;
  margin-bottom: -.10em;
}
.hero-line > span {
  line-height: 1.02;
}
.trial-policy-warning {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border: 1px solid rgba(247,181,64,.38);
  border-radius: 10px;
  background: rgba(247,181,64,.085);
  color: #f5e4bd;
  font-size: 12.5px;
  line-height: 1.55;
}
.trial-policy-warning strong {
  color: #ffd57b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.footer-support-hours {
  color: #94a6bf;
  font-size: 12px;
  line-height: 1.45;
}
.footer-bottom a {
  color: #a9bad1;
  text-decoration: none;
}
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 620px) {
  .hero h1 { line-height: .96; letter-spacing: -.05em; }
  .hero-line { padding-bottom: .19em; margin-bottom: -.105em; }
}

/* Free Templates Vol. 1 */
.free-template-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 22px; }
.free-template-card { overflow: hidden; border: 1px solid #d7e0ed; border-radius: 18px; background: #fff; box-shadow: 0 18px 48px rgba(9, 24, 47, .10); transition: transform .2s ease, box-shadow .2s ease; }
.free-template-card:hover, .free-template-card:focus-visible { transform: translateY(-5px); box-shadow: 0 26px 58px rgba(9, 24, 47, .16); }
.free-template-art { background: #eaf0f8; aspect-ratio: 1.733 / 1; overflow: hidden; }
.free-template-art img { width: 100%; height: 100%; object-fit: cover; }
.free-template-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; }
.free-template-card-meta span { display: block; color: #60708b; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.free-template-card-meta strong { display: block; margin-top: 3px; color: #111d31; font-size: 22px; }
.free-template-card-meta .free-template-open { color: #126ce0; letter-spacing: .025em; text-transform: none; white-space: nowrap; }
.free-template-open b { margin-left: 4px; font-size: 17px; }
.template-card-coming { min-height: 100%; opacity: .88; }
/* Keep the template library compact at every browser zoom and screen width. */
.free-template-grid { justify-items: center; }
.free-template-grid > .free-template-card,
.free-template-grid > .template-card-coming { width: 100%; max-width: 270px; min-height: 0; }
.free-template-grid > .template-card-coming .template-preview { height: 176px; }
.free-template-grid > .template-card-coming .template-card-meta { padding: 16px 18px; }
.template-detail-page { background: #f3f6fa; }
.detail-back-link { color: #dce9fd; font-size: 14px; font-weight: 800; }
.detail-back-link:hover { color: #fff; }
.template-detail-hero { padding: 92px 0 66px; color: #fff; background: radial-gradient(circle at 78% 10%, rgba(38, 116, 239, .35), transparent 32%), linear-gradient(125deg, #07111f, #102744); }
.template-detail-hero .eyebrow { color: #f2bb54; }
.template-detail-hero h1 { max-width: 700px; margin: 9px 0 14px; color: #fff; font-size: clamp(44px, 7vw, 88px); font-weight: 900; line-height: .93; letter-spacing: -.055em; }
.template-detail-copy { max-width: 610px; margin: 0; color: #c6d4e8; font-size: 18px; }
.template-download-section { padding: 70px 0 88px; }
.template-download-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .75fr); align-items: start; gap: 32px; }
.template-detail-art { margin: 0; overflow: hidden; border: 1px solid #d4ddea; border-radius: 15px; background: #fff; box-shadow: 0 20px 52px rgba(18, 37, 63, .14); }
.template-detail-art img { width: 100%; height: auto; }
.template-download-panel { position: sticky; top: 90px; padding: 30px; border: 1px solid #d4ddea; border-radius: 15px; background: #fff; box-shadow: 0 16px 42px rgba(18, 37, 63, .1); }
.template-download-panel h2 { margin: 8px 0 18px; color: #111d31; font-size: 30px; line-height: 1.04; }
.template-download-panel dl { margin: 0 0 24px; border-top: 1px solid #e4eaf2; }
.template-download-panel dl div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #e4eaf2; }
.template-download-panel dt { color: #6c7b90; font-size: 13px; }
.template-download-panel dd { margin: 0; color: #182843; font-size: 13px; font-weight: 800; }
.template-download-button { width: 100%; justify-content: center; text-align: center; }
.template-download-button span { margin-left: 8px; font-size: 20px; }
.template-download-note { margin: 13px 0 0; color: #6c7b90; font-size: 12px; line-height: 1.5; text-align: center; }
@media (max-width: 900px) { .free-template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .template-download-layout { grid-template-columns: 1fr; } .template-download-panel { position: static; } }
@media (max-width: 560px) { .free-template-grid { grid-template-columns: 1fr; } .free-template-card-meta { display: block; padding: 18px; } .free-template-card-meta .free-template-open { margin-top: 12px; } .template-detail-hero { padding: 66px 0 48px; } .template-detail-copy { font-size: 16px; } .template-download-section { padding: 38px 0 54px; } .template-download-panel { padding: 23px; } }


/* Improve visibility of the PSD library call to action on the light section. */
.templates-section .button.button-outline {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(20, 120, 242, 0.2);
}
.templates-section .button.button-outline:hover,
.templates-section .button.button-outline:focus-visible {
  color: #fff;
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}
