:root {
  --bg: #08090b;
  --panel: #12141a;
  --panel-soft: #191c24;
  --paper: #f7f4ef;
  --paper-2: #eeebe4;
  --muted: #a8b0bd;
  --line: rgba(247, 244, 239, 0.14);
  --red: #ff3b4f;
  --red-dark: #b8192c;
  --cyan: #25f4ee;
  --green: #6ee7b7;
  --ink: #101115;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(255, 59, 79, 0.12), transparent 30%),
    linear-gradient(225deg, rgba(37, 244, 238, 0.08), transparent 28%),
    var(--bg);
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(8, 9, 11, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--red), #ff7a18);
  border-radius: var(--radius);
  font-size: 18px;
  box-shadow: 0 0 28px rgba(255, 59, 79, 0.42);
}

.nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a {
  padding: 8px 10px;
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 14px;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--paper);
  background: rgba(247, 244, 239, 0.06);
}

.nav-links .nav-button {
  color: white;
  background: rgba(255, 59, 79, 0.9);
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 34px 0 42px;
}

.hero-copy {
  padding: 34px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6.8vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

p {
  line-height: 1.75;
}

.hero-text,
.section-intro p,
.about-hero p,
.product-panel p,
.service-card p,
.cta-panel p,
.contact-panel p,
.demo-card p {
  color: var(--muted);
}

.hero-text {
  max-width: 600px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.ghost-button,
.mock-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

.primary-button {
  color: white;
  background: var(--red);
  box-shadow: 0 16px 36px rgba(255, 59, 79, 0.22);
}

.ghost-button,
.mock-button {
  color: var(--paper);
  border-color: var(--line);
  background: rgba(247, 244, 239, 0.06);
}

.hero-image {
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #16181f;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 0 0 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.stats-band article {
  padding: 24px;
  background: rgba(18, 20, 26, 0.86);
}

.stats-band strong {
  display: block;
  margin-bottom: 8px;
  color: var(--paper);
  font-size: clamp(26px, 4vw, 42px);
}

.stats-band span {
  color: var(--muted);
  line-height: 1.6;
}

.section-intro,
.about-hero {
  padding: 54px 0 22px;
}

.section-intro p {
  max-width: 680px;
}

.workflow-grid,
.service-grid,
.capability-grid,
.demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.workflow-grid article,
.service-card,
.capability-grid article,
.demo-card,
.product-panel,
.growth-flow,
.market-layout article,
.case-strip article,
.contact-panel,
.legal-content,
.callback-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.workflow-grid article,
.service-card,
.capability-grid article,
.demo-card,
.growth-flow,
.market-layout article {
  padding: 24px;
  background: linear-gradient(180deg, var(--panel-soft), var(--panel));
}

.workflow-grid span,
.demo-card span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.workflow-grid p,
.capability-grid p,
.growth-flow span,
.market-layout p,
.case-strip p {
  color: var(--muted);
}

.product-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  margin: 40px 0 18px;
  padding: clamp(24px, 5vw, 42px);
  background: var(--paper);
  color: var(--ink);
}

.product-panel .eyebrow,
.profile-facts span,
.case-strip span {
  color: var(--red-dark);
}

.scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scope-list span,
.tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid rgba(37, 244, 238, 0.35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.scope-list span {
  color: #0d5d61;
  background: rgba(37, 244, 238, 0.14);
}

.tag {
  margin-bottom: 20px;
  color: var(--cyan);
}

.service-grid {
  margin-top: 18px;
}

.service-card {
  min-height: 280px;
}

.service-card.featured {
  color: var(--ink);
  background: var(--paper);
}

.service-card.featured p {
  color: #555c66;
}

.featured .tag {
  color: var(--red-dark);
  border-color: rgba(184, 25, 44, 0.28);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 42px 0 64px;
  padding: clamp(24px, 5vw, 44px);
  background: linear-gradient(135deg, rgba(255, 59, 79, 0.22), rgba(37, 244, 238, 0.1)), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cta-panel p {
  max-width: 720px;
}

.about-hero {
  max-width: 920px;
}

.about-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.profile-summary {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.profile-summary > p {
  margin: 0;
  padding: 28px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.profile-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.profile-facts article {
  padding: 22px;
  background: var(--paper);
}

.profile-facts span,
.case-strip span {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 900;
}

.profile-facts strong,
.case-strip strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.capability-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.growth-flow {
  margin-bottom: 18px;
  padding: 26px;
  background: linear-gradient(180deg, var(--panel-soft), var(--panel));
}

.growth-flow ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.growth-flow li {
  min-height: 170px;
  padding: 18px;
  background: rgba(247, 244, 239, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.growth-flow strong {
  display: block;
  margin-bottom: 12px;
  color: var(--paper);
  line-height: 1.45;
}

.growth-flow span {
  display: block;
  font-size: 14px;
}

.market-layout,
.case-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.case-strip article,
.contact-panel,
.legal-content,
.callback-card {
  color: var(--ink);
  background: var(--paper);
}

.case-strip article,
.contact-panel {
  padding: 26px;
}

.case-strip p {
  margin: 14px 0 0;
  color: #555c66;
}

.contact-panel {
  margin: 18px 0 64px;
}

.contact-panel p {
  margin-bottom: 0;
}

.legal-page {
  width: min(920px, calc(100% - 36px));
}

.legal-hero {
  padding: 64px 0 22px;
}

.legal-hero h1 {
  font-size: clamp(42px, 6vw, 68px);
}

.legal-hero p {
  color: var(--muted);
}

.legal-content {
  margin-bottom: 64px;
  padding: clamp(24px, 5vw, 44px);
}

.legal-content h2 {
  margin-top: 28px;
  font-size: 24px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: #4b5563;
}

.legal-content a {
  color: var(--red-dark);
  font-weight: 700;
}

.app-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 18px;
  min-height: calc(100vh - 150px);
  padding: 42px 0 64px;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.app-sidebar strong {
  margin-bottom: 14px;
  font-size: 22px;
}

.app-sidebar a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: var(--radius);
}

.app-sidebar a.active,
.app-sidebar a:hover {
  color: var(--paper);
  background: rgba(247, 244, 239, 0.08);
}

.app-main {
  min-width: 0;
}

.app-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.app-topbar h1 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 52px);
}

.demo-grid {
  grid-template-columns: repeat(2, 1fr);
}

.demo-card code,
.callback-card code {
  display: block;
  overflow-wrap: anywhere;
  margin: 18px 0 0;
  padding: 12px;
  color: var(--green);
  background: #08090b;
  border: 1px solid rgba(110, 231, 183, 0.22);
  border-radius: var(--radius);
}

.upload-box,
.status-row {
  margin-top: 14px;
  padding: 14px;
  border: 1px dashed rgba(247, 244, 239, 0.22);
  border-radius: var(--radius);
  color: var(--paper);
  background: rgba(247, 244, 239, 0.05);
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.status-row span {
  color: var(--muted);
}

.callback-page {
  display: grid;
  min-height: calc(100vh - 150px);
  place-items: center;
  padding: 48px 0 64px;
}

.callback-card {
  max-width: 720px;
  padding: clamp(24px, 5vw, 46px);
}

.callback-card h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 62px);
}

.callback-card p {
  color: #4b5563;
}

.callback-card .primary-button {
  margin-top: 22px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.home-page {
  color: #111827;
  background:
    radial-gradient(circle at 15% 14%, rgba(255, 59, 79, 0.13), transparent 26%),
    radial-gradient(circle at 84% 8%, rgba(37, 244, 238, 0.16), transparent 28%),
    linear-gradient(180deg, #fffaf2 0%, #f7f3ea 48%, #ffffff 100%);
}

.home-main {
  width: min(1160px, calc(100% - 36px));
}

.light-header {
  background: rgba(255, 250, 242, 0.84);
  border-bottom-color: rgba(17, 24, 39, 0.1);
}

.light-header .brand,
.light-header .nav-links a {
  color: #111827;
}

.light-header .nav-links a {
  color: #5b6472;
}

.light-header .nav-links a.active,
.light-header .nav-links a:hover {
  color: #111827;
  background: rgba(17, 24, 39, 0.06);
}

.postiz-hero {
  display: grid;
  justify-items: center;
  padding: 78px 0 28px;
  text-align: center;
}

.hero-badge {
  margin-bottom: 20px;
  padding: 8px 14px;
  color: #6e2b00;
  background: #ffe4bd;
  border: 1px solid rgba(110, 43, 0, 0.16);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.postiz-hero h1 {
  max-width: 980px;
  margin-bottom: 20px;
  color: #101115;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.96;
}

.postiz-hero .hero-text {
  max-width: 760px;
  color: #536071;
}

.centered-actions {
  justify-content: center;
}

.dark-text {
  color: #101115;
  border-color: rgba(17, 24, 39, 0.14);
  background: white;
}

.social-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin-top: 34px;
}

.social-strip span {
  padding: 10px 14px;
  color: #1f2937;
  background: white;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
  font-weight: 800;
}

.product-showcase {
  padding: 30px 0 54px;
}

.dashboard-mockup {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  overflow: hidden;
  min-height: 520px;
  background: #111827;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(17, 24, 39, 0.22);
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  color: white;
  background: #0c111d;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-sidebar strong {
  margin-bottom: 24px;
  font-size: 24px;
}

.mock-sidebar span {
  padding: 12px 14px;
  color: #aeb7c5;
  border-radius: 8px;
}

.mock-sidebar span.active {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.mock-content {
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255, 59, 79, 0.1), transparent 42%),
    #f8fafc;
}

.mock-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.mock-top p {
  margin-bottom: 6px;
  color: #ff3b4f;
  font-weight: 900;
}

.mock-top h2 {
  margin-bottom: 0;
  color: #101115;
  font-size: clamp(26px, 4vw, 42px);
}

.mock-top button {
  align-self: flex-start;
  min-height: 42px;
  padding: 0 16px;
  color: white;
  background: #101115;
  border: 0;
  border-radius: 8px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.calendar-grid article {
  min-height: 250px;
  padding: 16px;
  color: #101115;
  background: white;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.07);
}

.calendar-grid span {
  display: block;
  margin-bottom: 42px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 900;
}

.calendar-grid strong {
  display: block;
  margin-bottom: 12px;
  line-height: 1.3;
}

.calendar-grid small {
  color: #697386;
}

.calendar-grid .is-live {
  background: #e7fffb;
  border-color: rgba(37, 244, 238, 0.35);
}

.calendar-grid .is-hot {
  color: white;
  background: #ff3b4f;
}

.calendar-grid .is-hot span,
.calendar-grid .is-hot small {
  color: rgba(255, 255, 255, 0.8);
}

.mock-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.mock-bottom div {
  padding: 16px;
  color: #101115;
  background: white;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
}

.mock-bottom span {
  display: block;
  margin-bottom: 8px;
  color: #697386;
  font-size: 13px;
}

.audience-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 6px 0 46px;
}

.audience-band article,
.feature-rows article,
.integrations-panel,
.faq-list details,
.final-cta {
  background: white;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.07);
}

.audience-band article {
  padding: 22px;
}

.audience-band span {
  display: block;
  margin-bottom: 10px;
  color: #101115;
  font-size: 18px;
  font-weight: 900;
}

.audience-band p,
.centered p,
.feature-rows p,
.integrations-panel p,
.faq-list p,
.final-cta p {
  color: #536071;
}

.centered {
  display: grid;
  justify-items: center;
  text-align: center;
}

.centered h2 {
  max-width: 760px;
  color: #101115;
}

.centered p {
  max-width: 720px;
}

.feature-rows {
  display: grid;
  gap: 16px;
}

.feature-rows article {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
}

.feature-rows h3 {
  color: #101115;
  font-size: clamp(28px, 4vw, 44px);
}

.mini-panel {
  min-height: 180px;
  padding: 22px;
  color: white;
  background: #101115;
  border-radius: 8px;
}

.mini-panel span {
  display: block;
  margin-bottom: 18px;
  color: #aeb7c5;
}

.mini-panel code {
  display: block;
  overflow-wrap: anywhere;
  color: #6ee7b7;
  font-size: 18px;
}

.checklist span {
  position: relative;
  margin-bottom: 12px;
  padding-left: 24px;
  color: white;
}

.checklist span::before {
  position: absolute;
  left: 0;
  content: "OK";
  color: #6ee7b7;
  font-size: 10px;
  font-weight: 900;
}

.publish-card {
  display: grid;
  gap: 10px;
}

.publish-card strong {
  display: block;
  padding: 16px;
  color: #101115;
  background: #e7fffb;
  border-radius: 8px;
}

.integrations-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  margin: 44px 0 28px;
  padding: clamp(24px, 5vw, 42px);
}

.integrations-panel h2 {
  color: #101115;
}

.soft-cards .service-card {
  color: #101115;
  background: white;
  border-color: rgba(17, 24, 39, 0.1);
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.06);
}

.soft-cards .service-card p {
  color: #536071;
}

.soft-cards .tag {
  color: #b8192c;
  border-color: rgba(184, 25, 44, 0.2);
  background: #fff1f2;
}

.faq-section {
  margin: 18px 0 42px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  color: #101115;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.faq-list p {
  margin: 14px 0 0;
}

.final-cta {
  display: grid;
  justify-items: center;
  margin: 42px 0 70px;
  padding: clamp(30px, 6vw, 64px);
  text-align: center;
  background: #101115;
}

.final-cta h2,
.final-cta p {
  max-width: 720px;
  color: white;
}

.final-cta p {
  color: #c8d0dc;
}

.light-footer {
  color: #536071;
  background: white;
  border-top-color: rgba(17, 24, 39, 0.1);
}

@media (max-width: 980px) {
  .hero,
  .product-panel,
  .integrations-panel,
  .profile-summary,
  .app-shell,
  .dashboard-mockup,
  .feature-rows article {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .workflow-grid,
  .service-grid,
  .capability-grid,
  .audience-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .calendar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .growth-flow ol,
  .market-layout,
  .case-strip {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .app-sidebar strong {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .site-header,
  footer,
  .cta-panel,
  .app-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  main,
  .legal-page {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 42px;
  }

  .stats-band,
  .workflow-grid,
  .service-grid,
  .audience-band,
  .profile-facts,
  .capability-grid,
  .demo-grid,
  .calendar-grid,
  .mock-bottom {
    grid-template-columns: 1fr;
  }

  .postiz-hero {
    padding-top: 52px;
  }

  .postiz-hero h1 {
    font-size: 44px;
  }

  .dashboard-mockup {
    min-height: 0;
  }

  .mock-top {
    flex-direction: column;
  }

  .calendar-grid article {
    min-height: 170px;
  }

  .service-card {
    min-height: 230px;
  }

  .hero-copy,
  .about-hero,
  .section-intro {
    padding-top: 36px;
  }

  .status-row {
    flex-direction: column;
  }
}
