@font-face {
  font-family: "Eudoxus Sans";
  src: url("fonts/EudoxusSans-Regular-BF659b6cb1d4714.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Eudoxus Sans";
  src: url("fonts/EudoxusSans-Medium-BF659b6cb1c14cb.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Eudoxus Sans";
  src: url("fonts/EudoxusSans-Bold-BF659b6cb1408e5.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --brand: #2563eb;
  --brand-2: #38bdf8;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --blue-soft: #eff6ff;
  --green: #16a34a;
  --amber: #f59e0b;
  --rose: #e11d48;
}

/* Keyframes Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-12px);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes menuItemFade {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rotateIcon {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(90deg);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Eudoxus Sans", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  margin-left: -56px;
}

.footer .brand {
  margin-left: 0;
}

.brand img {
  width: 105px;
  height: auto;
  max-height: 42px;
  border-radius: 0;
  object-fit: contain;
  transform: none;
}

.footer .brand img {
  width: 316px;
  height: auto;
  transform: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-menu {
  position: relative;
}

.login-toggle {
  border: 0;
  background: transparent;
  color: #475569;
  cursor: pointer;
  padding: 10px 8px;
  font-weight: 700;
}

.login-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 260px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
  padding: 8px;
  display: none;
}

.login-menu.open .login-dropdown {
  display: block;
}

.login-dropdown a {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 8px;
}

.login-dropdown a:hover {
  background: var(--blue-soft);
}

.login-dropdown strong {
  display: block;
  font-size: 14px;
}

.login-dropdown a > span:not(.ico) {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 0;
  align-self: center;
}

.login-dropdown a > span:not(.ico) span {
  display: block;
  margin-top: 3px;
}

.ico {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #dbeafe;
  color: var(--brand);
  align-self: center;
  justify-self: center;
}

.ico svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.btn.primary:hover {
  background: #1d4ed8;
}

.btn.secondary {
  background: #ffffff;
  border-color: var(--line);
  color: #334155;
}

.btn.dark {
  background: var(--ink);
  color: #ffffff;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 50;
}

.menu-button:hover {
  border-color: var(--brand);
  background: var(--blue-soft);
}

.menu-button::before,
.menu-button::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-button::before {
  transform: translate(-50%, -6px);
}

.menu-button::after {
  transform: translate(-50%, 6px);
}

.menu-button.open::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-button.open::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-panel {
  display: none;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
}

.mobile-panel.open {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  max-height: 500px;
  opacity: 1;
  animation: slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.mobile-panel a {
  padding: 12px;
  border-radius: 8px;
  background: var(--soft);
  font-weight: 700;
  transition: all 0.2s ease-out;
  animation: menuItemFade 0.4s ease-out forwards;
  opacity: 0;
}

.mobile-panel a:nth-child(1) {
  animation-delay: 0.05s;
}

.mobile-panel a:nth-child(2) {
  animation-delay: 0.1s;
}

.mobile-panel a:nth-child(3) {
  animation-delay: 0.15s;
}

.mobile-panel a:nth-child(4) {
  animation-delay: 0.2s;
}

.mobile-panel a:nth-child(5) {
  animation-delay: 0.25s;
}

.mobile-panel a:nth-child(6) {
  animation-delay: 0.3s;
}

.mobile-panel a:nth-child(7) {
  animation-delay: 0.35s;
}

.mobile-panel a:nth-child(8) {
  animation-delay: 0.4s;
}

.mobile-panel a:hover {
  background: var(--brand);
  color: #ffffff;
  transform: translateX(4px);
}

/* Scroll lock when menu is open */
body.menu-open {
  overflow: hidden;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.28), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 50%, #eaf4ff 100%);
}

@media (max-width: 768px) {
  .hero {
    padding: 42px 0 36px;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 32px 0 28px;
  }
}

.hero-clean {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 54px 0 46px;
  background:
    radial-gradient(circle at 9% 32%, rgba(37, 99, 235, 0.08), transparent 18%),
    radial-gradient(circle at 92% 78%, rgba(37, 99, 235, 0.08), transparent 18%),
    linear-gradient(180deg, #f4f8ff 0%, #eef5ff 100%);
}

@media (max-width: 768px) {
  .hero-clean {
    min-height: auto;
    padding: 36px 0 32px;
  }
}

@media (max-width: 680px) {
  .hero-clean {
    min-height: auto;
    padding: 28px 0 24px;
  }
}

.hero-center {
  max-width: 950px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-center h1 {
  max-width: none;
  margin: 22px auto 20px;
  font-size: 54px;
  line-height: 1.05;
  background: linear-gradient(180deg, #2f67e8 0%, #1d3f8f 48%, #0b132b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-center h1 span {
  background: linear-gradient(180deg, #2f67e8 0%, #1d3f8f 48%, #0b132b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-center .lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
  font-size: 20px;
  line-height: 1.45;
}

.hero-center .hero-actions {
  justify-content: center;
  margin-top: 28px;
}

.hero-center .btn.primary {
  min-width: 236px;
  min-height: 56px;
  font-size: 16px;
}

.hero-center .trust-line {
  color: #94a3b8;
  font-weight: 500;
}

.hero-float {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #ffffff;
  color: #2563eb;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
  font-weight: 900;
}

.hero-float.left {
  left: 6%;
  top: 30%;
}

.hero-float.right {
  right: 6%;
  bottom: 23%;
}

.social-proof {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 24px;
  color: #334155;
}

.social-proof span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dbeafe;
  border: 2px solid #ffffff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  margin-left: -8px;
}

.social-proof span:first-child {
  margin-left: 0;
}

.social-proof strong {
  margin-left: 12px;
  margin-right: 4px;
  color: #0f172a;
}

.calc-marquee {
  padding: 34px 0 38px;
  background: #ffffff;
  border-top: 1px solid #eaf0f8;
  border-bottom: 1px solid #eef2f7;
  overflow: hidden;
}

@media (max-width: 768px) {
  .calc-marquee {
    padding: 24px 0 28px;
  }
}

@media (max-width: 680px) {
  .calc-marquee {
    padding: 18px 0 22px;
  }
  
  .calc-marquee p {
    font-size: 10px;
    margin-bottom: 14px;
  }
  
  .marquee-track span {
    min-height: 30px;
    padding: 0 12px;
    font-size: 12px;
  }
}

.calc-marquee p {
  margin: 0 0 22px;
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marquee-window {
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: calcMarquee 115s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #ffffff;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

@keyframes calcMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(520px, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: #1d4ed8;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

h1 {
  margin: 18px 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 650px;
}

h2 {
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 14px;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.lead {
  color: #475569;
  font-size: 19px;
  line-height: 1.7;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 18px;
}

.trust-line {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.screen-wrap {
  position: relative;
}

.screen {
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.screen-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
}

.dot.red { background: #fb7185; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #22c55e; }

.screen img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.screen-carousel-section {
  padding: 54px 0 34px;
  background: linear-gradient(180deg, #eef6ff 0%, #ffffff 100%);
  overflow: hidden;
}

.screen-carousel {
  position: relative;
  min-height: 500px;
  perspective: 1200px;
}

.carousel-stage {
  position: relative;
  min-height: 500px;
}

.screen-slide {
  position: absolute;
  inset: 0;
  width: min(760px, 72vw);
  margin: 0 auto;
  transition: transform .65s ease, opacity .65s ease, filter .65s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.carousel-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.14);
  backface-visibility: hidden;
  transform: translateZ(0);
}

.screen-slide[data-position="active"] {
  z-index: 3;
  opacity: 1;
  filter: none;
  transform: translateX(0) scale(1) rotateY(0);
}

.screen-slide[data-position="prev"] {
  z-index: 2;
  opacity: .42;
  filter: saturate(.88);
  transform: translateX(-34%) scale(.82) rotateY(18deg);
}

.screen-slide[data-position="next"] {
  z-index: 2;
  opacity: .42;
  filter: saturate(.88);
  transform: translateX(34%) scale(.82) rotateY(-18deg);
}

.screen-slide[data-position="hidden"] {
  z-index: 1;
  opacity: 0;
  transform: translateX(0) scale(.72);
  pointer-events: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
  color: var(--brand);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.carousel-arrow.prev {
  left: 18px;
}

.carousel-arrow.next {
  right: 18px;
}

.carousel-arrow:hover {
  background: #ffffff;
}

@media (max-width: 768px) {
  .screen-carousel-section {
    padding: 34px 0 18px;
  }

  .screen-carousel,
  .carousel-stage {
    min-height: 360px;
  }

  .screen-slide {
    width: min(620px, 86vw);
  }

  .screen-slide[data-position="prev"],
  .screen-slide[data-position="next"] {
    opacity: 0;
    transform: translateX(0) scale(.92);
    pointer-events: none;
  }

  .screen-slide[data-position="active"] {
    transform: translateX(0) scale(1);
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .carousel-arrow.prev {
    left: 0;
  }

  .carousel-arrow.next {
    right: 0;
  }
}

@media (max-width: 680px) {
  .screen-carousel,
  .carousel-stage {
    min-height: 300px;
  }

  .screen-slide {
    width: 92vw;
  }
}

.floating-card {
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: 220px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
  padding: 16px;
}

.floating-card b {
  display: block;
  font-size: 28px;
  margin: 6px 0;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.metric strong {
  display: block;
  font-size: 26px;
  margin-bottom: 4px;
}

.section {
  padding: 84px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 36px 0;
  }
}

.section.soft {
  background: var(--soft);
}

.section.blue {
  background: linear-gradient(135deg, #eff6ff, #ffffff 70%);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.split.reverse {
  grid-template-columns: minmax(420px, 1fr) minmax(0, 1fr);
}

.split.reverse .copy {
  order: 2;
}

.copy ul,
.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.copy li,
.check-list li {
  display: flex;
  gap: 10px;
  color: #475569;
  line-height: 1.5;
}

.copy li::before,
.check-list li::before {
  content: "✓";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #dcfce7;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.calculator-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

@media (max-width: 680px) {
  .card {
    padding: 14px;
  }
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.09);
}

.card,
.price-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #dbeafe;
  color: var(--brand);
  font-size: 22px;
  margin-bottom: 18px;
}

.calculator-card {
  min-height: 148px;
  padding: 16px;
}

@media (max-width: 680px) {
  .calculator-card {
    min-height: 120px;
    padding: 12px;
  }
}

.calculator-card .icon {
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  font-size: 14px;
}

.calculator-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.calculator-card p {
  color: #475569;
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 0;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 680px) {
  .visual-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .mini-panel {
    min-height: 100px;
    padding: 12px;
  }
  
  .mini-panel strong {
    font-size: 20px;
  }
  
  .mini-panel p {
    font-size: 12px;
  }
}

.mini-panel {
  background: #ffffff;
  padding: 16px;
}

.mini-panel strong {
  display: block;
  font-size: 26px;
}

.pdf-tool-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 24px;
}

@media (max-width: 680px) {
  .pdf-tool-preview {
    padding: 16px;
  }
  
  .pdf-tool-head {
    gap: 10px;
    margin-bottom: 16px;
  }
  
  .pdf-tool-head h3 {
    font-size: 18px;
    margin-bottom: 6px;
  }
  
  .pdf-drop {
    min-height: 140px;
    padding: 20px;
  }
}

.pdf-tool-head > span {
  color: #64748b;
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
}

.pdf-tool-head h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.pdf-tool-head em {
  color: #94a3b8;
  font-style: normal;
  font-weight: 700;
}

.pdf-tool-head p,
.pdf-safe p {
  margin-bottom: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}

.pdf-safe {
  display: flex;
  gap: 12px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #ecfdf5;
  color: #047857;
  padding: 16px;
  margin-bottom: 28px;
}

.pdf-safe > span {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
}

.pdf-safe strong {
  display: block;
  margin-bottom: 6px;
  color: #065f46;
}

.pdf-safe p {
  color: #047857;
}

.pdf-drop {
  min-height: 170px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  padding: 28px;
}

.pdf-drop svg {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  fill: none;
  stroke: #94a3b8;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pdf-drop strong {
  color: #172033;
}

.pdf-drop span {
  margin-top: 8px;
  color: #94a3b8;
  font-size: 12px;
}

.pdf-tool-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 16px;
}

.pdf-tool-footer button {
  border: 0;
  border-radius: 8px;
  background: #cbd5e1;
  color: #ffffff;
  padding: 14px 24px;
  font: inherit;
  font-weight: 900;
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-top: 14px;
}

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

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 28px;
  min-height: 505px;
}

@media (max-width: 680px) {
  .price-card {
    padding: 18px;
    min-height: auto;
  }
}

.price-card.featured {
  background: linear-gradient(180deg, #2f67e8 0%, #1d3f8f 48%, #0b132b 100%);
  color: #ffffff;
  border-color: rgba(47, 103, 232, 0.35);
  box-shadow: 0 24px 58px rgba(37, 99, 235, 0.18);
}

.price-card.featured p,
.price-card.featured li {
  color: #dbeafe;
}

.tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  color: var(--brand);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--line);
  z-index: 10;
  pointer-events: none;
}

.price-card .hero-actions,
.price-card div[style*="margin-top:auto"] {
  margin-top: 26px !important;
  padding-top: 0 !important;
  align-self: center;
}

.price-card .btn {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.price-card .btn:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.reveal {
  opacity: 0;
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal[data-reveal="fade-up"] {
  transform: translateY(34px);
}

.reveal[data-reveal="fade-left"] {
  transform: translateX(-34px);
}

.reveal[data-reveal="fade-right"] {
  transform: translateX(34px);
}

.reveal[data-reveal="zoom-in"] {
  transform: scale(0.94);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}


.price {
  font-size: 42px;
  font-weight: 900;
  margin: 18px 0 4px;
}

.price small {
  font-size: 15px;
  color: inherit;
  opacity: 0.72;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.compare th,
.compare td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.table-icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 6px;
  display: inline-block;
  vertical-align: middle;
}

.table-icon.check {
  background: #dcfce7;
  color: #16a34a;
}

.table-icon.lock {
  background: #fef3c7;
  color: #d97706;
}


@media (max-width: 680px) {
  .compare {
    margin-top: 20px;
  }
  
  .compare th,
  .compare td {
    padding: 10px 8px;
    font-size: 12px;
  }
  
  .compare th {
    font-size: 11px;
  }
}
.compare td:not(:first-child),
.compare th:not(:first-child) {
  text-align: center;
  font-weight: 800;
}

.compare-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.compare-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

@media (max-width: 680px) {
  .compare-panel {
    padding: 18px;
  }
  
  .compare-panel h3 {
    font-size: 18px;
    margin-bottom: 14px;
  }
}

.compare-panel.risk {
  background: linear-gradient(180deg, #fff7f7, #ffffff);
  border-color: #fecdd3;
}

.compare-panel.safe {
  background: linear-gradient(180deg, #eff6ff, #ffffff);
  border-color: #bfdbfe;
}

.compare-panel h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.compare-panel ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.compare-panel li {
  display: flex;
  gap: 10px;
  color: #475569;
  line-height: 1.45;
}

.compare-panel li::before {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
}

.compare-panel.risk li::before {
  content: "×";
  background: #ffe4e6;
  color: #e11d48;
}

.compare-panel.safe li::before {
  content: "✓";
  background: #dcfce7;
  color: #16a34a;
}

.tool-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 24px 0 28px;
}

.filter-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  font-weight: 800;
}

.filter-btn.active {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.search {
  width: min(560px, 100%);
  height: 50px;
  display: block;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  outline: none;
}

.search:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.step b {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #dbeafe;
  color: var(--brand);
  margin-bottom: 14px;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #0f172a);
  color: #ffffff;
}

@media (max-width: 680px) {
  .cta-band {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  
  .cta-band h2 {
    font-size: 24px;
    margin-bottom: 8px;
  }
  
  .cta-band p {
    font-size: 13px;
  }
}

.faq details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

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

.faq p {
  color: #475569;
  line-height: 1.65;
  margin: 12px 0 0;
}

.footer {
  background: #07111f;
  color: #ffffff;
  padding: 58px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer p,
.footer a {
  color: #cbd5e1;
}

.footer a:hover {
  color: #ffffff;
}

.footer h3 {
  font-size: 15px;
  margin-bottom: 14px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(203, 213, 225, 0.16);
  margin-top: 36px;
  padding-top: 22px;
  color: #94a3b8;
  font-size: 13px;
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 900;
}

.social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

/* Touch-friendly elements */
button,
input,
select,
textarea {
  min-height: 44px;
}

/* Image Optimization */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.screen,
.screen img {
  width: 100%;
  height: auto;
}

/* Loading State */
img[loading="lazy"] {
  opacity: 1;
}

img[loading="lazy"].loaded {
  animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 1;
  }
}

/* Performance: Will-change for animated elements */
.reveal {
  will-change: opacity, transform;
}

.mobile-panel.open {
  will-change: opacity, max-height;
}

.menu-button {
  will-change: transform;
}

/* GPU Acceleration */
.hero,
.section,
.reveal {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Tablet breakpoint (768px) */
@media (max-width: 768px) {
  /* Better touch targets */
  a,
  button {
    min-width: 44px;
    min-height: 44px;
  }

  /* Optimize images for mobile */
  img {
    -webkit-touch-callout: none;
  }

  /* Better text rendering on mobile */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }

  .container {
    overflow-x: hidden;
  }

  h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  h2 {
    font-size: 32px;
    line-height: 1.25;
  }

  h3 {
    font-size: 24px;
  }

  .hero-grid,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .hero-float {
    display: none;
  }

  .cards,
  .calculator-grid,
  .pricing,
  .metric-row,
  .timeline,
  .compare-split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section {
    padding: 48px 0;
  }

  input,
  select,
  textarea {
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
  }
}

@media (max-width: 1020px) {
  .hero-center h1 {
    font-size: 44px;
  }

  .hero-float {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 34px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .hero-grid,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .copy {
    order: 0;
  }

  .cards,
  .calculator-grid,
  .pricing,
  .metric-row,
  .timeline,
  .compare-split,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }

  .container {
    width: min(100% - 16px, 1180px);
  }

  .hero {
    padding: 28px 0 24px;
  }

  .section {
    padding: 32px 0;
  }

  h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  h2 {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  h3 {
    font-size: 20px;
  }

  p,
  .lead {
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .hero-clean {
    min-height: auto;
    padding: 48px 0;
  }

  .hero-center h1 {
    font-size: 32px;
  }

  .hero-center .lead {
    font-size: 18px;
    line-height: 1.5;
    max-width: none;
  }

@media (max-width: 680px) {
  .hero-center {
    max-width: 100%;
  }
  
  .hero-center h1 {
    font-size: 26px;
    line-height: 1.15;
    margin: 16px 0 12px;
  }
  
  .hero-center .lead {
    font-size: 16px;
    line-height: 1.5;
  }
  
  .hero-center .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
  
  .hero-center .btn.primary {
    min-width: auto;
    width: 100%;
    min-height: 44px;
    font-size: 14px;
  }
  
  .hero-center .trust-line {
    font-size: 11px;
  }
}

  .social-proof {
    flex-wrap: wrap;
    row-gap: 8px;
    flex-direction: column;
    gap: 4px;
  }

  .cards,
  .calculator-grid,
  .pricing,
  .metric-row,
  .timeline,
  .compare-split,
  .footer-grid,
  .visual-grid,
  .cta-band {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
  }
  
  .floating-card b {
    font-size: 24px;
  }
  
  .floating-card small {
    font-size: 12px;
  }

  .compare {
    display: block;
    overflow-x: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  /* Buttons and forms */
  button,
  .btn {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 8px;
    min-height: 48px;
  }

  input,
  select,
  textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
  }

  /* Navigation */
  .nav {
    min-height: 56px;
    padding: 10px 12px;
    gap: 12px;
  }

  .brand {
    margin-left: 0;
  }

  .brand img {
    width: 75px;
    max-height: 30px;
  }

  /* Footer */
  .footer {
    padding: 32px 0 16px;
  }

  .footer h3 {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .footer p {
    font-size: 12px;
    line-height: 1.5;
  }

  .footer ul {
    gap: 6px;
  }

  .footer-bottom {
    font-size: 11px;
    margin-top: 24px;
    padding-top: 16px;
  }

  .social {
    gap: 6px;
    margin-top: 12px;
  }

  .social a {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  /* Text sizing improvements */
  small {
    font-size: 13px;
  }

  .caption {
    font-size: 12px;
  }

  /* Remove or reduce horizontal padding for better use of screen space */
  .hero-grid .copy,
  .split .copy {
    padding: 0;
  }

  /* Improve card spacing */
  .card {
    padding: 16px;
  }

  /* Better table responsiveness */
  table {
    font-size: 14px;
  }

  th,
  td {
    padding: 8px;
  }
}

/* =============================================== */
/* MOBILE OPTIMIZATION - 680px AND BELOW          */
/* =============================================== */
@media (max-width: 680px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }

  .container {
    width: min(100% - 14px, 1180px);
  }

  /* SPACING */
  .hero {
    padding: 20px 0 16px;
  }

  .hero-clean {
    min-height: auto;
    padding: 20px 0 16px;
  }

  .section {
    padding: 24px 0;
  }

  /* TYPOGRAPHY */
  h1 {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  h2 {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  h3 {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.4;
  }

  p,
  li {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  small {
    font-size: 11px;
  }

  /* NAVIGATION */
  .nav {
    min-height: 48px;
    padding: 6px 0;
    gap: 10px;
  }

  .brand {
    margin-left: 0;
  }

  .brand img {
    width: 65px;
    max-height: 22px;
  }

  .menu-button {
    width: 36px;
    height: 36px;
  }

  /* HERO CENTER */
  .hero-center h1 {
    font-size: 24px;
    line-height: 1.2;
    margin: 10px 0 8px;
  }

  .hero-center .lead {
    font-size: 14px;
    line-height: 1.4;
  }

  .hero-center .hero-actions {
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
  }

  .hero-center .btn.primary {
    width: 100%;
    min-height: 40px;
    font-size: 13px;
  }

  .hero-center .trust-line {
    font-size: 10px;
    margin-top: 8px;
  }

  .social-proof {
    flex-direction: column;
    gap: 2px;
    margin-top: 10px;
  }

  .social-proof span {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  /* CARDS */
  .card {
    padding: 10px;
  }

  .calculator-card {
    min-height: 90px;
    padding: 8px;
  }

  .calculator-card h3 {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .calculator-card p {
    font-size: 11px;
  }

  .metric {
    padding: 8px;
  }

  .metric strong {
    font-size: 16px;
    margin-bottom: 2px;
  }

  .mini-panel {
    min-height: 70px;
    padding: 8px;
  }

  .mini-panel strong {
    font-size: 14px;
  }

  .price {
    font-size: 20px;
    margin: 6px 0 2px;
  }

  .tag {
    font-size: 7px;
  }

  /* GRIDS */
  .cards,
  .calculator-grid,
  .pricing,
  .metric-row,
  .timeline,
  .compare-split,
  .footer-grid,
  .visual-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* BUTTONS */
  button,
  .btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    min-height: 40px;
  }

  input,
  select,
  textarea {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    margin-bottom: 8px;
    border-radius: 6px;
  }

  /* CTA BAND */
  .cta-band {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .cta-band h2 {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .cta-band p {
    font-size: 11px;
  }

  /* MARQUEE */
  .calc-marquee {
    padding: 12px 0 14px;
  }

  .calc-marquee p {
    font-size: 9px;
    margin-bottom: 8px;
  }

  .marquee-track span {
    min-height: 24px;
    padding: 0 8px;
    font-size: 10px;
  }

  /* TABLES */
  .compare {
    display: block;
    overflow-x: auto;
    margin-top: 12px;
  }

  .compare th,
  .compare td {
    padding: 6px 4px;
    font-size: 10px;
  }

  .compare-panel {
    padding: 12px;
  }

  .compare-panel h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  /* PDF */
  .pdf-tool-preview {
    padding: 10px;
  }

  .pdf-tool-head h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .pdf-drop {
    min-height: 100px;
    padding: 12px;
  }

  .pdf-drop svg {
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
  }

  /* FLOATING CARD */
  .floating-card {
    position: static;
    width: 100%;
    margin-top: 8px;
    padding: 8px;
  }

  .floating-card b {
    font-size: 18px;
  }

  .floating-card small {
    font-size: 10px;
  }

  /* FOOTER */
  .footer {
    padding: 24px 0 12px;
  }

  .footer h3 {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .footer p,
  .footer a {
    font-size: 11px;
  }

  .footer ul {
    gap: 3px;
  }

  .footer-grid {
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    font-size: 9px;
    margin-top: 12px;
    padding-top: 10px;
  }

  .social {
    gap: 3px;
    margin-top: 6px;
  }

  .social a {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  /* LAYOUT */
  .hero-grid,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .hero-float {
    display: none;
  }

  /* FAQ */
  .faq details {
    padding: 10px 12px;
  }

  .faq summary {
    font-size: 13px;
  }

  .faq p {
    font-size: 12px;
    margin-top: 8px;
  }

  /* STEP TIMELINE */
  .step {
    padding: 12px;
  }

  .step b {
    width: 28px;
    height: 28px;
    font-size: 11px;
    margin-bottom: 8px;
  }

  /* FILTER BUTTONS */
  .filter-btn {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }

  /* SEARCH */
  .search {
    height: 40px;
    font-size: 13px;
  }

  /* LIST ITEMS */
  .copy li,
  .check-list li {
    gap: 6px;
    font-size: 12px;
  }

  .copy li::before,
  .check-list li::before {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }

  /* ICON CARDS */
  .card .icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
    margin-bottom: 10px;
  }
}
