:root {
  --bg: #070B12;
  --bg-soft: #0D1320;
  --card: #111827;
  --blue: #0078D4;
  --red: #FF2D2D;
  --green: #00FF88;
  --white: #F5F5F5;
  --muted: #A7B0C0;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 11, 18, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  width: min(1180px, 92%);
  min-height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -1px;
  white-space: nowrap;
}

.logo span,
.footer-brand span {
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
}

.nav-links > li > a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: 0.25s;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-cta {
  border: 1px solid rgba(0, 255, 136, 0.35);
  color: var(--green) !important;
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  background: none;
  color: var(--white);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #0B101A;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.7rem;
  list-style: none;
  box-shadow: var(--shadow);
  display: none;
  z-index: 2000;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.dropdown-menu a:hover {
  background: rgba(0, 255, 136, 0.08);
  color: var(--green);
}

.hero {
  width: min(1180px, 92%);
  min-height: calc(100vh - 78px);
  margin: auto;
  padding: 5rem 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.eyebrow {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 900;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -3px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.hero-text {
  color: var(--muted);
  max-width: 650px;
  font-size: 1.12rem;
  margin: 1.5rem 0 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 12px;
  font-weight: 900;
  transition: 0.25s;
}

.btn-primary {
  background: var(--green);
  color: #031108;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.22);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-3px);
}

.terminal-card {
  background: linear-gradient(145deg, #101827, #070B12);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.terminal-top {
  height: 48px;
  background: #0B101A;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 1rem;
  border-bottom: 1px solid var(--border);
}

.terminal-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
}

.terminal-top span:nth-child(2) { background: #FFB020; }
.terminal-top span:nth-child(3) { background: var(--green); }

.terminal-body {
  padding: 1.5rem;
  font-family: Consolas, monospace;
}

.terminal-body p {
  margin-bottom: 0.8rem;
}

.green { color: var(--green); }
.red { color: var(--red); }
.blue { color: var(--blue); }

.section {
  width: min(1180px, 92%);
  margin: auto;
  padding: 5rem 0;
}

.section-header {
  max-width: 740px;
  margin-bottom: 2.5rem;
}

.section-header p,
.card p,
.cta-section p {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.6rem;
  transition: 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 136, 0.35);
}

.card-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card a {
  color: var(--green);
  font-weight: 900;
}

.cta-section {
  text-align: center;
  background: linear-gradient(145deg, rgba(0, 120, 212, 0.18), rgba(0, 255, 136, 0.08));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 4rem 2rem;
}

.email-form {
  max-width: 540px;
  margin: 2rem auto 0;
  display: flex;
  gap: 0.8rem;
}

.email-form input {
  flex: 1;
  background: #05080F;
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  outline: none;
}

.email-form input:focus {
  border-color: var(--green);
}

.email-form button {
  background: var(--green);
  color: #031108;
  border: none;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-weight: 900;
  cursor: pointer;
}

/* FOOTER CORREGIDO */

.footer {
  width: min(1180px, 92%);
  margin: auto;
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  border-top: 1px solid var(--border);
  align-items: start;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--white);
}

.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  transition: 0.25s;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .nav-links {
    gap: 0.7rem;
  }

  .nav-links > li > a {
    font-size: 0.84rem;
  }
}

@media (max-width: 992px) {
  .footer {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    background: #070B12;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 6%;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links > li {
    width: 100%;
  }

  .nav-links > li > a {
    display: block;
    width: 100%;
    font-size: 1rem;
    padding: 0.3rem 0;
  }

  .dropdown-menu {
    position: static;
    min-width: auto;
    width: 100%;
    box-shadow: none;
    border-radius: 12px;
    margin-top: 0.6rem;
    display: none;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 2rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .email-form {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .footer {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .footer-brand {
    max-width: none;
  }

  h1 {
    letter-spacing: -2px;
  }
}

/* ===============================
   ARTICLE PAGES
================================ */

.article {
  width: min(920px, 92%);
  margin: auto;
}

.article-hero {
  padding: 5rem 0 3rem;
}

.article-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -2px;
}

.article-hero p {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 760px;
  margin-top: 1.2rem;
}

.article-content {
  padding-bottom: 5rem;
}

.article-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin-top: 3rem;
}

.article-content p,
.article-content li {
  color: var(--muted);
}

.article-content p,
.article-content ul,
.article-content ol {
  margin-top: 1rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.4rem;
}

.warning-box,
.next-box {
  background: linear-gradient(145deg, #111827, #0B101A);
  border: 1px solid rgba(255, 45, 45, 0.35);
  border-radius: 22px;
  padding: 2rem;
  margin: 2rem 0;
}

.next-box {
  border-color: rgba(0, 255, 136, 0.35);
}

.warning-box span {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.7rem;
}

.command-box {
  background: #05080F;
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 16px;
  padding: 1rem;
  margin: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.command-box code {
  font-family: Consolas, monospace;
  color: var(--green);
  font-size: 1.05rem;
}

.copy-btn {
  background: var(--green);
  color: #031108;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-weight: 900;
  cursor: pointer;
}

.copy-btn:hover {
  opacity: 0.9;
}

@media (max-width: 576px) {
  .command-box {
    flex-direction: column;
    align-items: stretch;
  }

  .copy-btn {
    width: 100%;
  }
}

.hero-small {
  width: min(1180px, 92%);
  margin: auto;
  padding: 100px 0 60px;
}

.hero-small-content {
  max-width: 800px;
}

.hero-small-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-small-content p {
  color: var(--muted);
  font-size: 1.1rem;
}

.command-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 700px) {
  .command-list {
    grid-template-columns: 1fr;
  }
}

/* CONTACT FORM */

.contact-form {
    max-width: 800px;
    margin: auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    background: #0B101A;
    border: 1px solid var(--border);
    color: var(--white);
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
}

@media (max-width:900px){

  .dropdown-menu{

    max-height:0;

    overflow:hidden;

    transition:.3s ease;

    position:static;

    opacity:1;

    visibility:visible;

    transform:none;

    background:#0d121c;

    margin-top:8px;

    border-radius:10px;

  }

  .dropdown.open .dropdown-menu{

    max-height:600px;

  }

}
.dropdown:hover .dropdown-menu{

  opacity:1;
  visibility:visible;

}
/*logo*/
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 58px;
  width: auto;
  display: block;
  transition: 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.03);
}
@media (max-width: 900px) {

  .logo-img {
    height: 42px;
  }

}


.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo-img {
  width: 260px;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
}

@media (max-width: 900px) {

  .footer-logo-img {
    width: 190px;
  }

}