/* =============================================
   CodeToFun — About Us
   Blends with home.css (blue / slate brand)
   ============================================= */

.about-page {
  background: #fff;
  color: #1e293b;
}

.about-main {
  padding-bottom: 0;
}

/* Hero */
.about-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(37, 99, 235, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(14, 165, 233, 0.1), transparent 50%),
    linear-gradient(180deg, #eff6ff 0%, #f8fafc 55%, #fff 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 2.5rem 0 3rem;
}

@media (min-width: 768px) {
  .about-hero {
    padding: 3.5rem 0 4rem;
  }
}

.about-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.about-breadcrumb a {
  color: #2563eb;
  font-weight: 500;
  transition: color 0.2s;
}

.about-breadcrumb a:hover {
  color: #1d4ed8;
}

.about-breadcrumb svg {
  width: 14px;
  height: 14px;
  color: #94a3b8;
  flex-shrink: 0;
}

.about-breadcrumb-current {
  color: #475569;
}

.about-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.about-hero-copy .badge {
  margin-bottom: 1rem;
}

.about-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.about-title-accent {
  color: #2563eb;
}

.about-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #475569;
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.about-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.875rem;
  color: #64748b;
}

.about-hero-meta strong {
  color: #0f172a;
  font-weight: 600;
}

.about-hero-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
}

.about-hero-panel-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 1rem;
}

.about-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-hero-stat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem;
}

.about-hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.about-hero-stat span {
  font-size: 0.8125rem;
  color: #64748b;
}

/* Shared section chrome */
.about-section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .about-section {
    padding: 5rem 0;
  }
}

.about-section--muted {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.about-section-header {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.about-section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.about-section-header .badge {
  margin-bottom: 0.75rem;
}

.about-section-header h2 {
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.about-section-header p {
  font-size: 1.0625rem;
  color: #475569;
  line-height: 1.7;
}

/* Mission / story split */
.about-split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .about-split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.about-prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem;
}

.about-prose p {
  color: #475569;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-prose p:last-child {
  margin-bottom: 0;
}

.about-callout {
  background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
  border: 1px solid #bfdbfe;
  border-radius: 1rem;
  padding: 1.5rem;
}

.about-callout-quote {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.about-callout-author {
  font-size: 0.875rem;
  color: #64748b;
}

.about-callout-author strong {
  color: #2563eb;
}

/* Values */
.about-values {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-values {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-value {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.about-value:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.about-value-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  margin-bottom: 1rem;
}

.about-value h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.about-value p {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
}

/* Offer grid */
.about-offer-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .about-offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-offer {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  padding: 1.5rem;
  height: 100%;
}

.about-offer-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2563eb;
  margin-bottom: 0.75rem;
}

.about-offer h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.about-offer p {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.about-offer a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
}

.about-offer a:hover {
  color: #1d4ed8;
}

/* Audience */
.about-audience {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .about-audience {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .about-audience {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-audience-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.125rem 1.25rem;
}

.about-audience-item svg {
  flex-shrink: 0;
  color: #2563eb;
  margin-top: 0.125rem;
}

.about-audience-item h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.about-audience-item p {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.5;
}

/* Founder */
.about-founder {
  display: grid;
  gap: 2rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.05);
}

@media (min-width: 768px) {
  .about-founder {
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: 2.25rem;
    align-items: center;
  }
}

.about-founder-avatar {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.about-founder-body h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.about-founder-role {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 0.875rem;
}

.about-founder-body p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-founder-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(37, 99, 235, 0.08);
  transition: background 0.2s, color 0.2s;
}

.about-founder-links a:hover {
  background: rgba(37, 99, 235, 0.14);
  color: #1d4ed8;
}

/* CTA band */
.about-cta {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 45%, #0ea5e9 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.about-cta h2 {
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.about-cta p {
  font-size: 1.0625rem;
  opacity: 0.92;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.about-cta .btn-primary {
  background: #fff;
  color: #1d4ed8;
}

.about-cta .btn-primary:hover {
  background: #f8fafc;
  color: #1e3a8a;
}

.about-cta .btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.938rem;
  border-radius: 0.5rem;
  padding: 0.625rem 1.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.about-cta .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* Contact strip */
.about-contact-strip {
  padding: 2.5rem 0;
  background: #0f172a;
  color: #cbd5e1;
}

.about-contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.about-contact-inner h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.about-contact-inner p {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.about-contact-inner a.mail {
  color: #93c5fd;
  font-weight: 600;
}

.about-contact-inner a.mail:hover {
  color: #bfdbfe;
}
