/* AW9 3D Glass Motion — white & red full-site theme */
:root {
  color-scheme: light;
  --ink: #24191b;
  --muted: #746669;
  --line: rgba(194, 28, 48, .13);
  --surface: rgba(255, 255, 255, .78);
  --surface-soft: rgba(255, 246, 247, .84);
  --red: #e51f3d;
  --red-deep: #a90f2a;
  --coral: #ff5a69;
  --rose: #ffb7c0;
  --gradient: linear-gradient(120deg, #a90f2a 0%, #e51f3d 52%, #ff7883 100%);
  --radius: 22px;
  --content-width: 1000px;
  --shadow: 0 24px 70px rgba(125, 19, 39, .10), 0 3px 12px rgba(125, 19, 39, .04);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at 10% 5%, rgba(255, 204, 212, .36), transparent 34%), radial-gradient(ellipse at 92% 34%, rgba(255, 225, 229, .55), transparent 32%), #fffdfd;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .23;
  background-image: radial-gradient(rgba(180, 18, 44, .15) .7px, transparent .7px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #c91935;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .22s ease, opacity .22s ease;
}

a:hover {
  color: #900b22;
}

a:focus-visible {
  outline: 3px solid #ff8f9c;
  outline-offset: 4px;
  border-radius: 7px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 8px 28px rgba(103, 20, 36, .055);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
}

.header-inner {
  width: min(100%, 1200px);
  min-height: 78px;
  margin: 0 auto;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .045em;
  white-space: nowrap;
}

.brand:hover {
  color: var(--red);
}

.brand img {
  display: block;
  width: 43px;
  height: 43px;
  object-fit: cover;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, .95);
  background: white;
  box-shadow: 0 7px 20px rgba(194, 24, 53, .17);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

.brand:hover img {
  transform: rotate(-5deg) translateY(-2px);
  box-shadow: 0 12px 27px rgba(194, 24, 53, .23);
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}

nav a {
  position: relative;
  color: #716266;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .065em;
  text-decoration: none;
  transition: color .25s ease, background .25s ease, transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--red-deep);
  background: rgba(255, 255, 255, .85);
  border-color: rgba(229, 31, 61, .12);
  box-shadow: 0 5px 15px rgba(150, 17, 41, .07);
  transform: translateY(-2px);
}

nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}

nav a:hover::after,
nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.page-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(54px, 8vw, 96px) 24px 68px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 240, 242, .93), rgba(255, 255, 255, .76) 48%, rgba(255, 225, 229, .82));
  border-bottom: 1px solid rgba(229, 31, 61, .12);
  animation: hero-enter .85s cubic-bezier(.16, 1, .3, 1) both;
}

.page-intro::before,
.page-intro::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}

.page-intro::before {
  width: 460px;
  height: 460px;
  left: -140px;
  top: -255px;
  background: radial-gradient(circle at 55% 55%, rgba(229, 31, 61, .19), rgba(255, 133, 150, .07) 38%, transparent 70%);
  border: 1px solid rgba(229, 31, 61, .07);
  box-shadow: inset 0 0 65px rgba(255, 255, 255, .9);
  animation: orb-drift 13s ease-in-out infinite alternate;
}

.page-intro::after {
  width: 410px;
  height: 410px;
  right: -120px;
  bottom: -280px;
  background: radial-gradient(circle at 42% 38%, rgba(255, 100, 121, .22), rgba(255, 207, 214, .12) 44%, transparent 70%);
  border: 1px solid rgba(229, 31, 61, .08);
  box-shadow: inset 0 0 60px rgba(255, 255, 255, .95);
  animation: orb-drift-reverse 15s ease-in-out infinite alternate;
}

.page-intro>* {
  position: relative;
  z-index: 1;
}

.page-intro h1 {
  max-width: 920px;
  margin: 0 auto 23px;
  color: var(--ink);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.15;
  text-wrap: balance;
}

.hero-logo {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto 23px;
  object-fit: cover;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, .96);
  background: #fff;
  box-shadow: 0 15px 34px rgba(170, 15, 42, .16), inset 0 1px 0 white;
  animation: logo-float 5.5s ease-in-out infinite;
  transform-style: preserve-3d;
}

.download-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 14px 26px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 15px;
  background: var(--gradient);
  background-size: 180% 180%;
  color: #fff !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(190, 19, 49, .2), inset 0 1px 0 rgba(255, 255, 255, .32);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease, background-position .4s ease;
}

.download-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -70%;
  left: -40%;
  width: 28%;
  height: 240%;
  transform: translateX(-180%) rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
  transition: transform .75s ease;
}

.download-btn:hover {
  color: #fff !important;
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 17px 32px rgba(190, 19, 49, .27), inset 0 1px 0 rgba(255, 255, 255, .45);
  background-position: 100% 50%;
}

.download-btn:hover::before {
  transform: translateX(650%) rotate(24deg);
}

.download-btn:active {
  transform: translateY(-1px) scale(.99);
}

.content {
  position: relative;
  width: min(calc(100% - 40px), var(--content-width));
  margin: 32px auto 72px;
  padding: 42px 46px 48px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .72));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .98);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  animation: content-enter .8s .08s cubic-bezier(.16, 1, .3, 1) both;
}

.content::before {
  content: "";
  position: absolute;
  inset: 0 16% auto;
  height: 1px;
  border-radius: 100%;
  background: linear-gradient(90deg, transparent, rgba(229, 31, 61, .22), transparent);
  pointer-events: none;
}

.content h2,
.content h3,
.content h4 {
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1.32;
  text-wrap: balance;
}

.content h2 {
  margin: 41px 0 15px;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.content h2::after {
  content: "";
  display: block;
  width: 45px;
  height: 4px;
  margin-top: 12px;
  border-radius: 6px;
  background: var(--gradient);
  box-shadow: 0 3px 9px rgba(229, 31, 61, .2);
  transform-origin: left;
}

.content h3 {
  margin: 31px 0 11px;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

.content h4 {
  margin: 25px 0 8px;
  font-size: 1.07rem;
}

.content p {
  margin: 0 0 18px;
  color: #685b5f;
}

.content ul,
.content ol {
  margin: 8px 0 23px;
  padding-left: 24px;
  color: #685b5f;
}

.content li {
  margin: 7px 0;
  padding-left: 3px;
}

.content li::marker {
  color: var(--red);
}

.content strong {
  color: #322125;
}

.home-content>p:first-child {
  font-size: 1.05rem;
  color: #665057;
}

.info-table {
  width: 100%;
  max-width: 760px;
  margin: 25px 0 34px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(229, 31, 61, .13);
  border-radius: 17px;
  font-size: 14px;
  box-shadow: 0 10px 26px rgba(135, 16, 39, .045);
}

.info-table th,
.info-table td {
  padding: 14px 15px;
  border-bottom: 1px solid rgba(229, 31, 61, .09);
  text-align: left;
  vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

.info-table th {
  width: 34%;
  color: #a5152e;
  background: linear-gradient(120deg, rgba(255, 225, 230, .85), rgba(255, 247, 248, .8));
  font-weight: 850;
}

.info-table td {
  color: #685b5f;
  background: rgba(255, 255, 255, .8);
}

.info-table tr {
  transition: transform .25s ease, filter .25s ease;
}

.info-table tr:hover td {
  background: #fff6f7;
}

.note {
  margin: 25px 0;
  padding: 18px 21px;
  border: 1px solid rgba(229, 31, 61, .13);
  border-left: 4px solid var(--red);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(110deg, rgba(255, 233, 236, .9), rgba(255, 255, 255, .78));
  color: #74414b;
  box-shadow: 0 8px 22px rgba(135, 16, 39, .035);
}

.app-preview {
  display: block;
  width: min(100%, 650px);
  max-height: 460px;
  object-fit: contain;
  margin: 27px auto 34px;
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 19px;
  box-shadow: 0 18px 42px rgba(103, 17, 38, .12), 0 0 0 1px rgba(229, 31, 61, .07);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}

.app-preview:hover {
  transform: translateY(-5px) scale(1.008);
  box-shadow: 0 25px 52px rgba(103, 17, 38, .17), 0 0 0 1px rgba(229, 31, 61, .1);
}

#carousel {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 32px auto 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .98);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 235, 238, .86), rgba(255, 255, 255, .85));
  box-shadow: 0 18px 45px rgba(103, 17, 38, .09), inset 0 1px 0 #fff;
}

#carousel .carousel-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}

#carousel .slide {
  position: relative;
  flex: 0 0 calc((100% - 24px) / 3);
  aspect-ratio: .48 / 1;
  overflow: hidden;
  background: #fff0f2;
  transform-style: preserve-3d;
}

#carousel .slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1), filter .45s ease;
}

#carousel .slide:hover img {
  transform: scale(1.065);
  filter: saturate(1.08) contrast(1.02);
}

#carousel .slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(229, 31, 61, .14), transparent 50%, rgba(255, 255, 255, .12));
  pointer-events: none;
  transition: opacity .35s ease;
}

#carousel .slide:hover::after {
  opacity: .45;
}

#carousel .arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 44px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 14px;
  background: rgba(255, 255, 255, .82);
  color: #b4112d;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 9px 22px rgba(103, 17, 38, .13);
  backdrop-filter: blur(12px);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

#carousel .arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 28px rgba(103, 17, 38, .18);
}

#carousel .prev {
  left: 11px;
}

#carousel .next {
  right: 11px;
}

#carousel+.dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 12px auto;
}

#carousel+.dots .dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #efc6cd;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

#carousel+.dots .dot.active {
  background: var(--red);
  transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(229, 31, 61, .1);
}

.site-footer {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  padding: 25px;
  border-top: 1px solid rgba(229, 31, 61, .11);
  background: rgba(255, 255, 255, .76);
  color: #847176;
  font-size: 12px;
  font-weight: 650;
  text-align: center;
  backdrop-filter: blur(18px);
}

.top-link {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 15px;
  background: rgba(255, 255, 255, .78);
  color: #b4112d;
  box-shadow: 0 10px 25px rgba(103, 17, 38, .12);
  font-size: 21px;
  text-decoration: none;
  backdrop-filter: blur(15px);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.top-link:hover {
  color: #900b22;
  transform: translateY(-4px);
  box-shadow: 0 15px 32px rgba(103, 17, 38, .18);
  background: #fff;
}

/* Scroll reveal and perspective card effects are enabled by assets/glass-motion.js. */
.js-reveal {
  opacity: 0;
  transform: translateY(22px) scale(.985);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.glass-tilt {
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(var(--lift, 0px));
  transform-style: preserve-3d;
  transition: transform .22s ease, box-shadow .3s ease;
  will-change: transform;
}

::selection {
  background: #ffd7dd;
  color: #710b20;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes content-enter {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes orb-drift {
  from {
    transform: translate3d(0, 0, 0) rotate(-8deg) scale(1);
  }

  to {
    transform: translate3d(32px, 22px, 0) rotate(7deg) scale(1.07);
  }
}

@keyframes orb-drift-reverse {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-24px, -18px, 0) scale(1.08);
  }
}

@keyframes logo-float {

  0%,
  100% {
    transform: translateY(0) rotateX(0) rotateY(0);
  }

  50% {
    transform: translateY(-7px) rotateX(3deg) rotateY(-4deg);
  }
}

@media (max-width:760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 12px 20px 13px;
  }

  nav {
    justify-content: flex-start;
    gap: 3px;
  }

  nav a {
    padding: 8px 10px;
    font-size: 10px;
  }

  .page-intro {
    padding: 45px 20px 46px;
  }

  .page-intro h1 {
    font-size: clamp(1.8rem, 7vw, 2.65rem);
  }

  .hero-logo {
    width: 74px;
    height: 74px;
    border-radius: 22px;
  }

  .content {
    width: calc(100% - 28px);
    padding: 29px 21px 33px;
    margin-top: 19px;
    margin-bottom: 42px;
    border-radius: 20px;
  }

  .content h2 {
    margin-top: 32px;
  }

  #carousel {
    margin: 24px auto 29px;
  }

  #carousel .carousel-track {
    gap: 8px;
  }

  #carousel .slide {
    flex-basis: calc((100% - 16px) / 3);
  }

  #carousel .arrow {
    width: 36px;
    height: 39px;
    font-size: 21px;
  }
}

@media (max-width:480px) {
  body {
    font-size: 15px;
    line-height: 1.72;
  }

  .brand {
    font-size: 14px;
  }

  .brand img {
    width: 37px;
    height: 37px;
  }

  nav {
    gap: 2px;
  }

  nav a {
    padding: 7px 8px;
    font-size: 9px;
    letter-spacing: .02em;
  }

  .content {
    padding: 23px 16px 27px;
  }

  .info-table {
    font-size: 12px;
  }

  .info-table th,
  .info-table td {
    padding: 10px 8px;
  }

  .download-btn {
    width: min(100%, 280px);
  }

  #carousel .slide {
    flex-basis: calc((100% - 8px) / 2);
  }

  .top-link {
    right: 12px;
    bottom: 12px;
    width: 39px;
    height: 39px;
  }
}

@media (hover:none) {
  .glass-tilt {
    transform: none !important;
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .glass-tilt {
    transform: none !important;
  }
}