:root {
  color-scheme: dark;
  --bg: #090a0c;
  --panel: #121418;
  --panel-strong: #181b20;
  --text: #f4f5f7;
  --muted: #a4abb7;
  --line: #2a2f38;
  --green: #1688ff;
  --cyan: #35d8f0;
  --amber: #f4b94f;
  --red: #ff6b6b;
  --blue: #6f8cff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

button,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 10, 12, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(22, 136, 255, 0.25);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-picker {
  position: relative;
  width: max-content;
}

.language-trigger {
  display: flex;
  min-width: 146px;
  height: 42px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  background: #0d0f12;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
  border-color: rgba(22, 136, 255, 0.65);
}

.language-chevron {
  margin-left: auto;
  color: var(--muted);
  transition: transform 0.15s ease;
}

.language-trigger[aria-expanded="true"] .language-chevron {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  display: grid;
  width: 100%;
  min-width: 100%;
  max-height: min(360px, calc(100vh - 110px));
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  background: rgba(18, 20, 24, 0.98);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(22, 136, 255, 0.75) #181b20;
  scrollbar-width: thin;
}

.language-menu::-webkit-scrollbar {
  width: 8px;
}

.language-menu::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #181b20;
}

.language-menu::-webkit-scrollbar-thumb {
  border: 2px solid #181b20;
  border-radius: 999px;
  background: rgba(22, 136, 255, 0.78);
}

.language-menu[hidden] {
  display: none;
}

.language-menu button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0 13px;
  background: #22272e;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-menu button:hover {
  border-color: rgba(22, 136, 255, 0.5);
  background: #29323e;
}

.language-menu button.active {
  background: var(--green);
  color: #03152c;
}

.language-menu button:last-child {
  text-align: left;
}

.login-link {
  color: var(--muted);
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 700;
}

.button-primary {
  background: var(--green);
  color: #03152c;
  box-shadow: 0 12px 36px rgba(22, 136, 255, 0.2);
}

.is-disabled {
  cursor: not-allowed;
  opacity: 0.72;
  user-select: none;
}

.button-secondary {
  border-color: var(--line);
  background: #111419;
  color: var(--text);
}

.button-large {
  min-height: 50px;
  padding: 0 22px;
}

.full {
  width: 100%;
}

.hero {
  overflow: hidden;
  min-height: calc(100vh - 90px);
  padding: 74px clamp(18px, 3vw, 56px) 28px;
}

.hero-copy {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 4.9vw, 62px);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.hero-lede {
  max-width: 820px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  justify-content: center;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  justify-content: center;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 13px;
}

.interface-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 54px auto 0;
  padding: 6% 1.5% 5%;
  perspective: 1200px;
}

.interface-stage::before {
  position: absolute;
  inset: 8% 14% 2%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(22, 136, 255, 0.2);
  filter: blur(70px);
  content: "";
}

.product-preview,
.interface-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #0c0e11;
  box-shadow: var(--shadow);
}

.product-preview {
  z-index: 3;
  width: 96%;
  margin: 0 auto;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(54px) scale(0.93) rotateX(3deg);
  transform-origin: 50% 100%;
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 100ms,
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 100ms,
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1) 100ms;
}

.interface-card {
  position: absolute;
  top: 25%;
  z-index: 1;
  width: 54%;
  opacity: 0;
  filter: blur(12px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.interface-card img {
  display: block;
  width: 100%;
  height: auto;
}

.interface-card-left {
  left: -4%;
  transform: translateX(-76px) rotateY(10deg) rotateZ(-1.5deg) scale(0.94);
}

.interface-card-right {
  right: -4%;
  transform: translateX(76px) rotateY(-10deg) rotateZ(1.5deg) scale(0.94);
  transition-delay: 180ms;
}

.interface-stage.is-visible .product-preview {
  opacity: 1;
  filter: none;
  transform: translateY(0) scale(1) rotateX(0);
}

.interface-stage.is-visible .interface-card-left {
  opacity: 0.72;
  filter: none;
  transform: translateX(0) rotateY(7deg) rotateZ(-1.5deg) scale(0.94);
}

.interface-stage.is-visible .interface-card-right {
  opacity: 0.72;
  filter: none;
  transform: translateX(0) rotateY(-7deg) rotateZ(1.5deg) scale(0.94);
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #0f1115;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.theme-switcher {
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: #090b0f;
}

.theme-switcher button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 6px 14px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.theme-switcher button:hover,
.theme-switcher button:focus-visible {
  color: var(--text);
}

.theme-switcher button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.theme-switcher button.is-active {
  background: var(--green);
  color: #07111f;
}

.interface-shots {
  position: relative;
  aspect-ratio: 1960 / 1230;
  background: #071522;
}

.interface-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.interface-shot.is-active {
  z-index: 1;
  opacity: 1;
}

@media (min-width: 1121px) {
  .interface-stage {
    margin-top: 58px;
  }
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.window-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.red {
  background: var(--red);
}

.yellow {
  background: var(--amber);
}

.green {
  background: var(--green);
}

.preview-url {
  color: var(--muted);
  font-size: 12px;
}

.dashboard {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 210px;
  height: 390px;
}

.accounts-panel,
.ai-panel {
  padding: 18px;
  background: #0f1115;
}

.accounts-panel {
  border-right: 1px solid var(--line);
}

.ai-panel {
  border-left: 1px solid var(--line);
}

.panel-title {
  display: block;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.account-row.active {
  border-color: rgba(22, 136, 255, 0.36);
  background: #101a28;
}

.avatar {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #10243b;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.avatar.amber {
  background: #352817;
  color: var(--amber);
}

.avatar.blue {
  background: #171d35;
  color: var(--blue);
}

.account-row strong,
.account-row small {
  display: block;
}

.account-row strong {
  font-size: 12px;
}

.account-row small,
.calendar-panel p,
.quota,
.ai-panel label span {
  color: var(--muted);
  font-size: 12px;
}

.quota {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.quota strong {
  display: block;
  color: var(--text);
  font-size: 22px;
}

.calendar-panel {
  padding: 18px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.day-card,
.steps article,
.feature-grid article,
.price-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.day-card {
  min-height: 118px;
  padding: 12px;
}

.day-card span,
.day-card strong {
  display: block;
}

.day-card span {
  color: var(--muted);
  font-size: 12px;
}

.day-card strong {
  margin: 5px 0;
  font-size: 17px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.day-card p {
  min-height: 38px;
  color: var(--text);
  font-size: 12px;
}

.day-card.muted {
  background: #101216;
}

.status {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
  font-style: normal;
}

.status.scheduled {
  background: rgba(99, 216, 255, 0.12);
  color: var(--cyan);
}

.status.approved {
  background: rgba(22, 136, 255, 0.12);
  color: var(--green);
}

.status.review {
  background: rgba(244, 185, 79, 0.14);
  color: var(--amber);
}

.status.generated {
  background: rgba(111, 140, 255, 0.14);
  color: var(--blue);
}

.ai-panel label {
  display: block;
  margin-bottom: 12px;
}

.ai-panel select {
  width: 100%;
  height: 42px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0d10;
  color: var(--text);
  padding: 0 10px;
}

.post-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.post-count span {
  color: var(--muted);
}

.post-count strong {
  font-size: 25px;
}

.section {
  padding: 78px clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-lede {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.demo-section {
  padding-top: 54px;
}

.demo-video-shell {
  overflow: hidden;
  max-width: 1180px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #050608;
  box-shadow: var(--shadow);
}

.demo-video-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050608;
  object-fit: contain;
}

.steps,
.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.steps article,
.feature-grid article,
.price-card {
  padding: 22px;
}

.steps span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green);
  font-weight: 800;
}

.steps p,
.feature-grid p,
.price-card p,
.faq-list p,
.final-cta p,
.site-footer {
  color: var(--muted);
}

.feature-band {
  background: #0c0e11;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card {
  position: relative;
}

.price-card.featured {
  border-color: rgba(22, 136, 255, 0.54);
  background: #101a28;
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  border-radius: 999px;
  background: rgba(22, 136, 255, 0.14);
  color: var(--green);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.price {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 44px;
  font-weight: 800;
}

.price span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.price-card ul {
  min-height: 110px;
  margin: 22px 0;
  padding-left: 18px;
  color: var(--muted);
}

.price-card li {
  margin-bottom: 9px;
}

.availability-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 860px;
  border: 1px solid rgba(22, 136, 255, 0.35);
  border-radius: 12px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(22, 136, 255, 0.1), rgba(53, 216, 240, 0.05));
}

.availability-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.availability-dot {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(244, 185, 79, 0.12);
}

.faq-section {
  padding-top: 40px;
}

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

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

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

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

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin: 32px clamp(18px, 4vw, 56px) 70px;
  border: 1px solid rgba(22, 136, 255, 0.35);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(22, 136, 255, 0.1), rgba(53, 216, 240, 0.04));
  padding: clamp(24px, 4vw, 42px);
}

.final-cta div {
  max-width: 760px;
}

.final-cta h2 {
  margin-bottom: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 1120px) {
  .product-preview {
    max-width: 920px;
  }

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

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .dashboard {
    grid-template-columns: 1fr;
  }

  .accounts-panel,
  .ai-panel {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .calendar-panel {
    order: 3;
  }

  .steps,
  .pricing-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .language-picker,
  .language-trigger {
    width: 100%;
  }

  .language-menu {
    right: auto;
    left: 0;
    max-height: min(240px, calc(100vh - 190px));
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 42px;
  }

  .interface-stage {
    margin-top: 34px;
    padding: 9% 0 7%;
  }

  .product-preview {
    width: 100%;
  }

  .interface-card {
    top: 29%;
    width: 62%;
  }

  .interface-card-left {
    left: -12%;
  }

  .interface-card-right {
    right: -12%;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .week-grid {
    grid-template-columns: 1fr;
  }

  .button-large,
  .hero-actions .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-preview,
  .interface-card {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .interface-card {
    opacity: 0.55;
  }
}
