:root {
  color-scheme: dark;
  --tech-blue: #000622;
  --tech-background-image: url("https://tech1.co.il/_ipx/f_webp%26q_85%26s_3072x1536/images/bg-get-access-banner.webp");
  --bg: var(--tech-blue);
  --panel: rgba(255, 255, 255, 0.08);
  --panel-2: #ffffff;
  --text: #f5f5f0;
  --muted: #cfd7ff;
  --line: rgba(255, 255, 255, 0.18);
  --accent: #67e1ec;
  --accent-2: #bff8f6;
  --ticket-blue: #49a1b7;
  --ticket-purple: #5956e9;
  --danger: #ff6b6b;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(2, 9, 54, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 1.2rem;
  font-weight: 900;
  text-decoration: none;
}

.tech1-logo {
  display: block;
  width: 96px;
  height: auto;
  color: currentColor;
}

.brand--logo {
  display: inline-flex;
  align-items: center;
  color: var(--text);
}

.brand--logo .tech1-logo {
  width: 92px;
}

.topbar__link,
.primary-link,
button {
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #070707;
  font-weight: 800;
  text-decoration: none;
}

.topbar__link {
  padding: 9px 15px;
  font-size: 0.82rem;
}

.hero {
  min-height: 72vh;
  display: grid;
  align-items: end;
  padding: 118px clamp(18px, 6vw, 88px) 54px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(2, 9, 54, 0.38), var(--tech-blue) 92%),
    var(--tech-background-image) center top / cover,
    var(--tech-blue);
}

.hero__content {
  max-width: 1040px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-title {
  display: grid;
  gap: 14px;
}

.hero-title .tech1-logo {
  width: min(320px, 70vw);
}

.hero-title span {
  display: block;
}

.hero__copy {
  max-width: 760px;
  color: #f0f0e8;
  font-size: clamp(1.08rem, 2.2vw, 1.55rem);
  line-height: 1.45;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero__stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.hero__stats strong {
  color: var(--accent);
  font-size: 1.7rem;
}

.checkout-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.tickets-panel,
.success-panel,
.payment-panel {
  border: 1px solid var(--line);
  background: rgba(0, 6, 34, 0.92);
}

.tickets-panel,
.success-panel {
  padding: clamp(18px, 4vw, 42px);
}

.success-panel {
  margin-bottom: 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.92;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 0;
  font-size: 1.4rem;
}

.checkout-form {
  display: grid;
  gap: 24px;
}

.form-section {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(0, 8, 48, 0.72);
}

.form-section legend {
  padding: 0 8px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.ticket-choice-title {
  margin: 0;
  color: var(--accent);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.ticket-card {
  display: block;
  position: relative;
  cursor: pointer;
  color: #050505;
}

.ticket-card input {
  position: absolute;
  opacity: 0;
}

.ticket-card__body {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  background: var(--panel-2);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.ticket-card input:checked + .ticket-card__body {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(103, 225, 236, 0.3);
}

.ticket-card:hover .ticket-card__body {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.ticket-card__selected {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  display: none !important;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--tech-blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-grid.has-selection .ticket-card input:checked + .ticket-card__body .ticket-card__selected {
  display: inline-flex !important;
}

.ticket-card__header {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 24px;
  background: var(--accent-2);
  text-align: center;
}

.ticket-card__body--executive .ticket-card__header {
  background: #dcd9fb;
}

.ticket-card__content {
  display: grid;
  gap: 26px;
  justify-items: center;
  align-content: center;
  padding: 34px 34px 42px;
  text-align: center;
}

.ticket-card__name {
  display: inline;
  margin: 0;
  color: var(--ticket-blue);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-card__body--executive .ticket-card__name,
.ticket-card__body--executive .ticket-card__desc {
  color: var(--ticket-purple);
}

.ticket-card__body--general .ticket-card__name,
.ticket-card__body--general .ticket-card__desc {
  color: var(--ticket-blue);
}

.ticket-card__desc,
.ticket-card__includes,
.site-footer {
  color: var(--muted);
}

.ticket-card__desc {
  display: inline;
  margin: 0;
  max-width: 720px;
  color: var(--ticket-blue);
  font-size: clamp(1.02rem, 1.6vw, 1.35rem);
  font-weight: 900;
  line-height: 1.42;
}

.ticket-card__price {
  color: #050505;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
}

.ticket-card__includes {
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
}

.ticket-card__includes span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--accent-2);
  vertical-align: middle;
}

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

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

.form-grid__wide {
  grid-column: 1 / -1;
}

.quantity-field {
  display: grid;
  gap: 8px;
  justify-items: center;
  max-width: 310px;
  margin: 6px auto 0;
}

.quantity-field > span:first-child {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 54px minmax(88px, 128px) 54px;
  gap: 12px;
  align-items: center;
}

.quantity-stepper__button {
  width: 54px;
  min-height: 54px;
  padding: 0;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #070707;
  font-size: 1.45rem;
  line-height: 1;
}

.quantity-stepper input {
  min-height: 54px;
  border-radius: 4px;
  background: #f8fafc;
  color: #3f454d;
  font-size: 1.35rem;
  font-weight: 900;
  text-align: center;
}

.quantity-stepper input::-webkit-outer-spin-button,
.quantity-stepper input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.quantity-stepper input[type="number"] {
  appearance: textfield;
}

.same-as-company {
  display: inline-grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: center;
  justify-self: start;
  color: var(--muted);
  font-size: 0.92rem;
}

.same-as-company input {
  min-height: auto;
}

.same-as-company span:first-child,
.same-as-company span {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: none;
}

.promo-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "input button"
    "message message";
  gap: 10px 16px;
  align-items: start;
}

.promo-field__input {
  grid-area: input;
  min-width: 0;
}

.promo-field__button {
  grid-area: button;
  align-self: start;
  margin-top: calc(0.84rem + 7px);
  min-height: 50px;
  padding: 0 20px;
}

.promo-message {
  grid-area: message;
  min-height: 20px;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
}

.promo-message--success {
  color: var(--accent);
}

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

label span:first-child {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #08090b;
  color: var(--text);
  padding: 12px 13px;
  font: inherit;
}

input:focus,
select:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(215, 255, 63, 0.28);
  outline-offset: 0;
}

.payment-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.summary-bar {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1.6fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(18px);
}

.total-box span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.total-box strong {
  font-size: 1.7rem;
}

.terms-group {
  min-width: 0;
}

.terms-field {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.92rem;
}

.terms-field input {
  min-height: auto;
  margin-top: 2px;
}

.terms-group .field-error {
  margin: 8px 0 0 28px;
  max-width: 100%;
  min-height: 0;
  white-space: normal;
}

button {
  min-height: 54px;
  padding: 0 24px;
  cursor: pointer;
}

.form-alert {
  border: 1px solid rgba(255, 107, 107, 0.7);
  background: rgba(255, 107, 107, 0.12);
  color: #ffd6d6;
  padding: 12px 14px;
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: var(--danger);
  font-size: 0.8rem;
}

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 160px));
  gap: 12px;
  margin: 22px 0;
}

.receipt-grid div {
  padding: 14px;
  border: 1px solid var(--line);
}

.receipt-grid dt {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.receipt-grid dd {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 900;
}

.primary-link {
  display: inline-flex;
  padding: 14px 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

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

.footer-brand .tech1-logo {
  width: 58px;
}

.payment-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
}

.payment-modal {
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  display: grid;
  grid-template-rows: auto auto 1fr;
  border: 1px solid var(--line);
  background: var(--panel);
}

.payment-modal__header,
.payment-modal__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.payment-modal__header h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.modal-close {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.payment-frame {
  width: 100%;
  height: min(520px, 62vh);
  border: 0;
  background: #0b0c0e;
}

.payment-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #0b0c0e;
}

.payment-message {
  width: min(620px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: center;
}

.payment-message h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 0.9;
}

.payment-return-link {
  margin-top: 18px;
}

.secondary-link {
  display: inline-flex;
  padding: 14px 18px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.admin-shell {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 40px clamp(18px, 4vw, 56px);
}

.admin-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
}

.eyebrow--brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow--brand .tech1-logo {
  width: 58px;
}

.admin-link {
  color: var(--text);
  font-weight: 800;
}

.admin-alert {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
}

.admin-alert-success {
  border-color: rgba(46, 204, 113, 0.45);
  background: rgba(46, 204, 113, 0.12);
}

.admin-alert-error {
  border-color: rgba(255, 77, 79, 0.45);
  background: rgba(255, 77, 79, 0.12);
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--panel);
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

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

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

.admin-table span {
  color: var(--muted);
  font-size: 0.88rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  color: var(--text) !important;
  font-size: 0.8rem !important;
  font-weight: 800;
}

.status-1 {
  border-color: rgba(46, 204, 113, 0.45);
}

.status-3 {
  border-color: rgba(255, 204, 0, 0.55);
}

.status-4 {
  border-color: rgba(255, 77, 79, 0.45);
}

.inline-action {
  display: inline-flex;
  margin: 0 6px 6px 0;
}

.inline-action button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--bg);
  font-weight: 900;
  cursor: pointer;
}

.inline-action button.danger {
  border-color: #ff4d4f;
  background: #ff4d4f;
  color: #fff;
}

@media (max-width: 860px) {
  .ticket-grid,
  .form-grid,
  .summary-bar {
    grid-template-columns: 1fr;
  }

  .summary-bar {
    position: static;
  }

  .section-heading,
  .site-footer {
    align-items: start;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(3.4rem, 22vw, 6rem);
  }
}
