:root {
  color-scheme: light;
  --hero-blur-image: url("assets/kodup-homepage-hero-clean.png");
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-soft: #f2eeff;
  --text: #1f1f1f;
  --muted: #666666;
  --border: #e4e7f2;
  --brand: #6a5ae0;
  --brand-dark: #5b37b7;
  --brand-deep: #4c2a9a;
  --brand-soft: #8c78ff;
  --accent: #667eea;
  --sky: #9ad5ff;
  --shadow: 0 20px 60px rgba(23, 32, 51, 0.08);
  --shadow-strong: 0 28px 80px rgba(106, 90, 224, 0.22);
  --radius-card: 1.125rem;
  --radius-large: 1.5rem;
  --radius-xlarge: 1.75rem;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(106, 90, 224, 0.16), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(154, 213, 255, 0.22), transparent 30rem),
    var(--bg);
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-footer {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--border);
  backdrop-filter: blur(12px);
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.header-inner,
.footer-inner,
.container {
  width: min(100% - 2rem, 920px);
  margin-inline: auto;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  padding: 1rem 0;
}

.header-inner {
  width: min(100% - 2rem, 1180px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  flex: 0 0 auto;
}

.brand-mark {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 0.8rem;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(111, 95, 242, 0.18);
}

.brand-logo {
  display: block;
  width: 2.8rem;
  height: auto;
  flex: 0 0 auto;
}

.app-icon-logo {
  border-radius: 0.9rem;
  box-shadow: 0 8px 24px rgba(106, 90, 224, 0.18);
}

.brand-text {
  display: grid;
  gap: 0.05rem;
  line-height: 1.15;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.45rem, 1.2vw, 0.9rem);
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  white-space: nowrap;
}

.nav-links a {
  border-radius: 999px;
  padding: 0.32rem 0.42rem;
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--surface-soft);
  text-decoration: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(23, 32, 51, 0.06);
}

.language-switcher button {
  min-height: 2rem;
  padding: 0.35rem 0.62rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--brand-dark);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(106, 90, 224, 0.18);
}

.language-switcher button:focus-visible {
  outline: 3px solid #ffce00;
  outline-offset: 3px;
}

.container {
  flex: 1;
  padding: 3rem 0;
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.hero {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--brand-dark);
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.25;
  margin: 2rem 0 0.75rem;
}

h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

p,
li {
  color: var(--muted);
}

ul {
  padding-inline-start: 1.25rem;
}

[dir="rtl"] ul {
  padding-inline-start: 0;
  padding-inline-end: 1.25rem;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.button-card {
  display: block;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
}

.button-card strong {
  display: block;
  color: var(--text);
  font-size: 1.1rem;
}

.document-meta {
  color: var(--muted);
  margin-bottom: 2rem;
}

.language-switch {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.action-row {
  margin: 2rem 0;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(111, 95, 242, 0.22);
}

.primary-button:hover,
.primary-button:focus {
  background: var(--brand-dark);
  color: #ffffff;
}

.play-button {
  gap: 0.55rem;
}

.play-button img,
.ios-soon-button img {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
}

.ios-soon-button {
  gap: 0.55rem;
  cursor: default;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(106, 90, 224, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--brand-dark);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.06);
}

.secondary-button:hover,
.secondary-button:focus {
  background: var(--surface-soft);
  text-decoration: none;
}

.legal-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.legal-links a {
  display: block;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface-soft);
  font-weight: 700;
}

.hero-image-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.1rem, 3vw, 2.4rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.28), transparent 20rem),
    radial-gradient(circle at 80% 12%, rgba(154, 213, 255, 0.24), transparent 22rem),
    linear-gradient(135deg, #3d237d 0%, #6d42c8 44%, #8c6cf0 72%, #f2eeff 100%);
}

.hero-image-section::before {
  content: "";
  position: absolute;
  inset: clamp(1rem, 2vw, 1.6rem) 0 auto;
  z-index: -2;
  width: min(100% - 1.25rem, 1100px);
  height: min(48vw, 34rem);
  margin-inline: auto;
  border-radius: 2.4rem;
  background: var(--hero-blur-image) center / cover no-repeat;
  filter: blur(28px) saturate(1.08);
  opacity: 0.45;
  transform: scale(1.05);
}

.hero-image-section::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: -1;
  height: 42%;
  background: linear-gradient(180deg, rgba(245, 247, 250, 0), var(--bg) 72%);
}

.hero-image-container {
  position: relative;
  width: min(100% - 1.25rem, 1020px);
  padding: 0;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(1.1rem, 2.4vw, 2rem);
  box-shadow:
    0 32px 90px rgba(35, 19, 83, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.28);
}

.hero-image-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(2.5rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 12% 12%, rgba(154, 213, 255, 0.32), transparent 18rem),
    radial-gradient(circle at 88% 20%, rgba(140, 120, 255, 0.34), transparent 21rem),
    linear-gradient(135deg, #ffffff 0%, #f7f4ff 42%, #ece8ff 100%);
}

.hero-banner {
  min-height: clamp(34rem, 58vw, 44rem);
  padding: clamp(2.4rem, 5vw, 4.2rem) 0 clamp(2rem, 5vw, 3.8rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, 0.78) 83%, var(--bg) 100%),
    radial-gradient(circle at 18% 25%, rgba(255, 255, 255, 0.32), transparent 18rem),
    radial-gradient(circle at 80% 18%, rgba(154, 213, 255, 0.23), transparent 18rem),
    linear-gradient(135deg, #3d237d 0%, #6d42c8 46%, #8a66ee 100%);
}

.hero-banner::before {
  width: 26rem;
  height: 26rem;
  inset-block-start: -9rem;
  inset-inline-start: 8%;
  background: rgba(255, 255, 255, 0.13);
}

.hero-banner::after {
  width: 34rem;
  height: 15rem;
  inset-block-end: 2rem;
  inset-inline-start: 18%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(18px);
}

.hero-banner .hero-layout {
  position: relative;
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(14rem, 0.72fr) minmax(18rem, 0.95fr) minmax(18rem, 0.9fr);
  align-items: center;
  gap: clamp(1.1rem, 3vw, 2.2rem);
  width: min(100% - 2rem, 1180px);
  min-height: clamp(29rem, 49vw, 38rem);
  padding: 0;
}

.hero-banner .hero-brand-panel,
.hero-banner .hero-copy,
.hero-banner .hero-visual {
  direction: rtl;
}

.hero-banner .hero-copy {
  max-width: 39rem;
  text-align: center;
  z-index: 2;
}

.hero-banner .eyebrow {
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 4px 18px rgba(35, 19, 83, 0.28);
}

.hero-banner .hero-copy h1 {
  color: #ffffff;
  font-size: clamp(2.55rem, 5.8vw, 4.9rem);
  letter-spacing: -0.035em;
  text-shadow: 0 8px 30px rgba(35, 19, 83, 0.34);
}

.hero-banner .hero-subtitle {
  margin-bottom: 0.8rem;
  color: #d9ccff;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.25;
  text-shadow: 0 6px 24px rgba(35, 19, 83, 0.24);
}

.hero-description {
  max-width: 35rem;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
}

.hero-banner .hero-actions {
  justify-content: center;
  margin-top: 1.3rem;
}

.hero-banner .primary-button {
  background: #ffffff;
  color: var(--brand-deep);
  box-shadow: 0 16px 36px rgba(35, 19, 83, 0.2);
}

.hero-banner .primary-button:hover,
.hero-banner .primary-button:focus {
  background: #f1edff;
  color: var(--brand-deep);
}

.hero-banner .secondary-button {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.hero-banner .secondary-button:hover,
.hero-banner .secondary-button:focus {
  background: rgba(255, 255, 255, 0.22);
}

.banner-benefits {
  justify-content: center;
  margin-top: 1.25rem;
}

.banner-benefits span {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.hero-brand-panel {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 1.15rem;
  min-height: 30rem;
}

.brand-wallet-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 14.5rem;
}

.brand-wallet-card::before {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 2.3rem;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 70px rgba(35, 19, 83, 0.22);
  transform: rotate(-6deg);
}

.brand-wallet-card img {
  position: relative;
  z-index: 2;
  width: min(12rem, 78%);
  height: auto;
  filter: drop-shadow(0 26px 32px rgba(35, 19, 83, 0.28));
}

.coupon-stack {
  position: absolute;
  z-index: 3;
  inset-block-start: 0.1rem;
  inset-inline-start: 1.1rem;
  display: flex;
  gap: 0.35rem;
}

.coupon-stack span {
  display: grid;
  width: 3.1rem;
  height: 3.7rem;
  place-items: center;
  border-radius: 0.65rem;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(35, 19, 83, 0.2);
  transform: rotate(-9deg);
}

.coupon-stack span:nth-child(1) {
  background: #6cc35f;
}

.coupon-stack span:nth-child(2) {
  background: #7e6cff;
  transform: translateY(-0.55rem) rotate(4deg);
}

.coupon-stack span:nth-child(3) {
  background: #ffd045;
  color: #533680;
  transform: rotate(9deg);
}

.brand-title-lockup {
  display: grid;
  justify-items: center;
  text-align: center;
  color: #ffffff;
}

.brand-title-lockup strong {
  font-size: clamp(3.1rem, 7vw, 5.1rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-shadow: 0 10px 36px rgba(35, 19, 83, 0.36);
}

.brand-title-lockup span {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.mini-qr-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.8rem;
  max-width: 20rem;
  margin-inline: auto;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 50px rgba(35, 19, 83, 0.18);
  backdrop-filter: blur(12px);
}

.mini-qr-card strong,
.mini-qr-card span {
  display: block;
}

.mini-qr-card strong {
  color: var(--brand-deep);
  font-size: 0.94rem;
}

.mini-qr-card span {
  color: #4b5568;
  font-size: 0.82rem;
}

.qr-pattern {
  width: 4.4rem;
  height: 4.4rem;
  border: 0.35rem solid #ffffff;
  border-radius: 0.7rem;
  background:
    linear-gradient(90deg, #24153f 22%, transparent 22% 38%, #24153f 38% 54%, transparent 54% 72%, #24153f 72%),
    linear-gradient(#24153f 22%, transparent 22% 38%, #24153f 38% 54%, transparent 54% 72%, #24153f 72%);
  background-size: 1.2rem 1.2rem;
  box-shadow: 0 8px 18px rgba(35, 19, 83, 0.14);
}

.hero-banner .hero-visual {
  min-height: clamp(28rem, 47vw, 37rem);
  z-index: 2;
}

.hero-banner .phone-mockup {
  width: min(16.6rem, 22vw);
  border-width: 0.55rem;
  box-shadow: 0 28px 62px rgba(20, 13, 43, 0.34);
}

.hero-banner .phone-main {
  inset-block-start: 0.5rem;
  inset-inline-end: 0.2rem;
  transform: rotate(-1deg);
}

.hero-banner .phone-secondary {
  inset-block-start: 1.2rem;
  inset-inline-start: 0.3rem;
  transform: rotate(4deg) scale(0.98);
}

.hero-banner .app-screen {
  min-height: 28.6rem;
  background:
    linear-gradient(180deg, rgba(106, 90, 224, 0.98) 0 35%, #f9f8fd 35% 100%);
}

.floating-coupon-ticket {
  position: absolute;
  inset-block-start: 1.4rem;
  inset-inline-start: 43%;
  z-index: 4;
  padding: 0.55rem 1.35rem;
  border: 2px dashed rgba(76, 42, 154, 0.45);
  border-radius: 0.45rem;
  background: #ffffff;
  color: var(--brand-deep);
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 16px 34px rgba(35, 19, 83, 0.18);
  transform: rotate(-9deg);
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  background: rgba(106, 90, 224, 0.11);
  filter: blur(8px);
}

.hero-section::before {
  width: 12rem;
  height: 12rem;
  inset-block-start: 8%;
  inset-inline-start: 7%;
}

.hero-section::after {
  width: 18rem;
  height: 18rem;
  inset-block-end: -7rem;
  inset-inline-end: 12%;
}

.hero-layout,
.section,
.final-cta {
  width: min(100% - 2rem, 1120px);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);
  padding: 0;
}

.hero-copy {
  max-width: 38rem;
}

.hero-copy h1 {
  color: var(--brand-deep);
  font-size: clamp(2.55rem, 7vw, 5rem);
  letter-spacing: -0.04em;
  margin-bottom: 1.1rem;
}

.hero-subtitle {
  max-width: 34rem;
  color: #4b5568;
  font-size: clamp(1.08rem, 2.4vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.25rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(106, 90, 224, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #3a3f50;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 35rem;
}

.phone-mockup {
  position: absolute;
  width: min(16.8rem, 45vw);
  border: 0.62rem solid #16151f;
  border-radius: 2.35rem;
  background: #16151f;
  box-shadow: var(--shadow-strong);
}

.phone-main {
  inset-block-start: 0;
  inset-inline-end: 4.5rem;
  transform: rotate(-2deg);
}

.phone-secondary {
  inset-block-start: 4.2rem;
  inset-inline-start: 0;
  transform: rotate(4deg) scale(0.9);
}

.phone-speaker {
  width: 4.2rem;
  height: 0.32rem;
  margin: 0.35rem auto 0.55rem;
  border-radius: 999px;
  background: #2f2d3b;
}

.app-screen {
  min-height: 27rem;
  overflow: hidden;
  border-radius: 1.7rem;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(106, 90, 224, 0.95) 0 34%, #f8f8fc 34% 100%);
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
}

.menu-dot,
.store-icon {
  display: inline-grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
}

.search-pill {
  margin: 1rem 0 1.15rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: #ffffff;
  color: #778093;
  font-size: 0.75rem;
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.11);
}

.coupon-card,
.market-card {
  position: relative;
  margin-bottom: 0.75rem;
  padding: 0.95rem 0.95rem 0.9rem;
  border: 1px solid #e8e5f3;
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.08);
}

.coupon-card strong,
.market-card strong,
.coupon-card small,
.market-card small {
  display: block;
}

.coupon-card strong,
.market-card strong {
  color: var(--text);
}

.coupon-card small,
.market-card small {
  color: var(--muted);
  font-size: 0.76rem;
}

.coupon-card.highlighted {
  transform: translateX(-0.25rem);
}

.coupon-badge {
  float: inline-start;
  margin-inline-end: 0.65rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: #ba68ba;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
}

.coupon-badge.blue {
  background: var(--accent);
}

.market-card {
  padding-block: 1.05rem;
}

.market-card span {
  display: inline-flex;
  margin-top: 0.55rem;
  color: var(--brand-dark);
  font-weight: 900;
}

.floating-logo-card {
  position: absolute;
  inset-block-end: 1.2rem;
  inset-inline-end: 1rem;
  display: grid;
  width: 8.2rem;
  height: 8.2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(12px);
}

.floating-logo-card img,
.cta-card img {
  height: auto;
}

.section {
  padding: clamp(2.7rem, 6vw, 4.5rem) 0;
}

.section-heading {
  max-width: 40rem;
  margin-bottom: 1.4rem;
}

.section-heading h2,
.marketplace-card h2,
.cta-card h2 {
  margin-top: 0;
  color: var(--brand-deep);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 46px rgba(23, 32, 51, 0.07);
}

.feature-icon {
  display: inline-grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  margin-bottom: 0.9rem;
  border-radius: 0.95rem;
  background: var(--surface-soft);
  color: var(--brand-dark);
  font-size: 1.25rem;
  font-weight: 900;
}

.feature-card h3 {
  margin: 0 0 0.55rem;
  color: var(--text);
}

.feature-card p {
  margin-bottom: 0;
}

.marketplace-section {
  padding-top: 1rem;
}

.marketplace-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.55fr);
  gap: 2rem;
  align-items: center;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid rgba(106, 90, 224, 0.14);
  border-radius: var(--radius-xlarge);
  background:
    radial-gradient(circle at 14% 20%, rgba(154, 213, 255, 0.26), transparent 15rem),
    linear-gradient(135deg, #ffffff, #f1edff);
  box-shadow: var(--shadow);
}

.marketplace-visual {
  position: relative;
  min-height: 13rem;
}

.ticket {
  position: absolute;
  display: grid;
  width: 13rem;
  gap: 0.35rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(106, 90, 224, 0.18);
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: #f1edff;
  inset-block-start: 50%;
  transform: translateY(-50%);
}

.ticket::before {
  inset-inline-start: -0.7rem;
}

.ticket::after {
  inset-inline-end: -0.7rem;
}

.ticket span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.ticket strong {
  color: var(--brand-dark);
  font-size: 2rem;
}

.ticket-top {
  inset-block-start: 0.4rem;
  inset-inline-end: 1rem;
  transform: rotate(-5deg);
}

.ticket-bottom {
  inset-block-end: 0.1rem;
  inset-inline-start: 0.6rem;
  transform: rotate(5deg);
}

.final-cta {
  padding: 1rem 0 clamp(3rem, 6vw, 5rem);
}

.cta-card {
  display: grid;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(154, 213, 255, 0.2), transparent 18rem),
    rgba(255, 255, 255, 0.94);
}

.cta-card p {
  max-width: 34rem;
}

.footer-brand {
  display: grid;
  gap: 0.15rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.accessibility-widget {
  position: fixed;
  z-index: 50;
  inset-inline-start: 1rem;
  inset-block-end: 1rem;
}

.accessibility-toggle,
.accessibility-panel button,
.accessibility-panel a {
  font: inherit;
}

.accessibility-toggle {
  min-width: 7rem;
  padding: 0.8rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 18px 38px rgba(76, 42, 154, 0.28);
  cursor: pointer;
}

.accessibility-toggle:focus-visible,
.accessibility-panel button:focus-visible,
.accessibility-panel a:focus-visible {
  outline: 3px solid #ffce00;
  outline-offset: 3px;
}

.accessibility-panel {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: calc(100% + 0.75rem);
  display: grid;
  width: min(18rem, calc(100vw - 2rem));
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid rgba(106, 90, 224, 0.18);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 64px rgba(23, 32, 51, 0.18);
  backdrop-filter: blur(14px);
}

.accessibility-panel[hidden] {
  display: none;
}

.accessibility-panel-header {
  display: grid;
  gap: 0.1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}

.accessibility-panel-header strong {
  color: var(--brand-deep);
}

.accessibility-panel-header small {
  color: var(--muted);
}

.accessibility-panel button,
.accessibility-panel a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--surface);
  color: var(--brand-dark);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.accessibility-panel button:hover,
.accessibility-panel a:hover {
  background: var(--surface-soft);
  text-decoration: none;
}

html[data-accessibility-text="1"] {
  font-size: 112.5%;
}

html[data-accessibility-text="2"] {
  font-size: 125%;
}

html[data-accessibility-text="-1"] {
  font-size: 93.75%;
}

html.a11y-contrast {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #fff7cc;
  --text: #000000;
  --muted: #111111;
  --border: #000000;
  --brand: #000000;
  --brand-dark: #000000;
  --brand-deep: #000000;
}

html.a11y-contrast body,
html.a11y-contrast .site-header,
html.a11y-contrast .site-footer,
html.a11y-contrast .card,
html.a11y-contrast .feature-card,
html.a11y-contrast .accessibility-panel {
  background: #ffffff;
  color: #000000;
}

html.a11y-contrast .primary-button,
html.a11y-contrast .accessibility-toggle {
  background: #000000;
  color: #ffffff;
}

html.a11y-contrast .secondary-button,
html.a11y-contrast .accessibility-panel button,
html.a11y-contrast .accessibility-panel a {
  border-color: #000000;
  background: #ffffff;
  color: #000000;
}

html.a11y-links a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

html.a11y-spacing body {
  letter-spacing: 0.04em;
  word-spacing: 0.08em;
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    white-space: normal;
  }

  .button-grid,
  .legal-links {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 1.5rem 0;
  }

  .hero-section {
    padding-block: 2.5rem 2rem;
  }

  .hero-banner {
    min-height: auto;
    padding-block: 2.25rem 2.75rem;
  }

  .hero-layout,
  .marketplace-card {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    padding: 0;
  }

  .hero-banner .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: auto;
  }

  .hero-brand-panel {
    order: 1;
    min-height: auto;
  }

  .hero-banner .hero-copy {
    order: 2;
  }

  .hero-visual {
    min-height: 29rem;
  }

  .hero-banner .hero-visual {
    order: 3;
    min-height: 28rem;
  }

  .phone-mockup {
    width: min(14rem, 72vw);
  }

  .hero-banner .phone-mockup {
    width: min(13.6rem, 62vw);
  }

  .phone-main {
    inset-inline-end: 0.5rem;
  }

  .hero-banner .phone-main {
    inset-block-start: 0;
    inset-inline-end: 0;
  }

  .phone-secondary {
    inset-block-start: 6rem;
    inset-inline-start: 0;
    transform: rotate(4deg) scale(0.78);
  }

  .hero-banner .phone-secondary {
    inset-block-start: 5.5rem;
    inset-inline-start: 0;
    transform: rotate(4deg) scale(0.78);
  }

  .floating-logo-card {
    width: 6.4rem;
    height: 6.4rem;
    inset-inline-end: 0.5rem;
  }

  .brand-wallet-card {
    min-height: 12.5rem;
  }

  .brand-title-lockup strong {
    font-size: 3.4rem;
  }

  .mini-qr-card {
    max-width: 100%;
  }

  .floating-coupon-ticket {
    inset-block-start: 0.7rem;
    inset-inline-start: 31%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-visual {
    min-height: 12rem;
  }

  .footer-links {
    gap: 0.65rem;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    flex-basis: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-layout,
  .marketplace-card {
    grid-template-columns: 1fr;
  }

  .hero-banner .hero-layout {
    grid-template-columns: minmax(13rem, 0.8fr) minmax(18rem, 1fr);
    grid-template-areas:
      "brand copy"
      "visual visual";
    min-height: auto;
  }

  .hero-brand-panel {
    grid-area: brand;
    min-height: auto;
  }

  .hero-banner .hero-copy {
    grid-area: copy;
  }

  .hero-visual {
    min-height: 34rem;
  }

  .hero-banner .hero-visual {
    grid-area: visual;
    min-height: 32rem;
    width: min(100%, 36rem);
    margin-inline: auto;
  }

  .hero-banner .phone-mockup {
    width: min(15.5rem, 38vw);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
