/* NAS Manager website - by Mario DANTAS */
:root {
  --bg: #0b1020;
  --bg-2: #0f1630;
  --bg-3: #141d3d;
  --line: rgba(148, 163, 184, .14);
  --line-2: rgba(148, 163, 184, .24);
  --text: #e6ebf5;
  --muted: #9aa6bf;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --violet: #8b5cf6;
  --green: #22c55e;
  --grad: linear-gradient(100deg, #60a5fa 0%, #22d3ee 45%, #a78bfa 100%);
  --radius: 18px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px var(--line);
  --font: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .5;
  pointer-events: none;
  z-index: -1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #93c5fd; text-decoration: none; }
a:hover { color: #bfdbfe; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid #22d3ee; outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(900px, 100% - 32px); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.35em;
  border-radius: 999px;
  background: linear-gradient(100deg, #2563eb, #0891b2);
  color: #fff; font-weight: 600; font-size: 16px; line-height: 1;
  box-shadow: 0 10px 30px -10px rgba(37, 99, 235, .8), inset 0 1px 0 rgba(255, 255, 255, .2);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s;
  white-space: nowrap;
}
.btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 16px 40px -12px rgba(37, 99, 235, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn .ic { transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.btn-ghost { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .4); }
.btn-sm { padding: .6em 1.05em; font-size: 14.5px; }
.btn-lg { padding: 1em 1.7em; font-size: 17px; }

/* ---------- language suggestion ---------- */
.suggest { background: linear-gradient(90deg, rgba(37, 99, 235, .25), rgba(8, 145, 178, .25)); border-bottom: 1px solid var(--line); font-size: 15px; }
.suggest-in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; }
.suggest a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; margin-left: 6px; }
.suggest-x { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px; display: inline-flex; border-radius: 8px; }
.suggest-x:hover { color: var(--text); background: rgba(255, 255, 255, .06); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 32, .65);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.top.scrolled { border-bottom-color: var(--line); background: rgba(11, 16, 32, .85); }
.top-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { border-radius: 9px; box-shadow: 0 6px 20px -6px rgba(6, 182, 212, .7); }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-size: 17.5px; letter-spacing: -.01em; }
.brand small { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.menu a:not(.btn) { color: var(--muted); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.menu a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.menu .btn { margin-left: 8px; }

.langs { position: relative; }
.langs summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 11px; border-radius: 10px;
  color: var(--muted); font-size: 14px; font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line);
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { color: var(--text); background: rgba(255, 255, 255, .05); }
.langs ul {
  position: absolute; right: 0; top: calc(100% + 8px);
  margin: 0; padding: 6px; list-style: none; min-width: 170px;
  background: var(--bg-3); border-radius: 14px; box-shadow: var(--shadow);
}
.langs ul a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--text); font-size: 15px; }
.langs ul a:hover { background: rgba(255, 255, 255, .06); }
.langs ul a[aria-current] { color: #67e8f9; font-weight: 600; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; margin-right: -10px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 80px 0 40px; overflow: hidden; }
.glow {
  position: absolute; inset: -20% -10% auto; height: 700px;
  background:
    radial-gradient(40% 50% at 25% 40%, rgba(37, 99, 235, .35), transparent 70%),
    radial-gradient(35% 45% at 75% 30%, rgba(139, 92, 246, .28), transparent 70%),
    radial-gradient(30% 40% at 60% 70%, rgba(6, 182, 212, .22), transparent 70%);
  filter: blur(20px);
  pointer-events: none; z-index: -1;
}
.hero-in { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(34, 211, 238, .08); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .3);
  color: #a5f3fc; font-size: 14px; font-weight: 500;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 0 4px rgba(34, 211, 238, .2); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(34, 211, 238, .25); } 50% { box-shadow: 0 0 0 7px rgba(34, 211, 238, 0); } }
.hero h1 { font-size: clamp(38px, 5vw, 62px); font-weight: 800; margin: 22px 0 22px; letter-spacing: -.035em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline; }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); max-width: 590px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 26px; font-size: 14.5px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .ic { color: var(--green); }

.hero-visual { position: relative; perspective: 1600px; }
.frame {
  margin: 0;
  border-radius: 14px; overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow), 0 0 120px -30px rgba(59, 130, 246, .55);
}
.hero-visual .frame { transform: rotateY(-8deg) rotateX(3deg); transform-origin: left center; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.hero-visual:hover .frame { transform: rotateY(-3deg) rotateX(1deg); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #1e2640; border-bottom: 1px solid rgba(0, 0, 0, .3); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ef4444; }
.frame-bar i:nth-child(2) { background: #f59e0b; }
.frame-bar i:nth-child(3) { background: #22c55e; }
.frame-bar span { margin: 0 auto; padding: 3px 14px; border-radius: 7px; background: rgba(255, 255, 255, .07); color: #94a3b8; font: 500 12px/1.4 ui-monospace, "Cascadia Code", Consolas, monospace; transform: translateX(-24px); }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 15px; border-radius: 14px;
  background: rgba(20, 29, 61, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--line-2);
  font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.chip .ic { color: #67e8f9; }
.chip-a { left: -26px; bottom: 16%; }
.chip-b { right: -14px; top: 9%; animation-delay: -2.3s; }
.chip-b .ic { color: #86efac; }
.chip-c { right: 8%; bottom: -18px; animation-delay: -4.6s; }
.chip-c .ic { color: #c4b5fd; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.stats {
  margin: 76px 0 0; display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius); overflow: hidden;
  background: var(--line); gap: 1px; box-shadow: 0 0 0 1px var(--line);
}
.stats div { background: rgba(15, 22, 48, .9); padding: 26px 24px; text-align: center; }
.stats dt { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dd { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }

/* ---------- sections ---------- */
.sec { padding: 110px 0; position: relative; }
.sec-alt { background: linear-gradient(180deg, transparent, rgba(20, 29, 61, .55) 12%, rgba(20, 29, 61, .55) 88%, transparent); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #67e8f9; margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* features */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 28px 26px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 41, 82, .55), rgba(15, 22, 48, .55));
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(96, 165, 250, .6), transparent 40%, transparent 60%, rgba(167, 139, 250, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px transparent, 0 24px 50px -20px rgba(0, 0, 0, .6); }
.card:hover::before { opacity: 1; }
.card-ic {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, .25), rgba(6, 182, 212, .18));
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .35);
  color: #7dd3fc; margin-bottom: 20px;
}
.card-ic .ic { width: 24px; height: 24px; stroke-width: 1.8; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; font-size: 14.5px; color: #c7d0e2; }
.card li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.45; }
.card li .ic { color: var(--green); margin-top: 2px; width: 16px; height: 16px; }

/* screenshots */
.tablist { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.tablist button {
  font: 600 15px/1 var(--font); color: var(--muted);
  padding: 11px 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line);
  transition: color .2s, background .2s, box-shadow .2s;
}
.tablist button:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.tablist button[aria-selected="true"] { color: #fff; background: linear-gradient(100deg, #2563eb, #0891b2); box-shadow: 0 10px 30px -12px rgba(37, 99, 235, .9); }
.panel { margin: 0 auto; max-width: 1040px; }
.panel figcaption { text-align: center; color: var(--muted); margin-top: 20px; font-size: 16px; }
.panel figcaption b { color: var(--text); margin-right: 6px; }
.js .panel[data-hidden] { display: none; }
.js .panel { animation: fade .45s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html:not(.js) .tablist { display: none; }
html:not(.js) .panel + .panel { margin-top: 48px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { padding: 30px 28px; border-radius: var(--radius); background: rgba(15, 22, 48, .6); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-weight: 800; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, #2563eb, #06b6d4); box-shadow: 0 10px 30px -10px rgba(6, 182, 212, .9);
  margin-bottom: 20px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* specs */
.specs { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: rgba(15, 22, 48, .6); }
.specs div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 26px; border-top: 1px solid var(--line); }
.specs div:first-child { border-top: 0; }
.specs dt { color: var(--muted); font-weight: 600; font-size: 15px; }
.specs dd { margin: 0; font-size: 15.5px; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: rgba(15, 22, 48, .6); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .4); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -.01em; }
.faq summary .ic { color: #67e8f9; transition: transform .25s; width: 20px; height: 20px; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }

/* contact */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 72px 32px; border-radius: 28px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .25), rgba(8, 145, 178, .18) 50%, rgba(139, 92, 246, .22));
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .3);
}
.cta .glow { inset: -40% -20% auto; height: 500px; opacity: .8; }
.cta h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.cta p { color: #c7d0e2; font-size: 18px; margin: 16px auto 30px; max-width: 560px; }
.cta .cta-mail { margin: 18px auto 0; font-size: 15px; color: var(--muted); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 40px; background: rgba(8, 12, 26, .6); }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 40px; }
.foot-brand p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 320px; }
.foot-nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 28px; align-content: start; }
.foot-nav a { color: var(--muted); font-size: 15px; }
.foot-nav a:hover, .foot-nav a[aria-current] { color: var(--text); }
.foot-legal h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.foot-legal p { color: var(--muted); font-size: 14px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.totop { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .menu a:not(.btn) { padding: 8px 9px; font-size: 14.5px; }
}
@media (max-width: 960px) {
  .hero { padding-top: 48px; }
  .hero-in { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual .frame { transform: none; }
  .chip-a { left: -8px; }
  .chip-b { right: -6px; }
  .burger { display: block; }
  .menu {
    position: fixed; inset: 68px 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 16px 22px; margin: 0;
    background: rgba(11, 16, 32, .97); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu.open { opacity: 1; transform: none; visibility: visible; }
  .menu a:not(.btn) { padding: 13px 12px; font-size: 17px; }
  .menu .btn { margin: 10px 0 0; justify-content: center; }
  .langs { margin-left: auto; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-legal { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .sec { padding: 76px 0; }
  .cards { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .chip { font-size: 12.5px; padding: 8px 12px; }
  .chip-c { display: none; }
  .specs div { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .brand small { display: none; }
  .cta { padding: 54px 22px; }
  .frame-bar span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  body::before, .glow, .top, .suggest, .chip, .tablist { display: none !important; }
  body { background: #fff; color: #000; }
  .js .panel[data-hidden] { display: block; }
  .js .reveal { opacity: 1; transform: none; }
}
