/**
 * SellTickets.html - Modern Styling
 * Copyright 2005-Present, ITS MY SEAT INC.
 * Created: December 9, 2025
 *
 * Modern, responsive stylesheet for the SellTickets marketing page
 * Uses Bootstrap 5.3 with custom enhancements
 */

/* ========================================
   VARIABLES & ROOT STYLES
   ======================================== */
:root {
  /* Brand Colors */
  --ims-primary: #0066cc;
  --ims-secondary: #00509e;
  --ims-accent: #ff6b35;
  --ims-success: #28a745;
  --ims-warning: #ffc107;
  --ims-danger: #dc3545;

  /* Neutral Colors */
  --ims-dark: #1a1a1a;
  --ims-gray-900: #212529;
  --ims-gray-800: #343a40;
  --ims-gray-700: #495057;
  --ims-gray-600: #6c757d;
  --ims-gray-500: #adb5bd;
  --ims-gray-400: #ced4da;
  --ims-gray-300: #dee2e6;
  --ims-gray-200: #e9ecef;
  --ims-gray-100: #f8f9fa;
  --ims-white: #ffffff;

  /* Spacing */
  --section-padding: 4rem 0;
  --card-padding: 1.5rem;

  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;

  /* Shadows */
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);

  /* Transitions */
  --transition-base: all 0.3s ease-in-out;
  --transition-fast: all 0.15s ease-in-out;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ims-gray-800);
  background-color: var(--ims-gray-100);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Section Spacing */
section {
  padding: var(--section-padding);
}

/* Container Max Width */
.container {
  max-width: 1200px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  background: linear-gradient(135deg, var(--ims-primary) 0%, var(--ims-secondary) 100%);
  color: var(--ims-white);
  padding: 5rem 0;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0 L1200,0 L1200,100 Q600,120 0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>') bottom center no-repeat;
  background-size: cover;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ims-primary);
  background-color: var(--ims-white);
  border: none;
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-base);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.25);
  color: var(--ims-secondary);
}

.hero-trust-indicators {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-trust-indicators i {
  margin-right: 0.5rem;
  color: var(--ims-success);
}

/* ========================================
   NAVIGATION / TABS
   ======================================== */
.custom-nav-tabs {
  border-bottom: 2px solid var(--ims-gray-300);
  margin-bottom: 2rem;
  background-color: var(--ims-white);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.custom-nav-tabs .nav-link {
  color: var(--ims-gray-700);
  font-weight: 500;
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  border: none;
  border-bottom: 3px solid transparent;
  transition: var(--transition-base);
  display: inline-block;
}

.custom-nav-tabs .nav-link:hover {
  color: var(--ims-primary);
  border-bottom-color: var(--ims-gray-400);
}

.custom-nav-tabs .nav-link.active {
  color: var(--ims-primary);
  background-color: transparent;
  border-bottom-color: var(--ims-primary);
  font-weight: 600;
}

.tab-content {
  background-color: var(--ims-white);
  padding: 2rem;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: var(--shadow);
}

/* ========================================
   FEATURE CARDS
   ======================================== */
.feature-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ims-gray-900);
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ims-primary);
}

.feature-section-title:first-child {
  margin-top: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature-card {
  background-color: var(--ims-white);
  border: 1px solid var(--ims-gray-300);
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ims-primary);
}

.feature-card-icon {
  font-size: 2.5rem;
  color: var(--ims-primary);
  margin-bottom: 1rem;
  display: block;
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ims-gray-900);
  margin-bottom: 0.75rem;
}

.feature-card-description {
  color: var(--ims-gray-700);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  flex-grow: 1;
}

.feature-card-description strong {
  color: var(--ims-gray-900);
  font-weight: 600;
}

.feature-card-benefits {
  list-style: none;
  padding-left: 0;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.feature-card-benefits li {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  color: var(--ims-gray-700);
}

.feature-card-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ims-success);
  font-weight: bold;
}

.feature-badge {
  display: inline-block;
  background-color: var(--ims-accent);
  color: var(--ims-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-highlight {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 80, 158, 0.05) 100%);
  border-color: var(--ims-primary);
}

/* ========================================
   PRICING TABLE
   ======================================== */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  background-color: var(--ims-white);
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.pricing-table thead th {
  background-color: var(--ims-primary);
  color: var(--ims-white);
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  border: none;
}

.pricing-table tbody tr {
  border-bottom: 1px solid var(--ims-gray-300);
}

.pricing-table tbody tr:last-child {
  border-bottom: none;
}

.pricing-table tbody td {
  padding: 1rem;
  vertical-align: middle;
}

.pricing-table tbody tr:nth-child(even) {
  background-color: var(--ims-gray-100);
}

.pricing-check {
  color: var(--ims-success);
  font-size: 1.25rem;
}

.pricing-x {
  color: var(--ims-danger);
  font-size: 1.25rem;
}

.pricing-highlight {
  font-weight: 600;
  color: var(--ims-primary);
  font-size: 1.1rem;
}

/* ========================================
   CALL-TO-ACTION SECTIONS
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--ims-primary) 0%, var(--ims-secondary) 100%);
  color: var(--ims-white);
  padding: 3rem 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  margin: 3rem 0;
  box-shadow: var(--shadow-lg);
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ims-primary);
  background-color: var(--ims-white);
  border: none;
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: var(--transition-base);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--ims-secondary);
}

.cta-subtext {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ========================================
   STEP PROCESS
   ======================================== */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.step-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--ims-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition-base);
}

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

.step-icon {
  font-size: 3rem;
  color: var(--ims-primary);
  margin-bottom: 1rem;
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background-color: var(--ims-primary);
  color: var(--ims-white);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ims-gray-900);
  margin-bottom: 0.75rem;
}

.step-description {
  color: var(--ims-gray-700);
  font-size: 0.95rem;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-item {
  margin-bottom: 1.5rem;
  background-color: var(--ims-white);
  border: 1px solid var(--ims-gray-300);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--ims-primary);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ims-gray-900);
  margin-bottom: 0.75rem;
}

.faq-answer {
  color: var(--ims-gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================================
   VALUE PROPS / BENEFITS
   ======================================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.value-item {
  background-color: var(--ims-success);
  color: var(--ims-white);
  padding: 1rem;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.value-item i {
  margin-right: 0.5rem;
}

/* ========================================
   ALERTS / CALLOUTS
   ======================================== */
.callout {
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--ims-primary);
  background-color: rgba(0, 102, 204, 0.05);
  border-radius: var(--border-radius);
}

.callout-success {
  border-left-color: var(--ims-success);
  background-color: rgba(40, 167, 69, 0.05);
}

.callout-warning {
  border-left-color: var(--ims-warning);
  background-color: rgba(255, 193, 7, 0.05);
}

.callout-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--ims-gray-900);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background-color: var(--ims-gray-900);
  color: var(--ims-gray-400);
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer a {
  color: var(--ims-gray-400);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.footer-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.footer-logos img {
  max-height: 40px;
  filter: brightness(0.8);
  transition: var(--transition-fast);
}

.footer-logos img:hover {
  filter: brightness(1);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet and below */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .hero-cta {
    font-size: 1rem;
    padding: 0.875rem 2rem;
  }

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

  .custom-nav-tabs {
    overflow-x: scroll;
  }

  .custom-nav-tabs .nav-link {
    font-size: 1rem;
    padding: 0.875rem 1.25rem;
  }

  .tab-content {
    padding: 1.5rem;
  }

  .feature-section-title {
    font-size: 1.5rem;
  }

  .pricing-table {
    font-size: 0.9rem;
  }

  .pricing-table thead th,
  .pricing-table tbody td {
    padding: 0.75rem;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  section {
    padding: 2rem 0;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .hero-section {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 1.75rem;
  }

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

  .hero-trust-indicators {
    font-size: 0.8rem;
    gap: 1rem;
  }

  .tab-content {
    padding: 1rem;
  }

  .feature-card {
    padding: 1.25rem;
  }

  .cta-section {
    padding: 2rem 1rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-primary { color: var(--ims-primary) !important; }
.text-secondary { color: var(--ims-secondary) !important; }
.text-accent { color: var(--ims-accent) !important; }
.text-success { color: var(--ims-success) !important; }
.text-muted { color: var(--ims-gray-600) !important; }

.bg-light-blue { background-color: rgba(0, 102, 204, 0.05); }

.mb-4 { margin-bottom: 1.5rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }

/* ========================================
   ANIMATIONS (AOS will handle most, these are fallbacks)
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading/skeleton states */
.skeleton {
  background: linear-gradient(90deg, var(--ims-gray-200) 25%, var(--ims-gray-300) 50%, var(--ims-gray-200) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .hero-section,
  .custom-nav-tabs,
  .cta-section,
  .footer {
    display: none;
  }

  .feature-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
