:root {
  color-scheme: dark;
  --bg: #080b14;
  --surface: #0e1424;
  --line: #27334a;
  --text: #f3f6ff;
  --muted: #a5b0c6;
  --cyan: #81e8ff;
  --lilac: #b5a3ff;
  --radius: 22px;
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg:not(.symbols) { width: 1.12em; height: 1.12em; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; inset: 8px auto auto 8px; z-index: 20; padding: .6rem 1rem; background: var(--surface); transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { position: sticky; top: 14px; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 10px 8px 16px; margin-top: 14px; background: #101629e8; border: 1px solid #2c3751; border-radius: 100px; backdrop-filter: blur(14px); }
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 760; line-height: 1.2; white-space: nowrap; }
.brand img { border-radius: 8px; border: 1px solid #303e55; }
.version { color: var(--muted); font-size: .68em; margin-left: 6px; font-weight: 600; }
.header nav { display: flex; gap: clamp(14px, 3vw, 34px); color: var(--muted); font-size: .88rem; }
.header nav a:hover, .footer a:hover { color: var(--cyan); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 13px 20px; border: 1px solid #35435f; border-radius: 100px; font-size: .92rem; font-weight: 700; line-height: 1.25; transition: background-color .2s, border-color .2s, box-shadow .2s; }
.button.small { padding: 10px 14px; background: #1b2340; font-size: .84rem; white-space: nowrap; }
.button.primary { background: linear-gradient(108deg,#b8a3ff 8%,#82ddfb 96%); color: #10112b; border-color: transparent; box-shadow: 0 5px 30px #8876ef38; }
.button.primary:hover { box-shadow: 0 7px 36px #8876ef75; }
.button.secondary { background: #101727; }
.button.secondary:hover, .button.small:hover { border-color: #8291b7; }
.hero { position: relative; isolation: isolate; text-align: center; padding-top: clamp(56px,6.5vw,92px); }
.hero::before { content: ""; position: absolute; inset: -85px 0 14%; z-index: -2; background: radial-gradient(ellipse at 24% 3%,#6638c23f,transparent 52%),radial-gradient(ellipse at 74% 10%,#0d778e38,transparent 47%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: -80px 0 20%; z-index: -1; background: repeating-linear-gradient(0deg,#a2b5ee10 0 1px,transparent 1px 58px),repeating-linear-gradient(90deg,#a2b5ee10 0 1px,transparent 1px 58px); mask-image: radial-gradient(ellipse at 50% 25%,black,transparent 74%); pointer-events: none; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px; border: 1px solid #414671; border-radius: 100px; background: #151c39cc; color: #e1d9ff; font-size: .76rem; font-weight: 700; }
.signal { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px #78ecff99; }
.pill-separator { width: 1px; height: 12px; background: #67668e; }
h1,h2,h3,p,figure { margin: 0; }
h1 { margin-top: 23px; font-size: clamp(3.15rem, 7vw, 6.4rem); letter-spacing: -.064em; line-height: .97; font-weight: 790; }
h1 span { color: var(--cyan); background: linear-gradient(100deg,#c6aaff 7%,#9e9eff 48%,#75ecf0 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy > p { margin: 21px auto 0; max-width: 34rem; color: var(--muted); font-size: clamp(1rem,1.7vw,1.18rem); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 25px; }
.showcase { margin-top: 42px; max-width: 1030px; border-radius: var(--radius); overflow: hidden; border: 1px solid #3c4c71; background: #101523; box-shadow: 0 -15px 85px #6263d72a, 0 25px 65px #0007; }
.window-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 11px 15px; color: var(--muted); font-size: .76rem; background: linear-gradient(90deg,#161b32,#101c2e); border-bottom: 1px solid #313a52; }
.lights { display: flex; gap: 5px; }
.lights i { width: 7px; height: 7px; border-radius: 50%; background: #f27c99; }
.lights i:nth-child(2) { background: #efc17e; }
.lights i:nth-child(3) { background: #84d5bd; }
.zoomable { display: block; position: relative; min-width: 0; background: #10131b; overflow: hidden; border-radius: 13px; }
.zoomable img { width: 100%; }
.hero-image { border-radius: 0; }
.zoom-icon { position: absolute; inset: auto 11px 11px auto; display: grid; place-items: center; width: 35px; height: 35px; background: #111b30e8; border: 1px solid #4b5b7b; border-radius: 9px; color: var(--cyan); }
.zoomable:hover .zoom-icon { background: #243357; }
.showcase figcaption { color: var(--muted); padding: 8px; font-size: .72rem; border-top: 1px solid var(--line); }
.tech-strip { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 31px; border-block: 1px solid var(--line); }
.tech-strip span { padding: 13px 5px; color: var(--muted); font-size: .8rem; font-weight: 670; letter-spacing: .06em; }
.tech-strip span + span { border-left: 1px solid var(--line); }
.section { padding-block: clamp(58px,8vw,105px); scroll-margin-top: 58px; }
.section-head { text-align: center; margin: 0 auto 29px; max-width: 700px; }
.section-head.align-left { text-align: left; margin: 0; }
.kicker { color: var(--cyan); letter-spacing: .15em; font-size: .73rem; font-weight: 750; line-height: 1.35; margin-bottom: 12px; }
.kicker .signal { margin-right: 6px; }
h2 { font-size: clamp(2.05rem,4vw,3.25rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 760; }
h2 em { color: var(--lilac); font-style: normal; }
.section-head > p:last-child { color: var(--muted); margin-top: 12px; }
.features { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 12px; }
.feature,.platform,.agent-example { background: linear-gradient(140deg,#151e34,#0d1322 80%); border: 1px solid var(--line); border-radius: var(--radius); }
.feature { padding: 23px; grid-column: span 4; }
.feature:nth-child(2), .feature:nth-child(3) { grid-column: span 3; }
.feature-main { grid-column: span 6; background: radial-gradient(ellipse at 90% -10%,#3d407864,transparent 75%),linear-gradient(140deg,#151f37,#0d1322); }
.feature-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; color: var(--cyan); background: #182948; border: 1px solid #354871; border-radius: 11px; margin-bottom: 14px; }
h3 { font-size: clamp(1.12rem,2vw,1.35rem); line-height: 1.24; letter-spacing: -.02em; }
.feature p,.gallery-copy p:not(.kicker),.platform small { color: var(--muted); margin-top: 8px; font-size: .92rem; }
.feature.feature-security { grid-column: 1 / -1; scroll-margin-top: 94px; }
.feature-security p { max-width: 76ch; }
.file-pair { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.file-pair span, code { background: #101728; border: 1px solid #334365; border-radius: 6px; padding: 3px 8px; color: #bfcced; font: .75rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.product-section { background: radial-gradient(ellipse at 50% 0%,#35226541,transparent 72%),#0b1020; border-block: 1px solid #242c42; }
.gallery { padding: 15px; border: 1px solid #374663; border-radius: var(--radius); background: #0e1525; }
.gallery-nav { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 0 13px; border-bottom: 1px solid var(--line); }
.gallery-nav a { border: 1px solid transparent; border-radius: 8px; padding: 7px 11px; color: var(--muted); font-size: .83rem; font-weight: 700; }
.gallery-nav a[aria-selected="true"], .gallery-nav a:hover { color: var(--text); background: #202d48; border-color: #3f507b; }
.gallery-panel { display: grid; align-items: center; grid-template-columns: minmax(0,1fr) minmax(0,2.25fr); gap: 22px; padding: 15px 0 0; scroll-margin-top: 90px; }
.gallery-panel + .gallery-panel { margin-top: 14px; border-top: 1px solid var(--line); }
.gallery-copy { padding: 8px; }
.gallery-panel .zoomable,.agent-example .zoomable { border: 1px solid #2e3c53; }
.image-stack { display: grid; gap: 8px; }
.agent-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px,5vw,70px); }
.steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: .9rem; }
.steps span { color: var(--cyan); font-weight: 730; margin-right: 9px; }
.agent-example { padding: 17px; box-shadow: 0 0 60px #593eac16; }
blockquote { margin: 0; font-size: clamp(1.1rem,2vw,1.5rem); line-height: 1.35; font-weight: 630; letter-spacing: -.02em; }
.agent-status { display: flex; align-items: center; gap: 7px; margin-block: 13px; font-size: .79rem; color: var(--cyan); }
#platforme { padding-top: 18px; }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.platform { padding: 22px; display: flex; align-items: flex-start; gap: 14px; }
.platform-download { display: inline-flex; flex: none; align-items: center; gap: 7px; min-height: 44px; margin-left: auto; padding: 6px 10px; border: 1px solid #354871; border-radius: 9px; background: #182948; color: var(--cyan); font-size: .73rem; font-weight: 750; }
.platform-download:hover { border-color: var(--cyan); background: #223655; }
.platform p { margin-top: 5px; color: var(--muted); font-size: .88rem; }
.platform small { display: block; margin-top: 6px; font-size: .8rem; }
.platform-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; flex: none; background: #1d2a47; color: var(--cyan); font-weight: 760; }
.platform-mark.win { grid-template-columns: repeat(2,6px); grid-template-rows: repeat(2,6px); gap: 2px; place-content: center; }
.platform-mark i { background: var(--cyan); width: 6px; height: 6px; }
.mac-guide-link, .mac-guide-note a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.mac-guide { grid-column: 1 / -1; padding: clamp(17px, 3.4vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); scroll-margin-top: 94px; }
.mac-guide > h3 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
.mac-guide-intro { max-width: 74ch; margin-top: 8px; color: var(--muted); }
.mac-guide-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: mac-step; }
.mac-guide-steps > li { counter-increment: mac-step; min-width: 0; }
.mac-guide-steps img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: var(--bg); }
.mac-guide-steps h4 { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 6px; font-size: .96rem; line-height: 1.35; }
.mac-guide-steps h4::before { content: counter(mac-step); flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #243450; color: var(--cyan); font-size: .75rem; }
.mac-guide-steps p, .mac-guide-note { color: var(--muted); font-size: .86rem; }
.mac-guide-steps strong, .mac-guide-note strong { color: var(--text); }
.mac-guide-note { display: grid; gap: 7px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 18px; }
.imap-guides, .imap-guide-setup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.imap-guide { min-width: 0; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); scroll-margin-top: 94px; }
.imap-guide h3 { margin-bottom: 14px; }
.imap-guide figure img { aspect-ratio: 16 / 10; object-fit: contain; }
.imap-guide figcaption, .imap-guide-note { margin-top: 8px; font-size: .84rem; color: var(--muted); }
.imap-guide a:not(.zoomable), .questions p a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.imap-guide ol { padding-inline-start: 1.35rem; font-size: .93rem; }
.imap-guide li + li { margin-top: 8px; }
.imap-servers { margin: 14px 0; padding: 12px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.imap-servers dt { font-size: .78rem; font-weight: 650; color: var(--muted); }
.imap-servers dd { margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
.imap-servers dd + dt { margin-top: 8px; }
.imap-guide-setup { margin-top: 18px; align-items: center; }
.faq { padding-top: 12px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; }
.questions { border-top: 1px solid var(--line); }
.faq, .faq-imap, #agenda-contacte { scroll-margin-top: 94px; }
.faq-imap { grid-column: 1 / -1; border-top: 1px solid var(--line); min-width: 0; }
.faq-imap-content { padding-bottom: 18px; }
.faq-imap-intro { margin-bottom: 4px; }
.faq-imap-content .imap-guide p { padding-bottom: 0; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 11px 26px 11px 0; font-weight: 650; cursor: pointer; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; color: var(--cyan); }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 13px; color: var(--muted); font-size: .9rem; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.footer a:last-child { display: inline-flex; align-items: center; gap: 5px; }
.contact-callout, .contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 42px); }
.contact-callout { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; }
.contact-callout p, .contact-intro { margin-top: 8px; color: var(--muted); }
.contact-page { max-width: 740px; }
.contact-form { display: grid; gap: 16px; margin-top: 24px; }
.contact-field { display: grid; gap: 5px; font-weight: 650; }
.contact-field input, .contact-field textarea { width: 100%; padding: 10px 12px; background: var(--bg); color: var(--text); border: 1px solid #475571; border-radius: 9px; font: inherit; font-weight: 400; }
.contact-field textarea { resize: vertical; min-height: 128px; }
.contact-check { max-width: 13rem; }
.contact-form .button { justify-self: start; cursor: pointer; }
.contact-note { color: var(--muted); font-size: .87rem; }
.contact-feedback { margin-top: 16px; border-left: 3px solid var(--cyan); padding: 8px 12px; background: var(--bg); }
.contact-feedback.error { border-color: #f7a995; }
.download-terms { display: grid; gap: 16px; margin-top: 25px; }
.download-heading { margin: 6px 0 0; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; }
.download-terms h2 { font-size: 1.05rem; letter-spacing: 0; }
.download-terms p { color: var(--muted); margin-top: 4px; }
.download-consent { display: flex; align-items: flex-start; gap: 10px; }
.download-consent input { width: 1.1rem; height: 1.1rem; margin: .22rem 0 0; flex: none; accent-color: var(--cyan); }
.image-dialog { width: min(1200px,calc(100vw - 32px)); max-width: none; padding: 10px; border: 1px solid #4a5c87; border-radius: 15px; background: var(--surface); color: var(--text); }
.image-dialog::backdrop { background: #02050bed; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px 8px; font-size: .85rem; }
.image-dialog > img { width: 100%; max-height: 79dvh; object-fit: contain; }
.close { display: grid; place-items: center; border: 1px solid var(--line); background: #18243c; color: var(--text); border-radius: 7px; width: 35px; height: 35px; cursor: pointer; }
@media (max-width: 780px) {
  .wrap { width: calc(100% - 36px); }
  .header nav { gap: 12px; }
  .header nav a:first-child, .header nav a[href="#interfata"], .header nav a[href="#platforme"], .header nav a[href="contact.php"] { display: none; }
  .features { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature, .feature:nth-child(2), .feature:nth-child(3) { grid-column: auto; }
  .feature-main { grid-column: span 2; }
  .gallery-panel,.agent-grid,.faq { grid-template-columns: 1fr; }
  .gallery-copy { padding: 3px 0; }
}
@media (max-width: 650px) {
  .mac-guide-steps { grid-template-columns: 1fr; }
  .imap-guides, .imap-guide-setup { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .wrap { width: calc(100% - 28px); }
  .header nav { display: none; }
  .header { top: 8px; padding-left: 10px; }
  .hero { padding-top: 54px; }
  .showcase { margin-top: 26px; }
  .window-bar { grid-template-columns: 30px 1fr 30px; }
  .tech-strip { grid-template-columns: 1fr 1fr; }
  .tech-strip span:nth-child(3) { border-left: 0; }
  .tech-strip span:nth-child(n+3) { border-top: 1px solid var(--line); }
  .features,.platform-grid { grid-template-columns: 1fr; }
  .feature-main { grid-column: auto; }
  .mac-guide { grid-row: 2; }
  .platform-windows { grid-row: 3; }
  .footer > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; }
}
