:root {
  --faq-primary: #0058ff;
  --faq-primary-8: #0052ff14;
  --faq-primary-60: #0052ff29;
  --faq-main-text: #000b60;
  --faq-main-text-secondary: #000b60d6;
  --faq-main-text-65: #000b60a3;
  --faq-light-bg: #f1f6ff;
  --faq-white: #ffffff;
  --faq-black-8: #00000014;
  --faq-border: #d5e3ff;
  --faq-card-shadow: 0 4px 24px rgba(0, 88, 255, 0.08);
  --faq-card-hover-shadow: 0 8px 40px rgba(0, 88, 255, 0.16);
  --faq-header-height: 72px;
  --faq-horizontal-padding: 80px;
  --faq-max-width: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.subpage-body {
  font-family: 'Darker Grotesque', sans-serif;
  background-color: #f1f6ff;
  color: var(--faq-main-text);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.subpage-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--faq-light-bg);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */

.subpage-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--faq-header-height);
  background: rgba(241, 246, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--faq-border);
  z-index: 100;
  display: flex;
  align-items: center;
}

.subpage-header-inner {
  width: 100%;
  max-width: var(--faq-max-width);
  margin: 0 auto;
  padding: 0 var(--faq-horizontal-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.subpage-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.subpage-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.subpage-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.subpage-nav-link {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--faq-main-text);
  text-decoration: none;
  transition: opacity 0.3s ease-in-out;
}

.subpage-nav-link:hover {
  opacity: 0.7;
  color: var(--faq-main-text);
}

.subpage-nav-link.active {
  color: var(--faq-primary);
}

.subpage-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 24px;
  background: var(--faq-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 60px;
  text-decoration: none;
  transition: opacity 0.25s ease-in-out;
  border: 1px solid var(--faq-primary);
  flex-shrink: 0;
}

.subpage-nav-cta:hover {
  opacity: 0.8;
  color: #fff;
}

/* ===== MAIN CONTENT AREA ===== */

.subpage-main {
  flex: 1;
  width: 100%;
  max-width: var(--faq-max-width);
  margin: 0 auto;
  padding: calc(var(--faq-header-height) + 64px) var(--faq-horizontal-padding) 96px;
}

/* ===== HERO SECTION ===== */

.subpage-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 72px;
}

.subpage-hero-eyebrow {
  display: inline-block;
  padding: 6px 18px;
  background: var(--faq-primary-8);
  color: var(--faq-primary);
  font-size: 14px;
  font-weight: 700;
  border-radius: 60px;
  border: 1px solid var(--faq-border);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.subpage-hero h1 {
  font-size: 56px;
  font-weight: 800;
  color: var(--faq-main-text);
  line-height: 1.1;
  margin: 0;
  max-width: 800px;
}

.subpage-hero-description {
  font-size: 20px;
  font-weight: 500;
  color: var(--faq-main-text-65);
  line-height: 1.5;
  max-width: 600px;
  margin: 0;
}

/* ===== FAQ SECTION ===== */

.faq-section {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.faq-section-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faq-primary);
  margin-bottom: 8px;
}

.faq-section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--faq-main-text);
  margin: 0 0 48px;
  line-height: 1.2;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-card {
  background: var(--faq-white);
  border-radius: 20px;
  border: 1px solid var(--faq-border);
  overflow: hidden;
  transition: box-shadow 0.25s ease-in-out, transform 0.25s ease-in-out;
}

.faq-card:hover {
  box-shadow: var(--faq-card-hover-shadow);
  transform: translateY(-2px);
}

.faq-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  cursor: pointer;
  user-select: none;
}

.faq-card-question {
  font-size: 20px;
  font-weight: 700;
  color: var(--faq-main-text);
  margin: 0;
  line-height: 1.3;
  flex: 1;
}

.faq-card-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--faq-primary-8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faq-primary);
  transition: transform 0.25s ease-in-out, background 0.25s ease-in-out;
}

.faq-card-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.faq-card.open .faq-card-icon {
  transform: rotate(45deg);
  background: var(--faq-primary);
  color: #fff;
}

.faq-card-body {
  padding: 0 28px 24px;
  display: none;
}

.faq-card.open .faq-card-body {
  display: block;
}

.faq-card-answer {
  font-size: 17px;
  font-weight: 500;
  color: var(--faq-main-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.faq-card-divider {
  height: 1px;
  background: var(--faq-border);
  margin: 0 28px;
}

.faq-card.open .faq-card-divider {
  display: block;
}

.faq-card:not(.open) .faq-card-divider {
  display: none;
}

/* Static FAQ layout (no accordion) */

.faq-card-static {
  background: var(--faq-white);
  border-radius: 20px;
  border: 1px solid var(--faq-border);
  padding: 28px;
  transition: box-shadow 0.25s ease-in-out, transform 0.25s ease-in-out;
  box-shadow: var(--faq-card-shadow);
}

.faq-card-static:hover {
  box-shadow: var(--faq-card-hover-shadow);
  transform: translateY(-2px);
}

.faq-card-static h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--faq-main-text);
  margin: 0 0 12px;
  line-height: 1.3;
}

.faq-card-static p {
  font-size: 16px;
  font-weight: 500;
  color: var(--faq-main-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.faq-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--faq-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  margin-bottom: 12px;
}

/* ===== INTERNAL LINK BLOCK ===== */

.subpage-link-block {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  background: var(--faq-primary-8);
  border: 1px solid var(--faq-border);
  border-radius: 16px;
  margin: 48px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.subpage-link-block p {
  font-size: 16px;
  font-weight: 600;
  color: var(--faq-main-text-secondary);
  margin: 0;
  flex: 1;
}

.subpage-link-block a {
  color: var(--faq-primary);
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.subpage-link-block a:hover {
  opacity: 0.7;
}

/* ===== RETURN HOME BUTTON ===== */

.return-home-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--faq-border);
}

.return-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 40px;
  background: transparent;
  color: var(--faq-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 60px;
  border: 2px solid var(--faq-primary);
  text-decoration: none;
  transition: background 0.25s ease-in-out, color 0.25s ease-in-out, opacity 0.25s ease-in-out;
}

.return-home-btn:hover {
  background: var(--faq-primary);
  color: #fff;
}

.return-home-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.25s ease-in-out;
}

.return-home-btn:hover svg {
  transform: translateX(-3px);
}

/* ===== TEAM PAGE SECTIONS ===== */

.team-section {
  width: 100%;
  margin-bottom: 80px;
}

.team-section:last-child {
  margin-bottom: 0;
}

.team-section-header {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
}

.team-section-header .section-line {
  flex: 1;
  height: 1px;
  background: var(--faq-primary);
  opacity: 0.3;
}

.team-section h2 {
  font-size: 48px;
  font-weight: 600;
  color: var(--faq-primary);
  line-height: 1;
  flex-shrink: 0;
  white-space: nowrap;
}

.team-intro-block {
  background: var(--faq-white);
  border-radius: 24px;
  border: 1px solid var(--faq-border);
  padding: 48px;
  box-shadow: var(--faq-card-shadow);
}

.team-intro-block p {
  font-size: 20px;
  font-weight: 500;
  color: var(--faq-main-text-secondary);
  line-height: 1.6;
  margin: 0 0 20px;
}

.team-intro-block p:last-child {
  margin-bottom: 0;
}

.team-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.team-value-card {
  background: var(--faq-white);
  border-radius: 20px;
  border: 1px solid var(--faq-border);
  padding: 32px;
  box-shadow: var(--faq-card-shadow);
  transition: box-shadow 0.25s ease-in-out, transform 0.25s ease-in-out;
}

.team-value-card:hover {
  box-shadow: var(--faq-card-hover-shadow);
  transform: translateY(-3px);
}

.team-value-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--faq-primary) 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.team-value-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--faq-main-text);
  margin: 0 0 12px;
  line-height: 1.2;
}

.team-value-card p {
  font-size: 16px;
  font-weight: 500;
  color: var(--faq-main-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.team-members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.team-member-card {
  background: var(--faq-white);
  border-radius: 20px;
  border: 1px solid var(--faq-border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--faq-card-shadow);
  transition: box-shadow 0.25s ease-in-out, transform 0.25s ease-in-out;
}

.team-member-card:hover {
  box-shadow: var(--faq-card-hover-shadow);
  transform: translateY(-3px);
}

.team-member-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--faq-primary) 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  flex-shrink: 0;
}

.team-member-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--faq-main-text);
  margin: 0;
  line-height: 1.2;
}

.team-member-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--faq-primary);
  margin: 0;
  line-height: 1.2;
}

.team-member-bio {
  font-size: 14px;
  font-weight: 500;
  color: var(--faq-main-text-65);
  margin: 0;
  line-height: 1.5;
}

.team-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.team-stat-card {
  background: var(--faq-white);
  border-radius: 20px;
  border: 1px solid var(--faq-border);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--faq-card-shadow);
}

.team-stat-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--faq-primary);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.team-stat-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--faq-main-text-secondary);
  line-height: 1.3;
}

.team-tech-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

.team-tech-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--faq-white);
  border-radius: 16px;
  border: 1px solid var(--faq-border);
  padding: 20px 24px;
  box-shadow: var(--faq-card-shadow);
}

.team-tech-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--faq-primary);
  flex-shrink: 0;
  margin-top: 6px;
}

.team-tech-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--faq-main-text);
  margin: 0 0 6px;
  line-height: 1.2;
}

.team-tech-item p {
  font-size: 14px;
  font-weight: 500;
  color: var(--faq-main-text-secondary);
  margin: 0;
  line-height: 1.5;
}

.team-approach-block {
  background: var(--faq-white);
  border-radius: 24px;
  border: 1px solid var(--faq-border);
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--faq-card-shadow);
}

.team-approach-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--faq-primary) 0%, #3b82f6 100%);
}

.team-approach-block h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--faq-main-text);
  margin: 0 0 16px;
  line-height: 1.2;
}

.team-approach-block p {
  font-size: 17px;
  font-weight: 500;
  color: var(--faq-main-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===== FOOTER ===== */

.subpage-footer {
  width: 100%;
  border-top: 1px solid var(--faq-border);
  background: var(--faq-white);
  margin-top: auto;
}

.subpage-footer-inner {
  width: 100%;
  max-width: var(--faq-max-width);
  margin: 0 auto;
  padding: 32px var(--faq-horizontal-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.subpage-footer-logo img {
  height: 30px;
  width: auto;
  display: block;
}

.subpage-footer-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.subpage-footer-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--faq-main-text);
  text-decoration: none;
  transition: opacity 0.3s ease-in-out;
}

.subpage-footer-link:hover {
  opacity: 0.6;
  color: var(--faq-main-text);
}

.subpage-footer-legal {
  font-size: 13px;
  font-weight: 500;
  color: var(--faq-main-text-65);
}

/* ===== BREADCRUMB ===== */

.subpage-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  font-size: 14px;
  font-weight: 600;
}

.subpage-breadcrumb a {
  color: var(--faq-primary);
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.subpage-breadcrumb a:hover {
  opacity: 0.7;
}

.subpage-breadcrumb span {
  color: var(--faq-main-text-65);
}

.subpage-breadcrumb .separator {
  color: var(--faq-main-text-65);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1279px) {
  .subpage-main {
    padding-left: 40px;
    padding-right: 40px;
  }
  .subpage-header-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
  .subpage-footer-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
  .team-members-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .team-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1023px) {
  :root {
    --faq-horizontal-padding: 32px;
  }
  .subpage-hero h1 {
    font-size: 44px;
  }
  .team-section h2 {
    font-size: 36px;
  }
  .team-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-tech-list {
    grid-template-columns: 1fr;
  }
  .team-intro-block {
    padding: 32px;
  }
  .team-approach-block {
    padding: 32px;
  }
  .subpage-nav {
    gap: 24px;
  }
  .subpage-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .subpage-footer-nav {
    gap: 24px;
  }
}

@media (max-width: 767px) {
  :root {
    --faq-horizontal-padding: 20px;
    --faq-header-height: 64px;
  }
  .subpage-main {
    padding-top: calc(var(--faq-header-height) + 40px);
    padding-bottom: 64px;
  }
  .subpage-hero h1 {
    font-size: 36px;
  }
  .subpage-hero-description {
    font-size: 17px;
  }
  .subpage-hero {
    margin-bottom: 48px;
  }
  .faq-card-header {
    padding: 20px;
  }
  .faq-card-body {
    padding: 0 20px 20px;
  }
  .faq-card-divider {
    margin: 0 20px;
  }
  .faq-card-question {
    font-size: 17px;
  }
  .faq-card-answer {
    font-size: 15px;
  }
  .faq-card-static {
    padding: 20px;
  }
  .team-values-grid {
    grid-template-columns: 1fr;
  }
  .team-members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-section h2 {
    font-size: 28px;
  }
  .team-section-header {
    gap: 16px;
    margin-bottom: 32px;
  }
  .team-intro-block {
    padding: 24px;
  }
  .team-intro-block p {
    font-size: 17px;
  }
  .team-approach-block {
    padding: 24px;
  }
  .team-tech-list {
    grid-template-columns: 1fr;
  }
  .subpage-nav {
    display: none;
  }
  .subpage-footer-nav {
    flex-wrap: wrap;
    gap: 16px;
  }
  .return-home-wrapper {
    margin-top: 48px;
    padding-top: 32px;
  }
  .team-section {
    margin-bottom: 56px;
  }
}

@media (max-width: 480px) {
  .team-members-grid {
    grid-template-columns: 1fr;
  }
  .team-stats-row {
    grid-template-columns: 1fr;
  }
  .subpage-hero h1 {
    font-size: 30px;
  }
}