/* =========================================================
   GLOBAL BLUE WTC — ATLAS GOLD (STABILE + REFINING)
   Percorso: public_html/css/style.css
   ========================================================= */

/* RESET SICURO */
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #081225;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

/* MAI TESTO INVISIBILE */
body * { visibility: visible !important; opacity: 1 !important; }

/* VARIABILI */
:root{
  --bg:#081225;
  --ink:#ffffff;
  --muted:rgba(255,255,255,.78);
  --line:rgba(255,255,255,.16);

  --gold:#d4af37;
  --gold-soft:rgba(212,175,55,.55);

  --box:rgba(0,0,0,.22);
  --navbg:rgba(255,255,255,.04);

  --maxw:1100px;
}

/* LAYOUT BASE */
.page, .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 20px 52px;
}

/* HEADER / TOP BAR */
.top, .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 10px 0 14px;
  margin-bottom: 18px;

  border-bottom: 1px solid var(--line);
}

/* Brand (logo + testi) */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
}

.logo {
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 1px;
  flex: 0 0 auto;
}

.brandtext .name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.brandtext .tag {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* NAV */
.nav, nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a, nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;

  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.22);
  background: var(--navbg);
  border-radius: 4px;
}

.nav a:hover, nav a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.nav a.active {
  border-color: var(--gold);
}

/* TITOLI E TESTI */
h1, h2, h3 {
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 10px;
}

h2 { font-size: 22px; margin-top: 12px; }
h3 { font-size: 16px; margin-bottom: 8px; }

p {
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 920px;
  font-size: 14px;
}

/* SEZIONI */
.section {
  margin-top: 16px;
}

/* GRIGLIA BOX */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 26px;
}

/* CARD / BOX */
.card, .box {
  background: var(--box);
  border: 1px solid var(--gold-soft);
  padding: 18px;

  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card p { font-size: 13px; margin: 0 0 10px; }

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

/* FOOTER CENTRATO IN BASSO */
footer, .site-footer, .footer {
  text-align: center;
  margin-top: 70px;
  padding: 30px 20px;
  border-top: 1px solid rgba(212,175,55,0.25);
  background: linear-gradient(to top, rgba(212,175,55,0.08), transparent);
  font-size: 13px;
  letter-spacing: .4px;
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 1100px){
  .grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}

@media (max-width: 768px){
  .top, .header {
    flex-direction: column;
    align-items: flex-start;
  }
  .brand { min-width: 0; }
  .grid { grid-template-columns: 1fr; }
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
footer {
margin-top: auto;
}
  /* ATLAS ENHANCEMENT - Services / Lead Engine */
main, .page {
  background:
    radial-gradient(circle at top left, rgba(212,175,55,0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(212,175,55,0.08), transparent 35%);
}

.panel, .card  {
  border: 1px solid rgba(212,175,55,0.22);
  background: rgba(255,255,255,0.035);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

h1, h2, h3 {
  color: var(--gold);
}

input, .search-box {
  border: 1px solid rgba(212,175,55,0.35) !important;
  background: rgba(8,18,37,0.85) !important;
}
/* ===== ALGORITHM HERO – ATLAS ===== */

.algorithm-hero {
  padding: 70px 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(201,162,74,.18), transparent 32%),
    linear-gradient(180deg, #07182b 0%, #061120 100%);
  border-top: 1px solid rgba(201,162,74,.35);
  border-bottom: 1px solid rgba(201,162,74,.22);
}

.algo-title {
  color: #ffffff;
  font-size: 38px;
  margin: 0 0 18px;
}

.algo-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 2px;
  margin-top: 14px;
  background: linear-gradient(90deg, #c9a24a, transparent);
}

.algo-sub {
  color: #dbe7f5;
  font-size: 19px;
  max-width: 900px;
  margin: 0 0 8px;
}

.algo-desc {
  color: #aebed0;
  font-size: 16px;
  max-width: 960px;
  line-height: 1.6;
  margin: 0 0 22px;
}

.algo-input {
  width: 100%;
  max-width: 960px;
  margin-top: 8px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(201,162,74,.45);
  background: rgba(6,18,38,.88);
  color: #e9eef7;
  font-size: 16px;
  outline: none;
}

.algo-input:focus {
  border-color: #c9a24a;
  box-shadow: 0 0 0 3px rgba(201,162,74,.16);
}

.algo-output {
  margin-top: 18px;
}

.platform-buttons{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
    margin-top:25px;
}
.gold-btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding:10px 18px;
border:1px solid rgba(212,175,55,.38);
border-radius:10px;
background:rgba(212,175,55,.06);
color:#d4af37;
text-decoration:none;
font-size:14px;
font-weight:600;
letter-spacing:.3px;
transition:.22s ease;
min-height:42px;

}
.gold-btn:hover{
    background:rgba(212,175,55,.14);
    border-color:rgba(212,175,55,.65);
    transform:translateY(-1px);
}


