/* MyPrimeTickets CSS Styles */
/* Based on Tailwind V4 configuration and component styles */

:root {
  --font-size: 14px;
  --background: #f1f3f4;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --card-foreground: #1a1a1a;
  --popover: #ffffff;
  --popover-foreground: #1a1a1a;
  --primary: #000000;
  --primary-foreground: #ffffff;
  --secondary: #f8f9fa;
  --secondary-foreground: #1a1a1a;
  --muted: #f1f3f4;
  --muted-foreground: #6c757d;
  --accent: #22c55e;
  --accent-foreground: #ffffff;
  --destructive: #dc2626;
  --destructive-foreground: #ffffff;
  --border: rgba(0, 0, 0, 0.1);
  --input: transparent;
  --input-background: #f8f9fa;
  --switch-background: #e5e7eb;
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --ring: #22c55e;
  --chart-1: #22c55e;
  --chart-2: #3b82f6;
  --chart-3: #8b5cf6;
  --chart-4: #f59e0b;
  --chart-5: #ef4444;
  --radius: 0.625rem;
  --sidebar: #ffffff;
  --sidebar-foreground: #1a1a1a;
  --sidebar-primary: #000000;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #f8f9fa;
  --sidebar-accent-foreground: #1a1a1a;
  --sidebar-border: #e5e7eb;
  --sidebar-ring: #22c55e;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: var(--font-weight-normal);
  background-image: 
    radial-gradient(circle, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 0, 0, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.01) 1px, transparent 1px);
  background-size: 24px 24px, 48px 48px, 48px 48px;
  min-height: 100vh;
}

/* Typography */
h1 {
  font-size: 2rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
}

h2 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.3;
}

h3 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}

h4 {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}

p {
  font-size: 1rem;
  font-weight: var(--font-weight-normal);
  line-height: 1.5;
}

/* Utility Classes */
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }
.text-green { color: #22c55e; }
.text-red { color: #ef4444; }
.bg-accent-light { background-color: rgba(34, 197, 94, 0.1); }
.bg-blue { background-color: #3b82f6; color: white; }
.bg-orange { background-color: #f97316; color: white; }

/* Container */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: white;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .header-container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .header-container { padding: 0 2rem; }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

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

.logo {
  height: 3rem;
  width: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

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

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  outline: none;
  text-decoration: none;
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* Button Variants */
.btn-default {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-default:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-accent:hover {
  background-color: rgba(34, 197, 94, 0.9);
}

.btn-outline {
  border: 1px solid var(--border);
  background-color: var(--background);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-ghost {
  background-color: transparent;
  color: var(--foreground);
}

.btn-ghost:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* Button Sizes */
.btn {
  height: 2.25rem;
  padding: 0.5rem 1rem;
}

.btn-lg {
  height: 2.5rem;
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
}

.btn-full {
  width: 100%;
}

.btn-hidden-mobile {
  display: none;
}

@media (min-width: 640px) {
  .btn-hidden-mobile { display: inline-flex; }
}

/* Cards */
.card {
  background-color: var(--card);
  color: var(--card-foreground);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
  width: fit-content;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
  overflow: hidden;
}

.badge-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.badge-large {
  font-size: 32px;
  padding: 0.5rem 1rem;
}

.badge-popular {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: var(--accent-foreground);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
}

/* Icons */
.icon {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

.icon-accent {
  color: var(--accent);
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--background), rgba(248, 249, 250, 0.3));
}

.hero-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .hero-container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .hero-container { padding: 0 2rem; }
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--foreground);
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; }
}

.hero-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-cards {
  display: grid;
  gap: 1.5rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .hero-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hero-card {
  padding: 1.5rem;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
}

.hero-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.hero-card-title {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: var(--font-weight-medium);
}

.hero-card-description {
  color: var(--muted-foreground);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 2.5rem; }
}

.section-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-icon {
  margin-bottom: 1rem;
}

.feature-title {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: var(--font-weight-medium);
}

.feature-description {
  color: var(--muted-foreground);
}

/* Pricing Section */
.pricing {
  padding: 5rem 0;
  background-color: rgba(248, 249, 250, 0.3);
}

.pricing-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  padding: 2rem;
  position: relative;
}

.pricing-card-popular {
  border-color: var(--accent);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.pricing-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-medium);
}

.pricing-price {
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2rem;
  font-weight: var(--font-weight-medium);
}

.price-period {
  color: var(--muted-foreground);
}

.pricing-description {
  color: var(--muted-foreground);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.pricing-feature svg {
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.pricing-feature span {
  font-size: 0.875rem;
}

/* Competitors Section */
.competitors {
  padding: 5rem 0;
}

.competitors-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .competitors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.competitors-card {
  position: relative;
}

.competitors-card-best {
  border-color: var(--accent);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  ring: 2px solid rgba(34, 197, 94, 0.2);
}

.competitors-content {
  padding: 1.5rem;
}

.competitors-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.competitors-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  font-size: 1.5rem;
}

.competitors-logo-img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.competitors-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-medium);
}

.competitors-plans {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.competitors-plan {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem;
  background-color: rgba(248, 249, 250, 0.3);
}

.competitors-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.competitors-plan-name {
  font-weight: var(--font-weight-medium);
}

.competitors-plan-price {
  font-size: 1.125rem;
  font-weight: var(--font-weight-medium);
}

.competitors-plan-fee {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.competitors-plan-features {
  list-style: none;
}

.competitors-plan-features li {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

/* Savings Calculator */
.savings-calculator {
  background: linear-gradient(to right, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 4rem;
}

.savings-header {
  text-align: center;
  margin-bottom: 2rem;
}

.savings-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: var(--font-weight-medium);
}

.savings-description {
  color: var(--muted-foreground);
}

.table-container {
  overflow-x: auto;
}

.savings-table,
.feature-table {
  width: 100%;
  border-collapse: collapse;
}

.savings-table th,
.savings-table td,
.feature-table th,
.feature-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.savings-table th,
.feature-table th {
  font-weight: var(--font-weight-medium);
}

.table-cell-bold {
  font-weight: var(--font-weight-medium);
}

.table-cell-center {
  text-align: center;
}

.savings-amounts {
  font-size: 0.875rem;
}

.savings-amount {
  color: #22c55e;
  font-weight: var(--font-weight-medium);
}

/* Feature Comparison */
.feature-comparison {
  margin-bottom: 4rem;
}

.feature-comparison-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: var(--font-weight-medium);
}

/* Call to Action */
.competitors-cta {
  text-align: center;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 0.5rem;
  padding: 2rem;
}

.competitors-cta-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: var(--font-weight-medium);
}

.competitors-cta-description {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .footer-container { padding: 3rem 1.5rem; }
}

@media (min-width: 1024px) {
  .footer-container { padding: 3rem 2rem; }
}

.footer-content {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr repeat(3, auto);
  }
}

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

@media (min-width: 768px) {
  .footer-brand {
    grid-column: span 1;
  }
}

.footer-logo {
  height: 3rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-description {
  opacity: 0.8;
  font-size: 0.875rem;
}

.footer-section-title {
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: var(--font-weight-medium);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--primary-foreground);
  opacity: 0.8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.footer-link:hover {
  opacity: 1;
  color: var(--primary-foreground);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copyright {
  opacity: 0.6;
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .footer-social {
    margin-top: 0;
  }
}

.footer-social-link {
  color: var(--primary-foreground);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-social-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Responsive Design */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .pricing-card-popular {
    transform: none;
  }
  
  .badge-large {
    font-size: 24px;
  }
  
  .table-container {
    font-size: 0.875rem;
  }
  
  .savings-table th,
  .savings-table td,
  .feature-table th,
  .feature-table td {
    padding: 0.5rem 0.75rem;
  }
}

/* Smooth transitions */
* {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, 
              box-shadow 0.2s ease, transform 0.2s ease;
}

/* Focus styles */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}