@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #050509;
  --panel: rgba(18, 20, 30, 0.74);
  --panel-strong: rgba(20, 24, 36, 0.94);
  --line: rgba(255, 255, 255, 0.12);
  --muted: #9ca3af;
  --text: #f8fafc;
  --red: #ff2d4f;
  --red-2: #b9082d;
  --cyan: #27e4ff;
  --green: #42f59e;
  --amber: #ffd166;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

button,
input,
select,
textarea {
  font: inherit;
}

select option,
select optgroup {
  color: #0b1020;
  background: #ffffff;
}

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

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

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

.global-legal-disclaimer {
  margin: 0;
  padding: 14px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.top-social-links {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-left: auto;
}

.top-social-links a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.top-social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 45, 79, 0.65);
  background: rgba(255, 45, 79, 0.16);
}

@media (max-width: 760px) {
  .top-social-links {
    order: 5;
    width: 100%;
    justify-content: center;
    margin: 8px 0 0;
  }
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.glass-panel,
.dash-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
}

.btn,
.icon-btn,
.link-button,
.side-nav button {
  border: 0;
  cursor: pointer;
  color: var(--text);
}

.btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover,
.icon-btn:hover,
.side-nav button:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-2));
  box-shadow: 0 16px 38px rgba(255, 45, 79, 0.28);
}

.btn-soft,
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.full-width {
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 138px;
  flex: 0 0 auto;
  margin-right: clamp(18px, 3vw, 44px);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--red), #6a0017);
  box-shadow: 0 12px 30px rgba(255, 45, 79, 0.28);
}

.brand-logo {
  width: clamp(132px, 12vw, 178px);
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.dashboard-brand .brand-logo {
  width: 178px;
}

.auth-logo {
  width: min(230px, 78%);
  height: 74px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
}

.brand-mark svg,
.btn svg,
.icon-btn svg,
.side-nav svg,
.feature-card svg,
.legal-card svg,
.report-card svg,
.kpi-card svg {
  width: 20px;
  height: 20px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 76px;
  padding: 0 clamp(18px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, 2.2vw, 34px);
  background: rgba(5, 5, 9, 0.62);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.top-nav {
  display: flex;
  gap: clamp(9px, 1.1vw, 18px);
  color: #d7dce8;
  font-size: clamp(0.76rem, 0.78vw, 0.9rem);
  align-items: center;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-start;
}

.top-nav a {
  flex: 0 0 auto;
}

.top-nav .dashboard-nav-link,
.site-footer .dashboard-nav-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 45, 79, 0.44);
  border-radius: 999px;
  background: rgba(255, 45, 79, 0.09);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 0 rgba(255, 45, 79, 0);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.top-nav .dashboard-nav-link:hover,
.site-footer .dashboard-nav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 45, 79, 0.82);
  background: linear-gradient(135deg, var(--red), #9b001f);
  box-shadow: 0 12px 28px rgba(255, 45, 79, 0.2);
}

.top-nav .dashboard-nav-link.primary,
.site-footer .dashboard-nav-link.primary {
  border-color: rgba(255, 45, 79, 0.56);
  background: rgba(255, 45, 79, 0.09);
  color: #fff;
  box-shadow: none;
}

.top-nav .dashboard-nav-link.primary:hover,
.site-footer .dashboard-nav-link.primary:hover {
  border-color: rgba(255, 45, 79, 0.88);
  background: linear-gradient(135deg, var(--red), #9b001f);
  box-shadow: 0 14px 34px rgba(255, 45, 79, 0.26);
}

.mobile-nav-toggle {
  display: none;
}

.hero-section {
  min-height: 100vh;
  position: relative;
  padding: 150px clamp(18px, 6vw, 80px) 42px;
  overflow: hidden;
  display: grid;
  align-items: end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 9, 0.94), rgba(5, 5, 9, 0.64) 52%, rgba(5, 5, 9, 0.9)),
    url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=2200&q=85") center/cover;
  transform: scale(1.04);
}

.hero-vignette {
  position: absolute;
  inset: auto 0 0;
  height: 38vh;
  background: linear-gradient(0deg, var(--bg), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.eyebrow,
.section-kicker,
.section-heading p,
.topbar-kicker {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 900;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(39, 228, 255, 0.28);
  background: rgba(39, 228, 255, 0.08);
  border-radius: var(--radius);
}

.hero-content h1 {
  margin: 24px 0 8px;
  max-width: 970px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.tagline {
  font-size: clamp(1.6rem, 4vw, 3.4rem);
  margin: 0 0 28px;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, #ffb1bd 55%, var(--red));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-search,
.dashboard-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  max-width: 790px;
}

.hero-search input,
.dashboard-search input {
  flex: 1;
  min-width: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1rem;
}

.landing-search-result {
  max-width: 920px;
  margin-top: 16px;
}

.landing-result-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  padding: 14px;
  animation: toastIn 0.25s ease both;
}

.landing-result-card img {
  width: 118px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.landing-result-copy h2 {
  margin: 4px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.landing-result-copy p {
  color: #cbd5e1;
  line-height: 1.55;
}

.landing-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-platforms span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-radius: var(--radius);
  color: #dce3ef;
  background: rgba(66, 245, 158, 0.08);
  border: 1px solid rgba(66, 245, 158, 0.2);
  font-weight: 800;
  font-size: 0.86rem;
}

.landing-platforms svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.legal-note {
  color: #cbd5e1;
  max-width: 760px;
  line-height: 1.7;
}

.compact-note {
  max-width: none;
  margin-top: -4px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

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

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 58px;
}

.stat-card {
  padding: 20px;
}

.stat-card span,
.kpi-card span {
  display: block;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
}

.stat-card small,
.kpi-card small {
  color: var(--muted);
}

.section-wrap,
.split-section,
.legal-section {
  padding: 92px clamp(18px, 6vw, 80px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2,
.split-copy h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

.poster-carousel {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.poster-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: posterSlide 28s linear infinite;
}

.poster-track img {
  width: 190px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

@keyframes posterSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.feature-grid,
.legal-grid,
.kpi-grid,
.report-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.legal-card,
.report-card,
.dash-card {
  padding: 22px;
}

.feature-card {
  min-height: 230px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover,
.legal-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 45, 79, 0.46);
}

.feature-card svg,
.legal-card svg,
.report-card svg {
  color: var(--red);
}

.feature-card p,
.legal-card p,
.report-card p,
.split-copy p,
.billing-card p,
.profile-card p,
.search-workbench p {
  color: var(--muted);
  line-height: 1.7;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.ai-orbit {
  min-height: 460px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ai-orbit::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(39, 228, 255, 0.22);
  border-radius: 50%;
  animation: spin 12s linear infinite;
}

.scan-frame {
  width: min(72%, 360px);
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  background: rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.scan-frame span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(39, 228, 255, 0.22), transparent);
  height: 36%;
  animation: scanline 2.6s ease-in-out infinite;
}

.scan-frame svg {
  width: 54px;
  height: 54px;
  color: var(--cyan);
}

.signal-chip {
  position: absolute;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  font-weight: 800;
}

.chip-one { left: 8%; top: 18%; }
.chip-two { right: 8%; top: 30%; }
.chip-three { bottom: 16%; left: 20%; color: var(--red); }

@keyframes scanline {
  0%, 100% { transform: translateY(-110%); }
  50% { transform: translateY(240%); }
}

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

.legal-section {
  background: radial-gradient(circle at 12% 20%, rgba(255, 45, 79, 0.16), transparent 34%);
}

.legal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.legal-card.danger {
  background: rgba(255, 45, 79, 0.08);
}

.metrics-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 22px;
}

.metrics-preview div {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.metrics-preview strong {
  display: block;
  font-size: 2.6rem;
}

.metrics-preview span,
.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer {
  padding: 34px clamp(18px, 6vw, 80px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 22px;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.public-main {
  padding-top: 76px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 45, 79, 0.16), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(39, 228, 255, 0.10), transparent 26%),
    var(--bg);
  min-height: 100vh;
}

.public-hero {
  padding: 96px clamp(18px, 6vw, 80px) 46px;
  border-bottom: 1px solid var(--line);
}

.public-hero-inner {
  max-width: 1080px;
}

.public-hero h1 {
  margin: 16px 0;
  max-width: 920px;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.98;
}

.public-hero p {
  max-width: 760px;
  color: #cbd5e1;
  font-size: 1.08rem;
  line-height: 1.75;
}

.public-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.public-section {
  padding: 62px clamp(18px, 6vw, 80px);
}

.public-section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

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

.public-card,
.pricing-card,
.faq-item,
.policy-block {
  padding: 24px;
}

.public-card h2,
.public-card h3,
.pricing-card h2,
.policy-block h2,
.faq-item h2 {
  margin: 0 0 12px;
}

.public-card p,
.pricing-card p,
.policy-block p,
.faq-item p,
.public-copy p,
.public-copy li {
  color: #cbd5e1;
  line-height: 1.72;
}

.public-copy {
  max-width: 860px;
}

.public-copy h2 {
  margin-top: 34px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.pricing-card.featured {
  border-color: rgba(255, 45, 79, 0.58);
  box-shadow: 0 24px 70px rgba(255, 45, 79, 0.18);
}

.pricing-section {
  padding-top: 46px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-grid .pricing-card {
  min-height: 540px;
  padding: 28px;
  overflow: hidden;
}

.pricing-card-top {
  display: grid;
  gap: 12px;
}

.pricing-grid .pricing-card h2 {
  color: #fff;
  font-size: 1.45rem;
  letter-spacing: 0;
}

.pricing-grid .pricing-card p {
  min-height: 84px;
  margin: 0;
}

.popular-badge {
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 45, 79, 0.42);
  border-radius: 999px;
  background: rgba(255, 45, 79, 0.12);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-grid .check-list {
  flex: 1;
}

.pricing-grid .btn {
  margin-top: auto;
  justify-content: center;
}

.pricing-disclaimer {
  max-width: 1060px;
  margin: 24px auto 0;
  color: #aab3c2;
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: center;
}

.price {
  font-size: 2.6rem;
  font-weight: 900;
  margin: 12px 0;
  letter-spacing: 0;
}

.price span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.pricing-hero {
  padding: 48px clamp(18px, 6vw, 80px) 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 45, 79, 0.18), transparent 36%),
    radial-gradient(circle at 0% 100%, rgba(255, 45, 79, 0.13), transparent 26%);
}

.pricing-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.pricing-hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4.4vw, 4.2rem);
  letter-spacing: 0;
  line-height: 1.04;
}

.pricing-hero h1 span:last-child {
  color: var(--red);
}

.pricing-hero p {
  margin: 16px auto 0;
  max-width: 620px;
  color: #cbd5e1;
}

.pricing-toggle {
  width: min(380px, 100%);
  min-height: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 24px auto 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.pricing-toggle button {
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #dce3ef;
  font-weight: 900;
}

.pricing-toggle button.active {
  border-color: rgba(255, 45, 79, 0.52);
  background: rgba(255, 45, 79, 0.18);
  color: #fff;
}

.pricing-toggle small {
  margin-left: 8px;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(255, 45, 79, 0.28);
  color: #fff;
  font-size: 0.66rem;
}

.pricing-v2 {
  padding-top: 18px;
}

.pricing-block-title {
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: center;
  margin: 0 auto 20px;
  text-align: center;
}

.pricing-block-title.compact {
  margin-top: 32px;
}

.pricing-block-title > span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 45, 79, 0.82));
}

.pricing-block-title > span:last-child {
  background: linear-gradient(90deg, rgba(255, 45, 79, 0.82), transparent);
}

.pricing-block-title h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.pricing-block-title p {
  max-width: 560px;
  margin: 0;
  color: #cbd5e1;
  line-height: 1.6;
}

.pricing-category-grid {
  max-width: 1380px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 auto;
}

.pricing-category-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-category-card.active,
.pricing-category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 45, 79, 0.72);
  box-shadow: 0 22px 62px rgba(255, 45, 79, 0.16);
}

.pricing-category-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 45, 79, 0.38);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 79, 0.28), rgba(255, 255, 255, 0.04));
  color: var(--red);
}

.pricing-category-icon svg {
  width: 32px;
  height: 32px;
}

.pricing-category-card h3 {
  margin: 0 0 8px;
  font-size: 1.22rem;
}

.pricing-category-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.55;
}

.pricing-suite-grid {
  max-width: 1480px;
  display: grid;
  grid-template-columns: 1.12fr 1.18fr 0.82fr;
  gap: 16px;
  margin: 0 auto;
}

.pricing-family {
  position: relative;
  padding: 50px 12px 16px;
  border-color: rgba(255, 255, 255, 0.14);
}

.family-label {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 176px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 45, 79, 0.5);
  border-radius: 7px;
  background: rgba(255, 45, 79, 0.14);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pricing-card-small {
  min-height: 0;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.pricing-card-small h3,
.enterprise-card h3 {
  margin: 0 0 8px;
  font-size: 1.14rem;
  text-align: center;
}

.pricing-card-small p,
.enterprise-card p {
  min-height: 38px;
  margin: 0;
  color: #cbd5e1;
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: center;
}

.pricing-card-small .price {
  margin: 18px 0;
  color: var(--red);
  font-size: clamp(1.65rem, 2.4vw, 2.1rem);
  text-align: left;
}

.pricing-card-small .price span {
  color: #dce3ef;
  font-size: 0.76rem;
}

.pricing-card-small .check-list {
  margin: 16px 0 20px;
  font-size: 0.78rem;
}

.pricing-card-small .check-list li {
  padding: 7px 0 7px 22px;
}

.pricing-card-small .check-list li::before {
  width: 7px;
  height: 7px;
  top: 14px;
  background: transparent;
  border: 1px solid var(--red);
}

.pricing-card-small.featured {
  border-color: rgba(255, 45, 79, 0.72);
  box-shadow: 0 20px 58px rgba(255, 45, 79, 0.14);
}

.corner-ribbon {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 74px;
  height: 54px;
  display: grid;
  place-items: center;
  transform: rotate(45deg) translate(17px, -23px);
  background: var(--red);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 900;
  text-transform: uppercase;
}

.enterprise-family {
  display: flex;
  flex-direction: column;
}

.enterprise-card {
  min-height: 100%;
  padding: 28px 42px;
  border: 0;
  background: transparent;
}

.enterprise-icon {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin: 24px auto;
  border: 1px solid rgba(255, 45, 79, 0.55);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 79, 0.2), rgba(255, 255, 255, 0.02));
  color: var(--red);
  box-shadow: 0 0 42px rgba(255, 45, 79, 0.2);
}

.enterprise-icon svg {
  width: 48px;
  height: 48px;
}

.pricing-benefit-strip {
  max-width: 1260px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 30px auto 0;
  padding: 18px 20px;
}

.pricing-benefit-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.pricing-benefit-strip article:last-child {
  border-right: 0;
}

.pricing-benefit-strip svg {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  color: #ff6278;
}

.pricing-benefit-strip strong {
  display: block;
  font-size: 0.98rem;
}

.pricing-benefit-strip span {
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 1240px) {
  .pricing-suite-grid {
    grid-template-columns: 1fr;
  }

  .pricing-mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .enterprise-card {
    padding: 28px;
  }
}

@media (max-width: 980px) {
  .pricing-category-grid,
  .pricing-mini-grid,
  .pricing-benefit-strip {
    grid-template-columns: 1fr;
  }

  .pricing-benefit-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
  }

  .pricing-benefit-strip article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .pricing-block-title {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pricing-block-title > span {
    display: none;
  }

  .pricing-category-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pricing-category-icon {
    margin: 0 auto;
  }

  .pricing-toggle {
    grid-template-columns: 1fr;
  }

  .pricing-family {
    padding-inline: 10px;
  }

  .pricing-card-small .price {
    text-align: center;
  }
}

.check-list {
  padding: 0;
  margin: 18px 0 24px;
  list-style: none;
}

.check-list li {
  padding: 9px 0 9px 28px;
  position: relative;
}

.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 17px;
  background: var(--red);
  box-shadow: 0 0 16px rgba(255, 45, 79, 0.8);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 22px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #e5e7eb;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  padding: 12px 14px;
}

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

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item h2 {
  font-size: 1.08rem;
}

.seo-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.seo-links a {
  color: var(--cyan);
  font-weight: 800;
}

@media (max-width: 900px) {
  .public-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .public-hero {
    padding-top: 62px;
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 45, 79, 0.2), transparent 30%),
    radial-gradient(circle at 72% 12%, rgba(39, 228, 255, 0.12), transparent 28%),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(16px);
}

.modal-backdrop.show {
  display: grid;
}

/* CINELYX_NO_POPUP_KILL_SWITCH: homepage must never auto-open dashboard login. */
body.landing-body #dashboardLoginModal,
body.landing-body .modal-backdrop:has(.oauth-modal) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.auth-modal {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.58);
}

.auth-copy {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(255, 45, 79, 0.26), rgba(39, 228, 255, 0.08)),
    url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=900&q=80") center/cover;
  position: relative;
}

.auth-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.72), rgba(7, 8, 13, 0.46));
}

.auth-copy > * {
  position: relative;
  z-index: 1;
}

.auth-copy .brand-mark {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
}

.auth-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
}

.auth-copy p {
  max-width: 320px;
  color: #d8dde9;
  font-weight: 700;
}

.auth-modal .auth-form,
.auth-modal .form-note {
  margin-left: 30px;
  margin-right: 30px;
}

.auth-modal .auth-form {
  margin-top: 34px;
}

.auth-form,
.settings-grid {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: #d8dde9;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  outline: 0;
}

textarea {
  padding: 12px;
  min-height: 170px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(39, 228, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(39, 228, 255, 0.08);
}

.auth-row,
.checkbox-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkbox-line {
  justify-content: flex-start;
  display: flex;
}

.checkbox-line input {
  width: 18px;
  min-height: 18px;
}

.link-button {
  background: transparent;
  color: var(--cyan);
  padding: 0;
  font-weight: 800;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  gap: 10px;
}

.toast {
  width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--panel-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: toastIn 0.25s ease both;
}

@keyframes toastIn {
  from { transform: translateY(12px); opacity: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.dashboard-body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
  max-width: 100vw;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 45, 79, 0.16), transparent 34%),
    radial-gradient(circle at 18% 85%, rgba(39, 228, 255, 0.10), transparent 32%),
    #06070d;
}

.sidebar {
  min-height: 100vh;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: rgba(5, 6, 12, 0.86);
  position: sticky;
  top: 0;
}

.dashboard-brand {
  margin-bottom: 24px;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-nav button {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #dce3ef;
  text-align: left;
}

.side-nav button.active {
  background: linear-gradient(135deg, rgba(255, 45, 79, 0.26), rgba(39, 228, 255, 0.08));
  border: 1px solid rgba(255, 45, 79, 0.3);
}

.sidebar-alert {
  margin-top: 22px;
  padding: 16px;
  display: grid;
  gap: 8px;
}

.sidebar-alert span {
  color: var(--muted);
  line-height: 1.5;
}

.dashboard-main {
  min-width: 0;
  padding: 24px;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.dashboard-topbar h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.3rem);
}

.topbar-kicker {
  margin: 0 0 4px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 7px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.profile-pill img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: var(--radius);
}

.mobile-menu {
  display: none;
}

.dashboard-section {
  display: none;
}

.dashboard-section.active {
  display: grid;
  gap: 18px;
}

.kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpi-card {
  position: relative;
  overflow: hidden;
}

.kpi-card::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -20px;
  top: -20px;
  border-radius: 50%;
  background: rgba(39, 228, 255, 0.12);
}

.kpi-card.danger::after {
  background: rgba(255, 45, 79, 0.16);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 18px;
}

.hidden {
  display: none !important;
}

.payment-plan-grid {
  align-items: stretch;
}

.billing-hero-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.billing-plan-card {
  position: relative;
  min-height: 540px;
  padding: 54px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(255, 45, 79, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(25, 25, 35, 0.92), rgba(8, 9, 15, 0.94));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.billing-plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(39, 228, 255, 0.08), transparent 32%);
  opacity: 0.9;
}

.billing-plan-card.yearly-plan {
  border-color: rgba(255, 18, 61, 0.92);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 45, 79, 0.22), transparent 34%),
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(145deg, rgba(48, 7, 20, 0.94), rgba(8, 7, 13, 0.97));
  box-shadow:
    0 34px 100px rgba(255, 18, 61, 0.2),
    0 24px 90px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.billing-pill {
  width: fit-content;
  margin-bottom: 34px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.billing-pill-red {
  border-color: rgba(255, 45, 79, 0.52);
  background: linear-gradient(135deg, rgba(255, 45, 79, 0.6), rgba(121, 0, 24, 0.88));
  color: #fff;
  box-shadow: 0 14px 38px rgba(255, 45, 79, 0.18);
}

.billing-plan-card h2 {
  max-width: 610px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 1.14;
  letter-spacing: 0;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.billing-plan-card p {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(238, 241, 248, 0.72);
  font-size: 1.25rem;
  line-height: 1.65;
}

.billing-divider {
  height: 1px;
  margin: 44px 0 34px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent);
}

.billing-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 34px;
  color: #fff;
  font-size: clamp(3.3rem, 6.5vw, 5.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 18px 34px rgba(0, 0, 0, 0.55);
}

.billing-price span {
  color: rgba(226, 231, 241, 0.72);
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
  font-weight: 700;
}

.billing-pay-button {
  width: 100%;
  min-height: 78px;
  margin-top: auto;
  padding: 0 32px;
  border: 1px solid rgba(255, 70, 100, 0.74);
  border-radius: 8px;
  background: linear-gradient(180deg, #f0183a, #970015);
  color: #fff;
  box-shadow:
    0 20px 48px rgba(255, 18, 61, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1.3rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.billing-pay-button svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.billing-pay-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow:
    0 26px 56px rgba(255, 18, 61, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.billing-pay-button:hover svg {
  transform: translateX(4px);
}

.billing-ribbon {
  position: absolute;
  top: 0;
  right: 62px;
  width: 92px;
  min-height: 128px;
  padding: 18px 8px 30px;
  background: linear-gradient(180deg, #f02444, #940014);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  box-shadow: 0 16px 42px rgba(255, 18, 61, 0.28);
}

.billing-ribbon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 46px solid transparent;
  border-right: 46px solid transparent;
  border-bottom: 16px solid rgba(33, 3, 12, 0.96);
}

.billing-ribbon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.payment-checkout {
  margin-top: 18px;
}

.payment-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.payment-toggle .active {
  background: linear-gradient(135deg, var(--red), #8a001d);
  border-color: rgba(255, 45, 79, 0.55);
  color: #fff;
}

.dashboard-locked .sidebar,
.dashboard-locked .dashboard-main {
  display: none;
}

.dashboard-auth-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  width: 100vw;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 45, 79, 0.16), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(39, 228, 255, 0.12), transparent 32%),
    #07080d;
}

.auth-card {
  width: min(560px, 100%);
  padding: 26px;
  border-radius: 8px;
}

.auth-brand {
  margin-bottom: 22px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 18px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.auth-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #dce3ef;
  font-weight: 900;
  cursor: pointer;
}

.auth-tabs button.active {
  background: linear-gradient(135deg, var(--red), #8a001d);
  color: #fff;
}

.auth-form {
  display: grid;
  gap: 14px;
  padding-bottom: 30px;
}

.auth-entry-options {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.auth-entry-button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.auth-entry-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 45, 79, 0.72);
  background: rgba(255, 45, 79, 0.11);
}

.auth-entry-button svg {
  width: 22px;
  height: 22px;
  color: var(--red);
  flex: 0 0 auto;
}

.auth-entry-button span {
  display: grid;
  gap: 4px;
}

.auth-entry-button small {
  color: var(--muted);
}

.auth-form h2 {
  margin: 0;
}

.auth-modal .auth-form label {
  gap: 7px;
  font-size: 0.9rem;
}

.auth-modal .auth-form input,
.auth-modal .auth-form select {
  min-height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.075);
}

.auth-modal .full-width {
  min-height: 48px;
  margin-top: 4px;
}

.auth-switch-text {
  border: 0;
  background: transparent;
  color: var(--red);
  font-weight: 900;
  cursor: pointer;
  padding: 2px 0 0;
  text-align: center;
}

.auth-switch-text:hover {
  color: #ff6f88;
}

.auth-status {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(255, 45, 79, 0.24);
  border-radius: 10px;
  background: rgba(255, 45, 79, 0.08);
  color: #ffd5dd;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.45;
}

.auth-status.is-error {
  border-color: rgba(255, 45, 79, 0.72);
  background: rgba(190, 0, 32, 0.22);
  color: #ff4d67;
  font-weight: 900;
}

.oauth-modal {
  width: min(540px, calc(100vw - 28px));
  position: relative;
  padding: 44px 38px 34px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 45, 79, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(18, 18, 26, 0.98), rgba(8, 8, 13, 0.98));
  color: #f8fafc;
  text-align: center;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.68);
}

.oauth-modal-logo {
  width: 190px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 28px;
}

.oauth-modal h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: 0;
}

.oauth-modal p,
.oauth-modal strong {
  color: #a7adb8;
}

.oauth-modal-stack,
.main-email-login {
  display: grid;
  gap: 16px;
}

.oauth-modal-stack {
  margin-top: 30px;
}

.google-signin-wrap {
  min-height: 60px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  padding: 2px;
}

.oauth-modal-btn {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: #f5f7fb;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  padding-inline: 22px;
}

.oauth-modal-btn:hover {
  border-color: rgba(255, 45, 79, 0.52);
  background: rgba(255, 45, 79, 0.1);
  transform: translateY(-1px);
}

.oauth-google {
  color: #4285f4;
  font-size: 25px;
  font-weight: 900;
}

.oauth-facebook {
  color: #1877f2;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.main-email-login {
  display: none;
}

.main-email-login.show {
  display: grid;
}

.main-email-login input {
  min-height: 46px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #27272f;
  border-radius: 10px;
  padding: 0 12px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.card-head h2,
.report-card h2,
.billing-card h2,
.profile-card h2,
.ai-scan-card h2 {
  margin: 0;
}

.card-head span,
.status-pill {
  color: var(--muted);
  font-size: 0.86rem;
}

.status-pill {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid rgba(66, 245, 158, 0.3);
  color: var(--green);
  border-radius: var(--radius);
}

.live-feed {
  display: grid;
  gap: 10px;
}

.feed-item,
.watch-card,
.domain-card,
.legal-platform-card,
.movie-card,
.analysis-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.feed-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  color: #dce3ef;
}

.search-workbench {
  display: grid;
  gap: 12px;
}

.discovery-status {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(39, 228, 255, 0.055);
  color: #cbd5e1;
  line-height: 1.55;
}

.source-badge {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: var(--radius);
  border: 1px solid rgba(39, 228, 255, 0.24);
  color: var(--cyan);
  background: rgba(39, 228, 255, 0.07);
  font-size: 0.78rem;
  font-weight: 900;
}

.search-results {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.dashboard-main,
.dashboard-section,
.dashboard-section > *,
.search-results > *,
.result-columns > *,
.dash-card {
  min-width: 0;
  max-width: 100%;
}

.movie-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding: 16px;
}

.movie-card img {
  width: 170px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #dce3ef;
  font-size: 0.86rem;
  font-weight: 800;
}

.result-columns {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 18px;
  min-width: 0;
}

.platform-list,
.domain-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.legal-platform-card,
.domain-card {
  padding: 14px;
}

.legal-platform-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.domain-card {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.domain-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.risk-score {
  color: var(--red);
  font-weight: 900;
}

.domain-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.screenshot-preview {
  min-height: 90px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 45, 79, 0.14), rgba(39, 228, 255, 0.08)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.04) 1px, transparent 1px, transparent 10px);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: #dce3ef;
  font-weight: 800;
}

.screenshot-preview.has-image {
  min-height: 132px;
  display: block;
  overflow: hidden;
  padding: 0;
  border-style: solid;
}

.screenshot-preview.has-image img {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.screenshot-preview.has-image figcaption {
  margin: 0;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.42);
  color: #eef3fb;
  font-size: 0.8rem;
  line-height: 1.3;
}

.evidence-link {
  display: inline-block;
  max-width: 100%;
  margin: 10px 0;
  color: #27e4ff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(39, 228, 255, 0.45);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.evidence-link:hover {
  color: #ffffff;
  text-decoration-color: var(--red);
}

.evidence-link.compact {
  margin: 0;
}

.evidence-link code {
  color: inherit;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.action-row .btn {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.86rem;
}

.mini-btn {
  min-height: 30px;
  padding: 0 10px;
  margin-top: 8px;
  font-size: 0.78rem;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.large-table-wrap {
  max-height: 560px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.search-watchlist-wrap {
  max-height: none;
  overflow-x: hidden;
  border: 1px solid var(--line);
}

.search-watchlist-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.search-watchlist-table td {
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.search-watchlist-table code {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
}

.search-watchlist-table th:nth-child(1) { width: 5%; }
.search-watchlist-table th:nth-child(2) { width: 15%; }
.search-watchlist-table th:nth-child(3) { width: 32%; }
.search-watchlist-table th:nth-child(4) { width: 12%; }
.search-watchlist-table th:nth-child(5) { width: 8%; }
.search-watchlist-table th:nth-child(6) { width: 12%; }
.search-watchlist-table th:nth-child(12) { width: 6%; }
.search-watchlist-table th:nth-child(14) { width: 10%; }

.search-watchlist-table th:nth-child(7),
.search-watchlist-table td:nth-child(7),
.search-watchlist-table th:nth-child(8),
.search-watchlist-table td:nth-child(8),
.search-watchlist-table th:nth-child(9),
.search-watchlist-table td:nth-child(9),
.search-watchlist-table th:nth-child(10),
.search-watchlist-table td:nth-child(10),
.search-watchlist-table th:nth-child(11),
.search-watchlist-table td:nth-child(11),
.search-watchlist-table th:nth-child(13),
.search-watchlist-table td:nth-child(13) {
  display: none;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.data-table th,
.data-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.data-table th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.compact-actions .btn {
  min-height: 32px;
  padding: 0 10px;
  font-size: 0.8rem;
}

.danger-action {
  border-color: rgba(255, 45, 79, 0.44) !important;
  color: #ff9aad !important;
}

.danger-action:hover {
  background: rgba(255, 45, 79, 0.16) !important;
  color: #fff !important;
}

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

.project-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.project-card img,
.library-title-cell img {
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.project-card img {
  width: 96px;
  aspect-ratio: 2 / 3;
}

.project-card h3 {
  margin: 4px 0 0;
}

.project-card p,
.empty-library,
.scan-history-item p,
.library-title-cell span {
  color: var(--muted);
  line-height: 1.55;
}

.compact-project {
  grid-template-columns: 64px 1fr auto;
  align-items: center;
}

.compact-project img {
  width: 64px;
}

.empty-library {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.library-title-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.library-title-cell img {
  width: 46px;
  height: 64px;
}

.library-title-cell strong,
.library-title-cell span {
  display: block;
}

.project-detail-hero {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  align-items: start;
}

.project-detail-hero img {
  width: 190px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.project-detail-hero h2 {
  margin: 6px 0 8px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.project-detail-hero p {
  color: var(--muted);
  line-height: 1.7;
}

.monitoring-control-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: start;
}

.monitoring-control-card p,
.monitoring-meta {
  color: var(--muted);
  line-height: 1.65;
}

.monitoring-form {
  display: grid;
  gap: 14px;
}

.monitor-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(66, 245, 158, 0.24);
  background: rgba(66, 245, 158, 0.07);
}

.monitor-toggle input {
  width: 20px;
  min-height: 20px;
}

.monitoring-meta {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.scan-history-list {
  display: grid;
  gap: 10px;
}

.scan-history-item {
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.scan-history-item span {
  display: block;
  color: var(--cyan);
  margin-top: 4px;
  font-size: 0.85rem;
}

.watch-card {
  padding: 16px;
}

.watch-card strong {
  display: block;
  margin-bottom: 8px;
}

.watch-card p {
  color: var(--muted);
  line-height: 1.6;
}

.ai-scan-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
}

.upload-zone {
  min-height: 240px;
  margin-top: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed rgba(39, 228, 255, 0.38);
  border-radius: var(--radius);
  background: rgba(39, 228, 255, 0.055);
}

.upload-zone svg {
  width: 44px;
  height: 44px;
  color: var(--cyan);
}

.image-url-form {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

.scan-result {
  min-height: 340px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  padding: 16px;
}

.empty-state {
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}

.scan-preview {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #000;
  border: 1px solid var(--line);
}

.analysis-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.analysis-row {
  padding: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.report-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.billing-card,
.profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.billing-card strong {
  font-size: 3.4rem;
}

.billing-card span {
  color: var(--muted);
  font-size: 1rem;
}

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

.profile-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.profile-upload-control {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 10px 10px 0 0;
  padding: 0 16px;
  border: 1px solid rgba(255, 45, 79, 0.36);
  border-radius: 8px;
  background: rgba(255, 45, 79, 0.1);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.profile-upload-control:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 45, 79, 0.75);
  background: rgba(255, 45, 79, 0.18);
}

.profile-upload-control input {
  display: none;
}

.dmca-dialog {
  width: min(880px, calc(100vw - 24px));
  border: 1px solid var(--line);
  background: var(--panel-strong);
  color: var(--text);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
}

.dmca-dialog::backdrop {
  background: rgba(0, 0, 0, 0.74);
}

.dmca-content {
  position: relative;
  padding: 22px;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.whois-body {
  min-height: 180px;
}

.whois-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.whois-grid div {
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.whois-grid span,
.whois-note {
  display: block;
  color: var(--muted);
}

.whois-grid strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.whois-note {
  margin-top: 14px;
  line-height: 1.6;
}

.verification-toolbar {
  display: flex;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.verification-toolbar label {
  display: grid;
  gap: 8px;
  min-width: 210px;
  color: var(--muted);
  font-weight: 800;
}

.verification-toolbar select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0 12px;
}

.verification-summary {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
}

.verification-summary strong {
  color: var(--text);
}

.verify-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.verify-badge.live {
  color: var(--green);
  border-color: rgba(66, 245, 158, 0.35);
  background: rgba(66, 245, 158, 0.08);
}

.verify-badge.inactive {
  color: var(--red);
  border-color: rgba(255, 45, 79, 0.35);
  background: rgba(255, 45, 79, 0.08);
}

.verify-badge.timeout {
  color: var(--amber);
  border-color: rgba(255, 209, 102, 0.35);
  background: rgba(255, 209, 102, 0.08);
}

.telegram-search-form {
  max-width: 100%;
}

.telegram-source-list {
  display: grid;
  gap: 10px;
}

.telegram-source-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.telegram-source-item strong,
.telegram-source-item span {
  display: block;
}

.telegram-source-item span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
  .feature-grid,
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .stats-grid,
  .dashboard-grid,
  .billing-hero-layout,
  .result-columns,
  .ai-scan-card,
  .split-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    gap: 12px;
  }

  .site-header .brand {
    margin-right: 0;
  }

  .mobile-nav-toggle {
    display: inline-grid;
    margin-left: auto;
  }

  .site-header > .btn {
    margin-left: 0;
  }

  .top-nav {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px;
    white-space: normal;
    background: rgba(8, 9, 15, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .site-header.nav-open .top-nav {
    display: grid;
  }

  .top-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.055);
  }

  .top-nav a:hover {
    background: rgba(255, 45, 79, 0.16);
  }

  .top-nav .dashboard-nav-link {
    width: 100%;
    min-height: 44px;
    border-radius: 8px;
    background: rgba(255, 45, 79, 0.12);
  }

  .top-nav .dashboard-nav-link.primary {
    background: rgba(255, 45, 79, 0.12);
  }

  .top-nav .dashboard-nav-link.primary:hover {
    background: linear-gradient(135deg, var(--red), #9b001f);
  }
}

@media (max-width: 820px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid .pricing-card {
    min-height: auto;
    padding: 24px;
  }

  .pricing-grid .pricing-card p {
    min-height: 0;
  }

  .pricing-disclaimer {
    text-align: left;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
    overflow-x: hidden;
  }

  .sidebar {
    position: fixed;
    z-index: 50;
    inset: 0 auto 0 0;
    width: min(320px, 86vw);
    transform: translateX(-104%);
    transition: transform 0.24s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .mobile-menu {
    display: inline-grid;
  }

  .dashboard-main {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    padding: 16px;
  }

  .dashboard-section,
  .dashboard-section.active,
  .search-workbench,
  .search-results,
  .search-results > *,
  .result-columns,
  .platform-list,
  .domain-list,
  .domain-card,
  .table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .domain-head {
    flex-wrap: wrap;
  }

  .domain-card,
  .domain-card code,
  .domain-card p,
  .data-table th,
  .data-table td {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .search-watchlist-table th,
  .search-watchlist-table td {
    padding: 10px 8px;
    font-size: 0.78rem;
  }

  .search-watchlist-table th:nth-child(1),
  .search-watchlist-table td:nth-child(1),
  .search-watchlist-table th:nth-child(6),
  .search-watchlist-table td:nth-child(6),
  .search-watchlist-table th:nth-child(7),
  .search-watchlist-table td:nth-child(7),
  .search-watchlist-table th:nth-child(8),
  .search-watchlist-table td:nth-child(8),
  .search-watchlist-table th:nth-child(9),
  .search-watchlist-table td:nth-child(9),
  .search-watchlist-table th:nth-child(10),
  .search-watchlist-table td:nth-child(10),
  .search-watchlist-table th:nth-child(11),
  .search-watchlist-table td:nth-child(11),
  .search-watchlist-table th:nth-child(13),
  .search-watchlist-table td:nth-child(13) {
    display: none;
  }

  .search-watchlist-table th:nth-child(2) { width: 20%; }
  .search-watchlist-table th:nth-child(3) { width: 36%; }
  .search-watchlist-table th:nth-child(4) { width: 14%; }
  .search-watchlist-table th:nth-child(5) { width: 10%; }
  .search-watchlist-table th:nth-child(12) { width: 8%; }
  .search-watchlist-table th:nth-child(14) { width: 12%; }

  .hero-search,
  .dashboard-search,
  .verification-toolbar,
  .site-footer,
  .auth-row,
  .billing-card,
  .profile-card {
    align-items: stretch;
    flex-direction: column;
  }

  .billing-plan-card {
    min-height: auto;
    padding: 34px 24px 28px;
    border-radius: 14px;
  }

  .billing-pill {
    margin-bottom: 28px;
    padding: 10px 18px;
    font-size: 0.78rem;
  }

  .billing-plan-card h2 {
    max-width: calc(100% - 74px);
    font-size: clamp(2.15rem, 8vw, 3rem);
  }

  .billing-plan-card p {
    font-size: 1.02rem;
    line-height: 1.58;
  }

  .billing-divider {
    margin: 32px 0 26px;
  }

  .billing-price {
    font-size: clamp(2.9rem, 12vw, 4.2rem);
  }

  .billing-pay-button {
    min-height: 64px;
    padding: 0 22px;
    font-size: 1.05rem;
  }

  .billing-ribbon {
    right: 22px;
    width: 68px;
    min-height: 98px;
    padding: 14px 6px 24px;
    font-size: 0.68rem;
  }

  .billing-ribbon::after {
    border-left-width: 34px;
    border-right-width: 34px;
    border-bottom-width: 12px;
  }

  .landing-result-card {
    grid-template-columns: 90px 1fr;
  }

  .landing-result-card img {
    width: 90px;
  }

  .auth-modal,
  .movie-card,
  .legal-grid,
  .metrics-preview,
  .report-grid,
  .watchlist-grid,
  .project-card-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .movie-card img {
    width: 100%;
    max-height: 360px;
  }

  .domain-details {
    grid-template-columns: 1fr;
  }

  .project-detail-hero,
  .monitoring-control-card,
  .project-card,
  .compact-project,
  .whois-grid,
  .telegram-source-item {
    grid-template-columns: 1fr;
  }

  .telegram-source-item {
    align-items: stretch;
    flex-direction: column;
  }

  .project-detail-hero img,
  .project-card img {
    width: 100%;
    max-height: 360px;
  }

  .image-url-form {
    grid-template-columns: 1fr;
  }

  .auth-copy {
    min-height: 170px;
    padding: 26px;
  }

  .modal-backdrop {
    align-items: start;
    overflow-y: auto;
    padding: 14px;
  }

  .auth-modal {
    margin-top: 10px;
    max-height: calc(100vh - 28px);
    overflow-y: auto;
  }

  .modal-close {
    position: sticky;
    top: 10px;
    float: right;
    right: 10px;
    margin: 10px 10px -54px auto;
    background: rgba(255, 45, 79, 0.92);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  }

  .auth-modal .auth-form,
  .auth-modal .form-note {
    margin-left: 18px;
    margin-right: 18px;
  }

  .auth-modal .auth-form {
    margin-top: 22px;
  }

  .topbar-actions .profile-pill span {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 68px;
    padding: 0 12px;
  }

  .site-header .btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .site-header > .btn svg {
    display: none;
  }

  .top-nav {
    top: 68px;
    left: 10px;
    right: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 118px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  .hero-section {
    padding-top: 110px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .auth-copy h2 {
    font-size: 1.75rem;
  }

  .stats-grid,
  .feature-grid,
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .poster-track img {
    width: 140px;
  }
}

/* Three-plan public pricing */
.pricing-hero-simple {
  min-height: auto;
  padding: 138px 24px 56px;
  text-align: center;
}

.pricing-hero-simple .pricing-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.pricing-hero-simple h1 {
  margin: 10px 0 14px;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.05;
}

.pricing-hero-simple .pricing-hero-inner > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.pricing-eyebrow {
  margin: 0;
  color: #ff3858;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pricing-three-section {
  padding-top: 20px;
}

.pricing-three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.pricing-main-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 620px;
  flex-direction: column;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 18, 53, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(22, 22, 29, 0.94), rgba(9, 9, 14, 0.9));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pricing-main-card:hover {
  border-color: rgba(255, 45, 79, 0.55);
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.4), 0 0 32px rgba(239, 18, 53, 0.12);
  transform: translateY(-4px);
}

.pricing-main-card.featured {
  border-color: rgba(255, 27, 63, 0.82);
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.42), 0 0 38px rgba(239, 18, 53, 0.16);
}

.pricing-popular-ribbon {
  position: absolute;
  top: 20px;
  right: -42px;
  width: 168px;
  padding: 8px 12px;
  color: #fff;
  background: linear-gradient(135deg, #ff294a, #a9001c);
  font-size: 0.7rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(38deg);
  box-shadow: 0 10px 26px rgba(239, 18, 53, 0.34);
}

.pricing-card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid rgba(255, 45, 79, 0.42);
  border-radius: 8px;
  color: #ff294a;
  background: rgba(239, 18, 53, 0.1);
}

.pricing-card-icon svg {
  width: 25px;
  height: 25px;
}

.pricing-main-card h2 {
  min-height: 58px;
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.18;
}

.pricing-main-price {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.45rem, 4vw, 3.65rem);
  font-weight: 900;
  line-height: 1;
}

.pricing-main-price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-main-price.free {
  color: #ff294a;
  font-size: clamp(2.1rem, 3.5vw, 3rem);
}

.pricing-main-card > p {
  min-height: 78px;
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.65;
}

.pricing-main-card .check-list {
  margin: 0 0 30px;
}

.pricing-main-card .check-list li {
  overflow-wrap: anywhere;
}

.pricing-cta {
  min-height: 54px;
  margin-top: auto;
  background: linear-gradient(135deg, #ff2548, #b70020);
  box-shadow: 0 16px 32px rgba(239, 18, 53, 0.22);
}

.pricing-cta:hover {
  box-shadow: 0 18px 38px rgba(239, 18, 53, 0.42);
}

.pricing-security-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.pricing-security-strip span {
  display: flex;
  min-width: 0;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  color: #d9d9e2;
  background: rgba(10, 10, 15, 0.9);
  font-weight: 700;
  text-align: center;
}

.pricing-security-strip svg {
  width: 19px;
  min-width: 19px;
  color: #ff294a;
}

.pricing-three-section .pricing-disclaimer {
  max-width: 960px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  text-align: center;
}

.pricing-modal-backdrop {
  z-index: 1400;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pricing-modal-backdrop.show {
  display: flex;
}

.pricing-modal {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  padding: 34px;
  overflow-y: auto;
  border: 1px solid rgba(255, 45, 79, 0.38);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 18, 53, 0.16), transparent 38%),
    #101017;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.68);
}

.pricing-modal h2 {
  margin: 8px 48px 8px 0;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
}

.pricing-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.pricing-modal-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.pricing-modal-form label {
  display: grid;
  gap: 8px;
  color: #f5f5f8;
  font-size: 0.88rem;
  font-weight: 750;
}

.pricing-modal-form input,
.pricing-modal-form select,
.pricing-modal-form textarea {
  width: 100%;
  min-width: 0;
}

.pricing-modal-form textarea {
  min-height: 116px;
  resize: vertical;
}

.pricing-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pricing-form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.pricing-form-status.success {
  color: #43e6a0;
}

.pricing-form-status.error {
  color: #ff6b82;
}

.pricing-payment-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.pricing-test-badge {
  flex: none;
  padding: 8px 10px;
  border: 1px solid rgba(255, 190, 61, 0.38);
  border-radius: 6px;
  color: #ffd16b;
  background: rgba(255, 178, 30, 0.1);
  font-size: 0.72rem;
  font-weight: 800;
}

.pricing-order-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.pricing-order-summary strong {
  color: #ff294a;
  font-size: 1.55rem;
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .pricing-three-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-main-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .pricing-hero-simple {
    padding: 112px 18px 38px;
  }

  .pricing-three-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .pricing-three-grid,
  .pricing-security-strip,
  .pricing-form-grid {
    grid-template-columns: 1fr;
  }

  .pricing-main-card,
  .pricing-main-card:last-child {
    min-height: 0;
    grid-column: auto;
    padding: 28px 22px;
  }

  .pricing-main-card h2,
  .pricing-main-card > p {
    min-height: 0;
  }

  .pricing-security-strip {
    gap: 1px;
  }

  .pricing-security-strip span {
    justify-content: flex-start;
    text-align: left;
  }

  .pricing-modal-backdrop {
    align-items: flex-start;
    padding: 12px;
    overflow-y: auto;
  }

  .pricing-modal {
    max-height: none;
    margin: 8px 0;
    padding: 26px 18px;
  }

  .pricing-payment-heading {
    display: block;
  }

  .pricing-test-badge {
    display: inline-block;
    margin-top: 10px;
  }

  .pricing-order-summary {
    align-items: flex-start;
    flex-direction: column;
  }
}
