:root {
  --color-primary: #EF7019;
  --color-primary-dark: #D9600F;
  --color-ink: #335868;
  --color-ink-dark: #22404D;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F7F5F2;
  --color-text: #22303A;
  --color-text-muted: #5B6B73;
  --color-border: #E4E1DC;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 2px rgba(34, 48, 58, 0.05), 0 10px 28px -6px rgba(34, 48, 58, 0.10);
  --shadow-hover: 0 4px 10px rgba(34, 48, 58, 0.07), 0 22px 44px -14px rgba(34, 48, 58, 0.18);
  --container-width: 1120px;
  --font-sans: 'Geist Variable', 'Geist', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

ul {
  list-style: none;
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(239, 112, 25, 0.28);
}

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

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-ink);
  background: rgba(51, 88, 104, 0.05);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* Header */

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

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.brand-logo {
  height: 38px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.main-nav a:hover {
  color: var(--color-ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-switch button {
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

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

.lang-switch button.active {
  background: var(--color-ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-ink);
  border-radius: 2px;
}

/* Hero */

.hero {
  padding: 88px 0 96px;
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(239, 112, 25, 0.12), transparent 70%),
    radial-gradient(520px 320px at -5% 105%, rgba(51, 88, 104, 0.09), transparent 70%),
    var(--color-bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(239, 112, 25, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  line-height: 1.12;
  font-weight: 700;
  color: var(--color-ink-dark);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  max-width: 480px;
}

/* Hero visual */

.hero-visual {
  position: relative;
  min-height: 340px;
}

.ticket-card {
  background: var(--color-ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  width: min(320px, 100%);
  box-shadow: var(--shadow-card);
}

.ticket-card-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6BD08A;
  box-shadow: 0 0 0 0 rgba(107, 208, 138, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(107, 208, 138, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(107, 208, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(107, 208, 138, 0); }
}

.ticket-number {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.ticket-meta {
  display: flex;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
}

.ticket-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ticket-meta-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
}

.ticket-meta-value {
  font-size: 1.15rem;
  font-weight: 700;
}

.panel-card {
  position: absolute;
  right: -12px;
  bottom: -36px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  width: min(280px, 82%);
  box-shadow: var(--shadow-card);
}

.panel-card-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.panel-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink-dark);
  padding: 6px 0;
}

.panel-card-row.muted {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.85rem;
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.badge-orange {
  background: rgba(239, 112, 25, 0.12);
  color: var(--color-primary-dark);
}

/* Sections */

section {
  padding: 88px 0;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--color-ink-dark);
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 12px;
}

.section-sub {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 56px;
}

/* Features */

.features {
  background: var(--color-bg-soft);
}

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

.feature-card:nth-child(1),
.feature-card:nth-child(4) {
  grid-column: span 2;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(239, 112, 25, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink-dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-ink);
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-ink-dark);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Who for */

.who-for {
  background: var(--color-bg-soft);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.who-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
}

.who-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.who-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-ink-dark);
  margin-bottom: 20px;
}

.who-card ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.who-card li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  color: var(--color-text);
}

.who-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* CTA banner */

.cta-banner {
  background: var(--color-ink);
  color: #fff;
  border-radius: 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 8px;
  max-width: 480px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
}

/* Footer */

.site-footer {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-contact {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

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

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  margin-top: 8px;
}

/* Scroll reveal (progressively enhanced — see .js gate; content is visible by default) */

.js .reveal-group .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal-group.is-visible .reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Legal pages (Privacy Policy / Terms of Use) */

.page-header {
  padding: 64px 0 40px;
  background:
    radial-gradient(500px 260px at 90% -20%, rgba(239, 112, 25, 0.10), transparent 70%),
    var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}

.page-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.page-header .back-link:hover {
  color: var(--color-primary);
}

.page-header h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 700;
  color: var(--color-ink-dark);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.page-header .updated {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.page-header .updated + .updated {
  margin-top: 2px;
}

.legal-content {
  padding: 56px 0 96px;
}

#legal-intro {
  max-width: 720px;
  margin-bottom: 32px;
}

.legal-content .intro {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.legal-content .intro:last-child {
  margin-bottom: 0;
}

.legal-content .intro-title {
  font-weight: 700;
  color: var(--color-ink-dark);
}

.legal-section {
  max-width: 720px;
  margin-bottom: 36px;
  padding: 0;
}

.legal-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-ink-dark);
  margin-bottom: 12px;
}

.legal-section h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-ink-dark);
  margin: 22px 0 10px;
}

.legal-section p {
  color: var(--color-text);
  line-height: 1.65;
  margin-bottom: 12px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}

.legal-section li {
  position: relative;
  padding-left: 20px;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-section li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 12px 0 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.legal-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.legal-table th,
.legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.legal-table thead th {
  color: var(--color-ink-dark);
  font-weight: 700;
  background: var(--color-bg-soft);
  white-space: nowrap;
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

.legal-table td:first-child {
  font-weight: 600;
  color: var(--color-ink-dark);
}

/* Footer legal links */

.footer-legal {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

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

/* Responsive */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 0;
  }

  .panel-card {
    position: static;
    margin: -28px 0 0 auto;
  }

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

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

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

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .main-nav a {
    padding: 10px 0;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn-sm {
    display: none;
  }

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

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

  section {
    padding: 64px 0;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .cta-banner-inner {
    text-align: center;
    justify-content: center;
  }

  .cta-banner h2 {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .header-actions {
    gap: 10px;
  }

  .lang-switch button {
    padding: 5px 8px;
  }
}
