:root {
  --bg: #f8f8f8;
  --surface: #ffffff;
  --text: #15203a;
  --muted: #56637a;
  --accent: #f01f57;
  --accent-dark: #de1e4f;
  --dark-btn: #1f1d1d;
  --line: #ececec;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

body.menu-open {
  overflow: hidden;
}

.page-wrap {
  min-height: 100vh;
  border-left: 4px solid #2d2d2d;
  border-right: 4px solid #2d2d2d;
  background: var(--surface);
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  position: sticky;
  top: 0;
  z-index: 1000;
  align-items: center;
  gap: 18px;
  height: 62px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: #fbfbfb;
  box-shadow: 0 1px 0 rgba(21, 32, 58, 0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}

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

.brand-name {
  font-size: 19px;
  font-weight: 800;
  color: #1a2236;
  letter-spacing: -0.02em;
}

.brand-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-self: center;
  margin: 0;
}

.nav a,
.signin {
  font-size: 13px;
  font-weight: 600;
  color: #3f4960;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-self: end;
}

.signin-dropdown {
  position: relative;
}

.dropdown-toggle {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  min-width: 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
  z-index: 20;
}

.signin-dropdown.is-open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}

.dropdown-panel a {
  font-size: 13px;
  font-weight: 600;
  color: #1a2236;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f6f7fb;
  text-align: left;
}

.dropdown-panel a:hover {
  background: #eceff7;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 42px;
  height: 42px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
  transition: transform 0.2s ease;
}

.hero {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 62px);
  padding: 80px 24px 120px;
}

.hero-content {
  width: 100%;
  max-width: 980px;
  text-align: center;
}

.hero-title {
  margin: 0;
  font-size: clamp(1.9rem, 4.4vw, 2.55rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.hero-title span {
  display: block;
}

.hero-title span:not(.highlight) {
  font-size: 0.82em;
}

.highlight {
  position: relative;
  margin: 14px 0 8px;
  color: var(--accent);
}

.highlight::after {
  content: "";
  display: block;
  width: 76%;
  height: 5px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: var(--accent);
  transform: rotate(-1.2deg);
}

.hero-copy {
  margin: 22px auto 0;
  max-width: 720px;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 52px;
}

.hero-actions .btn {
  min-height: 54px;
  padding: 0 32px;
  border-width: 1.5px;
  font-size: 15px;
  font-weight: 700;
}

.hero-actions .btn-primary {
  background: linear-gradient(135deg, #f21859 0%, #ff4f7a 52%, #ff8a3d 100%);
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(242, 24, 89, 0.22);
}

.hero-actions .btn-primary:hover,
.hero-actions .btn-primary:focus-visible {
  background: linear-gradient(135deg, #df124f 0%, #ff4571 52%, #ff7e2a 100%);
}

.hero-actions .btn-dark {
  color: #20263a;
  background: #ffffff;
  border-color: #d9dfea;
  box-shadow: 0 10px 24px rgba(24, 35, 58, 0.08);
}

.hero-actions .play-icon {
  width: 24px;
  height: 24px;
  background: #ffffff;
  border: 2px solid #20263a;
  color: #20263a;
  font-size: 9px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
}

.btn-small {
  min-height: 40px;
  padding: 0 22px;
  font-size: 14px;
}

.btn-dark {
  color: #fff;
  background: var(--dark-btn);
  border-color: #d3d3d3;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 10px;
}

.engines-section {
  padding: 48px 24px 86px;
  background: #f7f7f7;
}

.section-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.section-heading {
  text-align: center;
}

.section-label {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-title span {
  display: block;
}

.section-accent {
  color: #e33434;
}

.section-copy {
  margin: 14px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--muted);
}

.engine-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: fit-content;
  margin: 34px auto 54px;
  padding: 4px;
  border-radius: 999px;
  background: #efefef;
}

.engine-tab {
  min-height: 42px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #2f2f35;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
}

.engine-tab.is-active {
  background: #1f1f22;
  color: #fff;
}

.engine-panel {
  text-align: center;
}

.engine-panel.is-hidden {
  display: none;
}

.engine-panel h3 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.engine-panel > p {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #fff;
  box-shadow: 0 10px 22px rgba(25, 39, 67, 0.12);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.social-logo {
  width: 26px;
  height: 26px;
  display: block;
}

.social-icon:hover,
.social-icon:focus-visible {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 28px rgba(25, 39, 67, 0.18);
  filter: saturate(1.08);
}

.linkedin {
  background: linear-gradient(135deg, #0f5fb6, #156ecf);
}

.x {
  background: linear-gradient(135deg, #4b5565, #273040);
}

.instagram {
  background: linear-gradient(135deg, #ff7f1f, #ff2f62);
}

.facebook {
  background: linear-gradient(135deg, #3388ef, #1f5ebe);
}

.feature-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.two-up {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.engine-card,
.visual-panel,
.visual-card {
  background: #fff;
  border: 1px solid #dde4ef;
  border-radius: 16px;
}

.engine-card {
  padding: 24px 24px 22px;
  text-align: left;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ffe7e2;
  color: #ff5539;
  font-size: 1.15rem;
  font-weight: 700;
  transition: transform 0.22s ease, background 0.22s ease;
}

.engine-card h4,
.visual-card h4 {
  margin: 16px 0 8px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.engine-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
}

.engine-card:hover,
.engine-card:focus-within {
  transform: translateY(-6px);
  border-color: #ffd5dc;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f6 100%);
  box-shadow: 0 18px 42px rgba(24, 34, 56, 0.1);
}

.engine-card:hover .card-icon,
.engine-card:focus-within .card-icon {
  transform: scale(1.05);
  background: linear-gradient(180deg, #ffe1da 0%, #ffd3c8 100%);
}

.visual-panel {
  margin-top: 28px;
  position: relative;
  overflow: hidden;
  padding: 56px 44px 52px;
  border-color: #dde5f0;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  box-shadow: 0 16px 34px rgba(24, 34, 56, 0.05);
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: auto -36px -68px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.08), transparent 68%);
  pointer-events: none;
}

.ai-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3e53, #ff8a00);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(255, 102, 67, 0.18);
}

.visual-panel h3 {
  margin-top: 20px;
  font-size: clamp(2rem, 2.8vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.visual-panel > p {
  margin-top: 12px;
  font-size: 0.98rem;
  color: #4f5f7b;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 44px;
}

.visual-card {
  position: relative;
  min-height: 200px;
  padding: 30px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-color: #dbe3ef;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(24, 34, 56, 0.04);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 42%);
  pointer-events: none;
}

.visual-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  color: #fff;
  box-shadow: 0 8px 16px rgba(34, 44, 73, 0.16);
}

.visual-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.visual-pink {
  background: linear-gradient(135deg, #8d34ff, #ff2ca8);
}

.visual-orange {
  background: linear-gradient(135deg, #ff7a00, #ff9c10);
}

.visual-blue {
  background: linear-gradient(135deg, #3478ff, #13b5d9);
}

.visual-card:hover,
.visual-card:focus-within {
  transform: translateY(-6px);
  border-color: #d4dceb;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(24, 34, 56, 0.08);
}

.visual-card:hover .visual-icon,
.visual-card:focus-within .visual-icon {
  transform: translateY(-2px) scale(1.04);
}

.visual-note {
  margin: 38px 0 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted);
}

.visual-note strong {
  color: var(--text);
}

.optimize-section,
.audience-section,
.steps-section {
  padding: 76px 24px;
  background: #fff;
}

.audience-section,
.steps-section {
  background: #f7f7f7;
}

.steps-section {
  padding-top: 56px;
  padding-bottom: 64px;
}

.steps-section .section-copy {
  max-width: 760px;
  margin: 12px auto 0;
  text-align: center;
}

.optimize-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: center;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe4ee, #fff0cb);
  color: var(--accent);
  font-weight: 700;
}

.split-title {
  margin: 18px 0 0;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.split-title span {
  display: block;
}

.optimize-copy > p {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.benefit-list {
  display: grid;
  gap: 28px;
  margin-top: 46px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffe3e3, #ffeedc);
  color: #ff2559;
  font-size: 1.2rem;
  font-weight: 700;
}

.benefit-item h3,
.step-card h3,
.audience-head h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
}

.benefit-item p,
.step-card p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.post-preview-wrap {
  position: relative;
  padding: 40px 0;
}

.post-preview-wrap::before {
  content: "";
  position: absolute;
  inset: 8% -4% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 197, 89, 0.22), transparent 70%);
  filter: blur(20px);
}

.post-preview {
  position: relative;
  padding: 30px 32px 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e6ebf2;
  box-shadow: 0 28px 60px rgba(18, 28, 45, 0.12);
}

.status-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  z-index: 1;
}

.status-badge.green {
  top: 18px;
  right: 10px;
  background: #0ec558;
}

.status-badge.pink {
  bottom: 0;
  left: -18px;
  background: #ff2559;
}

.post-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.post-mark {
  width: 42px;
  height: 42px;
  color: #e53943;
}

.post-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.post-meta {
  width: 100%;
}

.post-meta span,
.post-lines span,
.post-actions i {
  display: block;
  border-radius: 999px;
  background: #eff2f6;
}

.post-meta span:first-child {
  width: 28%;
  height: 12px;
}

.post-meta span:last-child {
  width: 16%;
  height: 8px;
  margin-top: 10px;
}

.post-lines {
  margin-top: 28px;
}

.post-lines span {
  height: 16px;
  margin-top: 12px;
}

.post-lines span:nth-child(1) {
  width: 100%;
}

.post-lines span:nth-child(2) {
  width: 96%;
}

.post-lines span:nth-child(3) {
  width: 84%;
}

.post-lines span:nth-child(4) {
  width: 100%;
}

.post-lines span:nth-child(5) {
  width: 92%;
}

.post-lines span:nth-child(6) {
  width: 80%;
}

.post-image {
  height: 190px;
  margin-top: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffd9d9, #fff0b7);
}

.post-actions {
  display: flex;
  gap: 30px;
  margin-top: 22px;
  color: #9aa4b7;
}

.post-actions span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.post-actions i {
  width: 20px;
  height: 20px;
}

.audience-title {
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
}

.audience-title span {
  display: inline;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 860px;
  margin: 40px auto 0;
}

.audience-card,
.step-card {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
}

.audience-card {
  padding: 26px 26px 22px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.audience-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.audience-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  flex-shrink: 0;
}

.audience-icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

.audience-icon-pink {
  background: linear-gradient(135deg, #973cff, #f03fa5);
}

.audience-icon-orange {
  background: linear-gradient(135deg, #ff7c00, #ff9a14);
}

.audience-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
}

.audience-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.18s ease, color 0.18s ease;
}

.audience-list li span,
.aud-li-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  font-size: 0.82rem;
  transition: transform 0.18s ease, background 0.18s ease;
}

.aud-li-icon svg {
  width: 20px;
  height: 20px;
}

.aud-li-pink {
  background: #f1e8ff;
  color: #8a32ff;
}

.aud-li-pink svg {
  stroke: #8a32ff;
}

.aud-li-orange {
  background: #ffefde;
  color: #ff6900;
}

.aud-li-orange svg {
  stroke: #ff6900;
}

.audience-list-orange li span {
  background: #ffefde;
  color: #ff6900;
}

.audience-note {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid #d7dce5;
}

.audience-note p {
  margin: 0;
  color: #5b6579;
  font-size: 0.95rem;
  line-height: 1.5;
}

.audience-card:hover,
.audience-card:focus-within {
  transform: translateY(-6px);
  border-color: #ffd5dc;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f6 100%);
  box-shadow: 0 18px 42px rgba(24, 34, 56, 0.1);
}

.audience-card:hover .audience-icon,
.audience-card:focus-within .audience-icon {
  transform: scale(1.05);
}

.audience-card:hover .audience-list li,
.audience-card:focus-within .audience-list li {
  transform: translateX(2px);
}

.audience-card:hover .audience-list li span,
.audience-card:focus-within .audience-list li span {
  transform: scale(1.05);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 58px auto 0;
}

.step-card {
  padding: 18px 18px 16px;
  min-height: 214px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.step-no {
  display: block;
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 16px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.step-pink {
  color: #ffd0ea;
}

.step-soft-red {
  color: #ffd0d0;
}

.step-gold {
  color: #ffdca8;
}

.step-blue {
  color: #d5e5ff;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.step-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: currentColor;
}

.step-card h3 {
  margin-top: 12px;
  font-size: 1rem;
}

.step-icon-pink {
  background: #ff2f7a;
}

.step-icon-red {
  background: #ff5831;
}

.step-icon-gold {
  background: #ff9800;
}

.step-icon-blue {
  background: #3478da;
}

.step-card:hover,
.step-card:focus-within {
  transform: translateY(-4px);
  border-color: #d8e0ec;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(24, 34, 56, 0.08);
}

.step-card:hover .step-icon,
.step-card:focus-within .step-icon {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(24, 34, 56, 0.12);
}

.step-card:hover .step-no,
.step-card:focus-within .step-no {
  opacity: 1;
  transform: translateY(-2px);
}

.cta-dark-section {
  padding: 56px 24px 78px;
  background: radial-gradient(circle at top right, rgba(94, 28, 38, 0.22), transparent 24%), #171719;
}

.cta-dark-wrap {
  max-width: 1140px;
  margin: 0 auto;
}

.cta-dark-panel {
  padding: 64px 28px 70px;
  text-align: center;
  border: 1px solid #2d3547;
  border-radius: 24px;
  background: #1d1d20;
  color: #fff;
}

.cta-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 17px;
  background: #ec3737;
  font-size: 1.8rem;
  font-weight: 700;
}

.cta-dark-panel h2 {
  margin: 26px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.cta-dark-panel p {
  max-width: 860px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
  line-height: 1.52;
}

.cta-dark-actions {
  margin-top: 34px;
  gap: 16px;
}

.btn-light {
  background: #fff;
  color: #374055;
  border-color: #d7dde8;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.play-light {
  background: #ffe3e6;
  color: var(--accent);
}

.site-footer {
  padding: 60px 24px 32px;
  background: #ebebeb;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 0.8fr;
  gap: 42px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-copy {
  max-width: 420px;
  margin: 0;
  color: #4d5567;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: #1a2236;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0;
  border-radius: 0;
  background: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-email:visited,
.footer-email:active,
.footer-email:hover,
.footer-email:focus-visible {
  color: #1a2236;
  background: none;
  outline: none;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #1e2b3a;
  color: #fff;
  font-weight: 700;
  transition: background 0.2s ease;
}

.footer-socials a:hover {
  background: #2e3f56;
}

.footer-links-col {
  display: grid;
  gap: 14px;
}

.footer-links-col h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #1a2236;
}

.footer-links-col a {
  color: #545b6a;
  font-size: 0.95rem;
}

.footer-links-col a:hover {
  color: #1a2236;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid #d0d4dc;
}

.footer-bottom p {
  margin: 0;
  color: #7a8599;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 26px;
}

.footer-bottom-links a {
  color: #7a8599;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .topbar {
    padding: 0 18px;
    gap: 16px;
  }

  .nav {
    gap: 24px;
  }

  .feature-panels,
  .visual-grid,
  .optimize-grid,
  .audience-grid,
  .steps-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .topbar {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    min-height: 62px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav,
  .nav-actions {
    display: none;
    width: 100%;
  }

  body.menu-open .nav,
  body.menu-open .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding-top: 8px;
  }

  body.menu-open .menu-toggle span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 80px;
  }

  .engines-section {
    padding-top: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    max-width: 360px;
  }

  .engine-toggle {
    width: 100%;
    max-width: 360px;
    flex-direction: column;
    border-radius: 20px;
  }

  .engine-tab {
    width: 100%;
  }

  .post-preview-wrap {
    padding-bottom: 62px;
  }

  .status-badge.green {
    right: 0;
  }

  .status-badge.pink {
    left: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .page-wrap {
    border-left: 0;
    border-right: 0;
  }

  .hero-copy {
    max-width: 320px;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .highlight::after {
    width: 88%;
  }

  .visual-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .optimize-section,
  .audience-section,
  .steps-section,
  .cta-dark-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .post-preview {
    padding-left: 18px;
    padding-right: 18px;
  }

  .audience-card,
  .step-card,
  .cta-dark-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 14px 22px;
  }
}
.video-dialog {
  border: none;
  border-radius: 16px;
  padding: 0;
  width: min(90vw, 720px);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
}

.video-dialog::backdrop {
  background: rgba(15, 23, 42, 0.6);
}

.video-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: #db2f34;
  color: #fff;
  font-weight: 600;
}

.video-dialog-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.video-dialog-title img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  background: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 6px;
  padding: 2px;
}

.video-dialog-close {
  appearance: none;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.video-dialog .dialog-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
