:root {
  --bg: #ffffff;
  --bg-secondary: #f5f7fa;
  --text: #1a202c;
  --text-light: #4a5568;
  --text-lighter: #718096;
  --border: #e2e8f0;
  --accent: #8e44ad;
  --ticket-color: #8e44ad;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 70px;
}

/* Update dark mode text colors for better contrast */
.dark {
  --bg: #0f172a; /* Darker background for better contrast */
  --bg-secondary: #1e293b; /* Darker secondary background */
  --text: #ffffff; /* Pure white text for maximum contrast */
  --text-light: #e2e8f0; /* Light gray text */
  --text-lighter: #a0aec0; /* Lighter gray text */
  --border: #334155; /* Darker border for better visibility */
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  opacity: 0.8;
}

button {
  cursor: pointer;
  font-family: inherit;
}

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

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Custom cursor */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(142, 68, 173, 0.3);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background-color 0.3s;
  display: none;
}

@media (hover: hover) {
  .cursor {
    display: block;
  }
}

.cursor.clicked {
  transform: translate(-50%, -50%) scale(0.8);
  background-color: rgba(142, 68, 173, 0.5);
}

.cursor.hover {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: rgba(142, 68, 173, 0.2);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  z-index: 100;
  transition: var(--transition);
}

.dark header {
  background-color: rgba(15, 23, 42, 0.9); /* Darker background in dark mode */
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

header.scrolled {
  box-shadow: var(--shadow-lg);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  color: var(--text);
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

#theme-toggle {
  background: none;
  border: none;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: var(--transition);
}

#theme-toggle:hover {
  background-color: var(--bg-secondary);
}

.sun-icon {
  display: none;
}

.moon-icon {
  display: block;
}

.dark .sun-icon {
  display: block;
}

.dark .moon-icon {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text);
  border-radius: 3px;
  transition: var(--transition);
}

/* Background animation with floating tickets */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4efe9 100%);
}

.dark .bg-animation {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Floating ticket styles */
.floating-ticket {
  position: absolute;
  width: 120px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0.7;
  animation: float 15s infinite ease-in-out;
  pointer-events: none;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .floating-ticket {
  background-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-ticket::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 15px;
  background-color: var(--ticket-color);
  opacity: 0.7;
  border-radius: 4px;
}

.floating-ticket::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 40px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.dark .floating-ticket::before {
  opacity: 0.8; /* Increase opacity in dark mode for better visibility */
}

.dark .floating-ticket::after {
  background-color: rgba(
    255,
    255,
    255,
    0.4
  ); /* Increase contrast in dark mode */
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--rotation, 0deg)) scale(1);
  }
  25% {
    transform: translateY(-20px) rotate(var(--rotation, 0deg)) scale(1.05);
  }
  50% {
    transform: translateY(0) rotate(var(--rotation, 0deg)) scale(1);
  }
  75% {
    transform: translateY(20px) rotate(var(--rotation, 0deg)) scale(0.95);
  }
}

/* Add geometric patterns to background */
.geometric-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(
      circle at 25px 25px,
      rgba(255, 255, 255, 0.2) 2px,
      transparent 0
    ),
    radial-gradient(
      circle at 75px 75px,
      rgba(255, 255, 255, 0.2) 2px,
      transparent 0
    );
  background-size: 100px 100px;
  opacity: 0.5;
  pointer-events: none;
}

.dark .geometric-pattern {
  background-image: radial-gradient(
      circle at 25px 25px,
      rgba(255, 255, 255, 0.1) 2px,
      transparent 0
    ),
    radial-gradient(
      circle at 75px 75px,
      rgba(255, 255, 255, 0.1) 2px,
      transparent 0
    );
}

/* Hero section */
.hero {
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Hero section styling */
.hero-content {
  text-align: center;
  margin-bottom: 60px;
}

/* Fix the main heading in dark mode */
.main-heading {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}

/* Light mode gradient */
:root:not(.dark) .main-heading {
  background: linear-gradient(90deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* Dark mode solid color for better visibility */
.dark .main-heading {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(142, 68, 173, 0.7);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.ticket-builder {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* Ticket styles */
.ticket {
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 350px;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.dark .ticket {
  background-color: var(--bg-secondary);
}

.ticket-header {
  padding: 20px;
  background-color: var(--ticket-color);
  color: white;
  position: relative;
}

.event-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.event-date {
  font-size: 1rem;
  opacity: 0.9;
}

.ticket-body {
  padding: 30px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.ticket-info {
  flex: 1;
}

.venue {
  font-weight: 600;
  margin-bottom: 10px;
}

.seat {
  color: var(--text-light);
  font-size: 0.9rem;
}

.ticket-visual {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code {
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* Fix QR code in dark mode */
.dark .qr-code {
  background-color: #2a2a2a;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .qr-code rect[fill="white"] {
  fill: #4a5568;
}

/* Add hover effect to QR code */
.ticket:hover .qr-code {
  transform: scale(1.05);
}

.ticket-footer {
  padding: 15px 20px;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-id {
  font-size: 0.8rem;
  color: var(--text-lighter);
  font-family: monospace;
}

.ticket-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hole {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--bg);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.hole-left {
  top: 50%;
  left: -15px;
  transform: translateY(-50%);
}

.hole-right {
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
}

/* Ticket styles */
.ticket.classic {
  border-radius: var(--radius);
}

.ticket.rounded {
  border-radius: 20px;
}

.ticket.rounded .ticket-header {
  border-radius: 20px 20px 0 0;
}

.ticket.minimal {
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--border);
}

.ticket.minimal .ticket-header {
  background-color: transparent;
  color: var(--ticket-color);
  border-bottom: 2px solid var(--ticket-color);
}

/* Fix hologram effect */
.ticket.hologram {
  position: relative;
  overflow: hidden;
}

.ticket.hologram::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 25%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  transform: translateX(-50%) translateY(-50%);
  animation: hologram 5s infinite linear;
  z-index: 10;
}

.dark .ticket.hologram::after {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 25%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.1) 75%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Add rainbow edge effect for hologram */
.ticket.hologram {
  border: none;
  box-shadow: 0 0 15px rgba(142, 68, 173, 0.6);
  position: relative;
}

.ticket.hologram::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7f00,
    #ffff00,
    #00ff00,
    #0000ff,
    #4b0082,
    #8b00ff,
    #ff0000
  );
  background-size: 400% 400%;
  z-index: -1;
  border-radius: calc(var(--radius) + 2px);
  animation: rainbow 6s linear infinite;
}

.ticket.hologram.rounded::before {
  border-radius: 22px;
}

/* Add hologram pattern */
.ticket.hologram .ticket-header::after,
.ticket.hologram .ticket-body::after,
.ticket.hologram .ticket-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.1) 0px,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px,
      transparent 5px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.1) 0px,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px,
      transparent 5px
    );
  pointer-events: none;
}

@keyframes rainbow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes hologram {
  0% {
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
    opacity: 0;
  }
  25% {
    opacity: 0.7;
  }
  50% {
    transform: translateX(-50%) translateY(-50%) rotate(180deg);
    opacity: 1;
  }
  75% {
    opacity: 0.7;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) rotate(360deg);
    opacity: 0;
  }
}

/* Barcode and logo placeholders */
.barcode-placeholder {
  width: 100%;
  height: 40px;
  background: repeating-linear-gradient(
    to right,
    var(--text) 0,
    var(--text) 2px,
    transparent 2px,
    transparent 4px
  );
  border-radius: 4px;
  margin-top: 15px;
}

.logo-placeholder {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  margin-right: 15px;
  position: relative;
}

.logo-placeholder::before,
.logo-placeholder::after {
  content: "";
  position: absolute;
  background-color: rgba(255, 255, 255, 0.7);
}

.logo-placeholder::before {
  width: 60%;
  height: 2px;
  top: 50%;
  left: 20%;
  transform: translateY(-50%);
}

.logo-placeholder::after {
  width: 2px;
  height: 60%;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
}

/* Customization panel */
.customization-panel {
  background-color: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 30px;
  width: 350px;
  box-shadow: var(--shadow);
}

.customization-panel h2 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.customization-group {
  margin-bottom: 25px;
}

.customization-group h3 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.color-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--color);
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.color-option.active {
  border-color: var(--text);
  transform: scale(1.1);
}

.style-options {
  display: flex;
  gap: 10px;
}

.style-option {
  padding: 8px 15px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}

.style-option.active {
  background-color: var(--accent);
  color: white;
  border-color: var(--accent);
}

.additional-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.toggle-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.toggle-slider {
  position: relative;
  width: 40px;
  height: 20px;
  background-color: var(--border);
  border-radius: 20px;
  margin-right: 10px;
  transition: var(--transition);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: white;
  top: 2px;
  left: 2px;
  transition: var(--transition);
}

.toggle-option input {
  display: none;
}

.toggle-option input:checked + .toggle-slider {
  background-color: var(--accent);
}

.toggle-option input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
}

.action-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.cta {
  text-align: center;
  margin-top: 40px;
  padding: 4%;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--accent);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.pulse-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(142, 68, 173, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(142, 68, 173, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(142, 68, 173, 0);
  }
}

.cta p {
  margin-top: 15px;
  color: var(--text-light);
}

.scroll-indicator {
  position: absolute;

  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.7;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--text);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--text);
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

.arrow {
  margin-top: 10px;
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Features section */
.features {
  padding: 100px 0;
  background-color: var(--bg);
  position: relative;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature {
  text-align: center;
  padding: 30px;
  border-radius: var(--radius);
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(142, 68, 173, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent);
}

.feature h3 {
  margin-bottom: 15px;
}

/* Privacy section */
.privacy {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  position: relative;
}

.privacy h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: var(--text-light);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.privacy-card {
  background-color: var(--bg);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.privacy-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(142, 68, 173, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.privacy-card h3 {
  margin-bottom: 15px;
}

.privacy-statement {
  background-color: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-statement.visible {
  opacity: 1;
  transform: translateY(0);
}

.privacy-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: rgba(142, 68, 173, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

/* Create section */
.create {
  padding: 100px 0;
  background-color: var(--bg);
  position: relative;
}

.create .container {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.create-content {
  flex: 1;
  min-width: 300px;
}

.create-content h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.step {
  display: flex;
  gap: 20px;
  opacity: 0;
  transform: translateX(-20px);
  transition: var(--transition);
}

.step.visible {
  opacity: 1;
  transform: translateX(0);
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 10px;
}

.ticket-showcase {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.ticket-stack {
  position: relative;
  width: 300px;
  height: 500px;
}

.app-screenshot {
  position: absolute;
  width: 250px;
  height: 450px;
  background-color: var(--bg-secondary);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshot-1 {
  top: 0;
  left: 0;
  z-index: 3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='450' viewBox='0 0 250 450'%3E%3Crect width='250' height='450' fill='%23f5f7fa'/%3E%3Crect x='20' y='40' width='210' height='100' rx='8' fill='%238e44ad'/%3E%3Crect x='20' y='160' width='150' height='10' rx='5' fill='%23718096'/%3E%3Crect x='20' y='180' width='100' height='10' rx='5' fill='%23718096'/%3E%3Crect x='20' y='220' width='210' height='60' rx='8' fill='%23e2e8f0'/%3E%3Crect x='20' y='300' width='210' height='60' rx='8' fill='%23e2e8f0'/%3E%3Crect x='20' y='380' width='100' height='40' rx='20' fill='%238e44ad'/%3E%3C/svg%3E");
}

.dark .screenshot-1 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='450' viewBox='0 0 250 450'%3E%3Crect width='250' height='450' fill='%231e293b'/%3E%3Crect x='20' y='40' width='210' height='100' rx='8' fill='%238e44ad'/%3E%3Crect x='20' y='160' width='150' height='10' rx='5' fill='%23a0aec0'/%3E%3Crect x='20' y='180' width='100' height='10' rx='5' fill='%23a0aec0'/%3E%3Crect x='20' y='220' width='210' height='60' rx='8' fill='%23334155'/%3E%3Crect x='20' y='300' width='210' height='60' rx='8' fill='%23334155'/%3E%3Crect x='20' y='380' width='100' height='40' rx='20' fill='%238e44ad'/%3E%3C/svg%3E");
}

.screenshot-2 {
  top: 20px;
  left: 20px;
  z-index: 2;
  transform: scale(0.95);
  opacity: 0.7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='450' viewBox='0 0 250 450'%3E%3Crect width='250' height='450' fill='%23f5f7fa'/%3E%3Crect x='20' y='40' width='210' height='150' rx='8' fill='%232ecc71'/%3E%3Ccircle cx='180' cy='110' r='30' fill='white' fill-opacity='0.3'/%  rx='8' fill='%232ecc71'/%3E%3Ccircle cx='180' cy='110' r='30' fill='white' fill-opacity='0.3'/%3E%3Crect x='20' y='210' width='150' height='10' rx='5' fill='%23718096'/%3E%3Crect x='20' y='230' width='100' height='10' rx='5' fill='%23718096'/%3E%3Crect x='20' y='270' width='210' height='1' rx='0.5' fill='%23cbd5e0'/%3E%3Crect x='20' y='290' width='210' height='40' rx='8' fill='%23e2e8f0'/%3E%3Crect x='20' y='350' width='210' height='40' rx='8' fill='%23e2e8f0'/%3E%3C/svg%3E");
}

.dark .screenshot-2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='450' viewBox='0 0 250 450'%3E%3Crect width='250' height='450' fill='%231e293b'/%3E%3Crect x='20' y='40' width='210' height='150' rx='8' fill='%232ecc71'/%3E%3Ccircle cx='180' cy='110' r='30' fill='white' fill-opacity='0.3'/%3E%3Crect x='20' y='210' width='150' height='10' rx='5' fill='%23a0aec0'/%3E%3Crect x='20' y='230' width='100' height='10' rx='5' fill='%23a0aec0'/%3E%3Crect x='20' y='270' width='210' height='1' rx='0.5' fill='%23334155'/%3E%3Crect x='20' y='290' width='210' height='40' rx='8' fill='%23334155'/%3E%3Crect x='20' y='350' width='210' height='40' rx='8' fill='%23334155'/%3E%3C/svg%3E");
}

.screenshot-3 {
  top: 40px;
  left: 40px;
  z-index: 1;
  transform: scale(0.9);
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='450' viewBox='0 0 250 450'%3E%3Crect width='250' height='450' fill='%23f5f7fa'/%3E%3Crect x='20' y='40' width='210' height='80' rx='8' fill='%233498db'/%3E%3Crect x='20' y='140' width='100' height='100' rx='8' fill='%23e2e8f0'/%3E%3Crect x='140' y='140' width='90' height='100' rx='8' fill='%23e2e8f0'/%3E%3Crect x='20' y='260' width='210' height='10' rx='5' fill='%23718096'/%3E%3Crect x='20' y='280' width='170' height='10' rx='5' fill='%23718096'/%3E%3Crect x='20' y='320' width='210' height='60' rx='8' fill='%23e2e8f0'/%3E%3C/svg%3E");
}

.dark .screenshot-3 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='450' viewBox='0 0 250 450'%3E%3Crect width='250' height='450' fill='%231e293b'/%3E%3Crect x='20' y='40' width='210' height='80' rx='8' fill='%233498db'/%3E%3Crect x='20' y='140' width='100' height='100' rx='8' fill='%23334155'/%3E%3Crect x='140' y='140' width='90' height='100' rx='8' fill='%23334155'/%3E%3Crect x='20' y='260' width='210' height='10' rx='5' fill='%23a0aec0'/%3E%3Crect x='20' y='280' width='170' height='10' rx='5' fill='%23a0aec0'/%3E%3Crect x='20' y='320' width='210' height='60' rx='8' fill='%23334155'/%3E%3C/svg%3E");
}

/* Download section */
.download {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  text-align: center;
  position: relative;
}

.download h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.download p {
  margin-bottom: 40px;
  color: var(--text-light);
}

.download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  background-color: var(--bg);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Footer */
footer {
  padding: 60px 0 30px;
  background-color: var(--bg);
}

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

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.footer-logo span {
  color: var(--accent);
}

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

.footer-links a {
  color: var(--text-light);
}

.copyright {
  text-align: center;
  color: var(--text-lighter);
  font-size: 0.9rem;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Toast notifications */
#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 300px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border-radius: var(--radius);
  background-color: var(--bg);
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s forwards;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast.success {
  border-left: 4px solid #2ecc71;
}

.toast.error {
  border-left: 4px solid #e74c3c;
}

.toast.warning {
  border-left: 4px solid #f39c12;
}

.toast.info {
  border-left: 4px solid #3498db;
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  color: #2ecc71;
}

.toast.error .toast-icon {
  color: #e74c3c;
}

.toast.warning .toast-icon {
  color: #f39c12;
}

.toast.info .toast-icon {
  color: #3498db;
}

.toast-content {
  flex: 1;
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-lighter);
  cursor: pointer;
  padding: 0 5px;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .main-heading {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 99;
  }

  nav.active {
    transform: translateX(0);
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .ticket-builder {
    flex-direction: column;
    align-items: center;
  }

  .create .container {
    flex-direction: column;
  }

  .ticket-showcase {
    order: -1;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .main-heading {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .ticket,
  .customization-panel {
    width: 100%;
  }

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

  .privacy-statement {
    flex-direction: column;
    text-align: center;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
}
