/* ==========================================================================
   JointPay — about.css
   Page-specific styles for about.html. Shared tokens, navbar, footer and
   the component layer (.container/.eyebrow/.card/.icon-box/.btn/.orb/...)
   live in core.css, which must be loaded first.
   ========================================================================== */

/* ==========================================================================
   Company intro
   ========================================================================== */
.about-company-section {
  background-color: var(--color-white);
  padding: 64px 24px;
  overflow-x: clip;
}
@media (min-width: 1024px) {
  .about-company-section {
    padding: 80px 48px;
  }
}

.about-company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 64px;
}
@media (min-width: 1024px) {
  .about-company-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 48px;
  }
}

.about-company-grid.last-row {
  margin-bottom: 0;
}

/* Columns */
.about-company-img-col {
  display: flex;
  justify-content: center;
  order: 1;
}
@media (min-width: 1024px) {
  .about-company-img-col {
    grid-column: span 3;
    order: unset;
    justify-content: flex-end;
  }
}

.about-company-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 2;
}
@media (min-width: 1024px) {
  .about-company-text-col {
    grid-column: span 6;
    order: unset;
  }
}

.about-company-placeholder-col {
  display: none;
}
@media (min-width: 1024px) {
  .about-company-placeholder-col {
    display: block;
    grid-column: span 3;
  }
}

/* Image styling */
.about-company-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 5 / 6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 45, 107, 0.25);
  border: 1px solid #f3f4f6;
}
@media (min-width: 640px) {
  .about-company-img-wrapper {
    max-width: 320px;
  }
}

.about-company-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text styles */
.about-company-p {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--foreground);
  text-align: justify;
}
@media (min-width: 768px) {
  .about-company-p {
    font-size: 30px;
  }
}

.about-company-p.space-above {
  margin-top: 48px;
}

/* Inline badges */
.about-company-badge {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 9999px;
  background-color: var(--color-primary-light);
  border: 1px solid var(--color-primary-border);
  color: var(--color-primary);
  font-size: 0.65em;
  font-weight: 700;
  vertical-align: middle;
}

/* ==========================================================================
   Vision & mission
   ========================================================================== */
.vision-mission-section {
  position: relative;
  overflow: hidden;
  padding: 96px 24px;
  border-top: 1px solid rgba(15, 45, 107, 0.04);
  border-bottom: 1px solid rgba(15, 45, 107, 0.04);
}

.vision-mission-glow-1 {
  top: -10%;
  left: 15%;
  width: 450px;
  height: 450px;
  background-color: rgba(249, 115, 22, 0.05);
  filter: blur(120px);
}
.vision-mission-glow-2 {
  bottom: -10%;
  right: 15%;
  width: 450px;
  height: 450px;
  background-color: rgba(34, 197, 94, 0.03);
  filter: blur(120px);
}

.vision-mission-container {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .vision-mission-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.vision-mission-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 40px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.4s ease-out, border-color 0.4s ease-out, box-shadow 0.4s ease-out;
}
.vision-mission-card:hover {
  transform: translateY(-8px);
  border-color: rgba(249, 115, 22, 0.25);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.vision-mission-card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(249, 115, 22, 0.02), rgba(15, 45, 107, 0.04));
  opacity: 0;
  transition: opacity 0.4s ease-out;
  pointer-events: none;
}
.vision-mission-card:hover .vision-mission-card-glow {
  opacity: 1;
}

.vision-mission-card-content {
  position: relative;
  z-index: 10;
}

.vision-mission-icon-box {
  height: 56px;
  width: 56px;
  border-radius: 16px;
  border: 1px solid rgba(249, 115, 22, 0.1);
  margin-bottom: 24px;
  transition: transform 0.5s ease-out, background-color 0.5s ease-out;
}
.vision-mission-icon-box svg {
  height: 28px;
  width: 28px;
}

.vision-mission-card:hover .vision-mission-icon-box {
  transform: scale(1.1);
  background-color: rgba(249, 115, 22, 0.1);
}
.vision-mission-card.vision:hover .vision-mission-icon-box {
  transform: scale(1.1) rotate(12deg);
}
.vision-mission-card.mission:hover .vision-mission-icon-box {
  transform: scale(1.1) rotate(-12deg);
}

.vision-mission-tag {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-orange);
  margin-bottom: 12px;
}

.vision-mission-text {
  font-size: 15px;
  line-height: 1.8;
  color: #d1d5db;
  transition: color 0.3s;
}
@media (min-width: 768px) {
  .vision-mission-text {
    font-size: 17px;
  }
}
.vision-mission-card:hover .vision-mission-text {
  color: var(--color-white);
}

/* ==========================================================================
   Growth timeline
   ========================================================================== */
/* ponytail-lite: using native horizontal scroll and hover highlights instead of wheel hijack scroll pin. Upgrade path: add scroll indicator progress. */
.growth-section {
  position: relative;
  background-color: #f8faff;
  padding: 80px 24px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .growth-section {
    padding: 96px 48px;
  }
}

.growth-glow {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.04), transparent 70%);
}

.growth-header {
  margin-bottom: 48px;
  text-align: center;
}
@media (min-width: 768px) {
  .growth-header {
    text-align: left;
    padding-left: 24px;
  }
}

.growth-title {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 800;
  color: #1a3a8f;
  line-height: 1.15;
}
@media (min-width: 768px) {
  .growth-title {
    font-size: 40px;
  }
}

.growth-underline-bar {
  width: 80px;
  height: 3px;
  background-color: var(--color-orange);
  margin: 12px auto 0;
  border-radius: 9999px;
}
@media (min-width: 768px) {
  .growth-underline-bar {
    margin: 12px 0 0;
  }
}

.growth-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 24px 16px 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-orange) #e2e8f0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  .growth-track {
    gap: 20px;
    padding: 32px 24px 48px;
  }
}
.growth-track::-webkit-scrollbar {
  height: 6px;
}
.growth-track::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 9999px;
}
.growth-track::-webkit-scrollbar-thumb {
  background: var(--color-orange);
  border-radius: 9999px;
}

.growth-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background-color: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.03);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
@media (min-width: 768px) {
  .growth-card {
    flex: 0 0 280px;
  }
}
@media (min-width: 1280px) {
  .growth-card {
    flex: 0 0 320px;
    padding: 32px;
  }
}
.growth-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-orange);
  box-shadow: 0 20px 60px rgba(249, 115, 22, 0.12), 0 0 0 4px rgba(249, 115, 22, 0.05);
}

.growth-card-month {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.growth-card-year {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: var(--color-orange);
  margin-bottom: 16px;
}
@media (min-width: 1280px) {
  .growth-card-year {
    font-size: 48px;
  }
}

.growth-card-divider {
  height: 1px;
  background-color: #f1f5f9;
  margin: 14px 0;
  width: 100%;
}

.growth-card-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.growth-card-row.last {
  margin-bottom: 0;
}

.growth-card-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #94a3b8;
  width: 16px;
  height: 16px;
  transition: color 0.3s;
}
.growth-card:hover .growth-card-icon.users {
  color: var(--color-orange);
}
.growth-card:hover .growth-card-icon.rocket {
  color: #2563eb;
}

.growth-card-row-title {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.growth-card-row-value {
  font-size: 16px;
  font-weight: 750;
  color: #1a3a8f;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .growth-card-row-value {
    font-size: 18px;
  }
}

.growth-card-desc {
  font-size: 13.5px;
  font-weight: 500;
  color: #475569;
  line-height: 1.4;
  margin-top: 2px;
}

.growth-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 9999px;
  background-color: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.15);
  color: #16a34a;
  font-size: 11.5px;
  font-weight: 600;
  margin-top: 14px;
}

.growth-bottom-cta {
  background-color: #f8faff;
  border-top: 1px solid #f1f5f9;
  padding: 80px 24px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.growth-cta-title {
  font-size: 24px;
  font-weight: 800;
  color: #1a3a8f;
}
@media (min-width: 1024px) {
  .growth-cta-title {
    font-size: 28px;
  }
}

.growth-cta-desc {
  font-size: 15px;
  color: #64748b;
  margin-top: 8px;
}

.btn-growth-agent {
  margin-top: 28px;
  padding: 16px 32px;
  background-color: var(--color-orange);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.25);
  transition: transform 0.25s;
}
.btn-growth-agent:hover {
  transform: scale(1.03);
}

/* ==========================================================================
   Why JointPay
   ========================================================================== */
.why-section {
  position: relative;
  background-color: var(--color-white);
  padding: 96px 24px;
  overflow: hidden;
}

.why-glow-1 {
  top: 20%;
  left: -10%;
  width: 350px;
  height: 350px;
  background-color: rgba(249, 115, 22, 0.02);
  filter: blur(90px);
}
.why-glow-2 {
  bottom: 20%;
  right: -10%;
  width: 350px;
  height: 350px;
  background-color: rgba(37, 99, 235, 0.02);
  filter: blur(90px);
}

.why-header {
  margin-bottom: 64px;
  text-align: center;
}

.why-title {
  margin-top: 16px;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-blue);
  letter-spacing: -0.025em;
}

.why-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  border: 1px solid rgba(15, 45, 107, 0.06);
  padding: 32px;
  transition: border-color 0.4s ease-out, box-shadow 0.4s ease-out;
}
.why-card:hover {
  border-color: var(--color-primary-border);
  box-shadow: 0 20px 25px -5px rgba(15, 45, 107, 0.08), 0 10px 10px -5px rgba(15, 45, 107, 0.04);
}

.why-card-icon-box {
  height: 56px;
  width: 56px;
  border-radius: 16px;
  margin-bottom: 24px;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.4s;
}
.why-card-icon-box svg {
  height: 24px;
  width: 24px;
}

.why-card:hover .why-card-icon-box {
  transform: scale(1.1) rotate(360deg);
  background-color: rgba(249, 115, 22, 0.1);
}

.why-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-blue);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.why-card:hover .why-card-title {
  color: var(--color-orange);
}

.why-card-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #6b7280;
  font-weight: 500;
  transition: color 0.3s;
}
.why-card:hover .why-card-desc {
  color: #4b5563;
}
