:root {
  color-scheme:dark;
  --bg:#0a0a0d;
  --panel:#141419;
  --panel2:#19191f;
  --border:#292930;
  --text:#f4f4f6;
  --muted:#a1a1ac;
  --red:#e62b37;
  --red2:#a91220;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  line-height:1.6
}

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

a:focus-visible {
  outline:3px solid #ff6770;
  outline-offset:4px
}

img {
  max-width:100%;
  height:auto
}

.container {
  width:min(1140px,calc(100% - 44px));
  margin-inline:auto
}

.skip {
  position:absolute;
  top:-80px;
  left:12px;
  background:white;
  color:black;
  padding:10px;
  z-index:10
}

.skip:focus {
  top:12px
}

.site-header {
  position:sticky;
  top:0;
  z-index:5;
  background:#0a0a0de8;
  backdrop-filter:blur(16px);
  border-bottom:1px solid #ffffff12
}

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

.brand {
  display:inline-flex;
  align-items:center;
  gap:11px;
  font-size:22px;
  font-weight:800;
  letter-spacing:-.8px;
  white-space:nowrap
}

.omega {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  background:linear-gradient(135deg,#2b1518,#151317);
  border:1px solid #80202b;
  border-radius:12px;
  color:#ff4450;
  font-size:29px;
  line-height:1
}

.red {
  color:#f04750
}

.nav nav {
  display:flex;
  align-items:center;
  gap:29px;
  font-size:14px;
  color:#d4d4d9
}

.nav nav a:hover,.footer-links a:hover {
  color:#ff6670
}

.nav-github {
  border:1px solid #4a3136;
  border-radius:9px;
  padding:9px 15px
}

.hero {
  display:grid;
  grid-template-columns:1.04fr .96fr;
  align-items:center;
  gap:20px;
  min-height:650px;
  padding-top:45px;
  padding-bottom:55px
}

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

.eyebrow,.kicker {
  color:#ff6971;
  letter-spacing:2.1px;
  font-size:11px;
  font-weight:800
}

.eyebrow {
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid #65232c;
  background:#2a1419;
  padding:9px 13px;
  border-radius:30px
}

.pulse {
  width:7px;
  height:7px;
  border-radius:50%;
  background:#ff4c57;
  box-shadow:0 0 14px #ff364a
}

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

h1 {
  font-size:clamp(45px,5.4vw,76px);
  line-height:1.07;
  letter-spacing:-3.5px;
  margin:25px 0
}

h2 {
  font-size:clamp(33px,3.7vw,49px);
  line-height:1.16;
  letter-spacing:-1.8px;
  margin:14px 0 18px
}

h3 {
  font-size:19px;
  line-height:1.25;
  letter-spacing:-.4px
}

.gradient {
  background:linear-gradient(100deg,#ff6b72,#d52232 60%,#921322);
  color:transparent;
  background-clip:text
}

.hero-copy>p {
  max-width:530px;
  color:#b5b5be;
  font-size:18px;
  line-height:1.85
}

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

.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  padding:13px 21px;
  border-radius:10px;
  font-weight:750;
  font-size:14px;
  min-height:49px;
  transition:transform .2s,background .2s
}

.button:hover {
  transform:translateY(-2px)
}

.primary {
  background:linear-gradient(130deg,#ed3a47,#b91525);
  color:#fff;
  box-shadow:0 8px 30px #a80f242d
}

.primary:hover {
  background:linear-gradient(130deg,#ff4c59,#c51b2a)
}

.secondary {
  background:#1c1c22;
  border:1px solid #43434d
}

.secondary:hover {
  background:#292931
}

.hero-notes {
  display:flex;
  gap:19px;
  flex-wrap:wrap;
  margin-top:26px;
  font-size:12px;
  color:#b9b9c1
}

.hero-visual {
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  min-width:0
}

.hero-visual img {
  width:min(100%,560px);
  position:relative;
  z-index:1;
  filter:drop-shadow(0 20px 38px #0009)
}

.visual-glow {
  position:absolute;
  width:75%;
  aspect-ratio:1;
  background:#a70f23;
  filter:blur(100px);
  opacity:.22
}

.strip {
  border-top:1px solid #ffffff12;
  border-bottom:1px solid #ffffff12;
  background:#121216
}

.strip-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-block:20px;
  font-size:11px;
  font-weight:750;
  letter-spacing:1.5px;
  color:#aaaab2
}

.dot {
  color:#c52a37
}

.section {
  padding-top:110px;
  padding-bottom:110px;
  scroll-margin-top:75px
}

.section-heading {
  max-width:650px;
  margin-bottom:42px
}

.section-heading p {
  color:var(--muted);
  font-size:16px
}

.muted {
  color:#8f8f9b
}

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

.feature {
  padding:28px;
  border:1px solid var(--border);
  border-radius:16px;
  background:linear-gradient(145deg,#18181e,#101014);
  min-height:218px
}

.feature-icon {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  margin-bottom:24px;
  border:1px solid #63303a;
  background:#31171d;
  color:#ff6570;
  border-radius:12px;
  font-size:28px;
  font-weight:700
}

.feature h3 {
  margin-bottom:10px
}

.feature p {
  font-size:14px;
  color:var(--muted);
  margin:0
}

.downloads-section {
  background:linear-gradient(180deg,#111115,#181016 45%,#101014);
  border-block:1px solid #ffffff10
}

.center {
  text-align:center;
  margin-inline:auto
}

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

.download-card {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:18px;
  padding:34px;
  border:1px solid #443039;
  border-radius:18px;
  background:#17161c
}

.platform {
  font-size:52px;
  color:#ff5965;
  line-height:1
}

.platform.linux {
  color:#e5e5eb
}

.download-card h3 {
  font-size:24px;
  margin:0 0 8px
}

.download-card p {
  color:var(--muted);
  margin:0
}

.download-card .button {
  margin-top:auto
}

.download-note {
  text-align:center;
  color:var(--muted);
  font-size:13px;
  margin:25px 0 0
}

.download-note a {
  color:#ff777f;
  text-decoration:underline
}

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

.step {
  border-top:1px solid #71303b;
  padding:22px 15px 0 0
}

.step>span {
  font-size:35px;
  font-weight:800;
  color:#e34550
}

.step h3 {
  margin:15px 0 8px
}

.step p {
  color:var(--muted);
  font-size:14px
}

.final-cta {
  margin-bottom:100px;
  padding:46px 48px;
  background:radial-gradient(circle at 90% 0,#6c1a26 0,transparent 45%),#1b1419;
  border:1px solid #67303b;
  border-radius:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px
}

.final-cta h2 {
  font-size:36px
}

.final-cta p {
  color:#b8aeb5;
  margin-bottom:0
}

.final-cta .button {
  white-space:nowrap
}

footer {
  border-top:1px solid #ffffff17;
  background:#0e0e12
}

.footer-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding-block:42px
}

.footer-inner p {
  color:var(--muted);
  font-size:13px;
  margin:12px 0 0
}

.footer-links {
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  font-size:13px;
  color:#b8b8c1
}

.legal {
  border-top:1px solid #ffffff12;
  padding-block:18px;
  color:#777781;
  font-size:12px
}

@media(max-width:900px) {
  .nav nav {
  gap:13px
}

.hero {
  min-height:auto;
  grid-template-columns:1fr 1fr
}

.hero-copy>p {
  font-size:16px
}

.feature-grid {
  grid-template-columns:repeat(2,1fr)
}

.strip-inner {
  flex-wrap:wrap;
  justify-content:center
}

.final-cta {
  padding:30px
}


}

@media(max-width:680px) {
  .container {
  width:min(100% - 30px,1140px)
}

.nav {
  min-height:65px
}

.brand {
  font-size:19px
}

.nav nav a:not(.nav-github) {
  display:none
}

.nav-github {
  padding:7px 10px
}

.hero {
  grid-template-columns:1fr;
  padding-top:55px;
  padding-bottom:40px;
  gap:0
}

.hero-visual {
  order:-1
}

.hero-visual img {
  width:min(100%,340px)
}

h1 {
  letter-spacing:-2px
}

.hero-copy {
  text-align:center
}

.hero-copy>p {
  margin-inline:auto
}

.actions,.hero-notes {
  justify-content:center
}

.strip-inner {
  font-size:9px
}

.strip-inner .dot {
  display:none
}

.section {
  padding-block:70px
}

.feature-grid,.download-grid,.steps {
  grid-template-columns:1fr
}

.feature {
  min-height:0
}

.download-card {
  padding:25px
}

.final-cta {
  margin-bottom:60px;
  flex-direction:column;
  align-items:flex-start
}

.final-cta h2 {
  font-size:29px
}

.footer-inner {
  align-items:flex-start;
  flex-direction:column
}

.footer-links {
  gap:13px
}


}


@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}

.button {
  transition:none
}


}



/* Redes sociais no cabeçalho, à esquerda de Recursos */
.nav .social-links {
  display:flex;
  align-items:center;
  gap:9px;
  margin-left:auto;
  flex-shrink:0
}


.nav .social-links a {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border:1px solid #593039;
  border-radius:12px;
  background:#21151a;
  color:#e7dce0;
  transition:background .2s,color .2s,border-color .2s,transform .2s
}


.nav .social-links a:hover {
  background:#451b25;
  color:#ff6570;
  border-color:#b53243;
  transform:translateY(-2px)
}


.nav .social-links svg {
  width:24px;
  height:24px
}


@media(max-width:900px) {
  .nav {
  gap:12px
}

.nav .social-links {
  gap:6px
}

.nav .social-links a {
  width:36px;
  height:36px
}

.nav .social-links svg {
  width:21px;
  height:21px
}


}


@media(max-width:680px) {
  .nav .social-links {
  gap:5px
}

.nav .social-links a {
  width:32px;
  height:32px;
  border-radius:9px
}

.nav .social-links svg {
  width:19px;
  height:19px
}


}


@media(max-width:400px) {
  .nav {
  gap:7px
}

.brand {
  gap:5px;
  font-size:16px
}

.omega {
  width:34px;
  height:34px;
  font-size:25px
}

.nav .social-links a {
  width:29px;
  height:29px
}

.nav-github {
  font-size:12px;
  padding:6px 7px
}


}



/* OmegaSub: tres plataformas e navegacao de repositorios */
.download-grid {
  grid-template-columns:repeat(3,minmax(0,1fr))
}


.download-card {
  min-width:0
}


.download-card .button {
  width:100%;
  text-align:center
}


.cta-downloads {
  display:flex;
  gap:10px;
  flex-wrap:wrap
}


.nav nav {
  gap:12px
}


@media(max-width:950px) {
  .download-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))
}

.nav {
  flex-wrap:wrap;
  justify-content:center;
  padding-block:10px
}

.nav nav {
  justify-content:center;
  flex-wrap:wrap
}


}


@media(max-width:680px) {
  .download-grid {
  grid-template-columns:1fr
}

.nav nav {
  gap:7px
}

.nav-github {
  font-size:11px;
  padding:7px 8px
}

.cta-downloads {
  width:100%
}

.cta-downloads .button {
  flex:1
}

.hero .actions .button {
  flex:1 1 145px
}


}



/* Ajustes finais: downloads uniformes e redes sociais apos a navegacao */
.nav .social-links {
  margin-left:8px
}


.nav nav {
  margin-left:auto;
  display:flex;
  align-items:center
}


.nav nav .social-links {
  display:flex;
  align-items:center
}


@media(max-width:680px) {
  .nav nav a:not(.nav-github) {
  display:inline-flex
}


  .nav {
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  padding-block:10px
}


  .nav nav {
  margin-left:0;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px
}


  .nav nav .social-links {
  margin-left:0;
  gap:7px
}



}



/* Orientações de organização de vídeos */
.file-guide {
  padding-top:86px;
  padding-bottom:18px
}

.file-guide-heading {
  max-width:850px;
  margin-bottom:28px
}

.file-guide-heading h2 {
  font-size:clamp(28px,3vw,40px)
}

.file-guide-heading p,.file-guide-card p {
  color:var(--muted)
}

.file-guide-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px
}

.file-guide-card {
  background:linear-gradient(145deg,#19171c,#111115);
  border:1px solid #50303a;
  border-radius:16px;
  padding:28px;
  min-width:0
}

.file-guide-card h3 {
  margin-bottom:15px
}

.file-guide-card strong {
  color:var(--text)
}

.file-guide-card code,.file-guide-note code {
  color:#ff8b92;
  font-size:.94em;
  overflow-wrap:anywhere
}

.file-guide-example {
  margin-bottom:0
}

.file-guide-tree {
  background:#0b0b0f;
  border:1px solid #34262b;
  border-radius:10px;
  padding:16px;
  overflow-x:auto;
  line-height:1.65;
  font-size:13px;
  color:#e5dfe1
}

.file-guide-tree code {
  color:inherit;
  overflow-wrap:normal
}

.file-guide-note {
  margin:18px 0 0;
  padding:20px 22px;
  border-left:3px solid var(--red);
  background:#1b1519;
  border-radius:0 10px 10px 0;
  color:#c5bdc1
}

.file-guide-note strong {
  color:#fff
}

@media(max-width:680px) {
  .file-guide {
  padding-top:65px;
  padding-bottom:0
}

.file-guide-grid {
  grid-template-columns:1fr
}

.file-guide-card {
  padding:22px
}

.file-guide-tree {
  font-size:12px
}


}



.custom-section,.backup-section {
  background:#111115;
  border-block:1px solid #ffffff12
}

.example-panel {
  margin-top:20px;
  padding:26px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#141419
}

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

.example-grid div {
  padding:14px;
  background:#202027;
  border-radius:8px
}

.example-grid small {
  display:block;
  color:var(--muted)
}

.example-panel p {
  margin:16px 0 0;
  color:var(--muted)
}

.project-card {
  display:flex;
  align-items:center;
  gap:22px;
  padding:28px;
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--panel)
}

.project-card .omega {
  flex-shrink:0;
  width:64px;
  height:64px;
  font-size:42px
}

.project-card p {
  margin:0;
  color:var(--muted)
}

.project-card h3 {
  margin-bottom:8px
}

.project-card .button {
  margin-left:auto;
  white-space:nowrap
}

.hero-visual img {
  width:min(100%,440px);
  border-radius:24px
}

.section {
  scroll-margin-top:145px
}

@media(max-width:680px) {
  .example-grid {
  grid-template-columns:1fr 1fr
}

.project-card {
  flex-wrap:wrap
}

.project-card .button {
  margin-left:0;
  width:100%
}

.hero-visual img {
  width:min(75%,300px)
}

.nav nav {
  font-size:12px
}

.eyebrow {
  letter-spacing:1px;
  font-size:10px
}


}


/* Portal OmegaSoftware */
.portal-hero { min-height: 520px; }
.portal-logo { width: min(100%, 380px); position: relative; z-index: 1; }
.portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.portal-card { display: flex; flex-direction: column; align-items: flex-start; padding: 30px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(145deg, #19191f, #101014); }
.portal-card h3 { font-size: 25px; margin-bottom: 12px; }
.portal-card p { color: var(--muted); margin-bottom: 26px; }
.portal-card .button { margin-top: auto; width: 100%; }
.portal-card .feature-icon svg { width: 26px; height: 26px; }
@media (max-width: 850px) {
  .portal-grid { grid-template-columns: 1fr; }
  .portal-hero { min-height: auto; }
  .portal-logo { max-width: 250px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
