/* Brands Page Styles */

:root {
  --pale-blue: #acc1fc;
  --accent-yellow: #FF6F00;
  --dark-navy: #1f274e;
  --raisin-black: #1f2021;
  --off-white: #f9f6f1;
}

/* Hero Section */
.brands-hero {
  background: linear-gradient(165deg, #ffffff 0%, #f8f9fa 100%);
  padding: 120px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.brands-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(172, 193, 252, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 111, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.brands-hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.brands-badge {
  display: inline-block;
  background: rgba(172, 193, 252, 0.15);
  color: var(--dark-navy);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  border: 1px solid rgba(172, 193, 252, 0.4);
  font-family: 'Matter', sans-serif;
  animation: fadeInDown 0.6s ease-out;
}

.brands-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  font-family: 'Calsans', 'Matter', sans-serif;
  color: var(--raisin-black);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.brands-hero h1 .highlight {
  background: linear-gradient(135deg, var(--pale-blue), var(--accent-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brands-hero p {
  font-size: 20px;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--raisin-black);
  font-family: 'Matter', sans-serif;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Brands Section */
.brands-section {
  padding: 80px 20px;
  background: #ffffff;
}

.brands-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.mono-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--pale-blue);
  margin-bottom: 16px;
  text-transform: uppercase;
  font-family: 'Matter', sans-serif;
}

.section-header h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--raisin-black);
  font-family: 'Calsans', 'Matter', sans-serif;
}

.section-header p {
  font-size: 18px;
  color: var(--raisin-black);
  opacity: 0.7;
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Matter', sans-serif;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.brand-card {
  padding: 32px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  animation-delay: calc(var(--item-index, 0) * 0.08s);
  display: flex;
  flex-direction: column;
}

.brand-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--pale-blue);
}

.brand-logo-wrapper {
  margin-bottom: 24px;
}

.brand-logo {
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, var(--pale-blue), var(--accent-yellow));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 14px;
  text-align: center;
  padding: 16px;
  font-family: 'Calsans', 'Matter', sans-serif;
}

.brand-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.brand-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--raisin-black);
  font-family: 'Calsans', 'Matter', sans-serif;
}

.brand-category {
  font-size: 13px;
  font-weight: 700;
  color: var(--pale-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  font-family: 'Matter', sans-serif;
}

.brand-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--raisin-black);
  opacity: 0.7;
  margin-bottom: 16px;
  flex: 1;
  font-family: 'Matter', sans-serif;
}

.brand-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stat-badge {
  display: inline-block;
  background: rgba(172, 193, 252, 0.1);
  color: var(--dark-navy);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(172, 193, 252, 0.3);
  font-family: 'Matter', sans-serif;
}

/* Industry Section */
.industry-section {
  padding: 80px 20px;
  background: linear-gradient(165deg, #f8f9fa 0%, #ffffff 100%);
}

.industry-container {
  max-width: 1200px;
  margin: 0 auto;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.industry-card {
  padding: 36px;
  background: #ffffff;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  text-align: center;
  transition: all 0.4s ease;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  animation-delay: calc(var(--item-index, 0) * 0.1s);
  position: relative;
}

.industry-card:hover {
  transform: translateY(-8px);
  border-color: var(--pale-blue);
  box-shadow: 0 20px 40px rgba(172, 193, 252, 0.15);
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--pale-blue), var(--accent-yellow));
  border-radius: 12px 12px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.industry-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--raisin-black);
  font-family: 'Calsans', 'Matter', sans-serif;
}

.industry-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--raisin-black);
  opacity: 0.7;
  margin-bottom: 16px;
  font-family: 'Matter', sans-serif;
}

.industry-count {
  display: inline-block;
  background: var(--pale-blue);
  color: var(--dark-navy);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Matter', sans-serif;
}

/* Partnership Section */
.partnership-section {
  padding: 80px 20px;
  background: #ffffff;
}

.partnership-container {
  max-width: 1200px;
  margin: 0 auto;
}

.partnership-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.reason-card {
  padding: 32px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  position: relative;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  animation-delay: calc(var(--item-index, 0) * 0.1s);
  transition: all 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-4px);
  border-color: var(--pale-blue);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reason-number {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pale-blue), var(--accent-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  font-family: 'Calsans', 'Matter', sans-serif;
}

.reason-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--raisin-black);
  font-family: 'Calsans', 'Matter', sans-serif;
}

.reason-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--raisin-black);
  opacity: 0.7;
  margin: 0;
  font-family: 'Matter', sans-serif;
}

/* CTA Section */
.brands-cta {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--pale-blue), var(--accent-yellow));
  text-align: center;
  color: #ffffff;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Calsans', 'Matter', sans-serif;
}

.cta-content p {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: 0.95;
  font-family: 'Matter', sans-serif;
}

.cta-btn {
  display: inline-block;
  background: var(--dark-navy);
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Matter', sans-serif;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: var(--raisin-black);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .brands-hero {
    padding: 80px 20px 60px;
  }

  .brands-hero h1 {
    font-size: 36px;
  }

  .brands-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .brand-card {
    padding: 24px;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .industry-card {
    padding: 24px;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .brands-cta {
    padding: 80px 20px;
  }

  .cta-content h2 {
    font-size: 32px;
  }
}

/* Accessibility */
.cta-btn:focus {
  outline: 2px solid var(--dark-navy);
  outline-offset: 2px;
}

.brand-card:focus-within,
.industry-card:focus-within {
  outline: 2px solid var(--pale-blue);
  outline-offset: 2px;
}
