* { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; }

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: page-exit 180ms ease-in both;
}

::view-transition-new(root) {
  animation: page-enter 320ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes page-exit {
  to {
    opacity: 0;
    transform: translateX(-1.25rem);
  }
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateX(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 1ms;
  }
}

:root {
  --brand-blue: #148CFC;
  --brand-purple: #637EFF;
  --brand-navy: #273266;
  --footer-bg: #273266;
}

body {
  background: linear-gradient(135deg, #F0F4FF 0%, #F8FAFC 40%, #EEF2FF 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.3s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(39, 50, 102, 0.08);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.navbar-spacer { height: 80px; }

.btn-primary {
  background-color: var(--brand-blue);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.25s ease;
}

.btn-primary:hover { background-color: #0f7ae0; transform: translateY(-2px); }

.home-hero {
  margin-top: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 2rem;
  background:
    radial-gradient(ellipse at 80% 12%, rgba(99, 126, 255, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.38));
  box-shadow: 0 24px 80px rgba(39, 50, 102, 0.07);
}

.hero-shell.home-hero::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 140, 252, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 140, 252, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom right, black, transparent 78%);
}

.home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: #3154a5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-hero-eyebrow::before {
  width: 1.75rem;
  height: 2px;
  background: #148cfc;
  content: "";
}

.home-hero-title span {
  background: linear-gradient(110deg, #0877dc 4%, #526cff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.home-hero-proof span {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.45rem 0.75rem;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
}

.footer-content {
  width: 100%;
  background-color: var(--footer-bg);
  position: relative;
}

.footer-logo-mark {
  background-color: #fff;
  -webkit-mask-image: url("tansoft-it-siteicon.png");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: url("tansoft-it-siteicon.png");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.about-mission-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #273266;
  background-image:
    linear-gradient(110deg, rgba(20, 32, 72, 0.88), rgba(24, 45, 94, 0.72)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=2000&q=85");
  background-position: center;
  background-size: cover;
}

.about-mission-eyebrow {
  color: #bfdbfe;
}

.about-mission-section h1 {
  color: #fff;
}

.about-mission-copy {
  color: #eff6ff;
}

.about-mission-note {
  color: #dbeafe;
}

.about-founder-heading {
  max-width: 48rem;
  margin-inline: auto;
}

.about-founder-profile {
  display: grid;
  grid-template-columns: minmax(17rem, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(1.25rem, 3.5vw, 3.25rem);
  color: #0f172a;
  box-shadow: 0 18px 48px rgba(39, 50, 102, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.about-founder-profile:hover {
  transform: translateY(-3px);
  border-color: rgba(191, 219, 254, 0.95);
  box-shadow: 0 26px 64px rgba(39, 50, 102, 0.12);
}

.about-founder-aside {
  min-width: 0;
}

.about-founder-portrait {
  position: relative;
  aspect-ratio: 0.9;
  overflow: hidden;
  border-radius: 1rem;
  background: #526dff;
  isolation: isolate;
}

.about-founder-portrait::after {
  position: absolute;
  inset: 45% 0 0;
  z-index: 1;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.2));
  content: "";
  pointer-events: none;
}

.about-founder-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.about-founder-profile:hover .about-founder-portrait img {
  transform: scale(1.035);
}

.about-founder-bio {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.about-founder-identity {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #dbe2ec;
}

.about-founder-identity h3 {
  color: #0f172a;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.about-founder-identity > p {
  margin-top: 0.625rem;
  color: #2563eb;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-founder-specialty {
  display: block;
  margin-top: 0.25rem;
  color: #64748b;
  font-size: 0.95rem;
  font-style: italic;
}

.about-founder-copy {
  padding: 1.25rem 0 1.5rem;
}

.about-founder-copy p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-founder-copy p + p {
  margin-top: 1rem;
}

.about-founder-expertise {
  margin-top: auto;
  border-top: 1px solid #dbe2ec;
  padding-top: 1.5rem;
}

.about-founder-expertise h4 {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-founder-expertise ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin-top: 1.25rem;
}

.about-founder-expertise li {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.625rem;
  min-height: 3.25rem;
  border: 1px solid #e8eef7;
  border-radius: 0.75rem;
  background: rgba(248, 250, 252, 0.72);
  padding: 0.625rem 0.75rem;
  color: #273266;
  font-size: 0.8rem;
  line-height: 1.45;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.about-founder-expertise li:hover {
  transform: translateY(-1px);
  border-color: #bfdbfe;
  background: #fff;
}

.about-founder-expertise li svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #2563eb;
  stroke-width: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .about-founder-profile,
  .about-founder-portrait img,
  .about-founder-expertise li {
    transition: none;
  }

  .about-founder-profile:hover,
  .about-founder-profile:hover .about-founder-portrait img,
  .about-founder-expertise li:hover {
    transform: none;
  }
}

@media (max-width: 767px) {
  .about-founder-profile {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    padding: 1rem;
  }

  .about-founder-portrait {
    aspect-ratio: 1;
  }

  .about-founder-expertise ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 420px) {
  .about-founder-expertise ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-founder-expertise li {
    min-height: 3rem;
  }
}
