:root {
  --bg: #000000;
  --panel: #101010;
  --panel-2: #171717;
  --text: #fff8dc;
  --muted: #d8cfaa;
  --heading: #bdb76b;
  --primary: #bdb76b;
  --primary-dark: #9f994f;
  --accent: #17c964;
  --gold-accent: #ffcc33;
  --danger: #ff5b5b;
  --border: rgba(189, 183, 107, 0.28);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 26px;
}

/* Reset */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(189, 183, 107, 0.18), transparent 34%),
    radial-gradient(circle at top left, rgba(255, 204, 51, 0.08), transparent 30%),
    var(--bg);
  font-family: "Ubuntu", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

/* Layout Modes */

.dashboard-layout main {
  min-height: calc(100vh - 180px);
  padding: 64px 0;
}

.marketing-layout main {
  min-height: auto;
  padding: 0;
}

/* Shared Header */

.nav,
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary), #5f5a24);
  display: grid;
  place-items: center;
  color: #000;
  box-shadow: 0 14px 30px rgba(189, 183, 107, 0.24);
}

.logo-text {
  display: grid;
  line-height: 1.1;
}

.logo-text strong,
.logo strong {
  color: var(--heading);
  font-family: "Yatra One", cursive;
  font-size: 1.24rem;
  letter-spacing: 0.01em;
}

.logo-text span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

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

.user-pill {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 248, 220, 0.04);
  white-space: nowrap;
}

/* Buttons */

.btn {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid transparent;
  transition: 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 16px 38px rgba(189, 183, 107, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 248, 220, 0.06);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.disabled-btn {
  cursor: not-allowed;
  opacity: 0.55;
}

.disabled-btn:hover {
  transform: none;
  border-color: var(--border);
  color: var(--text);
}

/* Typography */

h1,
h2 {
  font-family: "Yatra One", cursive;
  color: var(--heading);
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

/* Marketing Layout */

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 70px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  background: rgba(255, 248, 220, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary);
  font-weight: 850;
  font-size: 0.86rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  margin-bottom: 20px;
}

.hero p,
.section-head p,
.showcase p,
.demo-box p,
.final-box p {
  color: var(--muted);
}

.hero p {
  font-size: 1.2rem;
  max-width: 590px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 750;
  font-size: 0.94rem;
}

.trust-row span::before {
  content: "✓";
  color: var(--accent);
  margin-right: 7px;
  font-weight: 900;
}

.hero-card-wrap {
  position: relative;
}

.hero-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
}

.event-image {
  height: 280px;
  border-radius: 24px;
  object-fit: cover;
  width: 100%;
}

.marketing-ticket-card {
  position: relative;
  margin: -54px 24px 12px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 124px;
  gap: 18px;
  align-items: center;
}

.marketing-ticket-card h3 {
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  margin-bottom: 5px;
  color: var(--text);
}

.marketing-ticket-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 7px 10px;
  background: rgba(189, 183, 107, 0.12);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.qr {
  width: 116px;
  height: 116px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px) 0 0 / 20px 20px,
    linear-gradient(#111 10px, transparent 10px) 0 0 / 20px 20px,
    #fff;
  border: 10px solid #fff;
  box-shadow: inset 0 0 0 2px #111, 0 10px 24px rgba(0, 0, 0, 0.22);
}

.floating-stat {
  position: absolute;
  right: -10px;
  bottom: -18px;
  background: var(--primary);
  color: #000;
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.34);
}

.floating-stat strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.floating-stat span {
  font-size: 0.82rem;
  font-weight: 750;
}

.stats {
  padding: 24px 0 70px;
}

.stats-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.stat strong {
  display: block;
  font-size: 1.8rem;
  letter-spacing: -0.05em;
  color: var(--primary);
}

.stat span {
  color: var(--muted);
  font-weight: 750;
  font-size: 0.92rem;
}

.marketing-section {
  padding: 86px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-head p {
  font-size: 1.08rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

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

.card,
.price-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
}

.icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(189, 183, 107, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.card h3,
.price-card h3 {
  font-size: 1.15rem;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
  color: var(--text);
}

.card p,
.price-card p,
.quote {
  color: var(--muted);
  font-size: 0.96rem;
}

.showcase {
  background: #070707;
  color: white;
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border);
}

.showcase-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 58px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.feature-list li {
  list-style: none;
  color: var(--text);
  font-weight: 750;
}

.feature-list li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 10px;
}

.dashboard-img {
  border-radius: 34px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  overflow: hidden;
  background: var(--panel);
  padding: 12px;
}

.dashboard-img img {
  height: 440px;
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.use-card {
  min-height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78)),
    var(--img);
  background-size: cover;
  background-position: center;
  color: white;
  border-radius: var(--radius);
  padding: 22px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.use-card strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.demo-box {
  background: linear-gradient(135deg, #090909, #3a3614);
  border: 1px solid var(--border);
  border-radius: 38px;
  padding: 50px;
  color: white;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone {
  background: #070707;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 14px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
  max-width: 285px;
  margin-left: auto;
}

.phone-screen {
  background: var(--panel);
  border-radius: 24px;
  padding: 22px;
  color: var(--text);
  text-align: center;
}

.phone-screen .qr {
  margin: 0 auto;
}

.scan-line {
  height: 5px;
  background: var(--accent);
  border-radius: 999px;
  margin: 18px 0;
  animation: scan 1.9s infinite ease-in-out;
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(-8px);
    opacity: 0.55;
  }

  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
}

.price-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.03);
}

.badge {
  display: inline-flex;
  background: var(--accent);
  color: #000;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.price {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.07em;
  margin: 16px 0;
  color: var(--primary);
}

.price small {
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0;
}

.price-card ul {
  margin: 22px 0 28px;
  display: grid;
  gap: 12px;
}

.price-card li {
  list-style: none;
  color: var(--text);
  font-weight: 700;
}

.price-card li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 9px;
  font-weight: 900;
}

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

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.person strong {
  display: block;
  line-height: 1.1;
}

.person span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
}

.final-cta {
  padding: 96px 0;
}

.final-box {
  text-align: center;
  background: var(--panel);
  color: white;
  border: 1px solid var(--border);
  border-radius: 38px;
  padding: 64px 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

/* Dashboard Layout */

.dashboard-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 34px;
}

.dashboard-hero h1 {
  margin: 0 0 14px;
}

.dashboard-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
}

.dashboard-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-panel,
.dashboard-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.07), rgba(255, 248, 220, 0.025)),
    var(--panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.dashboard-panel {
  padding: 32px;
}

.dashboard-card {
  overflow: hidden;
}

.card-header {
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(189, 183, 107, 0.22);
}

.card-header h2 {
  margin-bottom: 8px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.card-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(255, 204, 51, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 248, 220, 0.075), rgba(255, 248, 220, 0.025));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(189, 183, 107, 0.08);
  pointer-events: none;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.stat-card strong {
  display: block;
  color: var(--primary);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
}

.stat-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--primary);
  background: rgba(189, 183, 107, 0.14);
  border: 1px solid rgba(189, 183, 107, 0.22);
  font-size: 1.25rem;
}

/* Dashboard Tables */

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

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

.modern-table thead {
  background: rgba(0, 0, 0, 0.28);
}

.modern-table th {
  padding: 16px 18px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid rgba(255, 248, 220, 0.08);
}

.modern-table td {
  padding: 18px;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 248, 220, 0.075);
  vertical-align: middle;
}

.modern-table tbody tr {
  transition: 0.18s ease;
}

.modern-table tbody tr:hover {
  background: rgba(255, 248, 220, 0.045);
}

.event-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.event-title strong {
  display: block;
  color: var(--text);
  line-height: 1.2;
}

.event-title small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 3px;
}

.event-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 15px;
  color: var(--primary);
  background: rgba(189, 183, 107, 0.12);
  border: 1px solid rgba(189, 183, 107, 0.2);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  border: 1px solid rgba(255, 248, 220, 0.12);
  background: rgba(255, 248, 220, 0.06);
  color: var(--muted);
}

.status-valid,
.status-live,
.status-active,
.status-published {
  color: var(--accent);
  background: rgba(23, 201, 100, 0.12);
  border-color: rgba(23, 201, 100, 0.28);
}

.status-draft,
.status-pending {
  color: var(--gold-accent);
  background: rgba(255, 204, 51, 0.11);
  border-color: rgba(255, 204, 51, 0.25);
}

.status-used,
.status-scanned {
  color: var(--muted);
  background: rgba(255, 248, 220, 0.08);
  border-color: rgba(255, 248, 220, 0.16);
}

.status-invalid,
.status-cancelled,
.status-canceled,
.status-expired,
.status-inactive {
  color: var(--danger);
  background: rgba(255, 91, 91, 0.12);
  border-color: rgba(255, 91, 91, 0.28);
}

.empty-state {
  padding: 44px 20px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}

.empty-state i {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 2rem;
}

.empty-state strong {
  color: var(--text);
  font-size: 1.1rem;
}

.empty-state span {
  margin-top: 4px;
  color: var(--muted);
}

/* Ticket Wallet Dashboard Page */

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

.tickets-section {
  margin-bottom: 28px;
}

.ticket-list {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.dashboard-ticket-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  border: 1px solid rgba(189, 183, 107, 0.24);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(255, 204, 51, 0.13), transparent 38%),
    rgba(255, 248, 220, 0.045);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.ticket-main {
  display: flex;
  gap: 18px;
  min-width: 0;
}

.ticket-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 20px;
  color: var(--primary);
  background: rgba(189, 183, 107, 0.14);
  border: 1px solid rgba(189, 183, 107, 0.24);
  font-size: 1.35rem;
}

.ticket-details {
  min-width: 0;
}

.ticket-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.ticket-type {
  color: var(--muted);
  font-size: 0.86rem;
}

.ticket-details h3 {
  color: var(--text);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.ticket-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticket-meta i {
  color: var(--primary);
}

.ticket-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.qr-panel {
  width: 190px;
  min-height: 210px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  background: #fff8dc;
  color: #080805;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.32);
}

.ticket-qr {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.qr-panel span {
  color: #524b1f;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.qr-missing {
  background: rgba(255, 248, 220, 0.06);
  color: var(--muted);
  border: 1px dashed var(--border);
  box-shadow: none;
}

.qr-missing i {
  color: var(--primary);
  font-size: 3rem;
}

.used-tickets-card {
  margin-top: 28px;
}

/* Forms */

.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.07), rgba(255, 248, 220, 0.025)),
    var(--panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  padding: 28px;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 248, 220, 0.06);
  color: var(--text);
  outline: none;
}

textarea.form-control {
  min-height: 130px;
  padding: 14px 16px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(189, 183, 107, 0.12);
}

.form-help,
.form-error {
  font-size: 0.86rem;
}

.form-help {
  color: var(--muted);
}

.form-error {
  color: var(--danger);
}

/* Shared Footer */

footer,
.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  background: rgba(0, 0, 0, 0.48);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Responsive */

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .showcase-grid,
  .demo-box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 62px;
  }

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

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

  .floating-stat {
    right: 8px;
  }

  .phone {
    margin: 0;
  }

  .dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 860px) {
  .dashboard-ticket-card {
    flex-direction: column;
  }

  .qr-panel {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .nav-inner {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-actions .btn,
  .user-pill {
    flex: 1;
    width: 100%;
  }

  .hero-actions,
  .trust-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .marketing-ticket-card {
    grid-template-columns: 1fr;
    margin: -34px 10px 8px;
  }

  .qr {
    width: 108px;
    height: 108px;
  }

  .stats-box,
  .grid-4,
  .grid-3,
  .use-grid,
  .pricing-grid,
  .stats-grid,
  .ticket-stats-grid {
    grid-template-columns: 1fr;
  }

  .demo-box {
    padding: 34px 22px;
    border-radius: 28px;
  }

  .price-card.featured {
    transform: none;
  }

  .marketing-section {
    padding: 64px 0;
  }

  .dashboard-layout main {
    padding: 42px 0;
  }

  .dashboard-hero-actions,
  .dashboard-hero-actions .btn {
    width: 100%;
  }

  .card-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .dashboard-panel,
  .form-card {
    padding: 22px;
  }

  .ticket-list {
    padding: 18px;
  }

  .ticket-main {
    flex-direction: column;
  }

  .ticket-actions,
  .ticket-actions .btn {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4rem);
  }
}
.dashboard-table td {
    padding: 18px 20px;
    border: 1px solid #ffffff;
    vertical-align: middle;
}

.dashboard-table th {
    padding: 14px 20px;
    border: 1px solid #ffffff;
    color: #6b7280;
    background: #f9fafb;
    font-size: 0.78rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.table-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.table-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #4f46e5;
    color: #ffffff;
    background: #4f46e5;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.table-action-btn:hover {
    color: #ffffff;
    background: #4338ca;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.22);
    transform: translateY(-1px);
    text-decoration: none;
}

.table-action-btn-secondary {
    color: #374151;
    background: #ffffff;
    border-color: #e5e7eb;
}

.table-action-btn-secondary:hover {
    color: #111827;
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}
/* Dashboard form layout */
.dashboard-form {
    padding: 24px;
}

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

.form-section {
    padding: 24px;
    border: 1px solid #eef2f7;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.form-section + .form-section {
    margin-top: 20px;
}

.form-section-title {
    margin: 0 0 6px;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 900;
}

.form-section-description {
    margin: 0 0 20px;
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.6;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #111827;
    font-size: 0.9rem;
    font-weight: 800;
}

.form-hint {
    margin: 0;
    color: #9ca3af;
    font-size: 0.82rem;
    line-height: 1.5;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    color: inherit;
    background: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-group textarea {
    min-height: 130px;
    padding-top: 12px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #6366f1;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.field-error {
    margin: 0;
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 700;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #eef2f7;
}

@media (max-width: 760px) {
    .dashboard-form {
        padding: 18px;
    }

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

    .form-section {
        padding: 18px;
    }

    .form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .form-actions .btn,
    .form-actions button {
        width: 100%;
    }
}.input-prefix {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    background: #ffffff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.input-prefix:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.input-prefix span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    color: #6b7280;
    background: #f9fafb;
    font-weight: 900;
    border-right: 1px solid #e5e7eb;
}

.input-prefix input {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.preview-placeholder {
    display: grid;
    place-items: center;
    gap: 6px;
    min-height: 180px;
    margin: 16px 0;
    padding: 24px;
    border: 1px dashed #d1d5db;
    border-radius: 18px;
    background: #f9fafb;
    text-align: center;
}

.preview-placeholder span {
    font-size: 2rem;
}

.preview-placeholder strong {
    color: #111827;
}

.preview-placeholder small {
    color: #6b7280;
}

.preview-summary {
    display: grid;
    gap: 6px;
    margin: 16px 0;
    padding: 16px;
    border-radius: 16px;
    background: #f9fafb;
}

.preview-summary strong {
    color: #111827;
}

.preview-summary span {
    color: #6b7280;
    font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea,
.input-prefix input {
    color: #111827 !important;
    background-color: #ffffff !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af !important;
}