/* Codenixo About Premium Redesign V1
   Approved final About direction:
   - two-column hero
   - values image + copy
   - light pastel Web / Software / Automation / Support strip
   - capabilities cards
   - premium CTA above shared footer
*/

.about-premium {
  --ab-ink: #071127;
  --ab-copy: #60708f;
  --ab-line: rgba(148, 163, 184, .18);
  --ab-soft: #f7f9ff;
  --ab-card: #fff;
  color: var(--ab-ink);
  background: #fff;
}

html.dark .about-premium {
  --ab-ink: #f8fafc;
  --ab-copy: #cbd5e1;
  --ab-line: rgba(255, 255, 255, .10);
  --ab-soft: #07101f;
  --ab-card: #0f172a;
  background: #020617;
}

.about-premium p {
  color: var(--ab-copy);
}

.about-premium a {
  text-decoration: none;
}

.ab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 13px;
  color: var(--brand-dark);
  font-size: 10.5px;
  font-weight: 850;
  line-height: 1.4;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.ab-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .08);
}

html.dark .ab-eyebrow {
  color: var(--brand-light);
}

/* Same navbar behavior as Home / Services / Projects */
@media (min-width: 1181px) {
  body[data-page="about"] .navbar:not(.scrolled) {
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* Hero */
.ab-hero {
  position: relative;
  overflow: hidden;
  padding: 136px 0 62px;
  background:
    radial-gradient(circle at 77% 14%, rgba(99, 102, 241, .10), transparent 29%),
    linear-gradient(180deg, #fbfcff 0%, #fff 100%);
}

html.dark .ab-hero {
  background:
    radial-gradient(circle at 77% 14%, rgba(99, 102, 241, .16), transparent 29%),
    linear-gradient(180deg, #020617 0%, #07101f 100%);
}

.ab-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .90fr) minmax(440px, 1.10fr);
  gap: clamp(48px, 6vw, 84px);
  align-items: center;
}

.ab-hero__title {
  margin: 0 0 20px;
  color: var(--ab-ink);
  font-family: var(--font-display);
  font-size: clamp(55px, 5.65vw, 82px);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.062em;
}

.ab-hero__lead {
  max-width: 640px;
  margin: 0;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.62;
}

.ab-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 27px;
}

.ab-actions .app-button {
  min-height: 49px;
  padding-inline: 22px;
}

.ab-story-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ab-ink);
  font-size: 12px;
  font-weight: 800;
}

.ab-story-link__icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(145deg, #8178ff, #5548f0);
  box-shadow: 0 12px 24px -16px rgba(79, 70, 229, .70);
  font-size: 10px;
}

.ab-hero__visual {
  position: relative;
  min-height: 430px;
}

.ab-photo {
  overflow: hidden;
  background: #eef2ff;
}

.ab-photo--hero {
  position: absolute;
  inset: 1% 8% 3% 8%;
  border: 1px solid rgba(148, 163, 184, .13);
  border-radius: 30px 30px 80px 30px;
  box-shadow: 0 32px 74px -42px rgba(15, 23, 42, .42);
}

.ab-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 15px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 15px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 45px -28px rgba(15, 23, 42, .34);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

html.dark .ab-floating-card {
  background: rgba(15, 23, 42, .92);
}

.ab-floating-card--team {
  right: 0;
  top: 7%;
  max-width: 190px;
}

.ab-floating-card--location {
  left: 1%;
  bottom: 5%;
  min-width: 170px;
}

.ab-floating-card__icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: none;
  border-radius: 11px;
  color: var(--brand);
  background: rgba(99, 102, 241, .10);
}

.ab-floating-card__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ab-floating-card strong,
.ab-floating-card small {
  display: block;
}

.ab-floating-card strong {
  color: var(--ab-ink);
  font-size: 11.5px;
  line-height: 1.25;
}

.ab-floating-card small {
  margin-top: 4px;
  color: var(--ab-copy);
  font-size: 9px;
  line-height: 1.35;
}

.ab-scribble {
  position: absolute;
  right: 1%;
  bottom: 0;
  z-index: 4;
  max-width: 150px;
  color: #27385f;
  font-family: Georgia, serif;
  font-size: 17px;
  font-style: italic;
  transform: rotate(-7deg);
}

html.dark .ab-scribble {
  color: #9fb0d3;
}

/* Values */
.ab-values {
  padding: 58px 0 52px;
  background: #fff;
}

html.dark .ab-values {
  background: #020617;
}

.ab-values__grid {
  display: grid;
  grid-template-columns: minmax(360px, .94fr) minmax(0, 1.06fr);
  gap: clamp(42px, 6vw, 80px);
  align-items: center;
}

.ab-values__media {
  overflow: hidden;
  aspect-ratio: 1.48;
  border: 1px solid var(--ab-line);
  border-radius: 24px;
  background: #eef2ff;
  box-shadow: 0 28px 66px -45px rgba(15, 23, 42, .36);
}

.ab-values__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-values__content {
  display: grid;
  gap: 36px;
}

.ab-value {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
}

.ab-value__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  color: var(--brand);
  background: linear-gradient(145deg, #f3f4ff, #e9edff);
  box-shadow: 0 14px 34px -26px rgba(79, 70, 229, .45);
}

html.dark .ab-value__icon {
  background: rgba(99, 102, 241, .14);
}

.ab-value__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ab-value h2 {
  margin: 4px 0 8px;
  color: var(--ab-ink);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.ab-value p {
  max-width: 660px;
  margin: 0;
  font-size: 13.4px;
  line-height: 1.62;
}

/* Approved final light pastel capability strip */
.ab-focus {
  padding: 8px 0 58px;
  background: #fff;
}

html.dark .ab-focus {
  background: #020617;
}

.ab-focus__panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, .10);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 50%, rgba(99, 102, 241, .13), transparent 30%),
    radial-gradient(circle at 100% 50%, rgba(99, 102, 241, .12), transparent 30%),
    linear-gradient(100deg, #f7f8ff 0%, #eef1ff 48%, #f6f7ff 100%);
  box-shadow: 0 22px 60px -48px rgba(79, 70, 229, .38);
}

html.dark .ab-focus__panel {
  background:
    radial-gradient(circle at 0% 50%, rgba(99, 102, 241, .15), transparent 30%),
    radial-gradient(circle at 100% 50%, rgba(99, 102, 241, .15), transparent 30%),
    linear-gradient(100deg, #0b1220 0%, #111b34 48%, #0b1220 100%);
}

.ab-focus__panel::before,
.ab-focus__panel::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -60px;
  width: 42%;
  height: 120px;
  border: 1px solid rgba(99, 102, 241, .10);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.ab-focus__panel::after {
  left: auto;
  right: -8%;
  transform: rotate(8deg);
}

.ab-focus__item {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 31px 22px 28px;
  text-align: center;
}

.ab-focus__item + .ab-focus__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  width: 1px;
  height: 60%;
  background: rgba(100, 116, 139, .22);
}

.ab-focus__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--brand);
}

.ab-focus__icon svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ab-focus__item strong {
  display: block;
  color: var(--ab-ink);
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.ab-focus__item small {
  display: block;
  margin-top: 7px;
  color: #53627f;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

html.dark .ab-focus__item small {
  color: #a7b4cb;
}

/* Capabilities */
.ab-capabilities {
  padding: 10px 0 64px;
  background: #fff;
}

html.dark .ab-capabilities {
  background: #020617;
}

.ab-capabilities__head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(200px, .22fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 25px;
}

.ab-capabilities__head h2 {
  margin: 0 0 10px;
  color: var(--ab-ink);
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  line-height: .98;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.ab-capabilities__head > div > p:last-child {
  max-width: 650px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.ab-capabilities__scribble {
  justify-self: end;
  color: #27385f;
  font-family: Georgia, serif;
  font-size: 17px;
  font-style: italic;
  transform: rotate(-6deg);
}

html.dark .ab-capabilities__scribble {
  color: #9fb0d3;
}

.ab-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ab-capability-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 15px;
  min-height: 205px;
  padding: 20px;
  border: 1px solid var(--ab-line);
  border-radius: 16px;
  background: var(--ab-card);
  box-shadow: 0 20px 52px -42px rgba(15, 23, 42, .28);
}

.ab-capability-card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  color: var(--brand);
  background: linear-gradient(145deg, #f3f4ff, #e9edff);
}

html.dark .ab-capability-card__icon {
  background: rgba(99, 102, 241, .14);
}

.ab-capability-card__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ab-capability-card h3 {
  margin: 3px 0 2px;
  color: var(--ab-ink);
  font-size: 16px;
  line-height: 1.22;
  text-transform: uppercase;
}

.ab-capability-card__type {
  display: block;
  margin-bottom: 12px;
  color: #7382a1;
  font-size: 8.8px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ab-capability-card p {
  margin: 0;
  font-size: 12.4px;
  line-height: 1.58;
}

/* Approved CTA */
.ab-cta {
  padding: 0 0 68px;
  background: #fff;
}

html.dark .ab-cta {
  background: #020617;
}

.ab-cta__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(235px, .60fr) auto;
  gap: 32px;
  align-items: center;
  overflow: hidden;
  padding: 30px 34px;
  border: 1px solid rgba(99, 102, 241, .11);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 35%, rgba(99, 102, 241, .20), transparent 28%),
    linear-gradient(118deg, #f9faff 0%, #eef2ff 100%);
  box-shadow: 0 24px 66px -48px rgba(79, 70, 229, .42);
}

html.dark .ab-cta__panel {
  background:
    radial-gradient(circle at 92% 35%, rgba(99, 102, 241, .24), transparent 28%),
    linear-gradient(118deg, #0b1220 0%, #101a31 100%);
}

.ab-cta__eyebrow {
  margin: 0 0 7px;
  color: var(--brand) !important;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ab-cta__copy h2 {
  margin: 0 0 7px;
  color: var(--ab-ink);
  font-family: var(--font-display);
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.ab-cta__copy p {
  max-width: 620px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.56;
}

.ab-cta__points {
  display: grid;
  gap: 10px;
}

.ab-cta__points span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ab-ink);
  font-size: 11.5px;
  font-weight: 700;
}

.ab-cta__points i {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  flex: none;
  border-radius: 50%;
  color: var(--brand);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 20px -14px rgba(79, 70, 229, .50);
  font-style: normal;
}

html.dark .ab-cta__points i {
  background: #111c33;
}

.ab-cta__button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 11px;
  color: #fff;
  background: #081126;
  box-shadow: 0 16px 30px -20px rgba(8, 17, 38, .65);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

html.dark .ab-cta__button {
  color: #071127;
  background: #fff;
}

.ab-cta__cubes {
  position: absolute;
  right: 28px;
  bottom: 7px;
  width: 92px;
  height: 82px;
  opacity: .65;
  pointer-events: none;
}

.ab-cta__cubes i {
  position: absolute;
  width: 38px;
  height: 38px;
  transform: rotate(30deg) skew(-4deg, -4deg);
  border-radius: 7px;
  background: linear-gradient(145deg, #9b94ff, #5548f0);
  box-shadow: 0 16px 28px -18px rgba(79, 70, 229, .68);
}

.ab-cta__cubes i:nth-child(1) {
  left: 20px;
  top: 2px;
}

.ab-cta__cubes i:nth-child(2) {
  left: 48px;
  top: 31px;
  opacity: .70;
}

.ab-cta__cubes i:nth-child(3) {
  left: 5px;
  top: 42px;
  opacity: .45;
}

/* Bangla */
html[lang="bn"] .ab-eyebrow,
html[lang="bn"] .ab-cta__eyebrow {
  font-family: var(--font-bn);
  letter-spacing: 0;
  text-transform: none;
}

html[lang="bn"] .ab-hero__title,
html[lang="bn"] .ab-value h2,
html[lang="bn"] .ab-focus__item strong,
html[lang="bn"] .ab-capabilities__head h2,
html[lang="bn"] .ab-capability-card h3,
html[lang="bn"] .ab-cta__copy h2 {
  font-family: var(--font-bn);
  letter-spacing: -.01em;
  line-height: 1.18;
}

/* Responsive */
@media (max-width: 1080px) {
  .ab-hero__grid,
  .ab-values__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ab-capability-card {
    grid-template-columns: 46px 1fr;
  }

  .ab-cta__panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ab-cta__points {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .ab-hero {
    padding: 118px 0 54px;
  }

  .ab-hero__grid,
  .ab-values__grid,
  .ab-capabilities__head {
    grid-template-columns: 1fr;
  }

  .ab-hero__visual {
    min-height: 410px;
    max-width: 720px;
  }

  .ab-capabilities__scribble {
    display: none;
  }

  .ab-capability-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 660px) {
  .ab-hero__title {
    font-size: clamp(45px, 13vw, 62px);
  }

  .ab-hero__lead {
    font-size: 16px;
  }

  .ab-hero__visual {
    min-height: 340px;
  }

  .ab-photo--hero {
    inset: 2% 4% 5% 4%;
  }

  .ab-floating-card--team {
    right: 0;
    max-width: 155px;
  }

  .ab-floating-card--location {
    left: 0;
    min-width: 145px;
  }

  .ab-scribble {
    display: none;
  }

  .ab-values {
    padding-top: 46px;
  }

  .ab-value {
    grid-template-columns: 48px 1fr;
  }

  .ab-value__icon {
    width: 46px;
    height: 46px;
  }

  .ab-focus__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ab-focus__item:nth-child(3)::before {
    display: none;
  }

  .ab-focus__item {
    padding: 25px 14px;
  }

  .ab-cta__panel {
    grid-template-columns: 1fr;
    padding: 26px 23px;
  }

  .ab-cta__points {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
  }

  .ab-cta__button {
    justify-self: start;
  }

  .ab-cta__cubes {
    right: 6px;
    opacity: .26;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-premium * {
    scroll-behavior: auto !important;
  }
}
