*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f0f2f5;
  color: #050505;
}

.fb-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #fff;
  color: #1c1e21;
  border-bottom: 1px solid #ced0d4;
  font-family: "Segoe UI Semibold", "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 600;
}

.fb-header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 28px;
  min-height: 55px;
}

.fb-header-logo {
  color: #0866ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.fb-header-logo svg {
  display: block;
  fill: currentColor;
}

.fb-login-form {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}

.fb-login-field {
  display: block;
  color: #4b4f56;
}

.fb-login-label {
  display: none;
}

.fb-login-input {
  width: 188px;
  height: 40px;
  padding: 0 12px;
  border-radius: 4px;
  border: 1px solid #ced0d4;
  font-size: 14px;
  line-height: 40px;
  color: #1c1e21;
  background-color: #fff;
  font-weight: 600;
}

.fb-login-input::placeholder {
  color: #8a8d91;
  font-weight: 600;
}

.fb-login-input:focus {
  outline: none;
  border-color: #1877f2;
  box-shadow: 0 0 0 1px #1877f2;
}

.fb-login-button {
  border: none;
  border-radius: 4px;
  background-color: #0866ff;
  color: #fff;
  width: 69px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 700;
}

.fb-login-button:hover {
  background-color: #075ce5;
}

.fb-login-forgot {
  color: #0064d1;
  font-size: 15px;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
}

.fb-login-forgot:hover {
  text-decoration: underline;
}

.fb-main {
  width: 100%;
  margin: 0 0 32px;
  padding: 0 0 32px;
}

.fb-main-full {
  max-width: 1180px;
  margin: 14px auto 0;
  padding: 0 28px 32px;
}

.fb-profile-top {
  background-color: var(--cover-dominant, #b7bcc3);
  background-image: linear-gradient(to top, #FFFFFF, rgba(255,255,255,0.9), rgba(255,255,255,0.7), rgba(255,255,255,0.4), rgba(255,255,255,0));
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  position: relative;
  border-bottom: 1px solid #ced0d4;
}

.fb-cover-photo {
  position: relative;
  height: 350px;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background: url("media/fon1.jpg") center 30%/cover no-repeat;
}

.fb-cover-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.38) 58%, rgba(0, 0, 0, 0.66) 100%),
    radial-gradient(circle at 8% 50%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 92% 50%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 36%);
}

.fb-profile-summary {
  display: flex;
  padding: 12px 28px 16px;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.fb-avatar-wrapper {
  margin-top: -96px;
  padding: 4px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  z-index: 2;
}

.fb-avatar {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: url("media/ph1.jpg") center/cover no-repeat;
  background-color: #d8d8d8;
  border: 4px solid #fff;
}

.fb-profile-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fb-profile-name {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.fb-profile-subtitle {
  margin-top: 4px;
  color: #65676b;
  font-size: 14px;
  font-weight: 600;
}

.fb-profile-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fb-btn {
  border-radius: 6px;
  border: none;
  font-size: 14px;
  padding: 6px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fb-btn-primary {
  background-color: #1b74e4;
  color: #fff;
}

.fb-btn-primary:hover {
  background-color: #1558b0;
}

.fb-btn-secondary {
  background-color: #e4e6eb;
  color: #050505;
}

.fb-btn-secondary:hover {
  background-color: #d8dadf;
}

.fb-btn-tertiary {
  background-color: #e4e6eb;
  color: #050505;
  padding-inline: 10px;
}

.fb-btn-tertiary:hover {
  background-color: #d8dadf;
}

.fb-tabs {
  display: flex;
  gap: 2px;
  padding: 0 28px 0;
  /* background-color: #fff; */
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
  position: relative;
}

.fb-tabs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  background-color: #ced0d4;
}

.fb-tab {
  border: none;
  background: transparent;
  height: 60px;
  padding: 0 16px;
  cursor: pointer;
  font-size: 14px;
  color: #65676b;
  position: relative;
  margin-right: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI Historic", "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 600;
  line-height: 1;
}

.fb-tab:hover {
  background-color: #f2f3f5;
}

.fb-tab-active {
  color: #0866ff;
  font-weight: 600;
  background-color: transparent;
}

.fb-tab-active:hover {
  background-color: transparent;
}

.fb-tab-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-color: #0866ff;
  border-radius: 3px 3px 0 0;
}

.fb-tab-more {
  margin-left: auto;
  margin-right: 0;
  width: 40px;
  height: 40px;
  padding: 0 0 2px;
  line-height: 1;
  font-weight: 700;
  color: #65676b;
  background-color: #f0f2f5;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fb-tab-more svg {
  width: 16px;
  height: 16px;
  display: block;
}

.fb-layout {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 16px;
  margin-top: 14px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 28px;
}

.fb-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fb-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 12px 16px 14px;
  box-shadow: none;
  border: none;
}

.fb-card-title {
  margin: 0 0 8px;
  font-size: 17px;
}

.fb-about-list {
  list-style: none;
  margin: 0;
  padding: 2px 0 0;
  font-size: 14px;
  color: #050505;
}

.fb-about-list li {
  margin-bottom: 2px;
}

.fb-about-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 32px;
  line-height: 1.25;
}

.fb-about-icon {
  width: 20px;
  height: 20px;
  margin: 6px;
  opacity: 1;
  filter: invert(59%) sepia(11%) saturate(200%) hue-rotate(176deg) brightness(96%) contrast(94%);
  flex: 0 0 auto;
}

.fb-about-reviews {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fb-about-reviews svg {
  color: #6b6f76;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.fb-empty-feed {
  font-size: 34px;
  color: #65676b;
  font-weight: 700;
  text-align: center;
  padding-top: 24px;
}

.fb-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.fb-photo-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: url("media/fon1.jpg") center/cover no-repeat;
}

.fb-photo-thumb:nth-child(2) {
  background-image: url("media/cashflow.jpg");
}

.fb-photo-thumb:nth-child(3) {
  background-image: url("media/oaihidd.jpg");
}

.fb-link {
  font-size: 14px;
  color: #1877f2;
  text-decoration: none;
}

.fb-link:hover {
  text-decoration: underline;
}

.fb-post {
  padding-top: 10px;
}

.fb-post-header {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.fb-post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: url("media/ph1.jpg") center/cover no-repeat;
  background-color: #d8d8d8;
  flex-shrink: 0;
}

/* Landing content */

.fb-landing {
  padding-top: 12px;
}

.landing-section {
  margin-bottom: 24px;
}

.landing-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.landing-subtitle {
  margin: 0 0 16px;
  font-size: 16px;
  color: #1c1e21;
}

.landing-video-wrapper {
  margin: 0 0 12px;
}

.landing-video {
  width: 100%;
  max-height: 420px;
  border-radius: 8px;
  display: block;
  background-color: #000;
  object-fit: cover;
}

.video-shell {
  position: relative;
}

.video-controls {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  gap: 8px;
}

.video-btn {
  border: none;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 18px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.video-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.landing-video-caption {
  margin: 6px 0 0;
  font-size: 13px;
  color: #65676b;
}

.landing-section-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.landing-list {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.5;
}

.landing-link {
  color: #1877f2;
}

.landing-highlight {
  font-weight: 700;
  margin: 0 0 6px;
}

.landing-steps {
  margin: 0 0 12px 18px;
  padding: 0;
  font-size: 15px;
  line-height: 1.5;
}

.landing-accent {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 700;
}

.landing-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing-timer-text,
.landing-timer .landing-accent {
  text-align: left;
}

.landing-note {
  margin: 8px 0 12px;
  font-size: 13px;
  color: #65676b;
}

.landing-btn {
  display: block;
  margin: 8px auto 0;
  font-size: 16px;
  padding: 8px 20px;
  min-width: 220px;
}

.landing-btn-main {
  font-size: 20px;
  padding: 14px 28px;
  width: 100%;
  font-weight: 700;
}

.landing-main-cta a {
  text-decoration: none;
}

.landing-main-cta a:hover {
  text-decoration: none;
}

.landing-btn-inline {
  display: inline-flex;
  margin: 0 0 0 8px;
  padding: 6px 16px;
  min-width: auto;
  font-size: 14px;
}

/* Users ticker – card-style grid с прогресс-баром */

.users-ticker {
  border-radius: 12px;
  padding: 10px 10px 14px;
  background-color: #f3f6ff;
}

.users-ticker-header {
  display: none;
}

.users-ticker-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.users-ticker-row {
  width: 100%;
  text-align: left;
  border: none;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  padding: 10px 14px 12px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.13);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  gap: 6px;
}

.users-ticker-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.users-ticker-sub {
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
}

.users-ticker-role {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #4b5563;
  white-space: nowrap;
}

.users-ticker-meta-labels {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9ca3af;
}

.users-ticker-meta {
  margin-top: 2px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  font-size: 12px;
  align-items: center;
}

.users-ticker-meta-col {
  color: #4b5563;
}

.users-ticker-meta-col-amount {
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

.users-ticker-amount {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.users-ticker-spinner {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1.5px solid #bfdbfe;
  border-top-color: #2563eb;
  animation: users-ticker-spin 0.9s linear infinite;
}

.users-ticker-row-finished .users-ticker-spinner {
  display: none;
}

.users-ticker-bar {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  margin-top: 8px;
  background-color: #e5e7eb;
  overflow: hidden;
  position: relative;
}

.users-ticker-bar-fill {
  position: absolute;
  inset: 0;
  background-color: #22c55e;
  width: 100%;
  transform-origin: left center;
}

.users-ticker-row-active .users-ticker-bar-fill {
  width: 0%;
}

.users-ticker-row-finished .users-ticker-bar-fill {
  width: 100%;
}

@keyframes users-ticker-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Testimonials */

.testimonial-card {
  border-radius: 10px;
  overflow: hidden;
  border: none;
  margin-bottom: 12px;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
}

.testimonial-header {
  background: linear-gradient(90deg, #0f766e, #059669);
  color: #ecfdf5;
  padding: 8px 14px;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 700;
}

.testimonial-role-city {
  font-size: 13px;
  margin-top: 2px;
}

.testimonial-body {
  padding: 10px 14px 12px;
  background-color: #f9fafb;
}

.testimonial-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Why section */

.why-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #e4e6eb;
}

.why-item-text-only {
  grid-template-columns: minmax(0, 1fr);
}

.why-item-supmod .why-media img {
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.45);
}

.why-item-with-divider {
  border-top: 2px solid #fecaca;
  padding-top: 14px;
  margin-top: 4px;
}

.why-item:first-of-type {
  border-top: none;
}

.why-media img,
.why-media video {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.why-media video {
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.why-text h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.why-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.why-photo-label {
  margin: 14px 0 6px;
  font-size: 14px;
  font-weight: 600;
}

.why-extra-media {
  margin: 0 0 12px;
}

.why-extra-media img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}

.why-video-title {
  margin: 18px 0 8px;
  padding-top: 10px;
  border-top: 1px solid #e4e6eb;
  font-size: 15px;
  font-weight: 700;
}

/* Timer */

.timer-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  background: transparent;
  color: #b91c1c;
  margin: 12px auto;
  border: 2px solid #ef4444;
  box-shadow: none;
}

.timer-display {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.timer-timezone {
  font-size: 11px;
  opacity: 0.9;
  color: #b91c1c;
}

/* Comments */

.landing-comments {
  border-top: 1px solid #e4e6eb;
  padding-top: 16px;
}

.comment-input-wrapper {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: url("media/ph1.jpg") center/cover no-repeat;
  background-color: #d8d8d8;
  flex-shrink: 0;
}

.comment-avatar-support {
  background-color: #1b74e4;
}

.comment-input {
  flex: 1;
  border-radius: 20px;
  border: 1px solid #e4e6eb;
  background-color: #f0f2f5;
  padding: 8px 12px;
  font-size: 14px;
  color: #65676b;
  cursor: pointer;
}

.comment-input-highlight {
  border-color: #f97316;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.35);
  background-color: #fff7ed;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comment-item {
  display: flex;
  gap: 8px;
}

.comment-item.comment-reply {
  margin-left: 32px;
  position: relative;
}

.comment-item.comment-reply .comment-content {
  background-color: #e7f3ff;
}

.comment-content {
  background-color: #f0f2f5;
  border-radius: 18px;
  padding: 8px 10px;
  font-size: 14px;
  max-width: 100%;
}

.comment-header {
  font-weight: 600;
  margin-bottom: 2px;
}

.comment-text {
  line-height: 1.4;
}

.comment-meta {
  margin-top: 4px;
  font-size: 11px;
  color: #65676b;
}

.comment-modal-open {
  overflow: hidden;
}

.comment-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.comment-modal[aria-hidden="false"] {
  display: flex;
}

.comment-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
}

.comment-modal-dialog {
  position: relative;
  z-index: 1;
  max-width: 420px;
  width: 90%;
  background-color: #fff;
  border-radius: 12px;
  padding: 18px 18px 16px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.45);
}

.comment-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #4b5563;
}

.comment-modal-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.comment-modal-text {
  margin: 0 0 14px;
  font-size: 14px;
  color: #374151;
}

.comment-modal-btn {
  width: 100%;
  margin-top: 4px;
}

.fb-post-header-text {
  display: flex;
  flex-direction: column;
}

.fb-post-author {
  font-size: 15px;
  font-weight: 600;
}

.fb-post-meta {
  font-size: 12px;
  color: #65676b;
}

.fb-post-body {
  font-size: 15px;
  line-height: 1.5;
  margin-top: 4px;
}

.fb-footer {
  border-top: 1px solid #ced0d4;
  padding: 16px 0 24px;
  color: #65676b;
  font-size: 12px;
}

.fb-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.fb-footer-text {
  display: inline-block;
}

@media (max-width: 768px) {
  .fb-header-inner {
    padding-inline: 12px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .fb-login-field,
  .fb-login-forgot {
    display: none;
  }

  .fb-avatar {
    width: 112px;
    height: 112px;
  }

  .fb-profile-summary {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .fb-profile-actions {
    justify-content: center;
    width: 100%;
    margin-top: 12px;
  }

  .fb-cover-photo {
    height: 175px;
    border-radius: 0;
  }

  .fb-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .users-ticker-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-title {
    font-size: 20px;
  }

  .landing-btn-main {
    font-size: 16px;
  }

  .why-item {
    grid-template-columns: minmax(0, 1fr);
  }
}

