:root {
  color-scheme: light;
  --bg: #f5f8fd;
  --paper: #ffffff;
  --paper-soft: rgba(255, 255, 255, 0.9);
  --line: rgba(22, 76, 118, 0.14);
  --line-strong: rgba(22, 76, 118, 0.24);
  --text: #202536;
  --ink: #202536;
  --muted: #6e7482;
  --blue: #1298e8;
  --blue-dark: #0c5f9c;
  --sky: #86d8ff;
  --mint: #19b68d;
  --accent: #2ca7ee;
  --shadow: 0 24px 80px rgba(25, 76, 120, 0.13);
  --shadow-soft: 0 14px 36px rgba(25, 76, 120, 0.1);
  --float-shadow: 0 18px 46px rgba(18, 92, 150, 0.14), 0 1px 0 rgba(255, 255, 255, 0.85) inset;
  --float-shadow-strong: 0 34px 100px rgba(18, 92, 150, 0.2), 0 12px 26px rgba(18, 152, 232, 0.1);
  --title-shadow: 0 22px 40px rgba(18, 92, 150, 0.16), 0 2px 0 rgba(255, 255, 255, 0.82);
  font-family:
    Inter, "Segoe UI", "Noto Kufi Arabic", "Noto Sans Arabic", Tahoma, Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(245, 248, 253, 0.9), rgba(238, 247, 255, 0.82)),
    var(--bg);
  overflow-x: hidden;
}

body.theme-dark {
  color-scheme: dark;
  --bg: #05070c;
  --paper: #0f141d;
  --paper-soft: rgba(15, 20, 29, 0.92);
  --line: rgba(0, 214, 163, 0.2);
  --line-strong: rgba(0, 214, 163, 0.34);
  --text: #f4f8fb;
  --ink: #f4f8fb;
  --muted: #a9b6c8;
  --blue: #00d6a3;
  --blue-dark: #7fffe1;
  --sky: #31f7bf;
  --mint: #00d6a3;
  --accent: #7c5cff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 14px 38px rgba(0, 0, 0, 0.35);
  --float-shadow: 0 18px 50px rgba(0, 0, 0, 0.36), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  --float-shadow-strong: 0 34px 100px rgba(0, 0, 0, 0.52), 0 12px 28px rgba(0, 214, 163, 0.08);
  --title-shadow: 0 24px 46px rgba(0, 214, 163, 0.08);
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 214, 163, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.96), rgba(10, 16, 24, 0.94)),
    #05070c;
}

body.theme-dark .topbar,
body.theme-dark .mega-panel,
body.theme-dark .tool-card,
body.theme-dark .content-hero-card,
body.theme-dark .content-card,
body.theme-dark .pricing-hero,
body.theme-dark .pricing-card,
body.theme-dark .pricing-note div,
body.theme-dark .account-hero,
body.theme-dark .account-empty,
body.theme-dark .account-card,
body.theme-dark .profile-hero,
body.theme-dark .profile-card,
body.theme-dark .profile-empty,
body.theme-dark .admin-hero,
body.theme-dark .admin-key-panel,
body.theme-dark .admin-summary-grid article,
body.theme-dark .admin-user-card,
body.theme-dark .admin-empty,
body.theme-dark .business-hero,
body.theme-dark .business-lead,
body.theme-dark .workflow-strip div,
body.theme-dark .work-card,
body.theme-dark .premium-banner,
body.theme-dark .img-promo,
body.theme-dark .upload-panel,
body.theme-dark .tool-info-card,
body.theme-dark .profile-hover-card {
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 214, 163, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(16, 22, 32, 0.97), rgba(8, 12, 19, 0.94));
}

body.theme-dark .language-switch,
body.theme-dark .lang-button.active,
body.theme-dark .limit-list span,
body.theme-dark .plan-limits span,
body.theme-dark .profile-hover-plan,
body.theme-dark .profile-hover-usage div,
body.theme-dark .profile-hover-actions button,
body.theme-dark .tool-options-panel,
body.theme-dark .tool-option-field input,
body.theme-dark .tool-option-field select,
body.theme-dark .saved-work-item,
body.theme-dark .setting-row,
body.theme-dark .saved-work-empty,
body.theme-dark .admin-meta span,
body.theme-dark .admin-usage > span,
body.theme-dark .admin-usage strong,
body.theme-dark input,
body.theme-dark textarea {
  color: var(--text);
  background: rgba(12, 18, 28, 0.94);
}

body.theme-dark .profile-plan-row span,
body.theme-dark .profile-plan-row strong,
body.theme-dark .profile-card-title span,
body.theme-dark .job-status,
body.theme-dark .account-pill,
body.theme-dark .plan-ribbon {
  color: #8dffe6;
  background: rgba(0, 214, 163, 0.12);
  border-color: rgba(0, 214, 163, 0.3);
}

body.theme-dark .brand,
body.theme-dark .nav-link,
body.theme-dark .login-link,
body.theme-dark .apps-button span,
body.theme-dark .tool-menu-item,
body.theme-dark .product-row,
body.theme-dark .integration-row,
body.theme-dark .solution-card,
body.theme-dark .products-side button {
  color: var(--text);
}

body.theme-dark .ambient-grid {
  background-image:
    linear-gradient(rgba(0, 214, 163, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 214, 163, 0.09) 1px, transparent 1px);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

#scene3d,
.css-3d-scene,
.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#scene3d {
  z-index: -4;
}

.css-3d-scene {
  z-index: -3;
  overflow: hidden;
  perspective: 1200px;
}

.scene-sheet,
.scene-ring {
  position: absolute;
  display: block;
  transform-style: preserve-3d;
  border: 1px solid rgba(18, 152, 232, 0.18);
  box-shadow: 0 32px 90px rgba(18, 152, 232, 0.14);
}

.scene-sheet {
  width: 210px;
  height: 286px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(225, 246, 255, 0.68)),
    repeating-linear-gradient(180deg, transparent 0 28px, rgba(18, 152, 232, 0.11) 29px 30px);
  animation: floatSheet 9s ease-in-out infinite;
}

.sheet-a {
  top: 15%;
  left: 7%;
  transform: rotateX(58deg) rotateY(-26deg) rotateZ(11deg);
}

.sheet-b {
  right: 6%;
  bottom: 12%;
  width: 250px;
  height: 330px;
  animation-delay: -2.2s;
  transform: rotateX(55deg) rotateY(24deg) rotateZ(-9deg);
}

.sheet-c {
  top: 42%;
  left: 46%;
  width: 160px;
  height: 218px;
  opacity: 0.7;
  animation-delay: -4.4s;
  transform: rotateX(62deg) rotateY(-12deg) rotateZ(24deg);
}

.scene-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border-color: rgba(25, 182, 141, 0.28);
  background: transparent;
  animation: spinRing 14s linear infinite;
}

.ring-a {
  top: 20%;
  right: 20%;
  transform: rotateX(74deg) rotateY(28deg);
}

.ring-b {
  left: 18%;
  bottom: 16%;
  width: 150px;
  height: 150px;
  animation-duration: 18s;
  transform: rotateX(68deg) rotateY(-36deg);
}

body.webgl-ready .css-3d-scene {
  opacity: 0.42;
}

.ambient-grid {
  z-index: -2;
  background-image:
    linear-gradient(rgba(18, 152, 232, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 152, 232, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.topbar {
  position: sticky;
  top: 8px;
  z-index: 45;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  width: min(1840px, calc(100% - 24px));
  min-height: 60px;
  margin: 8px auto 0;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 250, 255, 0.86));
  box-shadow: var(--float-shadow);
  backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  animation: floatHeader 7s ease-in-out infinite;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 150px;
  color: #121620;
  font-size: 1.85rem;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 12px 28px rgba(18, 152, 232, 0.16);
}

.brand-heart {
  color: var(--blue);
}

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

.nav-link,
.login-link {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  color: #171b25;
  background: transparent;
  font-weight: 850;
  letter-spacing: 0;
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    translate 160ms ease;
}

.nav-link:hover,
.nav-link.active,
.login-link:hover {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 26px rgba(18, 152, 232, 0.12);
  translate: 0 -2px;
}

.with-caret::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-inline-start: 9px;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.with-caret.open::after {
  transform: translateY(2px) rotate(225deg);
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 9px;
}

.profile-menu-wrap {
  position: relative;
}

.profile-trigger.signed-in {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-hover-card {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 72;
  display: none;
  width: min(340px, calc(100vw - 30px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 250, 255, 0.94));
  box-shadow: var(--float-shadow-strong);
  backdrop-filter: blur(18px);
}

.profile-hover-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.profile-menu-wrap.signed-in:hover .profile-hover-card,
.profile-menu-wrap.signed-in:focus-within .profile-hover-card {
  display: block;
  animation:
    floatMenuAppear 180ms ease-out both,
    floatPanel 7s ease-in-out 180ms infinite;
}

html[dir="rtl"] .profile-hover-card {
  right: auto;
  left: 0;
}

.profile-hover-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.profile-hover-head strong,
.profile-hover-head small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-hover-head small,
.profile-hover-usage span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.profile-hover-plan {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(18, 152, 232, 0.16);
  border-radius: 8px;
  padding: 10px;
  color: var(--blue-dark);
  background: rgba(229, 247, 255, 0.54);
  font-weight: 950;
}

.profile-hover-plan b {
  color: var(--mint);
}

.profile-hover-usage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.profile-hover-usage div {
  display: grid;
  justify-items: center;
  border: 1px solid rgba(18, 152, 232, 0.14);
  border-radius: 8px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.72);
}

.profile-hover-usage strong {
  color: var(--blue-dark);
  font-size: 1.2rem;
}

.profile-hover-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.profile-hover-actions button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.86);
  font-weight: 950;
}

.tool-options-panel {
  width: min(760px, 100%);
  margin: 18px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--float-shadow);
  text-align: start;
}

.tool-options-panel h2 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 1.05rem;
}

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

.tool-option-field {
  display: grid;
  gap: 7px;
  color: var(--blue-dark);
  font-weight: 950;
}

.tool-option-field input,
.tool-option-field select {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  outline: none;
}

.tool-option-field input:focus,
.tool-option-field select:focus {
  border-color: rgba(18, 152, 232, 0.72);
  box-shadow: 0 0 0 4px rgba(18, 152, 232, 0.12);
}

.tool-option-field small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 251, 255, 0.86);
  box-shadow: 0 12px 28px rgba(18, 152, 232, 0.1);
}

.lang-button {
  min-width: 32px;
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 850;
}

.lang-button.active {
  color: var(--blue-dark);
  background: white;
  box-shadow: 0 8px 16px rgba(18, 152, 232, 0.12);
}

.signup-button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(18, 152, 232, 0.22);
  transition:
    box-shadow 160ms ease,
    translate 160ms ease,
    filter 160ms ease;
}

.signup-button:hover,
.signup-button:focus-visible {
  box-shadow: 0 20px 42px rgba(18, 152, 232, 0.24);
  filter: saturate(1.06);
  translate: 0 -2px;
}

.apps-button {
  display: grid;
  grid-template-columns: repeat(3, 5px);
  grid-template-rows: repeat(3, 5px);
  gap: 5px;
  width: 40px;
  height: 40px;
  place-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    translate 160ms ease;
}

.apps-button span {
  border-radius: 50%;
  background: #202536;
}

.apps-button:hover,
.apps-button.open {
  background: rgba(134, 216, 255, 0.2);
  box-shadow: 0 12px 28px rgba(18, 152, 232, 0.12);
  translate: 0 -2px;
}

.menu-layer {
  position: fixed;
  inset: 76px 0 auto;
  z-index: 44;
  pointer-events: none;
}

.mega-panel {
  position: absolute;
  top: 0;
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 250, 255, 0.92));
  box-shadow: var(--float-shadow-strong);
  backdrop-filter: blur(20px);
  pointer-events: auto;
  transform-style: preserve-3d;
  will-change: translate, opacity;
}

.mega-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -30px;
  height: 30px;
}

.mega-panel.open {
  display: grid;
  animation:
    floatMenuAppear 180ms ease-out both,
    floatPanel 7s ease-in-out 180ms infinite;
}

body:has(.apps-button:hover) [data-menu-panel="products"],
body:has([data-menu-panel="products"]:hover) [data-menu-panel="products"] {
  display: grid;
}

body:has(.apps-button:hover) .apps-button,
body:has([data-menu-panel="products"]:hover) .apps-button {
  background: rgba(134, 216, 255, 0.2);
}

body:has([data-menu-trigger="convert"]:hover) [data-menu-panel="convert"],
body:has([data-menu-panel="convert"]:hover) [data-menu-panel="convert"],
body:has([data-menu-trigger="tools"]:hover) [data-menu-panel="tools"],
body:has([data-menu-panel="tools"]:hover) [data-menu-panel="tools"] {
  display: grid;
}

body:has([data-menu-trigger="convert"]:hover) [data-menu-trigger="convert"],
body:has([data-menu-panel="convert"]:hover) [data-menu-trigger="convert"],
body:has([data-menu-trigger="tools"]:hover) [data-menu-trigger="tools"],
body:has([data-menu-panel="tools"]:hover) [data-menu-trigger="tools"] {
  color: var(--blue);
}

.convert-panel {
  left: 50%;
  width: min(500px, calc(100vw - 40px));
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 32px;
  transform: translateX(-36%);
}

.all-tools-panel {
  left: 50%;
  width: min(1760px, calc(100vw - 96px));
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 28px;
  padding: 34px 38px;
  transform: translateX(-50%);
}

.products-panel {
  right: 24px;
  width: min(1050px, calc(100vw - 48px));
  grid-template-columns: 1.1fr 1.1fr 0.7fr;
  gap: 26px;
  padding: 32px;
}

html[dir="rtl"] .products-panel {
  right: auto;
  left: 24px;
}

.mega-column h3,
.mega-list h3,
.products-column h3 {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 10px 20px rgba(18, 92, 150, 0.1);
}

.mega-list {
  display: grid;
  align-content: start;
  gap: 10px;
}

.tool-menu-item,
.product-row,
.integration-row,
.solution-card,
.products-side button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 6px;
  color: var(--text);
  background: transparent;
  text-align: start;
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    translate 160ms ease;
}

.tool-menu-item:hover,
.product-row:hover,
.integration-row:hover,
.products-side button:hover {
  color: var(--blue);
  background: rgba(134, 216, 255, 0.14);
  box-shadow: 0 12px 28px rgba(18, 152, 232, 0.1);
  translate: 0 -2px;
}

.menu-icon,
.product-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.asset-icon,
.asset-menu-icon,
.asset-content-icon {
  display: block;
  overflow: visible;
  color: inherit;
}

.asset-icon {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 14px 18px rgba(18, 92, 150, 0.16));
}

.asset-menu-icon {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 9px 12px rgba(18, 92, 150, 0.16));
}

.asset-content-icon {
  width: 86px;
  height: 86px;
  filter: drop-shadow(0 20px 26px rgba(18, 92, 150, 0.18));
}

.asset-button-icon,
.asset-badge-icon,
.asset-info-icon {
  display: block;
  overflow: visible;
  flex: 0 0 auto;
}

.asset-button-icon {
  width: 30px;
  height: 30px;
  margin-inline-start: -6px;
  filter: drop-shadow(0 8px 10px rgba(18, 92, 150, 0.16));
}

.asset-badge-icon {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 7px 9px rgba(18, 92, 150, 0.14));
}

.asset-info-icon {
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 13px 16px rgba(18, 92, 150, 0.16));
}

.tool-menu-item span:last-child,
.product-row strong,
.products-side span {
  font-weight: 850;
}

.product-row,
.integration-row {
  min-height: 58px;
  padding: 8px;
}

.product-row small,
.integration-row small,
.solution-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.integration-row {
  margin-top: 10px;
  border: 1px solid var(--line-strong);
  background: white;
  box-shadow: 0 12px 32px rgba(18, 152, 232, 0.08);
}

.solution-card {
  min-height: 100px;
  grid-template-columns: 86px 1fr;
  margin-bottom: 26px;
  background: #f4f8ff;
  box-shadow: 0 14px 34px rgba(18, 152, 232, 0.08);
}

.bars {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 7px;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  background: #edf7ff;
}

.bars i {
  width: 15px;
  border-radius: 5px 5px 0 0;
  background: var(--blue);
}

.bars i:nth-child(1) {
  height: 34px;
  opacity: 0.7;
}

.bars i:nth-child(2) {
  height: 48px;
}

.bars i:nth-child(3) {
  height: 58px;
  opacity: 0.45;
}

.products-side {
  display: grid;
  align-content: start;
  gap: 10px;
  border-inline-start: 1px solid var(--line-strong);
  padding-inline-start: 20px;
}

.products-side hr {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line-strong);
  margin: 14px 0;
}

.app-shell {
  width: min(1800px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 40px;
}

.home-view {
  min-height: calc(100vh - 130px);
}

.hero-copy {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 10px 28px;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(25, 182, 141, 0.25);
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--mint);
  background: rgba(235, 255, 250, 0.72);
  box-shadow: 0 12px 26px rgba(25, 182, 141, 0.12);
  font-size: 0.82rem;
  font-weight: 850;
  animation: floatChip 5.8s ease-in-out infinite;
}

.hero-copy h1 {
  margin: 16px 0 10px;
  color: var(--text);
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy h1,
.upload-hero h1,
.content-hero-card h1,
.business-hero h1,
.lead-copy h2,
.work-way-section h2,
.premium-copy h2,
.img-promo h2,
.trust-block h2 {
  position: relative;
  text-shadow: var(--title-shadow);
  transform-style: preserve-3d;
  animation: floatTitle 6.6s ease-in-out infinite;
}

.hero-copy p {
  max-width: 820px;
  margin: 0 auto;
  color: #4a4f5e;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0 32px;
  scrollbar-width: thin;
}

.category-tab {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid #d4dae6;
  border-radius: 999px;
  padding: 8px 18px;
  color: #4a4f5e;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(25, 76, 120, 0.08);
  font-weight: 850;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    translate 160ms ease,
    background 160ms ease;
}

.category-tab:hover,
.category-tab:focus-visible {
  border-color: rgba(18, 152, 232, 0.32);
  box-shadow: 0 18px 38px rgba(18, 152, 232, 0.13);
  translate: 0 -3px;
  outline: none;
}

.category-tab.active {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  box-shadow: 0 12px 28px rgba(18, 152, 232, 0.2);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tool-card {
  display: grid;
  min-height: 176px;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  border: 1px solid #d8deeb;
  border-radius: 8px;
  padding: 28px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  text-align: start;
  box-shadow: var(--float-shadow);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(18, 152, 232, 0.42);
  box-shadow: 0 22px 52px rgba(18, 152, 232, 0.16);
  outline: none;
}

.tool-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.tool-card h3 {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 1.22rem;
  letter-spacing: 0;
  text-shadow: 0 10px 22px rgba(18, 92, 150, 0.12);
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.work-way-section {
  max-width: 1360px;
  margin: 96px auto 0;
}

.work-way-section h2,
.trust-block h2 {
  margin: 0 0 52px;
  color: var(--text);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0;
}

.work-way-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.work-card {
  display: grid;
  grid-template-rows: 240px 1fr;
  min-height: 484px;
  border: 1px solid rgba(18, 152, 232, 0.12);
  border-radius: 8px;
  padding: 0;
  color: var(--text);
  background: white;
  overflow: hidden;
  text-align: start;
  box-shadow: var(--float-shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.work-card:hover,
.work-card:focus-visible {
  border-color: rgba(18, 152, 232, 0.34);
  box-shadow: var(--float-shadow-strong);
  transform: translateY(-6px);
  outline: none;
}

.work-visual {
  position: relative;
  min-height: 240px;
  background:
    linear-gradient(180deg, rgba(231, 247, 255, 0.84), rgba(255, 255, 255, 0.52)),
    linear-gradient(135deg, rgba(134, 216, 255, 0.18), rgba(25, 182, 141, 0.1));
  overflow: hidden;
}

.work-asset,
.work-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  filter: drop-shadow(0 22px 34px rgba(18, 92, 150, 0.14));
}

.work-photo {
  object-fit: cover;
  object-position: center top;
}

.work-card-body {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 244px;
  padding: 34px 32px 46px;
  background: white;
}

.work-card-body h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.work-card-body p {
  margin: 0;
  color: #4b5261;
  font-size: 1rem;
  line-height: 1.7;
}

.work-card-body .lucide {
  position: absolute;
  right: 32px;
  bottom: 32px;
  color: var(--blue-dark);
  width: 28px;
  height: 28px;
}

.browser-dot {
  position: absolute;
  top: 42px;
  left: 68px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef5f5f;
  box-shadow:
    18px 0 0 #f0be36,
    36px 0 0 #28b77d;
}

.desktop-sidebar,
.desktop-doc,
.desktop-highlight,
.phone-frame,
.mobile-toolbar,
.avatar,
.invoice-mock,
.signature-line,
.code-panel {
  position: absolute;
  display: block;
}

.desktop-sidebar {
  left: 52px;
  top: 78px;
  width: 90px;
  height: 108px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(229, 247, 255, 0.8)),
    repeating-linear-gradient(180deg, transparent 0 24px, rgba(18, 152, 232, 0.14) 25px 28px);
}

.desktop-doc {
  left: 150px;
  top: 66px;
  width: 230px;
  height: 142px;
  border: 1px solid rgba(18, 152, 232, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0 32%, rgba(230, 247, 255, 0.82) 32%),
    repeating-linear-gradient(180deg, transparent 0 20px, rgba(18, 152, 232, 0.1) 21px 23px);
  box-shadow: 0 22px 58px rgba(18, 152, 232, 0.12);
  transform: rotateX(18deg) rotateY(-12deg);
}

.desktop-highlight {
  right: 88px;
  top: 104px;
  width: 88px;
  height: 22px;
  border-radius: 4px;
  background: rgba(255, 201, 81, 0.56);
}

.phone-frame {
  left: 50%;
  top: 30px;
  width: 162px;
  height: 210px;
  border: 12px solid white;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0 58%, rgba(209, 239, 255, 0.86) 58%),
    repeating-linear-gradient(180deg, transparent 0 25px, rgba(18, 152, 232, 0.1) 26px 28px);
  box-shadow: 0 24px 64px rgba(18, 152, 232, 0.16);
  transform: translateX(-50%) rotateX(11deg) rotateY(9deg);
}

.phone-bar,
.phone-title,
.phone-image,
.phone-line {
  position: absolute;
  display: block;
  border-radius: 4px;
}

.phone-bar {
  left: 48px;
  top: 7px;
  width: 42px;
  height: 4px;
  background: #c5d6e4;
}

.phone-title {
  left: 18px;
  top: 42px;
  width: 86px;
  height: 28px;
  border: 2px solid var(--blue);
  background: rgba(255, 255, 255, 0.64);
}

.phone-image {
  right: 14px;
  top: 54px;
  width: 48px;
  height: 72px;
  background: linear-gradient(145deg, #89d8ff, #ffffff);
}

.phone-line {
  left: 20px;
  bottom: 54px;
  width: 108px;
  height: 9px;
  background: rgba(255, 201, 81, 0.56);
}

.phone-line.short {
  bottom: 36px;
  width: 72px;
  background: rgba(18, 152, 232, 0.14);
}

.mobile-toolbar {
  right: 94px;
  top: 66px;
  width: 34px;
  height: 150px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(18, 152, 232, 0.15);
}

.avatar {
  top: 38px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #e7f7ff);
  border: 3px solid white;
}

.avatar.a {
  left: 78px;
}

.avatar.b {
  left: 106px;
  background: linear-gradient(135deg, #19b68d, #eafff8);
}

.avatar.plus {
  left: 134px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  font-size: 1.45rem;
  font-weight: 700;
}

.invoice-mock {
  left: 76px;
  top: 82px;
  width: 170px;
  height: 142px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 248, 255, 0.8)),
    repeating-linear-gradient(180deg, transparent 0 24px, rgba(18, 152, 232, 0.11) 25px 27px);
  box-shadow: 0 24px 64px rgba(18, 152, 232, 0.14);
}

.signature-line {
  left: 102px;
  top: 154px;
  width: 132px;
  height: 52px;
  border-bottom: 5px solid #172033;
  border-radius: 50%;
  transform: rotate(-13deg);
}

.code-panel {
  right: 40px;
  top: 94px;
  width: 130px;
  height: 112px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #232939, #161b27),
    repeating-linear-gradient(180deg, transparent 0 18px, rgba(255, 255, 255, 0.12) 19px 20px);
  box-shadow: 0 22px 60px rgba(32, 37, 54, 0.16);
}

.premium-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 44px;
  align-items: center;
  max-width: 1320px;
  min-height: 500px;
  margin: 108px auto 0;
  border-radius: 8px;
  padding: clamp(34px, 6vw, 78px);
  background:
    linear-gradient(135deg, rgba(238, 249, 255, 0.98), rgba(255, 255, 255, 0.88)),
    repeating-linear-gradient(90deg, rgba(255, 201, 81, 0.22) 0 2px, transparent 2px 220px);
  box-shadow: var(--float-shadow-strong);
  overflow: hidden;
  transform-style: preserve-3d;
  animation: floatSurface 8s ease-in-out infinite;
}

.premium-copy {
  position: relative;
  z-index: 1;
}

.premium-copy h2,
.img-promo h2 {
  margin: 0 0 28px;
  color: var(--text);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.premium-copy ul {
  display: grid;
  gap: 18px;
  margin: 0 0 42px;
  padding: 0;
  list-style: none;
}

.premium-copy li {
  position: relative;
  padding-inline-start: 32px;
  color: #303648;
  font-size: 1.05rem;
  line-height: 1.55;
}

.premium-copy li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--mint);
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 0 42%, var(--mint) 42% 58%, transparent 58%),
    linear-gradient(45deg, transparent 0 55%, var(--mint) 55% 70%, transparent 70%);
}

.premium-button,
.outline-red-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  border-radius: 8px;
  padding: 12px 22px;
  font-weight: 900;
  transition:
    box-shadow 160ms ease,
    translate 160ms ease,
    border-color 160ms ease;
}

.premium-button {
  border: 0;
  color: #152031;
  background: #ffc951;
  box-shadow: 0 14px 28px rgba(255, 201, 81, 0.22);
}

.premium-button:hover,
.premium-button:focus-visible,
.outline-red-button:hover,
.outline-red-button:focus-visible {
  box-shadow: 0 22px 46px rgba(18, 152, 232, 0.16);
  translate: 0 -3px;
  outline: none;
}

.premium-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  perspective: 900px;
}

.premium-asset,
.premium-photo {
  display: block;
  width: min(100%, 460px);
  height: auto;
  filter: drop-shadow(0 28px 46px rgba(18, 92, 150, 0.16));
}

.premium-photo {
  width: min(100%, 560px);
}

.premium-doc,
.premium-sign,
.premium-aa,
.premium-team,
.premium-medal {
  position: absolute;
  display: block;
}

.premium-doc {
  right: 22%;
  top: 0;
  width: 230px;
  height: 300px;
  border: 1px solid rgba(18, 152, 232, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, white, rgba(232, 249, 255, 0.95)),
    repeating-linear-gradient(180deg, transparent 0 25px, rgba(18, 152, 232, 0.11) 26px 28px);
  box-shadow: 0 28px 80px rgba(18, 152, 232, 0.16);
  transform: rotateX(7deg) rotateY(-10deg);
}

.premium-doc::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 30px;
  width: 70px;
  height: 5px;
  background: var(--blue);
}

.premium-sign {
  left: 14%;
  top: 180px;
  width: 180px;
  height: 64px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(25, 76, 120, 0.12);
}

.premium-sign::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 16px;
  width: 118px;
  height: 34px;
  border-bottom: 4px solid #202536;
  border-radius: 50%;
  transform: rotate(-12deg);
}

.premium-aa {
  right: 0;
  top: 210px;
  display: grid;
  width: 116px;
  height: 70px;
  place-items: center;
  border-radius: 8px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(25, 76, 120, 0.12);
  font-size: 3rem;
  font-weight: 700;
}

.premium-team {
  right: 7%;
  bottom: 0;
  width: 330px;
  height: 110px;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(135deg, rgba(18, 152, 232, 0.22), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(90deg, transparent 0 68px, rgba(25, 182, 141, 0.16) 69px 70px);
}

.premium-medal {
  left: 18%;
  bottom: 78px;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  color: #152031;
  background: #ffc951;
  box-shadow: 0 12px 30px rgba(255, 201, 81, 0.25);
}

.img-trust-section {
  max-width: 1340px;
  margin: 110px auto 0;
}

.img-promo {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  margin-bottom: 108px;
}

.img-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  filter: drop-shadow(0 26px 42px rgba(18, 92, 150, 0.12));
  animation: floatSurface 7.8s ease-in-out infinite;
}

.image-editor-asset,
.image-editor-photo {
  display: block;
  width: min(100%, 560px);
  height: auto;
}

.image-editor-photo {
  width: min(100%, 620px);
}

.crop-frame {
  position: absolute;
  inset: 24px 34px 20px 34px;
  border: 3px solid rgba(18, 118, 232, 0.72);
}

.img-tile {
  position: absolute;
  display: block;
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(18, 152, 232, 0.13);
}

.tile-a {
  left: 60px;
  top: 96px;
  width: 170px;
  height: 128px;
  background: linear-gradient(135deg, #a4dbff, #ffffff);
}

.tile-b {
  left: 190px;
  top: 60px;
  width: 190px;
  height: 190px;
  background:
    radial-gradient(circle at 52% 44%, #8fc5ff 0 10px, transparent 11px),
    radial-gradient(circle at 48% 50%, #bddcff 0 48px, #0d5b70 49px 100%);
}

.tile-c {
  right: 72px;
  top: 96px;
  width: 140px;
  height: 128px;
  background: linear-gradient(135deg, #d9f4ff, #6fc6f6);
}

.crop-corner {
  position: absolute;
  display: block;
  width: 19px;
  height: 19px;
  background: #2d86ee;
}

.crop-corner.tl {
  left: 28px;
  top: 18px;
}

.crop-corner.tr {
  right: 28px;
  top: 18px;
}

.crop-corner.bl {
  left: 28px;
  bottom: 14px;
}

.crop-corner.br {
  right: 28px;
  bottom: 14px;
}

.img-promo p,
.trust-block p {
  margin: 0;
  color: #303648;
  font-size: 1.08rem;
  line-height: 1.7;
}

.outline-red-button {
  margin-top: 28px;
  border: 2px solid var(--blue);
  color: var(--blue-dark);
  background: white;
}

.trust-block {
  display: grid;
  justify-items: center;
  padding-bottom: 70px;
  text-align: center;
}

.trust-block h2 {
  max-width: 980px;
  margin-bottom: 22px;
}

.trust-block p {
  max-width: 960px;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 54px;
  margin-top: 58px;
  color: #4c5362;
  font-weight: 900;
}

.trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 28px rgba(18, 152, 232, 0.08);
}

.upload-view {
  min-height: calc(100vh - 142px);
  padding: 4px 0 40px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--blue-dark);
  background: white;
  font-weight: 850;
  box-shadow: 0 14px 32px rgba(18, 152, 232, 0.1);
  transition:
    box-shadow 160ms ease,
    translate 160ms ease,
    border-color 160ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  border-color: rgba(18, 152, 232, 0.36);
  box-shadow: 0 20px 42px rgba(18, 152, 232, 0.14);
  translate: 0 -2px;
  outline: none;
}

.upload-hero {
  display: grid;
  justify-items: center;
  max-width: 820px;
  margin: 26px auto 40px;
  text-align: center;
}

.upload-hero h1 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.upload-hero p {
  max-width: 900px;
  margin: 0;
  color: #444958;
  font-size: clamp(1rem, 1.8vw, 1.32rem);
  line-height: 1.55;
}

.upload-actions {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 44px;
  grid-auto-flow: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.file-cta {
  display: grid;
  min-height: 82px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  box-shadow: 0 18px 36px rgba(18, 152, 232, 0.24);
  font-size: 1.45rem;
  font-weight: 950;
  transition:
    box-shadow 160ms ease,
    translate 160ms ease,
    filter 160ms ease;
}

.file-cta:hover,
.file-cta:focus-within {
  box-shadow: 0 28px 62px rgba(18, 152, 232, 0.28);
  filter: saturate(1.06);
  translate: 0 -3px;
}

.file-cta input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cloud-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(18, 152, 232, 0.18);
  transition:
    box-shadow 160ms ease,
    translate 160ms ease,
    background 160ms ease;
}

.cloud-button:hover,
.cloud-button:focus-visible {
  background: var(--blue-dark);
  box-shadow: 0 20px 40px rgba(18, 152, 232, 0.24);
  translate: 0 -3px;
  outline: none;
}

.drop-hint {
  margin-top: 12px !important;
  color: var(--muted) !important;
  font-size: 0.94rem !important;
}

.file-status {
  min-height: 28px;
  margin-top: 14px !important;
  color: var(--blue-dark) !important;
  font-weight: 850;
}

.job-panel {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(460px, 100%);
  margin: 18px auto 0;
  border: 1px solid rgba(53, 174, 232, 0.22);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 50px rgba(18, 92, 150, 0.12);
}

.run-tool-button,
.download-button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 26px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 18px 34px rgba(18, 152, 232, 0.24);
  font-weight: 950;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.download-button {
  background: linear-gradient(135deg, #19b68d, #0b8a6b);
}

.run-tool-button:hover,
.run-tool-button:focus-visible,
.download-button:hover,
.download-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(18, 92, 150, 0.22);
  outline: none;
}

.run-tool-button:disabled,
.download-button:disabled {
  opacity: 0.62;
  cursor: progress;
  transform: none;
}

.job-progress {
  overflow: hidden;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(18, 152, 232, 0.12);
}

.job-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #19b68d);
  transition: width 220ms ease;
}

.job-status {
  min-height: 22px;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 0.92rem !important;
  font-weight: 850;
}

.tool-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.content-view {
  min-height: calc(100vh - 142px);
}

.standard-page,
.business-page {
  margin-top: 22px;
}

.content-hero-card {
  display: grid;
  justify-items: center;
  max-width: 980px;
  margin: 18px auto 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(34px, 5vw, 74px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(229, 247, 255, 0.78));
  box-shadow: var(--float-shadow-strong);
  text-align: center;
  transform-style: preserve-3d;
  animation: floatSurface 7.5s ease-in-out infinite;
}

.content-icon {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  box-shadow: none;
}

.content-icon .lucide {
  width: 28px;
  height: 28px;
}

.content-hero-card h1,
.business-hero h1 {
  margin: 18px 0 12px;
  color: var(--text);
  font-size: clamp(2.2rem, 4.8vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.content-hero-card p,
.business-hero p {
  max-width: 820px;
  margin: 0;
  color: #4a4f5e;
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  line-height: 1.65;
}

.content-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.content-card {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--float-shadow);
  transition:
    box-shadow 160ms ease,
    translate 160ms ease,
    border-color 160ms ease;
}

.content-card:hover {
  border-color: rgba(18, 152, 232, 0.28);
  box-shadow: 0 26px 62px rgba(18, 152, 232, 0.14);
  translate: 0 -4px;
}

.content-card h2 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 1.25rem;
  letter-spacing: 0;
  text-shadow: 0 12px 24px rgba(18, 92, 150, 0.13);
}

.content-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.pricing-page {
  max-width: 1240px;
  margin: 22px auto 0;
}

.pricing-hero {
  display: grid;
  justify-items: center;
  margin: 18px auto 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(34px, 5vw, 70px);
  background:
    radial-gradient(circle at 18% 10%, rgba(134, 216, 255, 0.35), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(229, 247, 255, 0.82));
  box-shadow: var(--float-shadow-strong);
  text-align: center;
  transform-style: preserve-3d;
  animation: floatSurface 7.5s ease-in-out infinite;
}

.pricing-hero h1 {
  max-width: 760px;
  margin: 14px 0 12px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.pricing-hero p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.65;
}

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

.pricing-card {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--float-shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 110px;
  background: linear-gradient(135deg, rgba(53, 174, 232, 0.16), rgba(229, 247, 255, 0));
  pointer-events: none;
}

.pricing-card.featured {
  border-color: rgba(18, 152, 232, 0.45);
  box-shadow: 0 34px 84px rgba(18, 152, 232, 0.18);
  transform: translateY(-8px);
}

.pricing-card:hover {
  border-color: rgba(18, 152, 232, 0.38);
  box-shadow: 0 30px 72px rgba(18, 152, 232, 0.16);
  transform: translateY(-5px);
}

.pricing-card.featured:hover {
  transform: translateY(-11px);
}

.plan-ribbon {
  justify-self: start;
  min-height: 30px;
  border: 1px solid rgba(25, 182, 141, 0.25);
  border-radius: 999px;
  padding: 6px 12px;
  color: #0b8a6b;
  background: rgba(235, 255, 250, 0.92);
  font-size: 0.78rem;
  font-weight: 950;
}

.plan-heading,
.plan-price,
.plan-limits,
.pricing-card ul,
.plan-button {
  position: relative;
}

.plan-heading h2 {
  margin: 0 0 6px;
  color: var(--blue-dark);
  font-size: 1.45rem;
}

.plan-heading p {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--ink);
  font-size: 3.15rem;
  font-weight: 950;
  letter-spacing: 0;
}

.plan-price span {
  color: var(--blue);
  font-size: 1.4rem;
}

.plan-price small {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.plan-limits {
  display: grid;
  gap: 8px;
}

.plan-limits span {
  min-height: 34px;
  border: 1px solid rgba(18, 152, 232, 0.16);
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--blue-dark);
  background: rgba(229, 247, 255, 0.56);
  font-size: 0.88rem;
  font-weight: 850;
}

.pricing-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.pricing-card li::before {
  content: "✓";
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--mint);
  font-size: 0.72rem;
  font-weight: 950;
}

.plan-button {
  width: 100%;
  justify-content: center;
  align-self: end;
  margin-top: auto;
}

.plan-button:disabled {
  opacity: 0.72;
  cursor: default;
}

.pricing-note {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  margin-top: 18px;
}

.pricing-note div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--float-shadow);
}

.pricing-note h2 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 1.15rem;
}

.pricing-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.account-page {
  max-width: 1220px;
  margin: 22px auto 0;
}

.account-hero,
.account-empty {
  display: grid;
  justify-items: center;
  margin: 18px auto 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(32px, 5vw, 68px);
  background:
    radial-gradient(circle at 80% 12%, rgba(134, 216, 255, 0.34), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(229, 247, 255, 0.82));
  box-shadow: var(--float-shadow-strong);
  text-align: center;
  transform-style: preserve-3d;
  animation: floatSurface 7.5s ease-in-out infinite;
}

.account-hero h1,
.account-empty h2 {
  max-width: 760px;
  margin: 14px 0 12px;
  font-size: clamp(2.15rem, 4.6vw, 4rem);
  line-height: 1.04;
}

.account-hero p,
.account-empty p {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.65;
}

.account-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 16px;
}

.account-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--float-shadow);
  transform-style: preserve-3d;
}

.account-card h2 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 1.28rem;
}

.account-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.account-profile {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 12px;
}

.account-profile h2 {
  margin-bottom: 0;
}

.account-pill {
  min-height: 34px;
  border: 1px solid rgba(25, 182, 141, 0.25);
  border-radius: 999px;
  padding: 7px 12px;
  color: #0b8a6b;
  background: rgba(235, 255, 250, 0.9);
  font-weight: 950;
}

.account-usage {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: center;
}

.usage-ring {
  display: grid;
  width: 170px;
  height: 170px;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, white 0 58%, transparent 59%),
    conic-gradient(var(--blue) var(--usage), rgba(18, 152, 232, 0.12) 0);
  box-shadow: 0 24px 62px rgba(18, 92, 150, 0.16);
  text-align: center;
}

.usage-ring strong {
  color: var(--blue-dark);
  font-size: 2.45rem;
  line-height: 1;
}

.usage-ring span {
  max-width: 110px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.usage-bar {
  overflow: hidden;
  height: 10px;
  margin: 18px 0 8px;
  border-radius: 999px;
  background: rgba(18, 152, 232, 0.12);
}

.usage-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--mint));
}

.account-usage small {
  color: var(--muted);
  font-weight: 850;
}

.limit-list {
  display: grid;
  gap: 10px;
}

.limit-list span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  border: 1px solid rgba(18, 152, 232, 0.14);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  background: rgba(229, 247, 255, 0.44);
}

.limit-list strong {
  color: var(--blue-dark);
}

.account-actions-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-page {
  max-width: 1240px;
  margin: 22px auto 0;
}

.profile-hero,
.profile-empty {
  display: grid;
  justify-items: center;
  margin: 18px auto 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(32px, 5vw, 68px);
  background:
    radial-gradient(circle at 18% 12%, rgba(134, 216, 255, 0.34), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(229, 247, 255, 0.82));
  box-shadow: var(--float-shadow-strong);
  text-align: center;
  transform-style: preserve-3d;
  animation: floatSurface 7.5s ease-in-out infinite;
}

.profile-hero h1,
.profile-empty h2 {
  max-width: 820px;
  margin: 14px 0 12px;
  font-size: clamp(2.15rem, 4.6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.profile-hero p,
.profile-empty p {
  max-width: 780px;
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.65;
}

.profile-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 16px;
}

.profile-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--float-shadow);
  transform-style: preserve-3d;
}

.profile-card h2 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 1.28rem;
}

.profile-card p,
.profile-card small {
  color: var(--muted);
  line-height: 1.55;
}

.profile-overview {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 12px;
}

.profile-plan-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-plan-row span,
.profile-plan-row strong,
.profile-card-title span,
.job-status {
  border: 1px solid rgba(25, 182, 141, 0.24);
  border-radius: 999px;
  padding: 7px 12px;
  color: #0b8a6b;
  background: rgba(235, 255, 250, 0.9);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: capitalize;
}

.profile-usage-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: center;
}

.saved-work-card,
.profile-settings-card {
  grid-column: 1 / -1;
}

.profile-card-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.saved-work-list,
.settings-list {
  display: grid;
  gap: 10px;
}

.saved-work-item,
.setting-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  border: 1px solid rgba(18, 152, 232, 0.14);
  border-radius: 8px;
  padding: 12px;
  background: rgba(229, 247, 255, 0.42);
}

.saved-work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.setting-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.saved-work-item strong,
.saved-work-item small,
.setting-row strong,
.setting-row small {
  display: block;
}

.job-status.status-done {
  color: #0b8a6b;
}

.job-status.status-failed {
  border-color: rgba(232, 72, 72, 0.24);
  color: #b82020;
  background: rgba(255, 239, 239, 0.9);
}

.saved-work-empty {
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.56);
  text-align: center;
}

.admin-page {
  max-width: 1240px;
  margin: 22px auto 0;
}

.admin-hero {
  display: grid;
  justify-items: center;
  margin: 18px auto 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(32px, 5vw, 68px);
  background:
    radial-gradient(circle at 18% 16%, rgba(134, 216, 255, 0.36), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(229, 247, 255, 0.86));
  box-shadow: var(--float-shadow-strong);
  text-align: center;
  transform-style: preserve-3d;
  animation: floatSurface 7.5s ease-in-out infinite;
}

.admin-hero h1 {
  max-width: 820px;
  margin: 14px 0 12px;
  font-size: clamp(2.15rem, 4.7vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.admin-hero p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.65;
}

.admin-key-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--float-shadow);
}

.admin-key-form,
.admin-filter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.admin-filter-form {
  grid-template-columns: minmax(0, 1fr) 130px;
}

.admin-key-form label,
.admin-filter-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 950;
}

.admin-key-form input,
.admin-filter-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  outline: none;
}

.admin-key-form input:focus,
.admin-filter-form input:focus {
  border-color: rgba(18, 152, 232, 0.72);
  box-shadow: 0 0 0 4px rgba(18, 152, 232, 0.12);
}

.admin-key-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-summary-grid article {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--float-shadow);
}

.admin-summary-grid strong {
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
}

.admin-summary-grid span {
  color: var(--muted);
  font-weight: 950;
  text-transform: capitalize;
}

.admin-user-list {
  display: grid;
  gap: 14px;
}

.admin-user-card,
.admin-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--float-shadow);
  transform-style: preserve-3d;
}

.admin-user-card {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(220px, 0.8fr) minmax(260px, 0.9fr);
  gap: 18px;
  align-items: center;
}

.admin-user-main {
  display: flex;
  min-width: 0;
  gap: 14px;
  align-items: center;
}

.admin-user-main h2 {
  margin: 0 0 6px;
  color: var(--blue-dark);
  font-size: 1.18rem;
}

.admin-user-main p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-meta,
.admin-usage {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.admin-meta span,
.admin-usage > span,
.admin-usage strong {
  border: 1px solid rgba(18, 152, 232, 0.14);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(229, 247, 255, 0.54);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-usage {
  display: grid;
  gap: 8px;
  margin: 0;
}

.admin-usage strong {
  justify-self: start;
  color: var(--blue-dark);
  text-transform: capitalize;
}

.admin-plan-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-plan-actions button {
  min-height: 42px;
  border: 1px solid rgba(18, 152, 232, 0.18);
  border-radius: 8px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.94);
  font-weight: 950;
  text-transform: capitalize;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.admin-plan-actions button:hover,
.admin-plan-actions button.active {
  border-color: rgba(18, 152, 232, 0.58);
  background: linear-gradient(135deg, rgba(18, 152, 232, 0.16), rgba(134, 216, 255, 0.22));
  transform: translateY(-2px);
}

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

.admin-empty h2 {
  margin: 12px 0 8px;
  color: var(--blue-dark);
}

.admin-empty p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.business-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 28px;
  align-items: center;
  max-width: 1220px;
  margin: 18px auto 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(30px, 5vw, 70px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(229, 247, 255, 0.78));
  box-shadow: var(--float-shadow-strong);
  overflow: hidden;
  transform-style: preserve-3d;
  animation: floatSurface 8s ease-in-out infinite;
}

.business-copy {
  min-width: 0;
}

.business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.business-visual {
  position: relative;
  min-height: 360px;
  perspective: 900px;
}

.business-bars {
  position: absolute;
  right: 18%;
  bottom: 20%;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 12px;
  width: 190px;
  height: 170px;
  border-radius: 8px;
  background: rgba(240, 248, 255, 0.9);
  box-shadow: 0 30px 80px rgba(18, 152, 232, 0.16);
  transform: rotateX(12deg) rotateY(-16deg);
}

.business-bars i {
  width: 34px;
  border-radius: 8px 8px 0 0;
  background: var(--blue);
}

.business-bars i:nth-child(1) {
  height: 72px;
  opacity: 0.62;
}

.business-bars i:nth-child(2) {
  height: 110px;
}

.business-bars i:nth-child(3) {
  height: 136px;
  opacity: 0.42;
}

.business-sheet {
  position: absolute;
  width: 130px;
  height: 170px;
  border: 1px solid rgba(18, 152, 232, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(224, 246, 255, 0.76)),
    repeating-linear-gradient(180deg, transparent 0 22px, rgba(18, 152, 232, 0.1) 23px 24px);
  box-shadow: 0 22px 60px rgba(18, 152, 232, 0.14);
}

.business-sheet.one {
  top: 8%;
  left: 6%;
  transform: rotateX(62deg) rotateY(20deg) rotateZ(-14deg);
}

.business-sheet.two {
  top: 12%;
  right: 4%;
  transform: rotateX(58deg) rotateY(-28deg) rotateZ(18deg);
}

.business-sheet.three {
  bottom: 8%;
  left: 24%;
  transform: rotateX(55deg) rotateY(-16deg) rotateZ(8deg);
}

.business-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto 16px;
}

.business-stats strong {
  display: grid;
  min-height: 78px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--float-shadow);
  font-size: 1.05rem;
  text-shadow: 0 10px 22px rgba(18, 92, 150, 0.13);
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 16px auto 0;
}

.workflow-strip div {
  display: grid;
  gap: 8px;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--float-shadow);
}

.workflow-strip span {
  color: var(--blue);
  font-weight: 950;
}

.workflow-strip strong {
  font-size: 1.05rem;
}

.business-lead {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: center;
  max-width: 1540px;
  min-height: 620px;
  margin: 34px auto 0;
  border-radius: 8px;
  padding: clamp(30px, 6vw, 86px);
  background:
    radial-gradient(circle at 78% 7%, rgba(134, 216, 255, 0.24) 0 130px, transparent 132px),
    radial-gradient(circle at 76% 100%, rgba(18, 152, 232, 0.17) 0 150px, transparent 152px),
    linear-gradient(135deg, rgba(238, 249, 255, 0.88), rgba(255, 255, 255, 0.93));
  box-shadow: var(--float-shadow-strong);
  overflow: hidden;
  transform-style: preserve-3d;
  animation: floatSurface 8.5s ease-in-out infinite;
}

.business-lead::before,
.business-lead::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.business-lead::before {
  top: 0;
  right: 20%;
  width: 220px;
  height: 130px;
  background: rgba(134, 216, 255, 0.3);
  border-radius: 0 0 80px 80px;
}

.business-lead::after {
  right: -40px;
  bottom: 18%;
  width: 210px;
  height: 300px;
  background: rgba(18, 152, 232, 0.14);
}

.lead-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.lead-copy h2 {
  margin: 0 0 26px;
  color: var(--text);
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead-copy p {
  margin: 0;
  color: #303648;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.72;
}

.lead-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  border-radius: 8px;
  padding: clamp(24px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 30px 80px rgba(18, 152, 232, 0.16);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
}

.lead-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 850;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #7f8794;
  border-radius: 4px;
  padding: 12px;
  color: var(--text);
  background: white;
}

.lead-form textarea {
  min-height: 122px;
  resize: vertical;
}

.lead-check {
  grid-template-columns: 28px 1fr !important;
  align-items: start;
  gap: 12px !important;
  color: #303648 !important;
  font-weight: 500 !important;
  line-height: 1.45;
}

.lead-check input {
  width: 24px;
  min-height: 24px;
  margin-top: 2px;
}

.lead-legal {
  margin: 0;
  color: #303648;
  line-height: 1.55;
}

.lead-submit {
  width: fit-content;
  min-width: 96px;
}

.info-card {
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--float-shadow);
  transition:
    box-shadow 160ms ease,
    translate 160ms ease,
    border-color 160ms ease;
}

.info-card:hover {
  border-color: rgba(18, 152, 232, 0.3);
  box-shadow: 0 24px 56px rgba(18, 152, 232, 0.14);
  translate: 0 -4px;
}

.info-card .lucide {
  color: var(--blue);
}

.info-card h2 {
  margin: 12px 0 8px;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.footer {
  margin-top: 40px;
  padding: 64px min(8vw, 168px) 24px;
  color: #f6f8ff;
  background: #272832;
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr)) minmax(168px, 0.7fr);
  gap: 42px;
  max-width: 1580px;
  margin: 0 auto 70px;
}

.footer h3 {
  margin: 0 0 20px;
  color: white;
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 16px 30px rgba(134, 216, 255, 0.12);
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer button {
  width: fit-content;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  text-align: start;
  font-weight: 700;
  transition:
    color 160ms ease,
    translate 160ms ease,
    text-shadow 160ms ease;
}

.footer button:hover {
  color: var(--sky);
  text-shadow: 0 12px 24px rgba(134, 216, 255, 0.18);
  translate: 0 -2px;
}

.store-buttons {
  justify-items: end;
}

.store-buttons button {
  display: grid;
  width: 160px;
  min-height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 9px 14px;
  color: white;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  font-weight: 850;
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(220px, 1fr);
  gap: 28px;
  align-items: center;
  max-width: 1580px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  border-radius: 6px;
  padding: 8px 14px !important;
}

.footer-lang .lucide {
  width: 16px;
  height: 16px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.footer-socials span {
  display: grid;
  min-width: 25px;
  min-height: 25px;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 950;
}

.footer-bottom > span {
  justify-self: end;
  text-align: end;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  max-width: min(420px, calc(100% - 36px));
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 27, 52, 0.34);
  backdrop-filter: blur(10px);
}

.auth-dialog {
  position: relative;
  width: min(440px, 100%);
  border: 1px solid rgba(53, 174, 232, 0.24);
  border-radius: 8px;
  padding: 30px;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(229, 247, 255, 0.92));
  box-shadow: 0 34px 80px rgba(8, 27, 52, 0.28);
  transform-style: preserve-3d;
  animation: floatSurface 7s ease-in-out infinite;
}

.auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-dark);
  background: white;
  font-size: 1.4rem;
  font-weight: 850;
  cursor: pointer;
}

.auth-dialog h2 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.auth-dialog p {
  margin: 0 0 20px;
  color: var(--muted);
}

.google-auth-wrap {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

#googleSignInButton {
  min-height: 44px;
}

#googleAuthStatus {
  min-height: 20px;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 0.82rem;
  text-align: center;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line-strong);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 850;
}

.auth-form input {
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  font: inherit;
}

.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.auth-switch {
  width: 100%;
  margin-top: 14px;
  border: 0;
  color: var(--blue-dark);
  background: transparent;
  font-weight: 850;
  cursor: pointer;
}

html[dir="rtl"] .auth-close {
  right: auto;
  left: 12px;
}

[hidden] {
  display: none !important;
}

html[dir="rtl"] .back-link .lucide,
html[dir="rtl"] .products-side .lucide {
  transform: rotate(180deg);
}

@keyframes floatSheet {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -28px;
  }
}

@keyframes spinRing {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

@keyframes floatHeader {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -3px;
  }
}

@keyframes floatMenuAppear {
  from {
    opacity: 0;
    filter: blur(4px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -4px;
  }
}

@keyframes floatTitle {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -5px;
  }
}

@keyframes floatChip {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -3px;
  }
}

@keyframes floatSurface {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topbar,
  .mega-panel.open,
  .hero-kicker,
  .hero-copy h1,
  .upload-hero h1,
  .content-hero-card,
  .content-hero-card h1,
  .business-hero,
  .business-hero h1,
  .business-lead,
  .lead-copy h2,
  .work-way-section h2,
  .premium-banner,
  .premium-copy h2,
  .img-visual,
  .img-promo h2,
  .trust-block h2 {
    animation: none;
  }
}

@media (max-width: 1280px) {
  .tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .footer-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .admin-user-card {
    grid-template-columns: 1fr 0.75fr;
  }

  .admin-plan-actions {
    grid-column: 1 / -1;
  }

  .store-buttons {
    justify-items: start;
  }
}

@media (max-width: 1100px) {
  .work-way-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .topbar {
    position: static;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }

  .brand,
  .topnav,
  .top-actions {
    justify-content: center;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .menu-layer {
    inset: 164px 0 auto;
  }

  .convert-panel,
  .all-tools-panel,
  .products-panel {
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
  }

  .convert-panel,
  .products-panel {
    grid-template-columns: 1fr;
  }

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

  .products-side {
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  .tools-grid,
  .tool-info-grid,
  .tool-options-grid,
  .content-card-grid,
  .pricing-grid,
  .pricing-note,
  .account-grid,
  .account-usage,
  .profile-layout,
  .profile-usage-card,
  .saved-work-item,
  .setting-row,
  .admin-key-form,
  .admin-filter-form,
  .admin-summary-grid,
  .admin-user-card,
  .business-stats,
  .workflow-strip,
  .work-way-grid,
  .premium-banner,
  .img-promo {
    grid-template-columns: 1fr;
  }

  .work-card {
    grid-template-rows: 220px 1fr;
    min-height: 430px;
  }

  .premium-banner {
    min-height: auto;
  }

  .premium-visual {
    min-height: 330px;
    order: -1;
  }

  .img-promo {
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-socials {
    justify-content: start;
  }

  .footer-bottom > span {
    justify-self: start;
    text-align: start;
  }

  .business-hero {
    grid-template-columns: 1fr;
  }

  .business-visual {
    min-height: 280px;
  }

  .business-lead {
    grid-template-columns: 1fr;
  }

  .lead-row {
    grid-template-columns: 1fr;
  }

  .category-tabs {
    justify-content: start;
  }
}

@media (max-width: 620px) {
  .app-shell {
    width: min(100% - 20px, 1800px);
    padding-top: 24px;
  }

  .top-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .language-switch,
  .apps-button {
    justify-self: center;
  }

  .all-tools-panel {
    grid-template-columns: 1fr;
  }

  .admin-plan-actions {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 150px;
    padding: 20px;
  }

  .upload-actions {
    grid-template-columns: 1fr 44px 44px;
    grid-auto-flow: row;
    width: 100%;
  }

  .file-cta {
    grid-column: 1 / -1;
  }

  .work-way-section,
  .premium-banner,
  .img-trust-section {
    margin-top: 64px;
  }

  .work-way-section h2,
  .trust-block h2 {
    margin-bottom: 28px;
  }

  .work-card {
    grid-template-rows: 190px 1fr;
    min-height: 390px;
  }

  .work-card-body {
    min-height: 200px;
    padding: 26px 22px 46px;
  }

  .desktop-doc {
    left: 98px;
    width: 190px;
  }

  .mobile-toolbar,
  .code-panel,
  .tile-c {
    display: none;
  }

  .premium-banner {
    padding: 28px 20px;
  }

  .premium-visual {
    min-height: 280px;
  }

  .premium-doc {
    right: 14%;
    width: 188px;
    height: 252px;
  }

  .premium-team {
    width: 220px;
  }

  .premium-aa {
    width: 82px;
    height: 58px;
    font-size: 2.2rem;
  }

  .img-visual {
    min-height: 250px;
  }

  .work-photo {
    min-height: 190px;
  }

  .premium-photo,
  .image-editor-photo {
    width: 100%;
  }

  .crop-frame {
    inset: 24px 24px 22px;
  }

  .tile-a {
    left: 38px;
    width: 142px;
  }

  .tile-b {
    left: 118px;
    width: 154px;
    height: 166px;
  }

  .trust-badges {
    gap: 18px;
    margin-top: 34px;
  }

  .footer {
    padding: 42px 20px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 44px;
  }

  .store-buttons {
    justify-items: start;
  }
}
