:root {
  color-scheme: light;
  --ink: #151519;
  --ink-soft: #303039;
  --paper: #fff;
  --warm: #f6f4ef;
  --muted: #666670;
  --line: #dedee3;
  --blue: #4169e1;
  --blue-dark: #213d99;
  --nav: #0b0c0f;
  --max: 1280px;
  --radius: 28px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
html[lang="ro"] [data-lang="en"], html[lang="en"] [data-lang="ro"] { display: none !important; }
img { max-width: 100%; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 3rem)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-row { min-height: 72px; display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; flex: 0 0 auto; gap: .68rem; text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.brand img { width: 31px; height: 38px; object-fit: contain; }
.nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: 1.45rem; font-size: .9rem; }
.nav a { color: #4c4c54; text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.lang { display: flex; gap: .15rem; padding-left: .8rem; border-left: 1px solid var(--line); }
.lang button { border: 0; background: none; padding: .2rem .35rem; color: #777781; cursor: pointer; font: inherit; }
html[lang="en"] .lang button[data-set-lang="en"], html[lang="ro"] .lang button[data-set-lang="ro"] { color: var(--ink); font-weight: 700; }
.header-cta { padding: .62rem .95rem; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-size: .82rem; font-weight: 700; white-space: nowrap; }

.hero { overflow: hidden; background: linear-gradient(180deg, #0b0c0f 0%, #111524 74%, #dfe6fa 100%); color: #fff; }
.hero-grid { min-height: 720px; padding: 5.7rem 0; display: grid; grid-template-columns: 1.04fr .96fr; gap: 3.5rem; align-items: center; }
.eyebrow { margin: 0 0 1rem; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow { color: #86a3ff; }
.hero h1 { max-width: 720px; margin: 0 0 1.55rem; font-family: var(--serif); font-weight: 400; font-size: clamp(4rem, 6.2vw, 6.7rem); line-height: .94; letter-spacing: -.055em; }
.hero-lede { max-width: 690px; margin: 0 0 2rem; color: #c3c4ca; font-size: clamp(1.08rem, 1.45vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.3rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 999px; padding: .72rem 1.15rem; text-decoration: none; font-size: .9rem; font-weight: 750; }
.button.primary { background: #fff; color: #111; }
.button.ghost { border: 1px solid rgba(255,255,255,.32); color: #fff; }
.hero-checks { display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; color: #8f929c; font-size: .78rem; }
.hero-visual { position: relative; min-height: 550px; display: grid; place-items: center; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(80,109,220,.34), rgba(80,109,220,.05) 47%, transparent 70%); filter: blur(10px); z-index: -1; }
.hero-visual > img { width: min(480px, 86%); filter: drop-shadow(0 38px 45px rgba(0,0,0,.48)); }
.visual-label { position: absolute; top: 5%; right: 2%; color: #747883; font-size: .65rem; letter-spacing: .18em; }
.floating-tool { position: absolute; min-width: 150px; padding: .75rem .9rem; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(19,21,27,.82); backdrop-filter: blur(14px); box-shadow: 0 16px 35px rgba(0,0,0,.28); }
.floating-tool b { display: inline-grid; place-items: center; min-width: 35px; height: 28px; margin-right: .45rem; color: #9bb1ff; }
.floating-tool span { color: #d8d9de; font-size: .76rem; }
.tool-a { right: 0; bottom: 18%; }
.tool-b { left: -4%; top: 22%; }

.quick-tools { padding: 6.2rem 0 7rem; background: linear-gradient(180deg, #dfe6fa 0%, #f4f1ed 20%, #ffffff 62%); }
.section-intro { max-width: 850px; margin-bottom: 2.7rem; }
.section-intro.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro h2 { margin: 0 0 .9rem; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.section-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tool-grid a { min-height: 190px; padding: 1.35rem; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tool-grid a:hover { transform: translateY(-4px); border-color: #b9c6ee; box-shadow: 0 18px 40px rgba(25,37,72,.11); }
.tool-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 2.2rem; border-radius: 13px; background: #edf1ff; color: var(--blue-dark); font-weight: 800; font-size: .8rem; }
.tool-grid strong { font-size: 1.02rem; margin-bottom: .22rem; }
.tool-grid small { color: var(--muted); font-size: .82rem; }

.feature-showcase { padding: 7rem 0; background: linear-gradient(180deg, #ffffff 0%, #f6f1ea 16%, #eef2ff 100%); }
.feature-band { min-height: 570px; margin-top: 1.25rem; border-radius: var(--radius); padding: 4.3rem; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.feature-band.reverse .feature-copy { order: 2; }
.feature-band.reverse .feature-graphic { order: 1; }
.feature-copy h3, .feature-card h3 { max-width: 620px; margin: .6rem 0 1rem; font-family: var(--serif); font-size: clamp(2.5rem, 4vw, 4.2rem); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
.feature-copy p, .feature-card p { max-width: 590px; font-size: 1.02rem; }
.feature-index { font-size: .68rem; font-weight: 800; letter-spacing: .15em; opacity: .7; }
.feature-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.5rem; }
.feature-tags span { border: 1px solid currentColor; border-radius: 999px; padding: .35rem .68rem; font-size: .7rem; opacity: .72; }
.band-blue { background: #dce6ff; color: #14214a; }
.band-violet { background: #251b45; color: #fff; }
.band-amber { background: #f6c66a; color: #2b1d05; }
.band-green { background: #bcdcc3; color: #132b1a; }
.feature-graphic { min-height: 390px; display: grid; place-items: center; position: relative; }
.paper-demo { width: min(440px, 90%); aspect-ratio: .78; padding: 4.2rem 3rem; border-radius: 8px; background: white; box-shadow: 0 34px 65px rgba(24,37,77,.2); transform: rotate(2deg); color: #1b1c21; font-family: var(--serif); font-size: 1.45rem; position: relative; }
.paper-demo mark { background: #aec2ff; padding: 0 .2rem; }
.muted-lines { margin-top: 3rem; color: #777; font: .9rem/1.9 var(--sans); }
.cursor { position: absolute; left: 69%; top: 16.5%; color: var(--blue); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.feature-pair { margin: 1.25rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.feature-card { position: relative; min-height: 590px; padding: 3.4rem; border-radius: var(--radius); overflow: hidden; }
.page-stack { position: absolute; left: 50%; bottom: -7rem; width: 280px; height: 280px; transform: translateX(-50%); }
.page-stack i { position: absolute; inset: 0; display: block; background: #fff; border: 1px solid rgba(0,0,0,.14); border-radius: 12px; box-shadow: 0 22px 30px rgba(72,45,5,.13); }
.page-stack i:nth-child(1) { transform: rotate(-12deg) translate(-26px,-6px); }
.page-stack i:nth-child(2) { transform: rotate(8deg) translate(22px,-10px); }
.page-stack i:nth-child(3) { transform: translateY(-30px); background: repeating-linear-gradient(#fff 0 24px, #ececec 25px 27px); }
.signature-demo { position: absolute; right: 2.5rem; bottom: 2rem; font: italic 4rem/1 var(--serif); transform: rotate(-6deg); opacity: .82; }
.signature-demo span { display: inline-grid; place-items: center; width: 55px; height: 55px; border: 2px solid currentColor; border-radius: 50%; font: 1.3rem var(--sans); }
.scan-page { width: min(430px, 90%); aspect-ratio: .78; padding: 3rem; background: #fff; color: #222; border-radius: 8px; box-shadow: 0 35px 70px rgba(0,0,0,.4); position: relative; transform: rotate(-2deg); }
.scan-page b { font-family: var(--serif); font-size: 1.5rem; }
.scan-page i { display: block; height: 9px; margin-top: 1.15rem; border-radius: 9px; background: #d8d8dd; }
.scan-page i:nth-of-type(2) { width: 82%; }.scan-page i:nth-of-type(3) { width: 91%; }.scan-page i:nth-of-type(4) { width: 65%; }
.scan-line { position: absolute; left: 1.2rem; right: 1.2rem; top: 47%; height: 2px; background: #765bff; box-shadow: 0 0 18px #765bff; }

.product-tour { padding: 7rem 0; background: linear-gradient(180deg, #242b45 0%, #111522 22%, #0b0c0f 100%); color: #fff; }
.light-copy > p:not(.eyebrow) { color: #aeb0b9; }
.app-shot { overflow: hidden; border: 1px solid #30323a; border-radius: 30px; background: #15171c; padding: 1rem; box-shadow: 0 45px 100px rgba(0,0,0,.4); }
.app-shot img { display: block; width: 100%; border-radius: 20px; }
.legal-note { max-width: 850px; margin: 1rem auto 0; color: #858894; text-align: center; font-size: .76rem; }

.all-tools { padding: 7rem 0; background: #fff; }
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.catalog > div { min-height: 285px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.catalog b { display: block; margin-bottom: 1.2rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.catalog span { color: var(--muted); line-height: 2; font-size: .9rem; }

.workflow-section { padding: 7rem 0; background: #edf1ff; }
.workflow-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 1.1rem; padding: 1.5rem 0; border-top: 1px solid #cbd2e7; }
.steps li:last-child { border-bottom: 1px solid #cbd2e7; }
.steps li > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--blue-dark); font-weight: 750; }
.steps b { font-size: 1.05rem; }
.steps p { margin: .25rem 0 0; color: #666b79; font-size: .9rem; }

.trust-section { padding: 6rem 0; background: linear-gradient(180deg, #17191f 0%, #22283a 78%, #eef1f8 100%); color: #fff; }
.trust-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; }
.trust-grid h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 400; line-height: 1; }
.trust-grid > div:last-child { color: #b8bac2; font-size: 1.08rem; }
.trust-grid a { display: inline-block; margin-top: 1rem; color: #a9bcff; font-weight: 750; text-decoration: none; }

.final-cta { padding: 4.5rem 0; background: linear-gradient(180deg, #eef1f8 0%, #ffffff 48%); }
.final-card { min-height: 260px; display: grid; grid-template-columns: 150px 1fr auto; gap: 2.3rem; align-items: center; padding: 2.5rem 3rem; border-radius: var(--radius); background: var(--nav); color: #fff; }
.final-card img { width: 140px; }
.final-card h2 { margin: 0 0 .7rem; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.6rem); font-weight: 400; line-height: 1; }
.final-card p:not(.eyebrow) { color: #aeb0b9; margin: 0; }

.prose { width: min(850px, calc(100% - 3rem)); margin: 0 auto; padding: 5rem 0 7rem; }
.prose h1 { margin: 0 0 .5rem; font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; font-weight: 400; letter-spacing: -.04em; }
.prose .meta { color: var(--muted); margin-bottom: 2.5rem; }
.prose h2 { margin: 2.5rem 0 .5rem; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.prose p { color: #4e4e58; }

.site-footer { padding: 4.5rem 0 1.5rem; background: #0b0c0f; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 3rem; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.footer-brand img { width: 42px; height: 48px; object-fit: contain; }
.footer-brand span { color: #888b95; font-size: .82rem; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.site-footer nav b { margin-bottom: .25rem; font-size: .82rem; }
.site-footer nav a { color: #9699a3; text-decoration: none; font-size: .8rem; }
.site-footer nav a:hover { color: #fff; }
.copyright { margin-top: 3rem; padding-top: 1.3rem; border-top: 1px solid #292b31; color: #747781; font-size: .75rem; }
.compact-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.compact-footer > span { color: #747781; font-size: .78rem; }
.compact-footer nav { flex-direction: row; flex-wrap: wrap; }

@media (max-width: 1020px) {
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 470px; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-band { grid-template-columns: 1fr; padding: 3rem; }
  .feature-band.reverse .feature-copy, .feature-band.reverse .feature-graphic { order: initial; }
  .workflow-wrap, .trust-grid { grid-template-columns: 1fr; gap: 2rem; }
  .final-card { grid-template-columns: 110px 1fr; }
  .final-card .button { grid-column: 1 / -1; justify-self: start; }
  .catalog { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 2rem)); }
  .header-row { flex-wrap: wrap; padding: .65rem 0; }
  .nav { order: 2; width: 100%; justify-content: flex-start; overflow-x: auto; gap: 1rem; padding-bottom: .15rem; }
  .hero-grid { min-height: auto; padding: 4.5rem 0; }
  .hero h1 { font-size: clamp(3.4rem, 15vw, 5.4rem); }
  .hero-visual { min-height: 360px; }
  .floating-tool { display: none; }
  .visual-label { display: none; }
  .quick-tools, .feature-showcase, .product-tour, .all-tools, .workflow-section { padding: 5rem 0; }
  .tool-grid, .feature-pair, .catalog { grid-template-columns: 1fr; }
  .feature-band { min-height: auto; padding: 2rem; }
  .feature-card { min-height: 520px; padding: 2rem; }
  .feature-copy h3, .feature-card h3 { font-size: 2.55rem; }
  .feature-graphic { min-height: 330px; }
  .paper-demo, .scan-page { padding: 2.5rem 2rem; }
  .final-card { grid-template-columns: 1fr; padding: 2rem; }
  .final-card img { width: 100px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  .tool-grid { grid-template-columns: 1fr; }
  .tool-grid a { min-height: 155px; }
  .tool-icon { margin-bottom: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor { animation: none; }
  .tool-grid a { transition: none; }
}
