:root {
  --agp-primary: 211, 95%, 42%;
  --agp-primary-hover: 211, 100%, 34%;
  --agp-charcoal: 220, 9%, 14%;
  --agp-muted: 220, 6%, 38%;
  --agp-border: 211, 20%, 86%;
}

.apps-gp {
  font-family: inherit;
}

.apps-gp__section {
  padding: 5rem 0;
  background-color: hsla(var(--agp-primary), 0.06); /* light blue tint matching previous block */
  overflow: hidden;
}

.apps-gp__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.apps-gp__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .apps-gp__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
  }
}

/* Visual Side */
.apps-gp__visual {
  position: relative;
}
@media (min-width: 1024px) {
  .apps-gp__visual { grid-column: span 6 / span 6; }
}

.apps-gp__visual-inner {
  position: relative;
}

.apps-gp__shape {
  display: none;
}
@media (min-width: 1024px) {
  .apps-gp__shape {
    display: block;
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 50%;
    height: 50%;
    background-color: hsla(var(--agp-primary), 0.15);
    border-radius: 8px 80px;
    z-index: 0;
  }
}

.apps-gp__image-wrap {
  position: relative;
  z-index: 10;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  border-radius: 80px 8px;
}

.apps-gp__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badge */
.apps-gp__badge {
  display: none;
}
@media (min-width: 1024px) {
  .apps-gp__badge {
    display: flex;
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    z-index: 20;
    background-color: #ffffff;
    border: 1px solid hsla(var(--agp-border), 0.6);
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    padding: 1rem 1.25rem;
    align-items: center;
    gap: 0.75rem;
  }
}

.apps-gp__badge-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: hsla(var(--agp-primary), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.apps-gp__badge-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--agp-primary));
}

.apps-gp__badge-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--agp-muted));
  margin: 0;
}

.apps-gp__badge-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--agp-charcoal));
  margin: 0;
}

/* Content Side */
.apps-gp__content {
}
@media (min-width: 1024px) {
  .apps-gp__content { grid-column: span 6 / span 6; padding-left: 1.5rem; }
}

.apps-gp__subheading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--agp-primary));
  margin-bottom: 0.75rem;
}

.apps-gp__heading {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--agp-charcoal));
  line-height: 1.25;
  margin: 0 0 1.25rem 0;
}
@media (min-width: 768px) {
  .apps-gp__heading { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .apps-gp__heading { font-size: 3rem; line-height: 1; }
}

.apps-gp__description {
  color: hsl(var(--agp-muted));
  font-size: 1.125rem;
  line-height: 1.625;
  margin: 0 0 2rem 0;
}

/* List */
.apps-gp__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .apps-gp__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.apps-gp__list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #ffffff;
  border: 1px solid hsla(var(--agp-border), 0.6);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
}

.apps-gp__list-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--agp-primary));
  flex-shrink: 0;
}

.apps-gp__list-text {
  color: hsl(var(--agp-charcoal));
  font-weight: 500;
  font-size: 0.875rem;
}

/* Button */
.apps-gp__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: hsl(var(--agp-primary));
  color: #ffffff;
  height: 3rem;
  padding: 0 2rem;
  border-radius: 9999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
}
.apps-gp__button:hover {
  background-color: hsl(var(--agp-primary-hover));
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}

.apps-gp__button-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}
.apps-gp__button:hover .apps-gp__button-icon {
  transform: translateX(0.25rem);
}
