/* ============ Fonts ============ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

@font-face {
  font-family: 'Camber-Lg';
  src: url('../fonts/Camber-Th.woff2') format('woff2'),
       url('../fonts/Camber-Th.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Camber-Md';
  src: url('../fonts/Camber-Md.woff2') format('woff2'),
       url('../fonts/Camber-Md.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Camber-Sb';
  src: url('../fonts/Camber-Sb.woff2') format('woff2'),
       url('../fonts/Camber-Sb.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Camber-Rg';
  src: url('../fonts/Camber-Rg.woff2') format('woff2'),
       url('../fonts/Camber-Rg.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ============ Design Tokens ============ */
:root {
  --brand: #D71C2D;
  --brand-light: #ff4757;
  --brand-dark: #a5121f;
  --ink: #12172b;
  --ink-soft: #2c3350;
  --white: #ffffff;
  --text: #2c3e50;
  --text-light: #6b7688;
  --bg-alt: #f5f7fb;
  --border: #e7eaf2;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(18, 23, 43, 0.08);
  --shadow-hover: 0 25px 60px rgba(18, 23, 43, 0.14);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'Camber-Rg', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

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

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

.section-eyebrow {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 50px;
  padding: 15px 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(215, 28, 45, 0.3);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(215, 28, 45, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}

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

.btn-light {
  background: var(--white);
  color: var(--brand);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

/* ============ Navbar ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
}

.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--brand);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ============ Hero ============ */
.hero {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--white) 100%);
  padding-block: 72px;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-content {
  flex: 1 1 480px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(215, 28, 45, 0.08);
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 20px;
}

.hero-title span {
  color: var(--brand);
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 520px;
}

.hero-points {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-points .check {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(215, 28, 45, 0.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-visual {
  flex: 1 1 420px;
  position: relative;
  display: flex;
  justify-content: center;
}

.ticket-card {
  position: relative;
  width: min(100%, 380px);
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
  animation: floatUp 6s ease-in-out infinite;
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.ticket-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ticket-card-header .title {
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}

.ticket-status {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(215, 28, 45, 0.1);
  color: var(--brand);
}

.ticket-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.ticket-row .bar {
  height: 8px;
  border-radius: 6px;
  background: var(--bg-alt);
  flex: 1;
  overflow: hidden;
}

.ticket-row .bar span {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
}

.ticket-row .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.floating-badge {
  position: absolute;
  bottom: -22px;
  inset-inline-start: -22px;
  background: var(--ink);
  color: var(--white);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.floating-badge .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.floating-badge .value {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.1;
}

.floating-badge .label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* ============ Features ============ */
.features {
  padding-block: 88px;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(215, 28, 45, 0.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

/* ============ Stats ============ */
.stats {
  background: var(--ink);
  padding-block: 64px;
}

.stats .section-title,
.stats .section-subtitle {
  color: var(--white);
}

.stats .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-value {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ============ Footer ============ */
.footer {
  background: var(--ink-soft);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 56px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .brand {
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 18px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

.footer ul a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============ Responsive ============ */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-actions .btn-outline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 18px;
    box-shadow: var(--shadow);
  }

  .hero-inner {
    flex-direction: column;
  }

  .hero-content,
  .hero-visual {
    flex: 1 1 auto;
    width: 100%;
  }

  .hero-visual {
    margin-top: 24px;
  }

  .floating-badge {
    position: static;
    margin-top: 16px;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .features-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

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

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