/* Hero Section */
.brand-hero {
  padding: clamp(8rem, 16vw, 11rem) 2rem clamp(4rem, 8vw, 6rem);
  text-align: center;
  background: #fbfaf7;
  position: relative;
  overflow: hidden;
}

.brand-hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(3, 117, 246, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.brand-hero-content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.85rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: #edebe7;
  color: rgba(18, 17, 17, 0.64);
  font-size: 0.85rem;
  font-weight: 650;
}

.brand-hero h1 {
  color: #121111;
  font-size: clamp(2.75rem, 6vw, 4.6rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 1.5rem;
}

.brand-hero p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(18, 17, 17, 0.58);
  max-width: 640px;
  margin: 0 auto;
}

/* Shared Section Scaffolding */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  width: min(100%, 920px);
  margin: 0 auto clamp(2.75rem, 6vw, 4.5rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.85rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: #edebe7;
  color: rgba(18, 17, 17, 0.64);
  font-size: 0.85rem;
  font-weight: 650;
}

.section-header h2 {
  color: #121111;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 1rem;
}

.section-description {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(18, 17, 17, 0.58);
  line-height: 1.6;
}

/* Shared Download Link */
.brand-download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #0375f6;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9rem;
  transition: gap 0.3s ease;
}

.brand-download-link svg {
  width: 16px;
  height: 16px;
}

.brand-download-link:hover {
  gap: 0.7rem;
}

/* ---- Logo Files Section ---- */
.brand-logos {
  padding: clamp(5rem, 9vw, 8rem) 2rem;
  background: #fff;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.logo-card {
  background: #fbfaf7;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(18, 17, 17, 0.08);
  transition:
    transform 360ms ease,
    box-shadow 360ms ease;
  display: flex;
  flex-direction: column;
}

.logo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(18, 17, 17, 0.09);
}

.logo-preview {
  min-height: 180px;
  max-height: 60dvh;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(18, 17, 17, 0.08);
}

.logo-preview.light-bg {
  background: #ffffff;
}

.logo-preview.dark-bg {
  background: #121111;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.logo-preview-tall {
  height: 300px;
}

.logo-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.logo-img-icon {
  max-width: 60%;
  max-height: 60%;
}

.logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
}

.logo-placeholder svg {
  width: 40px;
  height: 40px;
}

.dark-bg .logo-placeholder {
  color: white;
}

.logo-placeholder span {
  font-size: 0.85rem;
  font-weight: 500;
}

.logo-card-info {
  padding: 1.5rem;
}

.logo-card-info h3 {
  color: #121111;
  font-size: 1.1rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

.logo-card-info p {
  color: rgba(18, 17, 17, 0.6);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1.1rem;
}

/* ---- Brand Colors Section ---- */
.brand-colors {
  padding: clamp(5rem, 9vw, 8rem) 2rem;
  background: #f6f4ef;
}

.colors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.color-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(18, 17, 17, 0.08);
  transition:
    transform 360ms ease,
    box-shadow 360ms ease;
}

.color-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(18, 17, 17, 0.09);
}

.color-swatch {
  height: 130px;
  width: 100%;
}

.color-info {
  padding: 1.5rem;
}

.color-info h3 {
  color: #121111;
  font-size: 1.1rem;
  font-weight: 650;
  margin-bottom: 0.3rem;
}

.color-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 650;
  color: #0375f6;
  margin-bottom: 0.6rem;
}

.color-info code {
  display: block;
  background: #f6f4ef;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(18, 17, 17, 0.08);
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  color: #121111;
  margin-top: 0.5rem;
}

/* ---- Typography Section ---- */
.brand-typography {
  padding: clamp(5rem, 9vw, 8rem) 2rem;
  background: #fff;
}

.type-grid {
  max-width: 700px;
  margin: 0 auto;
}

.type-card {
  background: #fbfaf7;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 8px;
  border: 1px solid rgba(18, 17, 17, 0.08);
  text-align: center;
}

.type-icon {
  width: 56px;
  height: 56px;
  background: #121111;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.type-icon svg {
  width: 26px;
  height: 26px;
  color: white;
  stroke-width: 2;
}

.type-card h3 {
  color: #121111;
  font-size: 2rem;
  font-weight: 650;
  margin-bottom: 0.3rem;
}

.type-usage {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 650;
  color: #0375f6;
  margin-bottom: 1rem;
}

.type-sample {
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  color: rgba(18, 17, 17, 0.4);
}

.type-description {
  color: rgba(18, 17, 17, 0.62);
  line-height: 1.7;
  margin: 0 auto 1.5rem;
  max-width: 500px;
}

/* ---- Additional Resources Section ---- */
.brand-resources {
  padding: clamp(5rem, 9vw, 8rem) 2rem;
  background: #f6f4ef;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* ---- Support CTA Section ---- */
.brand-cta {
  padding: clamp(5rem, 10vw, 8rem) 2rem;
  background: var(--primary_color);
  color: white;
  text-align: center;
}

.brand-cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.brand-cta h2 {
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 0.98;
  margin-bottom: 1.25rem;
}

.brand-cta p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.brand-cta-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  min-height: 48px;
  padding: 0.9rem 1.75rem;
  border-radius: 8px;
  font-weight: 650;
  font-size: 0.98rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  background: #fff;
  color: #121111;
  transition:
    transform 260ms ease,
    background 260ms ease,
    color 260ms ease,
    box-shadow 260ms ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  /* background: #0375f6; */
  /* color: #fff; */
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

.btn-secondary {
  min-height: 48px;
  padding: 0.9rem 1.75rem;
  border-radius: 8px;
  font-weight: 650;
  font-size: 0.98rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  transition:
    transform 260ms ease,
    background 260ms ease,
    color 260ms ease;
}

.btn-secondary:hover {
  background: white;
  color: #121111;
  transform: translateY(-2px);
}

.btn-secondary svg {
  width: 20px;
  height: 20px;
}

/* ---- Responsive: 1024px ---- */
@media (max-width: 1024px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .colors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ---- Responsive: 768px ---- */
@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: 1fr;
  }

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

  .brand-cta-links {
    flex-direction: column;
    align-items: center;
  }
}

/* ---- Scroll Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  transition:
    opacity 760ms ease,
    transform 760ms ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
