:root {
  --gradient-start: #9C27B0;
  --gradient-mid: #FF9800;
  --gradient-end: #F44336;

  --brand-purple: #9C27B0;
  --brand-purple-dark: #6a1b9a;
  --brand-orange: #FF9800;
  --brand-red: #F44336;

  --bg: #0A0610;
  --bg-deep: #07030d;
  --bg-soft: rgba(255, 255, 255, 0.04);
  --text: rgba(255, 255, 255, 0.9);
  --text-muted: #9CA3AF;

  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
}

/* BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

section {
  scroll-margin-top: 100px;
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a,
button {
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
}

input,
textarea,
button,
select {
  font: inherit;
}

.grad-text {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* REMOVE GRID HARDNESS */
.bg-grid,
.bg-grid::before {
  background: none !important;
  animation: none !important;
}

/* CLEAN SECTION SYSTEM */
.story-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.story-section::before,
.story-section::after {
  content: none !important;
}

.story-section > * {
  position: relative;
  z-index: 1;
}

/* SECTION BACKGROUNDS */
/* ABOUT */
.story-about {
  background:
    radial-gradient(circle at 18% 24%, rgba(156,39,176,0.16) 0%, transparent 30%),
    radial-gradient(circle at 80% 34%, rgba(244,67,54,0.07) 0%, transparent 24%),
    linear-gradient(180deg, #09040f 0%, #0b0611 52%, #0a0510 100%);
}

/* FEATURES */
.story-features {
  background:
    radial-gradient(circle at 72% 24%, rgba(255,152,0,0.10) 0%, transparent 24%),
    radial-gradient(circle at 26% 72%, rgba(156,39,176,0.08) 0%, transparent 28%),
    linear-gradient(180deg, #0a0510 0%, #0b0612 50%, #09050f 100%);
}

/* MODULES */
.story-modules {
  background:
    radial-gradient(circle at 18% 20%, rgba(156,39,176,0.18) 0%, transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(255,152,0,0.12) 0%, transparent 24%),
    radial-gradient(circle at 50% 82%, rgba(244,67,54,0.08) 0%, transparent 28%),
    linear-gradient(180deg, #09040f 0%, #0c0613 48%, #09050f 100%);
}

/* USE CASES */
.story-usecases {
  background:
    radial-gradient(circle at 12% 24%, rgba(156,39,176,0.10) 0%, transparent 22%),
    radial-gradient(circle at 85% 70%, rgba(255,152,0,0.08) 0%, transparent 24%),
    linear-gradient(180deg, #08040d 0%, #0a0510 50%, #08040d 100%);
}

/* PRICING */
.story-pricing {
  background:
    radial-gradient(circle at 20% 20%, rgba(156,39,176,0.10) 0%, transparent 22%),
    radial-gradient(circle at 80% 24%, rgba(255,152,0,0.08) 0%, transparent 20%),
    linear-gradient(180deg, #09040e 0%, #0b0611 50%, #09040e 100%);
}

/* PARTNERS */
.story-partners {
  background:
    radial-gradient(circle at 30% 30%, rgba(156,39,176,0.06) 0%, transparent 22%),
    radial-gradient(circle at 74% 48%, rgba(255,152,0,0.05) 0%, transparent 18%),
    linear-gradient(180deg, #07030c 0%, #09040d 50%, #07030b 100%);
}

/* CONTACT */
.story-contact {
  background:
    radial-gradient(circle at 18% 22%, rgba(156,39,176,0.12) 0%, transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(255,152,0,0.10) 0%, transparent 22%),
    radial-gradient(circle at 68% 78%, rgba(244,67,54,0.06) 0%, transparent 20%),
    linear-gradient(180deg, #09040f 0%, #0c0612 55%, #09040e 100%);
}

/* OPTIONAL: tiny section overlap to hide seams */
.story-features,
.story-modules,
.story-usecases,
.story-pricing,
.story-partners,
.story-contact {
  margin-top: -1px;
}

/* CARDS + COMPONENTS */
.gborder {
  position: relative;
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  border: 1px solid rgba(156,39,176,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gborder::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(156,39,176,0.42),
    rgba(255,152,0,0.22),
    rgba(244,67,54,0.30)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.btn-brand {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  background-size: 200% auto;
  transition: background-position 0.4s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 28px rgba(156,39,176,0.35);
  font-family: 'Outfit', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  border-radius: 12px;
  border: none;
}

.btn-brand:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 44px rgba(156,39,176,0.5);
}

.btn-outline {
  border: 1px solid rgba(156,39,176,0.35);
  background: rgba(156,39,176,0.07);
  font-family: 'Outfit', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: #ce93d8;
  font-weight: 600;
  border-radius: 12px;
}

.btn-outline:hover {
  border-color: var(--brand-purple);
  background: rgba(156,39,176,0.14);
  transform: translateY(-2px);
}

.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(156,39,176,0.10);
  border: 1px solid rgba(156,39,176,0.24);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #CE93D8;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.ldot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 8px var(--brand-orange);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

@keyframes f1 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(24px,-24px); }
}

@keyframes f2 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-18px,18px); }
}

.partner-marquee-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.partner-marquee {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: partnerSlide 24s linear infinite;
}

.partner-marquee-wrap:hover .partner-marquee {
  animation-play-state: paused;
}

@keyframes partnerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo-item {
  min-width: 180px;
  height: 92px;
  padding: 18px 24px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.partner-logo-item:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(156,39,176,0.28);
}

.partner-logo-item img {
  max-width: 160px;
  max-height: 70px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.3s ease;
}

.partner-logo-item:hover img {
  transform: scale(1.04);
}

.imgcard {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  background: transparent;
}

.imgcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 16px;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: brightness(0.94) contrast(1.04);
  will-change: transform;
}

.imgcard .ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,6,16,0.68) 0%,
    rgba(10,6,16,0.28) 45%,
    rgba(10,6,16,0.04) 100%
  );
  pointer-events: none;
}

.imgcard::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

.chov {
  transition: transform 0.3s, box-shadow 0.3s;
}

.chov:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 80px rgba(0,0,0,0.45);
}

.chov:hover img {
  transform: scale(1.03);
}

.fu {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fu.vis {
  opacity: 1;
  transform: translateY(0);
}

.hov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,6,16,0.72) 0%,
    rgba(10,6,16,0.5) 35%,
    rgba(10,6,16,0.88) 80%,
    rgba(10,6,16,1) 100%
  );
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  height: 88px;
  display: flex;
  align-items: center;
  transition: all 0.35s ease;
  background: rgba(10, 6, 16, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.navbar.scrolled {
  background: rgba(10, 6, 16, 0.42);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
}

.nav-inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(156, 39, 176, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-title {
  font-family: 'Clash Display', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  margin-top: 3px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: #9CA3AF;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #9CA3AF;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: white;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  transition: width 0.28s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-signin,
.nav-cta {
  min-height: 44px;
  padding: 0 18px;
}

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: white;
  display: block;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0 16px 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu-inner {
  background: rgba(10, 6, 16, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.32);
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-link {
  text-decoration: none;
  color: #d1d5db;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
}

.mobile-link:hover {
  color: white;
  background: rgba(255,255,255,0.05);
  border-color: rgba(156,39,176,0.18);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-btn {
  width: 100%;
  justify-content: center;
  min-height: 46px;
}

.snum {
  font-family: 'Clash Display', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(90deg, white, #CE93D8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feat-card {
  position: relative;
  background: linear-gradient(180deg, rgba(156,39,176,0.11) 0%, rgba(255,152,0,0.05) 100%);
  border: 1px solid rgba(255,152,0,0.4) !important;
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.28);
}

.module-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 12px 30px rgba(0,0,0,0.24);
  flex-wrap: wrap;
}

.module-switch {
  padding: 14px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 48px;
}

.module-switch:hover {
  color: white;
  background: rgba(255,255,255,0.05);
}

.module-switch.active {
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-orange));
  color: white;
  box-shadow: 0 12px 28px rgba(156,39,176,0.35);
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(156,39,176,0.65) !important;
  box-shadow: 0 0 0 3px rgba(156,39,176,0.12);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #0A0610;
}

::-webkit-scrollbar-thumb {
  background: rgba(156,39,176,0.35);
  border-radius: 3px;
}

html,
body {
  scrollbar-width: thin;
  scrollbar-color: rgba(156,39,176,0.35) #0A0610;
}

footer a {
  transition: all 0.22s ease;
}

footer a:hover {
  color: white !important;
}

/* PRICING POPUP */
.pricing-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pricing-popup.open {
  display: flex;
}

.pricing-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 10, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pricing-popup-dialog {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(156,39,176,0.14) 0%, transparent 28%),
    radial-gradient(circle at top right, rgba(255,152,0,0.10) 0%, transparent 24%),
    linear-gradient(180deg, rgba(18,9,28,0.97), rgba(10,6,16,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  padding: 28px;
  z-index: 2;
}

.pricing-popup-dialog::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(156,39,176,0.4),
    rgba(255,152,0,0.22),
    rgba(244,67,54,0.22)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pricing-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.pricing-popup-close:hover {
  background: rgba(255,255,255,0.14);
  transform: rotate(90deg);
}

.pricing-popup-head {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.pricing-popup-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFCC80;
  background: rgba(156,39,176,0.12);
  border: 1px solid rgba(156,39,176,0.28);
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
}

.pricing-popup-head h3 {
  font-family: 'Clash Display', sans-serif;
  font-size: 2rem;
  color: white;
  margin: 0 0 8px;
  line-height: 1.1;
}

.pricing-popup-head p {
  color: #b8beca;
  margin: 0;
  line-height: 1.7;
}

.pricing-popup-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  color: white;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
  outline: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-field select {
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #b9c0cb 50%),
    linear-gradient(135deg, #b9c0cb 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.form-field select option {
  color: #111;
}

.full-width {
  width: 100%;
}

.selected-plan-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #d7dce5;
  font-size: 0.95rem;
}

.selected-plan-box span {
  color: #FFCC80;
  font-weight: 700;
}

.pricing-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 18px;
  min-height: 52px;
}

.pricing-success-message {
  color: #86efac;
  text-align: center;
  font-weight: 600;
  margin: 0;
}

body.popup-open {
  overflow: hidden;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .nav-links {
    gap: 20px;
  }

  .nav-actions .nav-signin {
    display: none;
  }
}

@media (max-width: 900px) {
  .mod-header-grid {
    grid-template-columns: 1fr !important;
    gap: 2.8rem !important;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .navbar {
    height: 82px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 1.2rem;
  }

  .brand-subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 768px) {
  .partner-logo-item {
    min-width: 150px;
    height: 82px;
    padding: 14px 18px;
  }

  .partner-logo-item img {
    max-width: 100px;
    max-height: 36px;
  }

  .partner-marquee {
    gap: 14px;
    animation-duration: 18s;
  }

  .module-tabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    border-radius: 22px;
  }

  .module-switch {
    width: 100%;
    text-align: center;
  }

  .imgcard {
    aspect-ratio: 3 / 2;
  }

  .pricing-popup-dialog {
    padding: 22px 16px;
    border-radius: 18px;
    max-height: 88vh;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .pricing-popup-head h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 560px) {
  .nav-inner {
    padding: 0 16px;
  }

  .navbar {
    height: 78px;
  }

  .brand {
    gap: 10px;
    max-width: calc(100% - 64px);
  }

  .brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-subtitle {
    font-size: 0.54rem;
    letter-spacing: 0.12em;
  }

  .mobile-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .mobile-toggle span {
    width: 18px;
  }

  .pricing-popup {
    padding: 12px;
  }

  .pricing-popup-close {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .pricing-popup-head h3 {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}