/* ========================================
   BeeQR Uses Page - Apple-style Premium Design
   ======================================== */

/* BeeQR Brand Colors */
:root {
  --beeqr-yellow: #FFC107;
  --beeqr-dark-grey: #333333;
  --beeqr-yellow-light: #FFD54F;
  --beeqr-yellow-dark: #FFA000;
}

/* Hero Section */
.uses-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0 60px;
  border-bottom: 1px solid #e9ecef;
}

.uses-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--beeqr-dark-grey);
  margin-bottom: 1.5rem;
}

.uses-hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: #6c757d;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* Overview Cards Section */
.uses-overview {
  background: #ffffff;
  padding: 60px 0;
}

.use-overview-card {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.use-overview-card:hover {
  transform: translateY(-4px);
  text-decoration: none;
}

.use-overview-card-inner {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.use-overview-card:hover .use-overview-card-inner {
  border-color: var(--beeqr-yellow);
  box-shadow: 0 8px 24px rgba(255, 193, 7, 0.2);
}

.use-tagline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--beeqr-dark-grey);
  background: var(--beeqr-yellow);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.use-overview-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.use-overview-intro {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Detailed Use Case Sections */
.uses-detailed {
  background: #ffffff;
}

.use-detail-section {
  padding: 80px 0;
  border-bottom: 1px solid #f1f3f5;
}

.use-detail-section:last-child {
  border-bottom: none;
}

.use-detail-section.layout-right {
  background: #fafbfc;
}

.use-detail-tagline {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--beeqr-dark-grey);
  background: var(--beeqr-yellow);
  padding: 0.35rem 0.9rem;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.use-detail-headline {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--beeqr-dark-grey);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.use-detail-description {
  font-size: 1.125rem;
  color: #495057;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.use-detail-extended {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Benefits and Examples */
.use-benefits,
.use-examples {
  margin-top: 2rem;
}

.benefits-title,
.examples-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--beeqr-dark-grey);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.benefits-list,
.examples-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li,
.examples-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #495057;
  line-height: 1.6;
}

.benefits-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--beeqr-yellow-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

.examples-list li:before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: #6c757d;
  font-weight: 700;
}

/* How It Works */
.use-how-it-works {
  margin-top: 3rem;
}

.how-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--beeqr-dark-grey);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.how-step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
}

.how-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--beeqr-yellow);
  color: var(--beeqr-dark-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.how-step-content {
  flex: 1;
}

.how-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--beeqr-dark-grey);
  margin-bottom: 0.5rem;
}

.how-step-description {
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.5;
}

/* Image Placeholder */
.use-detail-image {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Closing Section */
.uses-closing {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0;
  border-top: 1px solid #e9ecef;
}

.closing-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--beeqr-dark-grey);
  margin-bottom: 1.5rem;
}

.closing-description {
  font-size: 1.125rem;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 0;
}

.closing-cta {
  margin-top: 2rem;
}

.closing-cta .btn {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .uses-hero-title {
    font-size: 2.5rem;
  }

  .uses-hero-subtitle {
    font-size: 1.125rem;
  }

  .use-detail-headline {
    font-size: 2rem;
  }

  .use-detail-section {
    padding: 60px 0;
  }
}

@media (max-width: 767.98px) {
  .uses-hero {
    padding: 60px 0 40px;
  }

  .uses-hero-title {
    font-size: 2rem;
  }

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

  .use-overview-card-inner {
    padding: 1.5rem;
  }

  .use-detail-headline {
    font-size: 1.75rem;
  }

  .use-detail-description {
    font-size: 1rem;
  }

  .closing-title {
    font-size: 1.875rem;
  }

  .closing-description {
    font-size: 1rem;
  }

  .closing-cta .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .closing-cta .btn.ms-3 {
    margin-left: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .uses-hero-title {
    font-size: 1.75rem;
  }

  .use-detail-section {
    padding: 40px 0;
  }

  .use-detail-headline {
    font-size: 1.5rem;
  }

  .image-placeholder {
    aspect-ratio: 16 / 10;
  }
}

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

/* Focus styles for accessibility */
.use-overview-card:focus {
  outline: 2px solid var(--beeqr-yellow);
  outline-offset: 4px;
}

.use-overview-card:focus .use-overview-card-inner {
  border-color: var(--beeqr-yellow);
}
