/*
 * CyberWeek Africa 2026 — Design System
 * Philosophy: Minimal, precise, tech-conference grade.
 * Inspired by: Linear, Stripe, Vercel
 * Fonts: Space Grotesk (headings) + Inter (body) + JetBrains Mono (code)
 */

/* ── Google Fonts import ────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500;600&display=swap');

/* ── Design tokens ──────────────────────────────────────────────────────── */
:root {
  /* Colour — tight, intentional */
  --c-bg:         #fafafa;
  --c-surface:    #ffffff;
  --c-border:     #e4e4e7;
  --c-border-md:  #d1d5db;

  --c-text-1:     #09090b;   /* headings */
  --c-text-2:     #3f3f46;   /* body */
  --c-text-3:     #71717a;   /* muted */
  --c-text-4:     #a1a1aa;   /* placeholder */

  --c-blue:       #2563eb;
  --c-blue-hover: #1d4ed8;
  --c-blue-lt:    #eff6ff;
  --c-blue-ring:  rgba(37,99,235,.18);

  --c-green:      #16a34a;
  --c-green-lt:   #f0fdf4;
  --c-red:        #dc2626;
  --c-red-lt:     #fef2f2;
  --c-amber:      #d97706;
  --c-amber-lt:   #fffbeb;

  /* Typography */
  --f-sans:  'Inter',        system-ui, -apple-system, sans-serif;
  --f-head:  'Inter', 'Space Grotesk',  system-ui, sans-serif;
  --f-mono:  'JetBrains Mono','Fira Code','Courier New', monospace;

  /* Scale */
  --text-xs:  0.75rem;   /* 12px */
  --text-sm:  0.875rem;  /* 14px */
  --text-md:  1rem;      /* 16px */
  --text-lg:  1.125rem;  /* 18px */
  --text-xl:  1.25rem;   /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */

  /* Spacing (4-point grid) */
  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px;

  /* Radius */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  14px;
  --r-xl:  20px;
  --r-full: 9999px;

  /* Shadow — surgical, never decorative */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 8px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.07), 0 2px 6px rgba(0,0,0,.04);

  /* Transition */
  --ease: cubic-bezier(.16,1,.3,1);
  --t-fast: 120ms;
  --t-mid:  200ms;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  background: var(--c-bg);
  color: var(--c-text-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; }
a { color: var(--c-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--c-text-1);
  line-height: 1.2;
  letter-spacing: -.02em;
}
h1 { font-size: var(--text-3xl); font-weight: 800; }
h2 { font-size: var(--text-2xl); font-weight: 700; }
h3 { font-size: var(--text-xl);  font-weight: 700; }
h4 { font-size: var(--text-lg);  font-weight: 600; }
p  { font-size: var(--text-md);  color: var(--c-text-2); line-height: 1.65; }

.text-muted    { color: var(--c-text-3) !important; }
.text-xs       { font-size: var(--text-xs); }
.text-sm       { font-size: var(--text-sm); }
.text-lg       { font-size: var(--text-lg); }
.text-mono     { font-family: var(--f-mono); }
.text-center   { text-align: center; }
.text-right    { text-align: right; }
.fw-500        { font-weight: 500; }
.fw-600        { font-weight: 600; }
.fw-700        { font-weight: 700; }
.fw-800        { font-weight: 800; }

/* ── Layout containers ──────────────────────────────────────────────────── */
.container    { max-width: 1060px; margin: 0 auto; padding: 0 var(--sp-5); }
.container-sm { max-width: 640px;  margin: 0 auto; padding: 0 var(--sp-5); }
.container-xs { max-width: 480px;  margin: 0 auto; padding: 0 var(--sp-5); }
.section      { padding: var(--sp-10) 0; }
.section-sm   { padding: var(--sp-6)  0; }

/* ── Site header ────────────────────────────────────────────────────────── */
.site-header {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  position: sticky; top: 0; z-index: 100;
  height: 58px; display: flex; align-items: center;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.site-logo {
  font-family: var(--f-head);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--c-text-1);
  display: flex; align-items: center; gap: var(--sp-2);
  text-decoration: none;
  letter-spacing: -.03em;
}
.site-logo__accent { color: var(--c-blue); }
.site-logo__icon {
  width: 30px; height: 30px;
  background: var(--c-text-1);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.header-tag {
  font-size: var(--text-xs); font-weight: 600;
  color: var(--c-text-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  padding: 3px 10px;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-12) 0 var(--sp-10);
  text-align: center;
}
.hero__kicker {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-blue);
  background: var(--c-blue-lt); border: 1px solid rgba(37,99,235,.2);
  border-radius: var(--r-full); padding: 4px 12px; margin-bottom: var(--sp-5);
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800; color: var(--c-text-1);
  letter-spacing: -.04em; line-height: 1.1;
  margin-bottom: var(--sp-4);
}
.hero__sub {
  font-size: var(--text-lg);
  color: var(--c-text-3); font-weight: 400;
  max-width: 460px; margin: 0 auto var(--sp-6);
}
.hero__meta {
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-6); flex-wrap: wrap; margin-top: var(--sp-4);
}
.hero__meta-item {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--text-sm); color: var(--c-text-3); font-weight: 500;
}
.hero__meta-item svg { color: var(--c-text-4); }
.hero__divider {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--c-border-md);
}

/* ── Cards ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card__header {
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--c-border);
}
.card__title {
  font-family: var(--f-head);
  font-size: var(--text-md);
  font-weight: 700; color: var(--c-text-1);
}
.card__subtitle {
  font-size: var(--text-sm); color: var(--c-text-3); margin-top: 2px;
}
.card__body   { padding: var(--sp-6); }
.card__footer {
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--c-border);
  background: var(--c-bg);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}

/* ── Tier selection cards ───────────────────────────────────────────────── */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--sp-3);
}
.tier-option { position: relative; cursor: pointer; }
.tier-option input { position: absolute; opacity: 0; pointer-events: none; }
.tier-option__card {
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-surface);
  transition: border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
  user-select: none;
}
.tier-option__card:hover {
  border-color: var(--c-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.tier-option input:checked ~ .tier-option__card {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px var(--c-blue-ring), var(--shadow-sm);
  background: var(--c-blue-lt);
}
.tier-option input:checked ~ .tier-option__card .tier-option__price {
  color: var(--c-blue);
}
.tier-badge-pill {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 2px 8px;
  border-radius: var(--r-full); margin-bottom: var(--sp-2);
}
.tier-badge-pill--hot    { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.tier-badge-pill--new    { background: var(--c-blue-lt); color: var(--c-blue); border: 1px solid rgba(37,99,235,.2); }
.tier-badge-pill--sold   { background: var(--c-bg); color: var(--c-text-4); border: 1px solid var(--c-border); }
.tier-option__name  { font-family: var(--f-head); font-size: var(--text-sm); font-weight: 700; color: var(--c-text-1); margin-bottom: 4px; }
.tier-option__price { font-size: var(--text-xl); font-weight: 800; color: var(--c-text-1); line-height: 1; }
.tier-option__price sub { font-size: var(--text-xs); font-weight: 500; color: var(--c-text-3); bottom: 0; }
.tier-option__desc  { font-size: var(--text-xs); color: var(--c-text-3); margin-top: var(--sp-2); line-height: 1.5; }

/* ── Attendee block ─────────────────────────────────────────────────────── */
.attendee-block {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  background: var(--c-surface);
  margin-bottom: var(--sp-3);
  animation: fadeUp .2s var(--ease);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.attendee-block__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-4);
}
.attendee-block__num {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--text-sm); font-weight: 700; color: var(--c-text-1);
}
.attendee-block__num-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-blue); color: #fff;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── Form elements ──────────────────────────────────────────────────────── */
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 580px) { .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; } }

.form-group  { display: flex; flex-direction: column; gap: var(--sp-1); margin-bottom: var(--sp-4); }
.form-group:last-child { margin-bottom: 0; }

.form-label {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--c-text-3);
}
.form-label-req { color: var(--c-red); margin-left: 2px; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 9px 13px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  font-family: var(--f-sans);
  color: var(--c-text-1);
  background: var(--c-surface);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--c-text-4); }
.form-input:hover  { border-color: var(--c-border-md); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px var(--c-blue-ring);
}
.form-input.error { border-color: var(--c-red); box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.form-hint { font-size: var(--text-xs); color: var(--c-text-4); margin-top: 4px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 32px; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 10px 20px; border-radius: var(--r-sm);
  font-size: var(--text-sm); font-weight: 600; font-family: var(--f-sans);
  cursor: pointer; border: none; line-height: 1;
  transition: all var(--t-fast) var(--ease);
  text-decoration: none !important; white-space: nowrap;
}
.btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn--primary {
  background: var(--c-text-1); color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.08);
}
.btn--primary:hover { background: #18181b; }
.btn--blue {
  background: var(--c-blue); color: #fff;
  box-shadow: 0 1px 2px rgba(37,99,235,.3);
}
.btn--blue:hover { background: var(--c-blue-hover); }
.btn--outline {
  background: var(--c-surface); color: var(--c-text-2);
  border: 1.5px solid var(--c-border);
  box-shadow: var(--shadow-xs);
}
.btn--outline:hover { border-color: var(--c-border-md); background: var(--c-bg); }
.btn--ghost { background: transparent; color: var(--c-text-3); padding: 8px 12px; }
.btn--ghost:hover { background: var(--c-bg); color: var(--c-text-2); }
.btn--danger { background: var(--c-red-lt); color: var(--c-red); border: 1px solid rgba(220,38,38,.2); }
.btn--danger:hover { background: #fee2e2; }
.btn--sm  { padding: 6px 12px; font-size: var(--text-xs); }
.btn--lg  { padding: 13px 26px; font-size: var(--text-md); }
.btn--xl  { padding: 15px 32px; font-size: var(--text-lg); border-radius: var(--r-md); }
.btn--block { width: 100%; }
.btn__spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.3); border-top-color: #fff;
  border-radius: 50%; animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Badges ─────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 2px 8px; border-radius: var(--r-full);
}
.badge--green  { background: var(--c-green-lt);  color: var(--c-green); }
.badge--blue   { background: var(--c-blue-lt);   color: var(--c-blue);  }
.badge--red    { background: var(--c-red-lt);     color: var(--c-red);   }
.badge--amber  { background: var(--c-amber-lt);  color: var(--c-amber); }
.badge--neutral{ background: #f4f4f5;             color: var(--c-text-3); }

/* ── Alerts ─────────────────────────────────────────────────────────────── */
.alert {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-4); border-radius: var(--r-md);
  font-size: var(--text-sm); line-height: 1.5;
  border: 1px solid;
}
.alert--success { background: var(--c-green-lt); border-color: #bbf7d0; color: #166534; }
.alert--error   { background: var(--c-red-lt);   border-color: #fecaca; color: #991b1b; }
.alert--info    { background: var(--c-blue-lt);  border-color: #bfdbfe; color: #1e40af; }
.alert--warning { background: var(--c-amber-lt); border-color: #fde68a; color: #92400e; }

/* ── Step indicator ─────────────────────────────────────────────────────── */
.steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin: var(--sp-8) 0;
}
.step { display: flex; align-items: center; gap: var(--sp-2); }
.step__node {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  border: 2px solid var(--c-border);
  background: var(--c-surface); color: var(--c-text-4);
  transition: all var(--t-mid);
}
.step__label { font-size: var(--text-xs); font-weight: 600; color: var(--c-text-4); }
.step--active .step__node  { border-color: var(--c-blue);  background: var(--c-blue); color: #fff; }
.step--active .step__label { color: var(--c-blue); }
.step--done   .step__node  { border-color: var(--c-green); background: var(--c-green); color: #fff; }
.step--done   .step__label { color: var(--c-green); }
.step__line {
  width: 48px; height: 1px; background: var(--c-border); margin: 0 4px;
  transition: background var(--t-mid);
}
.step__line--done { background: var(--c-green); }
@media (max-width: 480px) { .step__label { display: none; } .step__line { width: 24px; } }

/* ── Summary table ──────────────────────────────────────────────────────── */
.summary-table { width: 100%; border-collapse: collapse; }
.summary-table td { padding: var(--sp-2) 0; font-size: var(--text-sm); }
.summary-table td:last-child { text-align: right; font-weight: 600; }
.summary-table .total td {
  border-top: 1px solid var(--c-border); padding-top: var(--sp-3);
  font-size: var(--text-md); font-weight: 700; color: var(--c-text-1);
}
.summary-table .total td:last-child { color: var(--c-blue); }

/* ── Payment method selector ────────────────────────────────────────────── */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.pay-option { position: relative; cursor: pointer; }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option__card {
  border: 1.5px solid var(--c-border); border-radius: var(--r-md);
  padding: var(--sp-4); display: flex; flex-direction: column;
  align-items: center; gap: var(--sp-2); text-align: center;
  transition: all var(--t-fast); background: var(--c-surface);
}
.pay-option__card:hover { border-color: var(--c-border-md); box-shadow: var(--shadow-sm); }
.pay-option input:checked ~ .pay-option__card {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px var(--c-blue-ring);
  background: var(--c-blue-lt);
}
.pay-option__icon { font-size: 1.6rem; line-height: 1; }
.pay-option__name { font-size: var(--text-sm); font-weight: 700; color: var(--c-text-1); }
.pay-option__sub  { font-size: var(--text-xs); color: var(--c-text-3); }

/* ── Phone input with dial code ─────────────────────────────────────────── */
.phone-input-wrap {
  display: flex; border: 1.5px solid var(--c-border); border-radius: var(--r-sm);
  overflow: hidden; transition: border-color var(--t-fast), box-shadow var(--t-fast);
  background: var(--c-surface);
}
.phone-input-wrap:focus-within {
  border-color: var(--c-blue); box-shadow: 0 0 0 3px var(--c-blue-ring);
}
.phone-dial {
  padding: 9px 12px; font-size: var(--text-sm); font-weight: 600;
  color: var(--c-text-3); background: var(--c-bg);
  border-right: 1px solid var(--c-border); white-space: nowrap;
  display: flex; align-items: center; gap: 4px;
}
.phone-input-wrap .form-input {
  border: none !important; box-shadow: none !important;
  border-radius: 0; flex: 1;
}

/* ── Confirmation ───────────────────────────────────────────────────────── */
.confirm-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--c-green-lt); border: 1px solid #bbf7d0;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-5);
}
.ticket-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-3) 0; border-bottom: 1px solid var(--c-border);
  font-size: var(--text-sm);
}
.ticket-summary-row:last-child { border: none; }
.ticket-summary-row__label { color: var(--c-text-3); font-weight: 500; }
.ticket-summary-row__value { font-weight: 600; color: var(--c-text-1); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--c-border); padding: var(--sp-6) 0;
  text-align: center; font-size: var(--text-xs); color: var(--c-text-4);
  margin-top: var(--sp-16);
}
.site-footer a { color: var(--c-text-3); }

/* ── Divider ────────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--c-border); margin: var(--sp-5) 0; }
.divider-label {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: var(--text-xs); color: var(--c-text-4); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; margin: var(--sp-5) 0;
}
.divider-label::before, .divider-label::after {
  content: ''; flex: 1; height: 1px; background: var(--c-border);
}

/* ── Utility ────────────────────────────────────────────────────────────── */
.mt-2 { margin-top: var(--sp-2); } .mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); } .mt-8 { margin-top: var(--sp-8); }
.mb-2 { margin-bottom: var(--sp-2); } .mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); } .mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); } .mb-8 { margin-bottom: var(--sp-8); }
.gap-2 { gap: var(--sp-2); } .gap-3 { gap: var(--sp-3); } .gap-4 { gap: var(--sp-4); }
.hidden { display: none !important; }
.flex   { display: flex; } .flex-col { flex-direction: column; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; }
.w-full { width: 100%; }

/* ── Hackathon tier card ─────────────────────────────────────────────────── */
.hackathon-tier-card {
  margin-top: var(--sp-4);
  border: 1.5px solid #d1fae5;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  overflow: hidden;
  transition: box-shadow var(--t-fast) var(--ease), border-color var(--t-fast);
}
.hackathon-tier-card:hover {
  border-color: #6ee7b7;
  box-shadow: var(--shadow-md);
}
.hackathon-tier-card__inner {
  padding: var(--sp-5);
}
.hackathon-tier-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.hackathon-tier-card__left {
  flex: 1;
  min-width: 200px;
}
.hackathon-tier-card__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.hackathon-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: #064e3b;
  color: #6ee7b7;
  margin-bottom: var(--sp-2);
}
.hackathon-free-badge::before {
  content: '🏆';
  font-size: 9px;
}
.hackathon-tier-card__name {
  font-family: var(--f-head);
  font-size: var(--text-md);
  font-weight: 700;
  color: #064e3b;
  margin-bottom: var(--sp-2);
}
.hackathon-tier-card__desc {
  font-size: var(--text-xs);
  color: #065f46;
  line-height: 1.55;
  max-width: 360px;
  margin-bottom: var(--sp-3);
}
.hackathon-tier-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hackathon-tier-card__features li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: #047857;
}
.hackathon-tier-card__features li svg {
  flex-shrink: 0;
  color: var(--c-green);
}
.hackathon-tier-card__price {
  text-align: right;
}
.hackathon-tier-card__price-value {
  display: block;
  font-family: var(--f-head);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #064e3b;
  line-height: 1;
}
.hackathon-tier-card__price-sub {
  font-size: var(--text-xs);
  font-weight: 500;
  color: #6b7280;
}
.hackathon-tier-card__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 10px 18px;
  background: #064e3b;
  color: #fff;
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  font-weight: 700;
  font-family: var(--f-sans);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 1px 3px rgba(6,78,59,.25);
}
.hackathon-tier-card__btn:hover {
  background: #065f46;
  box-shadow: 0 3px 8px rgba(6,78,59,.3);
  text-decoration: none;
}

/* Mobile: stack price+button below description */
@media (max-width: 520px) {
  .hackathon-tier-card__top    { flex-direction: column; }
  .hackathon-tier-card__right  { align-items: flex-start; flex-direction: row; align-items: center; }
  .hackathon-tier-card__price  { text-align: left; }
}
