/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0066FF;
  --primary-dark: #0052CC;
  --primary-light: #E8F1FF;
  --accent: #00C896;
  --accent-dark: #00A67E;
  --dark: #0A1628;
  --dark-soft: #1A2744;
  --gray-900: #1E293B;
  --gray-700: #475569;
  --gray-500: #94A3B8;
  --gray-300: #CBD5E1;
  --gray-100: #F1F5F9;
  --white: #FFFFFF;
  --gold: #F59E0B;
  --red: #EF4444;
  --green: #10B981;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Heebo', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-nav {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--gray-100);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 8px;
}

.footer .logo-img {
  height: 52px;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
}

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

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, var(--primary-light) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-700);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-suffix {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 260px;
  background: var(--dark);
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.phone-mockup--hero {
  width: 280px;
  animation: float 6s ease-in-out infinite;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: var(--dark);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

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

.phone-screen {
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  line-height: 0;
}

.phone-screen img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Screenshots ===== */
.screenshots {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
  padding-top: 80px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: end;
}

.screenshot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.screenshot-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.screenshot-card .phone-mockup {
  transition: transform var(--transition), box-shadow var(--transition);
}

.screenshot-card:hover .phone-mockup {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(0, 102, 255, 0.18);
}

.screenshot-card--featured .phone-mockup {
  transform: scale(1.06);
  box-shadow: 0 16px 48px rgba(0, 102, 255, 0.15);
}

.screenshot-card--featured:hover .phone-mockup {
  transform: scale(1.06) translateY(-8px);
}

.screenshot-card figcaption {
  margin-top: 24px;
  max-width: 280px;
}

.screenshot-step {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.screenshot-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.screenshot-card p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ===== Section Shared ===== */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--gray-700);
}

/* ===== Features ===== */
.features {
  background: var(--gray-100);
}

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

.feature-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(24px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  margin-bottom: 20px;
}

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

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

.feature-card p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ===== Categories ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.category-card {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-100);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(24px);
}

.category-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin: 0 auto 16px;
}

.category-icon svg {
  width: 28px;
  height: 28px;
}

.ev-icon { background: #EFF6FF; color: var(--primary); }
.accessible-icon { background: #ECFDF5; color: var(--green); }
.vip-icon { background: #FFFBEB; color: var(--gold); }
.guest-icon { background: #F5F3FF; color: #8B5CF6; }
.reserved-icon { background: #FEF2F2; color: var(--red); }

.category-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

/* ===== Rules ===== */
.rules {
  background: var(--dark);
  color: var(--white);
}

.rules .section-tag {
  background: rgba(0, 102, 255, 0.2);
  color: #60A5FA;
}

.rules .section-title {
  color: var(--white);
}

.rules .section-desc {
  color: var(--gray-300);
}

.rules-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.rules-list {
  list-style: none;
  margin-top: 32px;
}

.rules-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Dashboard Mockup */
.dashboard-mockup {
  background: var(--dark-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.dash-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.dash-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 160px;
  margin-bottom: 24px;
  padding: 0 8px;
}

.bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(to top, var(--primary), #60A5FA);
  border-radius: 6px 6px 0 0;
  position: relative;
  animation: growBar 1.2s ease forwards;
  transform-origin: bottom;
}

.bar span {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--gray-500);
  white-space: nowrap;
}

@keyframes growBar {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

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

.metric {
  text-align: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--gray-500);
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Audience ===== */
.audience {
  background: var(--gray-100);
}

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

.audience-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(24px);
}

.audience-card.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.audience-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
  -webkit-text-stroke: 1px var(--primary);
  margin-bottom: 12px;
}

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

.audience-card p {
  font-size: 0.85rem;
  color: var(--gray-700);
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.cta-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-email {
  margin-top: 8px;
}

.contact-email-label {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 16px;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--white);
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition);
  direction: ltr;
}

.contact-email-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background: var(--gray-100);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: var(--gray-500);
  padding: 48px 0 32px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand p {
  margin-top: 8px;
  font-size: 0.9rem;
}

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

.footer-links a {
  color: var(--gray-300);
  font-weight: 500;
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 0.85rem;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 320px;
    margin: 0 auto;
  }

  .screenshot-card--featured .phone-mockup {
    transform: none;
  }

  .screenshot-card--featured:hover .phone-mockup {
    transform: translateY(-8px);
  }

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

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

  .rules-content {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    flex-direction: column;
    background: var(--white);
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

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

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

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

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  section {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }

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

  .btn {
    width: 100%;
  }
}

/* ===== Legal Pages ===== */
.legal-page {
  padding: 120px 0 80px;
  min-height: calc(100vh - 200px);
}

.legal-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.legal-updated {
  font-size: 0.95rem;
  color: var(--gray-500);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  box-shadow: var(--shadow);
}

.legal-section {
  margin-bottom: 36px;
}

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

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}

.legal-section p {
  color: var(--gray-700);
  margin-bottom: 12px;
  line-height: 1.8;
}

.legal-section ul {
  list-style: none;
  margin: 12px 0;
}

.legal-section ul li {
  position: relative;
  padding: 8px 20px 8px 0;
  color: var(--gray-700);
  line-height: 1.7;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.legal-section a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.legal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 32px auto 0;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-nav-link {
  color: var(--primary);
  font-weight: 600;
  transition: color var(--transition);
}

.legal-nav-link:hover {
  color: var(--primary-dark);
}

@media (max-width: 768px) {
  .legal-content {
    padding: 32px 24px;
  }

  .legal-nav {
    flex-direction: column;
    text-align: center;
  }
}
