﻿/* ===========================
   SERENOVA - ABOUT PAGE CSS
   =========================== */

/* PAGE BANNER */
.page-banner {
  position: relative;
  height: 220px;
  background: url("https://images.unsplash.com/photo-1519823551278-64ac92734fb1?w=1400&q=80")
    center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.5rem;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(92, 45, 120, 0.6) 0%,
    rgba(40, 10, 60, 0.75) 100%
  );
}
.banner-content {
  position: relative;
  z-index: 1;
  padding: 0 3rem;
}
.banner-content h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}
.breadcrumb a:hover {
  color: var(--gold);
}
.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

/* INTRO */
.about-intro {
  background: var(--white);
  padding: 5rem 0;
}

.section-tagline {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: block;
}

.intro-body {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.about-split {
  display: flex;
  align-items: center;
  gap: 4rem;
}

/* Device mockup block */
.about-device-img {
  flex: 0 0 380px;
}

.device-mockup {
  position: relative;
  width: 100%;
}
.device-main {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 16px 60px rgba(123, 63, 160, 0.18);
  position: relative;
  z-index: 2;
}
.device-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 140px;
  background: var(--purple-pale);
  border-radius: 12px;
  z-index: 1;
  border: 2px solid var(--border);
}

.about-info-text {
  flex: 1;
}
.about-info-text h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}
.about-info-text > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-checklist {
  margin: 1rem 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--text);
}
.about-checklist i {
  color: var(--purple);
}

/* SKILLS SECTION */
.skills-section {
  background: linear-gradient(
    135deg,
    var(--purple) 0%,
    var(--purple-dark) 100%
  );
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.skills-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.skills-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.skill-item {
  text-align: center;
}

.circle-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 1.2rem;
}
.progress-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 8;
}
.ring-fill {
  fill: none;
  stroke: var(--white);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s ease;
}

.circle-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
}

.skill-item h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.skill-item p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* ABOUT TEAM (reuses main team styles + overrides) */
.about-team {
  background: var(--white);
  padding: 5rem 0;
}

.team-card.highlighted {
  background: var(--purple-pale);
  border: 2px solid var(--purple-light);
}
.team-star {
  color: var(--gold);
  font-size: 0.9rem;
  margin: 0.4rem 0 0.6rem;
}

/* CTA BANNER */
.cta-banner {
  background: var(--purple);
  padding: 2.5rem 2rem;
  text-align: center;
}
.cta-top {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.cta-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.1em;
}

/* STATS */
.about-stats {
  background: var(--off-white);
  padding: 4rem 0;
}
.astats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.astat-card {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--white);
  transition: var(--transition);
}
.astat-card:hover {
  border-color: var(--purple-light);
  box-shadow: var(--shadow-soft);
}

.astat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.astat-icon {
  color: var(--purple);
  font-size: 1rem;
  margin: 0.4rem 0;
}
.astat-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* TESTIMONIALS */
.testimonials {
  background: var(--white);
  padding: 5rem 0;
}

.testi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.testi-tabs {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.ttab {
  flex: 1;
  padding: 0.75rem 0.5rem;
  border: none;
  background: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border-right: 1px solid var(--border);
}
.ttab:last-child {
  border-right: none;
}
.ttab.active {
  background: var(--purple);
  color: var(--white);
}
.ttab:hover:not(.active) {
  background: var(--purple-pale);
  color: var(--purple);
}

.tpanel {
  display: none;
}
.tpanel.active {
  display: block;
}
.tpanel p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
}

/* Quote card */
.testi-quote-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1.5px solid var(--border);
  position: relative;
}
.tq-arrows {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.tq-arrow {
  width: 34px;
  height: 34px;
  background: var(--purple-pale);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  font-size: 0.75rem;
  color: var(--purple);
  cursor: pointer;
  transition: var(--transition);
}
.tq-arrow:hover {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

.tq-item {
  display: none;
}
.tq-item.active {
  display: block;
}

.tq-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 0 auto 1rem;
  border: 3px solid var(--purple-light);
}
.testi-quote-card blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  text-align: center;
  margin-bottom: 1rem;
}
.tq-name {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}
.tq-name em {
  color: var(--purple);
}

/* FOOTER top logo */
.footer-top-logo {
  text-align: center;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2.5rem;
}
.footer-brand-center {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .skills-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .astats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-split {
    flex-direction: column;
  }
  .about-device-img {
    flex: none;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
  .testi-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-banner {
    height: 160px;
    padding-bottom: 1.5rem;
  }
  .banner-content {
    padding: 0 1.5rem;
  }
  .banner-content h1 {
    font-size: 2rem;
  }
  .skills-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .astats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testi-tabs {
    flex-direction: column;
  }
  .ttab {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .ttab:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .skills-inner {
    grid-template-columns: 1fr 1fr;
  }
  .astats-grid {
    grid-template-columns: 1fr 1fr;
  }
}
