:root {
  --black: #050505;
  --panel: #18181b;
  --panel-dark: #09090b;
  --line: #27272a;
  --text: #ffffff;
  --muted: #a1a1aa;
  --dim: #71717a;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-soft: rgba(249, 115, 22, 0.12);
  --yellow: #eab308;
  --green: #4ade80;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  --logo-height: 52px;
  --logo-height-mobile: 44px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.86);
}

.header-inner,
.hero-inner,
.section,
.site-footer,
.page-grid,
.dashboard {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 900;
  white-space: nowrap;
}

.brand-logo {
  height: var(--logo-height);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(249, 115, 22, 0.22));
}

.brand-text {
  display: inline-block;
}

.brand span,
.eyebrow,
.market-card > p,
.review-card > p {
  color: var(--orange);
}

.brand > .brand-text {
  color: var(--text);
}

.site-nav {
  position: absolute;
  top: 72px;
  left: 16px;
  right: 16px;
  display: none;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  background: var(--panel-dark);
  box-shadow: var(--shadow);
}

.site-header.is-open .site-nav {
  display: flex;
}

.site-nav a {
  padding: 14px;
  color: #d4d4d8;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
}

.button-orange {
  background: var(--orange);
  color: #111111;
}

.button-orange:hover {
  background: var(--orange-dark);
}

.button-ghost,
.button-dark,
.button-outline {
  border-color: #3f3f46;
  background: rgba(39, 39, 42, 0.55);
  color: var(--text);
}

.button-white {
  background: #ffffff;
  color: #111111;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #18181b;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.18), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(234, 179, 8, 0.13), transparent 30%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
  padding: 64px 0;
}

.pill {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 999px;
  padding: 0 16px;
  background: var(--orange-soft);
  color: #fed7aa;
  font-size: 0.88rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 24px 0 0;
  font-size: clamp(3rem, 13vw, 6.5rem);
  line-height: 0.96;
  font-weight: 900;
}

.page-title {
  max-width: 820px;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 1.02;
  overflow-wrap: normal;
}

.utility-title {
  max-width: 760px;
}

.nowrap {
  white-space: nowrap;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 8vw, 4.2rem);
  line-height: 1.05;
  font-weight: 900;
}

.hero-copy > p,
.lead,
.page-copy,
.card-text,
.site-footer p,
.review-card span,
.review-card > div {
  color: var(--muted);
  line-height: 1.65;
}

.page-copy {
  max-width: 760px;
  margin-top: 20px;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.hero-copy > p {
  max-width: 650px;
  margin: 28px 0 0;
  font-size: 1.06rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions .button,
.cta-actions .button {
  min-height: 56px;
  border-radius: 18px;
  font-size: 1rem;
}

.metrics {
  display: grid;
  gap: 20px;
  margin-top: 42px;
}

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

.metrics span {
  display: block;
  margin-top: 6px;
  color: var(--dim);
  font-size: 0.9rem;
}

.feature-card,
.market-card,
.form-card,
.review-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(24, 24, 27, 0.96);
  box-shadow: var(--shadow);
}

.feature-card,
.market-card,
.form-card,
.review-card,
.empty-state {
  padding: 24px;
}

.feature-card .big {
  color: rgba(249, 115, 22, 0.3);
  font-size: 3rem;
  font-weight: 900;
}

.progress-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #27272a;
}

.progress-fill {
  width: 72%;
  height: 100%;
  background: var(--orange);
}

.section {
  padding: 72px 0;
  border-top: 1px solid #18181b;
}

.section-heading {
  max-width: 760px;
}

.centered {
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.grid-3,
.grid-2,
.review-list {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}

.admin-stat-grid {
  display: grid;
  gap: 16px;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: rgba(24, 24, 27, 0.96);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 2rem;
}

.market-card ul,
.feature-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.market-card li,
.feature-card li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.market-card li::before,
.feature-card li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.grid-2 .feature-card {
  display: flex;
  flex-direction: column;
}

.card-action {
  margin-top: auto;
  padding-top: 22px;
}

.card-action .button {
  width: 100%;
}

.cta-card {
  border-radius: 32px;
  padding: 34px 24px;
  color: #111111;
  text-align: center;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
}

.cta-card p {
  max-width: 680px;
  margin: 22px auto 0;
  color: rgba(0, 0, 0, 0.72);
}

.privacy-card h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.12;
  margin-top: 30px;
  margin-bottom: 10px;
}

.privacy-card h2:first-child {
  margin-top: 0;
}

.page-grid,
.dashboard {
  display: grid;
  gap: 40px;
  padding: 56px 0;
}

.page-grid > div:first-child {
  min-width: 0;
}

.privacy-card .card-text,
.form-card .flash,
.form-card input,
.form-card select,
.form-card textarea {
  font-size: 1rem;
}

.form-card {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: #e4e4e7;
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #3f3f46;
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text);
  background: var(--panel-dark);
}

textarea {
  resize: vertical;
}

.checkbox-row {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: auto;
}

.flash {
  border: 1px solid rgba(249, 115, 22, 0.32);
  border-radius: 14px;
  padding: 14px;
  color: #fed7aa;
  background: var(--orange-soft);
}

.form-helper {
  margin: 0;
  color: var(--muted);
}

.country-other-field:not(.is-visible),
.industry-other-field:not(.is-visible) {
  display: none !important;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.review-card.is-spam {
  border-color: rgba(239, 68, 68, 0.35);
}

.spam-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.18);
}

.form-helper a,
.market-card a,
.mini-section a {
  color: #fed7aa;
  font-weight: 800;
}

.private-summary {
  margin-top: 18px;
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 18px;
  padding: 18px;
  color: #fed7aa;
  background: var(--orange-soft);
}

.status-panel,
.mini-section,
.inline-form {
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  background: rgba(9, 9, 11, 0.74);
}

.status-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.status-row span,
.owner-note,
.mini-section li,
.mini-section p {
  color: var(--muted);
  line-height: 1.55;
}

.owner-note {
  margin: 14px 0 0;
}

.mini-section strong {
  display: block;
  margin-bottom: 10px;
}

.mini-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

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

.review-card-collapsible {
  padding: 0;
  overflow: hidden;
}

.review-card-details > summary {
  list-style: none;
  cursor: pointer;
  padding: 24px;
}

.review-card-details > summary::-webkit-details-marker {
  display: none;
}

.review-card-summary {
  display: block;
}

.review-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.review-card-kicker {
  margin: 0 0 8px;
  color: var(--orange);
}

.review-card-heading h3 {
  margin: 0 0 8px;
}

.review-card-meta,
.review-card-status {
  color: var(--muted);
  font-size: 0.95rem;
}

.review-card-summary-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.review-card-chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: 4px;
}

.review-card-details[open] .review-card-chevron {
  transform: rotate(-135deg);
  margin-top: 10px;
}

.review-card-body {
  padding: 0 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.review-card-summary-text {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.activity-panel {
  margin-top: 18px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 18px;
  background: rgba(9, 9, 11, 0.74);
  overflow: hidden;
}

.activity-panel > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}

.activity-panel > summary::-webkit-details-marker {
  display: none;
}

.activity-panel-title {
  font-weight: 800;
  color: #fff7ed;
}

.activity-panel-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.activity-panel-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.activity-panel[open] .activity-panel-chevron {
  transform: rotate(-135deg);
}

.activity-panel-private {
  border-color: rgba(168, 85, 247, 0.28);
}

.activity-panel-private .activity-panel-title {
  color: #f3e8ff;
}

.activity-empty {
  margin: 0 0 14px;
  color: var(--muted);
}

.private-note-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.button-danger {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fecaca;
}

.button-danger:hover {
  background: rgba(239, 68, 68, 0.28);
  border-color: rgba(239, 68, 68, 0.65);
}

.delete-submission-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(239, 68, 68, 0.22);
}

.delete-submission-copy {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.activity-panel-body {
  padding: 0 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.activity-panel-body p,
.activity-panel-body li {
  color: var(--muted);
  line-height: 1.55;
}

.activity-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff7ed;
  background: linear-gradient(135deg, #f97316, #ea580c);
  white-space: nowrap;
}

.activity-timestamp {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
}

.compact-card h3 {
  font-size: 1.1rem;
}

.admin-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 8px;
}

.backed-grid .backed-card {
  height: 100%;
}

.backed-placeholder {
  border-style: dashed;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

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

.tracking-filters {
  margin-bottom: 10px;
}

.visit-details {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.visit-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  word-break: break-word;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.pagination-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid #18181b;
}

.site-footer h2 {
  font-size: 1.15rem;
  line-height: 1.2;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-logo {
  height: var(--logo-height);
  width: auto;
  object-fit: contain;
}

.copyright {
  white-space: nowrap;
}

.copyright span {
  display: inline;
}

@media (max-width: 919px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 10px;
    padding: 10px 0;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 52px);
  }

  .nav-toggle {
    flex-shrink: 0;
    margin-left: auto;
  }

  .header-actions {
    flex: 1 1 100%;
    width: 100%;
    order: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: stretch;
  }

  .header-actions .lang-switcher {
    flex: 1 1 100%;
    width: 100%;
    display: flex;
    justify-content: stretch;
    padding: 4px;
  }

  .header-actions .lang-switch {
    flex: 1 1 50%;
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.92rem;
  }

  .header-actions .lang-switch-sep {
    height: 24px;
    align-self: center;
  }

  .header-actions > .button {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.88rem;
  }
}

@media (max-width: 520px) {
  .header-inner {
    min-height: 0;
  }

  .brand-logo,
  .footer-logo {
    height: var(--logo-height-mobile);
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page-title {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .copyright {
    white-space: normal;
  }

  .copyright span {
    display: block;
  }
}

@media (min-width: 680px) {
  .hero-actions,
  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .site-footer {
    flex-direction: row;
    justify-content: space-between;
  }

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

  .status-row {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-contact {
    text-align: right;
  }
}

@media (min-width: 920px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero-photo {
    inset: 0 0 0 auto;
    width: min(58vw, 860px);
    opacity: 0.24;
    mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
  }

  .hero-inner,
  .page-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    align-items: start;
  }

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

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

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

.header-actions .lang-switcher,
.footer-lang .lang-switcher,
.lang-switcher {
  display: inline-flex;
  flex-direction: row;
  flex-shrink: 0;
  align-items: stretch;
  gap: 0;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(24, 24, 27, 0.92);
  white-space: nowrap;
  font-family: Inter, "Noto Sans Devanagari", Arial, sans-serif;
  box-sizing: border-box;
}

.footer-lang {
  margin-top: 8px;
}

.header-actions .lang-switch,
.lang-switcher .lang-switch,
.lang-switch {
  min-height: 36px;
  min-width: 4.8rem;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  color: var(--muted);
  white-space: nowrap;
  text-decoration: none;
}

.lang-switch-sep {
  width: 1px;
  height: 18px;
  background: var(--line);
  flex-shrink: 0;
}

.lang-switch.is-active {
  color: var(--text);
  background: var(--orange-soft);
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.28);
}

.lang-switch:hover {
  color: var(--text);
}

.lang-banner {
  width: min(100% - 32px, 1180px);
  margin: 12px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 16px;
  background: rgba(249, 115, 22, 0.08);
}

.lang-banner p {
  margin: 0;
  color: #fde7d2;
  font-weight: 600;
}

.lang-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

html[lang="hi"] body {
  font-family: "Noto Sans Devanagari", Inter, Arial, sans-serif;
}
