/* ============================================
   siteshop Digital - Cold Steel
   Slate / blue-gray - no cream / sandal
   ============================================ */

:root {
  --bg-primary: #E2E8F0;
  --bg-secondary: #CBD5E1;
  --bg-card: #F1F5F9;
  --bg-card-hover: #FFFFFF;
  --bg-elevated: #E2E8F0;

  --text-primary: #0B1220;
  --text-secondary: #475569;
  --text-muted: #64748B;

  --accent: #0B1220;
  --accent-hover: #020617;
  --accent-glow: rgba(15, 23, 42, 0.14);
  --navy: #0B1220;
  --soft-gold: #E8EEF5;
  --soft-gold-deep: #E2E8F0;

  --purple: #334155;
  --purple-light: #475569;
  --cyan: #0F172A;
  --cyan-bright: #020617;
  --cyan-glow: rgba(100, 116, 139, 0.18);
  --amber: #0F172A;
  --amber-glow: rgba(15, 23, 42, 0.12);
  --hero-bg: #0B1220;
  --hero-bg-cool: #0F172A;
  --hero-overlay: rgba(203, 213, 225, 0.72);
  --glass: rgba(226, 232, 240, 0.82);
  --glass-border: rgba(15, 23, 42, 0.1);

  --border: rgba(15, 23, 42, 0.09);
  --border-light: rgba(15, 23, 42, 0.14);

  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 14px 36px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 28px 56px rgba(15, 23, 42, 0.14);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;

  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-mono: 'DM Sans', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1440px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 #e8eef5;
}

html::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

html::-webkit-scrollbar-track {
  background: #e8eef5;
}

html::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 999px;
  border: 3px solid #e8eef5;
}

html::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

html::-webkit-scrollbar-corner {
  background: #e8eef5;
}

body {
  font-family: var(--font);
  background: #E8EEF5;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul { list-style: none; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 2px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: #0B1220;
  color: #EEF2F7;
}
.btn--primary:hover {
  background: #020617;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: #0B1220;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
.btn--ghost:hover {
  border-color: #0B1220;
  background: rgba(0, 0, 0, 0.04);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn--outline:hover {
  border-color: #0B1220;
  color: #0B1220;
}

.btn--sm { padding: 10px 20px; font-size: 0.75rem; }
.btn--lg { padding: 16px 36px; font-size: 0.9rem; }

.btn--white {
  background: #E8EEF5;
  color: #0B1220;
  padding: 16px 32px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.btn--white:hover {
  background: #E8EEF5;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  padding: 16px 32px;
}
.btn--glass:hover {
  background: #E8EEF5;
  border-color: rgba(0, 0, 0, 0.2);
}

.btn--theme {
  background: #0B1220;
  color: #EEF2F7;
  padding: 16px 32px;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.btn--theme:hover {
  background: #020617;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

/* ---- Navigation (ROSE style) ---- */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition);
}

.nav--scrolled {
  position: fixed;
  background: rgba(226, 232, 240, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 14px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.nav__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__links--center {
  justify-content: center;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0B1220;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.nav__link:hover {
  opacity: 0.55;
}

.nav__link--active {
  opacity: 1;
  font-weight: 700;
}

.nav__link--mobile-only {
  display: none;
}

.nav__link--trigger {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.nav__chevron {
  transition: transform 0.25s ease;
  opacity: 0.7;
}

.nav__item--mega.is-open .nav__chevron {
  transform: rotate(180deg);
}

.nav__item--mega {
  position: relative;
}

.mega-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  transform: translateX(-50%);
  width: min(920px, calc(100vw - 48px));
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

/* Small bridge only above the panel (not full navbar width) */
.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.nav__item--mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu[hidden] {
  display: block !important;
}

.mega-menu__panel {
  margin: 0;
  max-width: none;
  padding: 18px;
  border-radius: 16px;
  background: rgba(241, 245, 249, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(18px);
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.9fr;
  gap: 18px;
}

.mega-menu__label {
  margin: 0 0 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748B;
}

.mega-menu__link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  margin: 0 0 6px;
  border-radius: 12px;
  color: #0B1220;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mega-menu__link:hover {
  background: rgba(15, 23, 42, 0.05);
  transform: translateX(2px);
}

.mega-menu__link strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}

.mega-menu__link small {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: #64748B;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}

.mega-menu__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #E2E8F0;
  color: #0B1220;
}

.mega-menu__icon svg {
  width: 18px;
  height: 18px;
}

.mega-menu__cta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(160deg, #0B1220 0%, #1E293B 100%);
  color: #EEF2F7;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mega-menu__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.25);
}

.mega-menu__cta .mega-menu__label {
  color: #94A3B8;
  margin-bottom: 0;
}

.mega-menu__cta strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.mega-menu__cta span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #CBD5E1;
}

.nav__logo {
  justify-self: start;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0B1220;
}

.nav__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  position: relative;
  z-index: 5;
  min-width: 0;
}

.nav__website-btn {
  display: none;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(11, 18, 32, 0.18);
  background: transparent;
  color: #0B1220;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav__website-btn:hover {
  color: #EEF2F7;
  background: #0B1220;
  border-color: #0B1220;
}

.nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #0B1220;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.nav__icon:hover,
.nav__search.is-open .nav__icon {
  color: #EEF2F7;
  background: #0B1220;
}

.nav__search {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.nav__search .nav__icon {
  position: relative;
  z-index: 21;
}

.nav__search-input {
  position: absolute;
  top: 50%;
  right: 44px;
  transform: translateY(-50%) scaleX(0.92);
  transform-origin: right center;
  width: 168px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.96);
  color: #0B1220;
  font: 500 0.8rem var(--font);
  outline: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  z-index: 20;
}

.nav__search.is-open .nav__search-input {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) scaleX(1);
}

.nav__search-input::placeholder {
  color: #94A3B8;
}

.nav__search-drop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 200px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  z-index: 1100;
  overflow: hidden;
}

.nav__search-drop[hidden] {
  display: none !important;
}

.nav__search-results {
  list-style: none;
  margin: 0;
  padding: 4px;
  max-height: none;
  overflow: visible;
}

.nav__search-results a,
.nav__search-empty {
  display: block;
  padding: 7px 10px;
  border-radius: 7px;
  color: #0B1220;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav__search-results a small {
  display: none;
}

.nav__search-results a:hover,
.nav__search-results a.is-active {
  background: rgba(15, 23, 42, 0.06);
}

.nav__search-empty {
  color: #64748B;
  font-weight: 500;
  white-space: normal;
}

.nav__auth-btn,
.nav__logout-btn {
  border: 1px solid rgba(11, 18, 32, 0.22);
  background: rgba(226, 232, 240, 0.66);
  color: #0B1220;
  padding: 9px 15px;
  font: 700 0.7rem var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.nav__auth-btn--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  border-color: rgba(11, 18, 32, 0.18);
}

.nav__auth-btn--icon[hidden],
.nav__user[hidden] {
  display: none !important;
}

.nav__auth-btn--icon svg {
  display: block;
}

.nav__auth-btn--icon:hover {
  color: #EEF2F7;
  background: #0B1220;
  border-color: #0B1220;
}

.nav__auth-btn:hover,
.nav__logout-btn:hover {
  color: #EEF2F7;
  background: #0B1220;
  border-color: #0B1220;
}

.nav__user {
  position: relative;
  align-items: center;
}

.nav__user:not([hidden]) {
  display: flex;
}

.nav__account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.97);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(12px);
  z-index: 1100;
}

.nav__account-menu[hidden] {
  display: none;
}

.nav__account-item {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #0B1220;
  font: 700 0.72rem var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__account-item:hover {
  background: rgba(15, 23, 42, 0.06);
}

.nav__profile-panel {
  margin: 4px 0 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.04);
}

.nav__profile-panel[hidden] {
  display: none;
}

.nav__profile-name {
  margin: 0;
  color: #0B1220;
  font: 700 0.74rem var(--font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav__profile-email {
  margin: 4px 0 0;
  color: #475569;
  font-size: 0.72rem;
  line-height: 1.35;
  word-break: break-all;
}

.nav__account-item--logout {
  margin-top: 2px;
  color: #7F1D1D;
}

.nav__account-item--logout:hover {
  background: rgba(127, 29, 29, 0.08);
  color: #7F1D1D;
}

.nav__logout-btn {
  padding: 9px 12px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0B1220;
  transition: var(--transition);
}

.nav__toggle.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav__toggle.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav__overlay.open {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

body.welcome-locked {
  overflow: hidden;
}

html.welcome-done body.welcome-locked {
  overflow: auto;
}

html.welcome-done .welcome-gate {
  display: none !important;
}

.welcome-gate {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 18, 32, 0.28);
}

.welcome-gate[hidden] {
  display: none !important;
}

.welcome-gate__card {
  width: min(520px, 100%);
  overflow: hidden;
  border: 1px solid rgba(248, 250, 252, 0.12);
  background: #EEF2F7;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.welcome-gate__media {
  height: 220px;
  overflow: hidden;
  background: #0B1220;
}

.welcome-gate__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) saturate(0.7) contrast(1.05);
}

.welcome-gate__content {
  padding: 28px 28px 32px;
}

.welcome-gate__eyebrow {
  color: #64748B;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.welcome-gate__content h2 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  line-height: 1.05;
  color: #0B1220;
}

.welcome-gate__content > p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

.welcome-gate__hint {
  margin-top: 10px;
  color: #64748B;
  font-size: 0.78rem;
}

.welcome-gate__ok {
  width: 100%;
  min-height: 50px;
  margin-top: 22px;
}

.welcome-gate__ok:disabled {
  opacity: 0.7;
  cursor: wait;
}

@media (max-width: 560px) {
  .welcome-gate__media { height: 170px; }
  .welcome-gate__content { padding: 22px 18px 24px; }
}

body.auth-open {
  overflow: hidden;
}

/* ---- Authentication modal ---- */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.auth-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.68);
  backdrop-filter: blur(8px);
}

.auth-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 42px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #EEF2F7;
  box-shadow: 0 32px 80px rgba(2, 6, 23, 0.3);
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.auth-modal.is-open .auth-card {
  transform: translateY(0);
}

.auth-card__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #475569;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.auth-card__eyebrow {
  margin-bottom: 8px;
  color: #64748B;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  line-height: 1.1;
}

.auth-card__intro {
  margin: 12px 0 28px;
  color: #475569;
  font-size: 0.92rem;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  color: #0B1220;
  font: 700 0.85rem var(--font);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.auth-google:hover {
  border-color: #64748B;
  background: #FFFFFF;
}

.auth-google:disabled,
.auth-form__submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.auth-google svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.auth-google.is-loading svg {
  display: none;
}

.auth-google.is-loading .auth-form__spinner {
  display: block;
  border-color: rgba(15, 23, 42, 0.2);
  border-top-color: #0B1220;
}

.auth-form__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 2px;
  color: #64748B;
  font-size: 0.72rem;
  white-space: nowrap;
}

.auth-form__divider::before,
.auth-form__divider::after {
  width: 100%;
  height: 1px;
  background: #CBD5E1;
  content: "";
}

.auth-form label {
  margin-top: 8px;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #CBD5E1;
  border-radius: 0;
  outline: none;
  background: #F8FAFC;
  color: #0B1220;
  padding: 0 14px;
  font: 500 0.95rem var(--font);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input:focus {
  border-color: #334155;
  box-shadow: 0 0 0 3px rgba(51, 65, 85, 0.12);
}

.auth-form__password {
  position: relative;
}

.auth-form__password input {
  padding-right: 70px;
}

.auth-form__password button {
  position: absolute;
  top: 50%;
  right: 12px;
  border: 0;
  background: none;
  color: #475569;
  font: 700 0.72rem var(--font);
  transform: translateY(-50%);
  cursor: pointer;
}

.auth-form__message {
  min-height: 21px;
  margin-top: 6px;
  color: #B91C1C;
  font-size: 0.8rem;
}

.auth-form__message.is-success {
  color: #15803D;
}

.auth-form__submit {
  width: 100%;
  min-height: 50px;
  margin-top: 2px;
}

.auth-form__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: auth-spin 0.7s linear infinite;
}

.auth-form__submit.is-loading .auth-form__spinner {
  display: block;
}

@keyframes auth-spin {
  to { transform: rotate(360deg); }
}

/* ---- Hero (full-bleed) ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 0 0;
  overflow: hidden;
  background: #E2E8F0;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__media-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(203, 213, 225, 0.88) 0%,
      rgba(148, 163, 184, 0.255) 28%,
      rgba(71, 85, 105, 0.286) 55%,
      rgba(226, 232, 240, 0.986) 100%
    ),
    linear-gradient(
      105deg,
      rgba(148, 163, 184, 0.55) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 65% 35%,
      rgba(51, 65, 85, 0.35) 0%,
      transparent 55%
    );
}

.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 48px;
  min-height: calc(100vh - 160px);
  min-height: calc(100dvh - 160px);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #0B1220;
  text-align: center;
  margin-bottom: 48px;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.hero__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-top: auto;
  padding-bottom: 24px;
}

.hero__content {
  max-width: 420px;
}

.hero__desc {
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__stats {
  display: flex;
  gap: 36px;
  padding-bottom: 8px;
}

.hero__stat {
  text-align: right;
}

.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0B1220;
  line-height: 1;
  margin-bottom: 6px;
}

.hero__stat span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748B;
}

.hero__rail {
  position: relative;
  z-index: 2;
  background: rgba(226, 232, 240, 0.94);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
}

.hero__rail-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 16px 32px;
  align-items: center;
}

.hero__rail-inner a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748B;
  transition: color 0.2s ease;
}

.hero__rail-inner a:hover {
  color: #0B1220;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot--red { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green { background: #28c840; }
/* ---- Sections ---- */
.section {
  padding: 100px 0;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

/* ---- Split Section ---- */
.split-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}

.split-visual__img {
  filter: grayscale(0.35) saturate(0.55);
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.split-visual__glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, transparent 55%, rgba(255, 255, 255, 0.55) 100%);
  pointer-events: none;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.feature-list__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-list__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.feature-list__icon svg { width: 22px; height: 22px; }

.feature-list__item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-list__item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Cinema Project Slider ---- */
.cinema-section {
  position: relative;
  background: #05070C;
  color: #E2E8F0;
  overflow: hidden;
  padding: 100px 0 110px;
}

.cinema-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 42% at 50% 62%, rgba(255, 255, 255, 0.14), transparent 68%),
    radial-gradient(ellipse 40% 30% at 50% 55%, rgba(255, 255, 255, 0.08), transparent 70%),
    radial-gradient(circle at 10% 18%, rgba(255, 255, 255, 0.05), transparent 32%),
    radial-gradient(circle at 90% 22%, rgba(255, 255, 255, 0.04), transparent 30%),
    linear-gradient(180deg, #03050A 0%, #070B14 48%, #020308 100%);
}

.cinema-section__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 48%, #000 15%, transparent 72%);
}

.cinema-section__bg::after {
  content: "";
  position: absolute;
  width: min(560px, 72vw);
  height: min(560px, 72vw);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -18%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 35%, transparent 68%);
  filter: blur(4px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 80px rgba(255, 255, 255, 0.06),
    inset 0 0 60px rgba(255, 255, 255, 0.03);
}

.cinema-section .section__eyebrow {
  color: #94A3B8;
}

.cinema-section .section__title {
  color: #EEF2F7;
}

.cinema-section__header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 52px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.cinema-section__header .section__title {
  margin-bottom: 14px;
}

.cinema-section__lead {
  margin: 0 auto;
  max-width: 560px;
  color: #94A3B8;
  font-size: 0.98rem;
  line-height: 1.65;
}

.cinema-slider {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.cinema-slider__nav {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 10, 16, 0.75);
  color: #F8FAFC;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 28px rgba(0, 0, 0, 0.45);
  z-index: 10;
}

.cinema-slider__nav:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(20, 24, 34, 0.92);
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.18);
}

.cinema-slider__viewport {
  flex: 1;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.cinema-slider__stage {
  position: relative;
  width: 100%;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.cinema-card {
  position: absolute;
  width: min(300px, 72vw);
  height: 420px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.5s ease,
              filter 0.5s ease;
  will-change: transform, opacity;
  filter: saturate(0.88) brightness(0.88);
}

.cinema-card__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.cinema-card__media {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.cinema-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.cinema-card.is-active .cinema-card__img {
  transform: scale(1.04);
}

.cinema-card--fullimg .cinema-card__inner {
  background: #0a0a0a;
}

.cinema-card--fullimg .cinema-card__media {
  position: absolute;
  inset: 0;
  flex: none;
  background: #0a0a0a;
}

.cinema-card--fullimg .cinema-card__img {
  object-fit: cover;
  object-position: center top;
}

.cinema-card--fullimg.is-active .cinema-card__img {
  transform: scale(1.03);
}

.cinema-card--fullimg .cinema-card__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(8, 12, 20, 0.92) 55%);
}

.cinema-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 12px;
  flex-shrink: 0;
}

.cinema-card__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #EEF2F7;
  background: rgba(91, 141, 239, 0.22);
  border: 1px solid rgba(91, 141, 239, 0.35);
  border-radius: var(--radius-pill);
}

.cinema-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #F8FAFC;
}

.cinema-card__rating svg {
  color: #FBBF24;
}

.cinema-card__bottom {
  flex-shrink: 0;
  padding: 16px 16px 18px;
}

.cinema-card__bottom h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.cinema-card__rule {
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #FFFFFF, rgba(255, 255, 255, 0.12));
  margin-bottom: 12px;
}

.cinema-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 0.72rem;
  color: #94A3B8;
  font-weight: 500;
}

.cinema-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cinema-card__meta svg {
  opacity: 0.85;
  flex-shrink: 0;
}

.cinema-card.is-active {
  filter: none;
}

.cinema-card.is-active .cinema-card__inner {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 32px rgba(255, 255, 255, 0.22),
    0 0 64px rgba(255, 255, 255, 0.12),
    0 28px 60px rgba(0, 0, 0, 0.55);
}

.cinema-card.is-active .cinema-card__inner::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -22px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.45), transparent 72%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

/* ---- Showcase Cards Section ---- */
.showcase-section {
  background: #E8EEF5;
  overflow: hidden;
}

.showcase-section__inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: center;
}

.showcase-section__content {
  max-width: 400px;
}

.showcase-section__content .section__title {
  margin-bottom: 20px;
}

.showcase-section__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}

.showcase-cards-wrap {
  width: 100%;
  min-width: 0;
}

.showcase-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.showcase-scroll-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.showcase-scroll-dots__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-elevated);
  transition: var(--transition);
}

.showcase-scroll-dots__dot.is-active {
  width: 24px;
  border-radius: var(--radius-pill);
  background: var(--accent);
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4.2;
  min-height: 280px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 0, 0, 0.25);
}

.showcase-card__img {
  filter: grayscale(0.4) saturate(0.5);
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-card__img {
  transform: scale(1.06);
}

.showcase-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(10, 14, 20, 0.75) 75%,
    rgba(10, 14, 20, 0.95) 100%
  );
  pointer-events: none;
}

.showcase-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  z-index: 1;
}

.showcase-card__info h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.showcase-card__info p {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(232, 238, 245, 0.88);
}

.showcase-card__info p svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ---- Callout Diagram ---- */
.callout-section {
  background: #D5DEE8;
}

.callout-diagram {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  height: 400px;
}

.callout-diagram__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.arch-hub {
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(232, 238, 245, 0.95);
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 40px var(--accent-glow), var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.arch-hub:hover {
  transform: scale(1.05);
  background: #fff;
  box-shadow: 0 0 48px var(--accent-glow), var(--shadow-lg);
}
.arch-hub svg { width: 32px; height: 32px; }

.callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
}

.callout--tl { top: 10%; left: 0; flex-direction: row-reverse; }
.callout--tr { top: 10%; right: 0; }
.callout--bl { bottom: 10%; left: 0; flex-direction: row-reverse; }
.callout--br { bottom: 10%; right: 0; }

.callout__line {
  width: 60px;
  height: 1px;
  background: var(--border-light);
  position: relative;
}
.callout--tl .callout__line::after,
.callout--bl .callout__line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.callout--tr .callout__line::after,
.callout--br .callout__line::after {
  content: '';
  position: absolute;
  left: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.callout__content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.callout__content p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Package Cards ---- */
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.package-card {
  position: relative;
  padding: 36px 28px;
  background: rgba(232, 238, 245, 0.86);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.package-card:hover {
  border-color: rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: rgba(232, 238, 245, 0.98);
}

.package-card--featured {
  border-color: rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(232, 238, 245, 0.95) 42%);
}

.package-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: var(--accent);
  color: #EEF2F7;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
}

.package-card__visual {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border-radius: 50%;
  color: var(--accent);
}
.package-card__visual svg { width: 48px; height: 48px; }

.package-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.package-card__price {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.package-card__price strong {
  color: var(--text-primary);
  font-size: 1.3rem;
}

.package-card__features {
  text-align: left;
  margin-bottom: 28px;
}
.package-card__features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 20px;
  position: relative;
}
.package-card__features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

/* ---- Dashboard Section ---- */
.dashboard-section {
  background: #E2E8F0;
}

.dashboard-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.dashboard-section__desc {
  color: var(--text-secondary);
  margin: 20px 0 32px;
  font-size: 1rem;
  line-height: 1.7;
}

.dashboard-stats {
  display: flex;
  gap: 32px;
}

.dashboard-stat__value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}

.dashboard-stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.dashboard-section__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.phone-mockup {
  width: 200px;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: 28px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.phone-mockup__screen {
  background: rgba(226, 232, 240, 0.7);
  border-radius: 18px;
  padding: 16px;
  overflow: hidden;
}

.phone-header {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.phone-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100px;
  margin-bottom: 16px;
}

.phone-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--accent), rgba(0, 0, 0, 0.3));
  border-radius: 3px 3px 0 0;
  animation: growBar 1s ease-out forwards;
}

@keyframes growBar {
  from { height: 0; }
  to { height: var(--h); }
}

.phone-metrics {
  display: flex;
  gap: 12px;
}

.phone-metric {
  flex: 1;
  padding: 10px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
}
.phone-metric span { display: block; color: var(--text-muted); margin-bottom: 2px; }
.phone-metric strong { font-size: 0.9rem; }

.dashboard-panel {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  background: rgba(232, 238, 245, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.dashboard-panel__header {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.dashboard-panel__chart {
  height: 80px;
  margin-bottom: 20px;
}
.dashboard-panel__chart svg { width: 100%; height: 100%; }

.dash-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.dash-row span { color: var(--text-muted); }
.dash-row strong { color: var(--accent); }

/* ---- Industry Grid ---- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industry-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: rgba(232, 238, 245, 0.88);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
}

.industry-card:hover {
  border-color: rgba(0, 0, 0, 0.25);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.industry-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border-radius: 50%;
  color: var(--accent);
}
.industry-card__icon svg { width: 22px; height: 22px; }

.industry-card__info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.industry-card__info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.industry-card__price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---- Comparison Table ---- */
.compare-table {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-width: 560px;
  background: rgba(232, 238, 245, 0.9);
  box-shadow: var(--shadow-sm);
}

.compare-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  margin: 0 -4px;
  padding: 4px;
}

.compare-table__header,
.compare-table__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

.compare-table__header {
  background: var(--bg-elevated);
}

.compare-table__cell {
  padding: 16px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-table__cell--feature {
  justify-content: flex-start;
  font-weight: 500;
  color: var(--text-secondary);
}

.compare-table__cell--us {
  background: rgba(0, 0, 0, 0.06);
  font-weight: 600;
}

.compare-table__header .compare-table__cell {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.compare-table__header .compare-table__cell--us {
  color: var(--accent);
}

.check { color: #22C55E; font-size: 1.1rem; }
.cross { color: #f87171; font-size: 1.1rem; }
.partial { color: #fbbf24; font-size: 1.1rem; }

/* ---- CTA Section ---- */
.cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background: #D5DEE8;
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  text-align: center;
  max-width: 700px;
}

.cta-section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-section__desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-section__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  background: rgba(232, 238, 245, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(226, 232, 240, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form select {
  appearance: none;
  cursor: pointer;
}

.contact-form textarea { resize: vertical; min-height: 100px; }

.contact-form__msg {
  margin: 0 0 4px;
  min-height: 1.2em;
  font-size: 0.88rem;
  color: #166534;
}

.contact-form__msg.is-error {
  color: #B91C1C;
}

/* ---- Footer ---- */
.footer {
  position: relative;
  padding: 80px 0 40px;
  background: #0B1220;
  color: #E2E8F0;
  overflow: hidden;
}

.footer__bg-text {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(80px, 15vw, 200px);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: -0.04em;
  pointer-events: none;
  white-space: nowrap;
}

.footer__inner { position: relative; z-index: 1; }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__brand p {
  color: #94A3B8;
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.6;
}

.footer__col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #CBD5E1;
  margin-bottom: 16px;
}

.footer__col h4 a {
  color: inherit;
  text-decoration: none;
}

.footer__col h4 a:hover {
  color: #EEF2F7;
}

.footer__col li { margin-bottom: 10px; }
.footer__col a {
  font-size: 0.9rem;
  color: #94A3B8;
  transition: color var(--transition);
}
.footer__col a:hover { color: #EEF2F7; }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  text-align: center;
}
.footer__bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: #64748B;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}

.footer__legal a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: #EEF2F7;
}

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */

/* Large tablets & small laptops */
@media (max-width: 1200px) {
  .container {
    padding: 0 14px;
  }

  .nav__link {
    padding: 8px 8px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .hero__title {
    font-size: clamp(2.8rem, 7vw, 5rem);
  }

  .split-section__inner {
    gap: 48px;
  }

  .package-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

/* Tablets */
@media (max-width: 1024px) {
  .section {
    padding: 72px 0;
  }

  .section__header {
    margin-bottom: 40px;
  }

  .section__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }

  /* Nav */
  .nav {
    padding: 16px 0;
  }

  .nav__bar {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nav__links--center {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 88px 24px 32px;
    gap: 6px;
    background: rgba(232, 238, 245, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 1001;
    overflow-y: auto;
  }

  .nav__links--center.open {
    right: 0;
  }

  .nav__item--mega {
    width: 100%;
  }

  .nav__link--trigger {
    width: 100%;
    justify-content: space-between;
  }

  .nav__item--mega:hover .mega-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .mega-menu {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transition: max-height 0.35s ease;
  }

  .mega-menu::before {
    display: none;
  }

  .nav__item--mega.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    left: 0;
    width: 100%;
    max-height: 900px;
    margin: 4px 0 10px;
  }

  .mega-menu__panel {
    max-width: none;
    margin: 0;
    padding: 14px;
    border-radius: 14px;
    box-shadow: none;
  }

  .mega-menu__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mega-menu__cta {
    min-height: auto;
    padding: 16px;
  }

  .nav__link {
    justify-content: flex-start;
    padding: 14px 18px;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
  }

  .nav__link--mobile-only {
    display: inline-flex;
  }

  .nav__link--desktop {
    display: none;
  }

  .nav__icon {
    display: inline-flex;
  }

  .nav__search {
    display: none !important;
  }

  .nav__website-btn {
    display: inline-flex;
    height: 34px;
    padding: 0 12px;
    font-size: 0.62rem;
    margin-right: 4px;
  }

  .nav__right {
    gap: 2px;
  }

  .nav__account-menu {
    min-width: 190px;
  }

  .nav__logo {
    justify-self: start;
    max-width: none;
    overflow: visible;
    text-overflow: unset;
    white-space: nowrap;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
  }

  .nav__toggle {
    display: flex;
    z-index: 1002;
  }

  /* Hero */
  .hero {
    padding: 96px 0 0;
    min-height: auto;
  }

  .hero__inner {
    min-height: auto;
    padding: 24px 0 32px;
  }

  .hero__title {
    font-size: clamp(2.6rem, 10vw, 4rem);
    margin-bottom: 32px;
    text-align: left;
    margin-left: 0;
    max-width: none;
  }

  .hero__row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__stats {
    justify-content: flex-start;
    gap: 28px;
  }

  .hero__stat {
    text-align: left;
  }

  .hero__rail-inner {
    padding: 14px 24px;
    gap: 8px 18px;
  }

  /* Split section */
  .split-section__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-section__content {
    order: 2;
  }

  .split-section__visual {
    order: 1;
  }

  .split-visual__img {
    min-height: 320px;
  }

  /* Cinema slider */
  .cinema-section {
    padding: 72px 0 80px;
  }

  .cinema-section__header {
    margin-bottom: 36px;
    padding: 0 8px;
  }

  .cinema-slider {
    gap: 6px;
    padding: 0 8px;
  }

  .cinema-slider__nav {
    width: 44px;
    height: 44px;
  }

  .cinema-slider__viewport {
    min-height: 420px;
  }

  .cinema-slider__stage {
    height: 390px;
  }

  .cinema-card {
    height: 380px;
  }

  /* Showcase cards */
  .showcase-section__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase-section__content {
    max-width: 100%;
    text-align: center;
  }

  .showcase-section__content .btn--theme {
    margin: 0 auto;
    display: inline-flex;
  }

  .showcase-cards-wrap {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0 20px;
  }

  .showcase-cards {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 4px 20px 12px;
    scrollbar-width: none;
  }

  .showcase-cards::-webkit-scrollbar {
    display: none;
  }

  .showcase-card {
    flex: 0 0 clamp(240px, 42vw, 300px);
    min-width: clamp(240px, 42vw, 300px);
    min-height: 360px;
    scroll-snap-align: center;
  }

  .showcase-scroll-dots {
    display: flex;
  }

  .showcase-card__info h3 {
    font-size: 1.1rem;
  }

  /* Callout */
  .callout-diagram {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
  }

  .callout-diagram__center {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    order: 0;
  }

  .callout {
    position: relative;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    flex-direction: row !important;
    width: 100%;
    max-width: 320px;
    justify-content: flex-start;
  }

  .callout__line {
    width: 40px;
    flex-shrink: 0;
  }

  /* Packages */
  .package-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  /* Dashboard */
  .dashboard-section__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dashboard-section__visual {
    flex-direction: column;
    min-height: auto;
    gap: 20px;
    padding: 0 10px;
  }

  .dashboard-panel {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .phone-mockup {
    margin: 0 auto;
  }

  /* Industry */
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Footer */
  .footer {
  position: relative;
  padding: 80px 0 40px;
  background: #0B1220;
  color: #E2E8F0;
  overflow: hidden;
}

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .section__header {
    margin-bottom: 32px;
  }

  .section__eyebrow {
    font-size: 0.78rem;
  }

  .container {
    padding: 0 12px;
  }

  .hero__title {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
    margin-bottom: 24px;
  }

  .hero__desc {
    font-size: 0.95rem;
    margin-bottom: 22px;
  }

  .hero__stat strong {
    font-size: 1.6rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  /* Split */
  .split-visual__img {
    min-height: 260px;
  }

  .feature-list {
    gap: 24px;
    margin-top: 28px;
  }

  .feature-list__item {
    gap: 16px;
  }

  .feature-list__icon {
    width: 42px;
    height: 42px;
  }

  /* Cinema slider */
  .cinema-section {
    padding: 56px 0 64px;
  }

  .cinema-section__header {
    margin-bottom: 28px;
  }

  .cinema-section__header .section__title {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .cinema-section__lead {
    font-size: 0.9rem;
    max-width: 34rem;
  }

  .cinema-slider {
    gap: 4px;
    padding: 0 4px;
  }

  .cinema-slider__nav {
    width: 38px;
    height: 38px;
  }

  .cinema-slider__viewport {
    min-height: 360px;
    perspective: 900px;
  }

  .cinema-slider__stage {
    height: 340px;
  }

  .cinema-card {
    height: 340px;
  }

  .cinema-card__bottom {
    padding: 12px 12px 14px;
  }

  .cinema-card__bottom h3 {
    font-size: 0.92rem;
  }

  .cinema-card__top {
    padding: 10px 10px 8px;
  }

  .cinema-section__bg::after {
    width: 280px;
    height: 280px;
    top: 52%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -20%);
  }

  /* Showcase */

  /* Showcase */
  .showcase-section__content {
    text-align: left;
    padding: 0 4px;
  }

  .showcase-section__content .section__title br {
    display: none;
  }

  .showcase-section__content .btn--theme {
    margin: 0;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .showcase-section__desc {
    font-size: 0.92rem;
    margin-bottom: 24px;
  }

  .showcase-cards-wrap {
    padding: 0;
  }

  .showcase-cards {
    gap: 14px;
    padding: 4px 16px 12px;
  }

  .showcase-card {
    flex: 0 0 78%;
    min-width: 78%;
    min-height: 380px;
    aspect-ratio: 3 / 4;
  }

  .showcase-card:hover {
    transform: none;
  }

  .showcase-card__info {
    padding: 18px 16px 20px;
  }

  .showcase-card__info h3 {
    font-size: 1.05rem;
  }

  .showcase-card__info p {
    font-size: 0.68rem;
  }

  /* Packages */
  .arch-hub {
    width: 120px;
    height: 120px;
    font-size: 0.78rem;
  }

  .arch-hub svg {
    width: 26px;
    height: 26px;
  }

  .callout__content h4 {
    font-size: 0.88rem;
  }

  .callout__content p {
    font-size: 0.75rem;
  }

  /* Packages */
  .package-card {
    padding: 28px 22px;
  }

  /* Dashboard */
  .dashboard-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .dashboard-stat {
    flex: 1;
    min-width: 80px;
  }

  .dashboard-section__desc {
    font-size: 0.95rem;
  }

  /* Industry */
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    padding: 20px;
  }

  /* Compare */
  .compare-table {
    min-width: 520px;
  }

  .compare-table__cell {
    padding: 12px 10px;
    font-size: 0.78rem;
  }

  .compare-table__header .compare-table__cell {
    font-size: 0.72rem;
  }

  /* CTA */
  .cta-section {
    padding: 72px 0;
  }

  .cta-section__title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .cta-section__desc {
    font-size: 0.95rem;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__brand p {
    max-width: 100%;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .nav__search-input {
    width: min(160px, calc(100vw - 140px));
    right: 44px;
  }

  .section {
    padding: 48px 0;
  }

  .nav__logo {
    font-size: 1.15rem;
  }

  .nav__auth-btn,
  .nav__logout-btn {
    padding: 8px 10px;
    font-size: 0.64rem;
  }

  .nav__auth-btn--icon {
    width: 38px;
    height: 38px;
    padding: 0;
  }

  .auth-modal {
    padding: 14px;
  }

  .auth-card {
    padding: 36px 22px 26px;
  }

  .hero__title {
    font-size: 2.1rem;
  }

  .btn {
    padding: 13px 22px;
    font-size: 0.75rem;
  }

  .btn--white,
  .btn--glass {
    padding: 14px 24px;
  }

  .showcase-card {
    flex: 0 0 88%;
    min-width: 88%;
    min-height: 400px;
  }

  .showcase-section__desc {
    font-size: 0.88rem;
  }

  .btn--theme {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .split-visual__img {
    min-height: 220px;
  }

  .dashboard-stats {
    flex-direction: column;
    gap: 16px;
  }

  .cta-section__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .cta-section__actions .btn {
    width: 100%;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }

  .footer__bg-text {
    font-size: clamp(60px, 20vw, 120px);
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .hero__title {
    font-size: 1.85rem;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .cinema-card__bottom h3 {
    font-size: 0.85rem;
  }

  .nav__links--center {
    width: 100%;
    right: -100%;
  }

  .nav__links--center.open {
    right: 0;
  }
}
