@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600;700;800;900&display=swap");

html,
body {
  min-height: 100%;
  margin: 0;
  font-family: "Fira Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background: #eef4f8;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

.auth-canvas-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #eef4f8;
}

.auth-canvas-bg::before {
  content: "";
  position: absolute;
  inset: -1.5%;
  z-index: 1;
  opacity: 0.08;
  background-image: url("../brand/tavrus-login-bg.jpg");
  background-size: cover;
  background-position: center center;
  filter: saturate(0.3) contrast(0.9) brightness(1.05) blur(1px);
  transform: scale(1.015);
  transition: opacity 1.2s cubic-bezier(.2,.8,.2,1), filter 1.2s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.auth-bg-video {
  position: absolute;
  inset: -1.5%;
  z-index: 2;
  width: 103%;
  height: 103%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  filter: saturate(0.9) contrast(0.98) brightness(0.76);
  transform: scale(1.015);
  transition: opacity 1.4s cubic-bezier(.2,.8,.2,1), filter 1.4s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.auth-canvas-bg.is-video-ready .auth-bg-video {
  opacity: 0;
}

.auth-canvas-bg.is-video-ready::before {
  opacity: 0;
}

.auth-canvas-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: rgba(244, 248, 252, 0.72);
  box-shadow: inset 0 0 140px rgba(2, 6, 23, 0.16);
}

#auth-bg-canvas {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  mix-blend-mode: multiply;
}

.about-page {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 64px;
  overflow-wrap: anywhere;
}

.about-brand {
  display: inline-flex;
  align-items: center;
  width: 132px;
  height: 44px;
  padding: 7px 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.about-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.about-nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.about-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #0f172a;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.about-login:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 133, 253, 0.26);
  background: rgba(255, 255, 255, 0.84);
  color: #1A3787;
  box-shadow: 0 18px 42px rgba(0, 133, 253, 0.12);
}

.about-login:active {
  border-color: rgba(26, 55, 135, 0.22);
  background: rgba(248, 250, 252, 0.94);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.about-login:active,
.about-primary:active,
.about-secondary:active {
  transform: translateY(0) scale(0.985);
}

.about-hero {
  width: 100%;
  max-width: 940px;
  padding: clamp(56px, 9vw, 112px) 0 42px;
}

.about-kicker,
.about-card span,
.about-breakthrough span,
.about-section-title span,
.about-copy span,
.about-company span {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: #1A3787;
  padding: 8px 11px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.about-hero h1 {
  margin: 18px 0 0;
  width: 100%;
  max-width: 930px;
  color: #0f172a;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.035em;
  overflow-wrap: normal;
  word-break: normal;
}

.about-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #334155;
  font-size: 18px;
  line-height: 1.58;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.about-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.about-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  border: 1px solid rgba(0, 133, 253, 0.42);
  background: linear-gradient(135deg, #0085FD, #1A3787);
  color: #fff;
  box-shadow: 0 18px 42px rgba(0, 133, 253, 0.22);
}

.about-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.68);
  color: #0f172a;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.about-actions a:hover,
.about-actions button:hover {
  transform: translateY(-1px);
}

.about-primary:hover,
.about-primary:focus-visible {
  border-color: rgba(26, 55, 135, 0.52);
  background: linear-gradient(135deg, #0b91ff, #142d78);
  box-shadow: 0 22px 52px rgba(0, 133, 253, 0.28);
}

.about-primary:active {
  border-color: rgba(26, 55, 135, 0.62);
  background: linear-gradient(135deg, #0077df, #102a68);
  box-shadow: 0 12px 30px rgba(0, 133, 253, 0.18);
}

.about-secondary:hover,
.about-secondary:focus-visible {
  border-color: rgba(0, 133, 253, 0.26);
  background: rgba(255, 255, 255, 0.88);
  color: #1A3787;
  box-shadow: 0 18px 42px rgba(0, 133, 253, 0.12);
}

.about-secondary:active {
  border-color: rgba(15, 23, 42, 0.14);
  background: rgba(248, 250, 252, 0.96);
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.about-proof {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.about-proof article {
  display: grid;
  gap: 9px;
  min-width: 0;
  min-height: 154px;
  padding: 16px;
  border: 1px solid rgba(100, 116, 139, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.060);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.about-proof strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  border: 1px solid rgba(0, 133, 253, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #1A3787;
  font-size: 12px;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 10px 22px rgba(15, 23, 42, 0.055);
}

.about-proof span {
  color: #111827;
  font-size: 16px;
  font-weight: 850;
}

.about-proof p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.42;
}

.about-section,
.about-split,
.about-company {
  min-width: 0;
  margin-top: 14px;
  border: 1px solid rgba(100, 116, 139, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.075);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.about-section {
  padding: 28px;
}

.about-section-title {
  max-width: 760px;
}

.about-section-title h2,
.about-copy h2,
.about-company h2 {
  margin: 18px 0 0;
  color: #111827;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.about-section-title p,
.about-copy p,
.about-company p {
  margin: 18px 0 0;
  color: #475569;
  font-size: 17px;
  line-height: 1.58;
}

.about-pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.about-pain-grid article,
.about-module-grid article {
  min-width: 0;
  min-height: 158px;
  padding: 18px;
  border: 1px solid rgba(100, 116, 139, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 14px 34px rgba(15, 23, 42, 0.045);
}

.about-pain-grid b {
  display: block;
  color: #111827;
  font-size: 16px;
  line-height: 1.18;
}

.about-pain-grid p,
.about-module-grid p {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.48;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 26px;
  align-items: stretch;
  padding: 28px;
}

.about-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.about-module-grid span {
  display: block;
  color: #1A3787;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-flow {
  margin-top: 14px;
}

.about-flow .about-section-title {
  margin-bottom: 12px;
}

.about-flow-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.about-flow-line article {
  position: relative;
  min-width: 0;
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(100, 116, 139, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.055);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.about-flow-line article::after {
  content: "";
  position: absolute;
  top: 26px;
  right: -10px;
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 133, 253, 0.20), rgba(26, 55, 135, 0.42));
}

.about-flow-line article:last-child::after {
  content: none;
}

.about-flow-line b {
  color: #111827;
  font-size: 16px;
}

.about-flow-line p {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.45;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.about-card,
.about-breakthrough {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(100, 116, 139, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.075);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.about-card {
  min-height: 250px;
  padding: 22px;
}

.about-card-wide {
  grid-column: span 2;
}

.about-card h2,
.about-breakthrough h2 {
  margin: 18px 0 0;
  color: #111827;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.about-card p,
.about-breakthrough p {
  margin: 16px 0 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.55;
}

.about-breakthrough {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: end;
  margin-top: 14px;
  padding: 28px;
}

.about-breakthrough h2 {
  max-width: 590px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.03;
}

.about-breakthrough p {
  font-size: 16px;
}

.about-company {
  display: grid;
  gap: 18px;
  max-width: none;
  padding: 30px;
}

.about-company h2 {
  max-width: 860px;
}

.about-company p {
  max-width: 820px;
}

.about-company .about-primary {
  width: max-content;
  text-decoration: none;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.partner-hero {
  max-width: 980px;
}

.partner-hero .about-kicker {
  color: #0085FD;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.partner-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
  padding: 18px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.partner-card b {
  color: #0f172a;
  font-size: 16px;
  line-height: 1.2;
}

.partner-card p {
  margin: 0;
  color: #536176;
  font-size: 14px;
  line-height: 1.5;
}

.partner-form-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.08);
  padding: clamp(22px, 4vw, 36px);
}

.partner-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.partner-field {
  display: grid;
  gap: 7px;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.partner-field input,
.partner-field select,
.partner-field textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.partner-field textarea {
  min-height: 116px;
  resize: vertical;
}

.partner-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.partner-form-actions {
  display: flex;
  justify-content: flex-start;
  grid-column: 1 / -1;
}

.partner-alert {
  margin: 18px 0 0;
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 14px;
  line-height: 1.4;
}

.partner-alert-success {
  border: 1px solid rgba(22, 163, 74, 0.22);
  background: rgba(240, 253, 244, 0.90);
  color: #166534;
}

.partner-alert-error {
  border: 1px solid rgba(220, 38, 38, 0.22);
  background: rgba(254, 242, 242, 0.92);
  color: #991b1b;
}

.partner-field input:focus,
.partner-field select:focus,
.partner-field textarea:focus {
  border-color: #0085FD;
  box-shadow: 0 0 0 4px rgba(0, 133, 253, 0.13);
}

.partner-field-wide {
  grid-column: 1 / -1;
}

.partner-note {
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  color: #536176;
  padding: 13px 14px;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .about-grid,
  .about-breakthrough,
  .about-split,
  .about-pain-grid,
  .about-flow-line,
  .about-proof,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .about-card-wide {
    grid-column: auto;
  }

  .about-flow-line article::after {
    left: 26px;
    top: auto;
    right: auto;
    bottom: -10px;
    width: 1px;
    height: 20px;
    background: linear-gradient(180deg, rgba(0, 133, 253, 0.20), rgba(26, 55, 135, 0.42));
  }
}

@media (max-width: 620px) {
  .about-page {
    width: min(100% - 22px, 1180px);
    padding-top: 18px;
  }

  .about-hero {
    padding-top: 44px;
  }

  .about-hero h1 {
    font-size: clamp(34px, 10vw, 40px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
  }

  .about-hero p {
    font-size: 16px;
    line-height: 1.54;
  }

  .about-card,
  .about-breakthrough,
  .about-section,
  .about-split,
  .about-company {
    border-radius: 18px;
    padding: 18px;
  }

  .about-module-grid {
    grid-template-columns: 1fr;
  }

  .partner-form-grid {
    grid-template-columns: 1fr;
  }

  .partner-field-wide {
    grid-column: auto;
  }
}
