/* Reset */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #000;

}

/* Container (header) */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
}

/* Nav Desktop */
.nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav ul li {
  position: relative;
}

.nav a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #fff;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: min(750px, 90vw);
  padding-top: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 2000;
}

.dropdown-content {
  background: #111;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 40px;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.column h4 {
  font-weight: bold;
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.item {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.icon {
  width: 36px;
  height: 36px;
  border: 1px solid #333;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  flex-shrink: 0;
  transition: all 0.2s ease;

  display: flex;              
  align-items: center;
  justify-content: center;
  color: #aaa; 
}

.item:hover .icon {
  border-color: #555;
  background:#ffffff;
  color: #000;
}

.text {
  display: flex;
  flex-direction: column;
}

.title {
  color: #fff;
  font-size: 14px;
}

.desc {
  color: #888;
  font-size: 12px;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Botões */
.actions {
  display: flex;
  gap: 12px;
  margin-left: auto;
}

.btn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline {
  border: 1px solid #333;
  color: #fff;
}

.btn-outline:hover {
  border-color: #555;
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-primary:hover {
  background: #ddd;
}

/* Menu Mobile */
#menu-toggle {
  display: none;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: #000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 3000;
  display: flex;
  flex-direction: column;
}

#menu-toggle:checked ~ .mobile-menu {
  transform: translateX(0);
}

.close-btn {
  display: block;
  text-align: right;
  padding: 20px;
  font-size: 24px;
  cursor: pointer;
}

.mobile-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.mobile-links a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  border-bottom: 1px solid #111;
  padding-bottom: 10px;
}

.hero-ai {
    position: relative;
    max-width: 1080px;
    margin: 40px auto;
    height: 85vh;
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding-top: 80px;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 5;
}

/* FIX: z-index 20 para ficar na frente do rainbow-glow */
.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    color: #ffffff;
}

.hero-content p {
    color: #a1a1a1;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-white {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-white .triangle-icon {
    font-size: 11px;
}

.btn-dark {
    background: #0a0a0a;
    color: #ffffff;
    border: 1px solid #333333;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.btn-white:hover { background: #e5e5e5; }
.btn-dark:hover { background: #141414; border-color: #555; }

.visual-stage {
    position: relative;
    width: 100%;
    height: 700px;
    margin-top: -50px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Círculo de Cores */
.rainbow-glow {
    position: absolute;
    width: 100vw;
    max-width: 1500px;
    height: 530px;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: conic-gradient(
        from -120deg at 50% 50%,
        #007cf0,#007cf0, #00dfd8,#f9cb28,#f54e11, #f10509,#f10509,#f10509, #007cf0
    );
    filter: blur(20px);
    opacity: 0.5;
}

.triangle-wrapper {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
}

.stack-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.05));
}

/* Footer */
.footer {
  margin-top: 100px;
  border-top: 1px solid #111;
  padding: 20px;
}

.footer-container {
  max-width: 1500px;
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 60px;
  padding: 0 16px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-column h4 {
  font-size: 12px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 10px;
}

.footer-column a {
  color: #aaa;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  grid-column: span 6;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status {
  font-size: 12px;
  color: #4ade80;
}

.theme-toggle {
  display: flex;
  gap: 10px;
  border: 1px solid #222;
  padding: 6px 10px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .nav {
    display: none !important;
  }

  .container {
    justify-content: flex-start; 
    gap: 10px;
    padding: 12px 16px;
  }

  .actions {
    display: flex !important;
    margin-left: auto;     
    margin-right: 8px; 
    gap: 0;
  }

  .actions .btn:not(.btn-ai) {
    display: none;
  }

  .actions .btn-ai {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 6px;
  }

  .menu-toggle {
    display: block;
    font-size: 22px;
  }

  .hero-ai {
    height: auto;
    min-height: 100vh;
    padding: 100px 16px 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-content h1 { font-size: 1.9rem; }
  .hero-content p { font-size: 0.95rem; }
  
  .hero-actions {
    flex-direction: row;
    gap: 8px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 32px;
  }

  .btn-white, 
  .btn-dark {
    flex: 1;             
    padding: 10px 5px; 
    font-size: 0.8rem;  
    justify-content: center; 
    white-space: nowrap;
    display: flex;
    align-items: center;
  }

  .btn-white .triangle-icon {
    font-size: 9px;
  }

  .visual-stage { height: 260px; }
  .triangle-wrapper { width: 190%; max-width: 740px; }
  .rainbow-glow { width: 100%; height: 400px; bottom: -150px; filter: blur(30px); }
  .grid-overlay { background-size: 40px 40px; }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-bottom { grid-column: 1 / -1; }
}

/* Telas muito pequenas (< 360px) */
@media (max-width: 360px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }
}
