/* --------------------------------------- */
/* VARIABILI GENERALI & TEMI (LIGHT/DARK) */
/* --------------------------------------- */
:root {
  /* Gradient brand */
  --grad-start: #9861f6;
  --grad-end:   #85ebf8;

  /* Colori Base */
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-dark:  #1A1A1A;

  /* Per i testi */
  --text-dark:  #2E2E2E;
  --text-light: #F9F9FA;

  /* Font */
  --font-title: 'Montserrat', sans-serif;
  --font-subtitle: 'Poppins', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

/* THEME LIGHT => #eeeeff + alveolato */
.light-theme {
  background-color: #eeeeff;
  color: var(--text-dark);
  background-image:
    radial-gradient(circle at 10px 10px, #d9d9f2 2px, transparent 2px),
    radial-gradient(circle at 30px 30px, #d9d9f2 2px, transparent 2px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

/* THEME DARK => #1A1A1A + alveolato */
.dark-theme {
  background-color: var(--color-dark);
  color: var(--color-white);
  background-image:
    radial-gradient(circle at 10px 10px, #2A2A2A 2px, transparent 2px),
    radial-gradient(circle at 30px 30px, #2A2A2A 2px, transparent 2px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-body);
}

/* --------------------------------------- */
/* NAVBAR */
/* --------------------------------------- */
.navbar {
  width: 100%;
  backdrop-filter: blur(6px);
  position: fixed;
  top: 0; 
  left: 0;
  z-index: 999;
  padding: 0.5rem 0;
}
.dark-theme .navbar {
  background: rgba(26,26,26,0.75);
}
.light-theme .navbar {
  background: rgba(238,238,255,0.7); /* semitrasparente su #eeeeff */
}
.navbar-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  max-height: 40px;
}

.theme-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.dark-theme .nav-links a {
  color: var(--color-white);
}
.light-theme .nav-links a {
  color: var(--text-dark);
}
.nav-links a:hover {
  color: var(--grad-end);
}
.btn-cta-gradient {
  background: linear-gradient(45deg, var(--grad-start), var(--grad-end));
  padding: 0.6rem 1rem;
  border-radius: 5px;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  width: 24px;
  height: 3px;
  transition: 0.3s;
}
.dark-theme .burger span {
  background: #fff;
}
.light-theme .burger span {
  background: #000;
}

/* THEME SWITCH */
.theme-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  margin-right: 0.5rem;
}
.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 4px; bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background: linear-gradient(45deg, var(--grad-start), var(--grad-end));
}
input:checked + .slider:before {
  transform: translateX(24px);
}

/* --------------------------------------- */
/* HERO SECTION */
/* --------------------------------------- */
.hero-section {
  padding: 7rem 2rem 3rem; 
  position: relative;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-x: hidden;
}
.hero-text-box {
  max-width: 500px;
}
.hero-title {
  font-family: var(--font-title);
  font-weight: 700; /* per i titoli => Montserrat Bold */
  font-size: 3.5rem;
  margin-bottom: 1rem;

}
.hero-copy {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
}
.btn-outline, .btn-filled {
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 5px;
  font-weight: 600;
  transition: 0.3s;
}
.btn-outline {
  border: 2px solid var(--grad-start);
  background: transparent;
}
.dark-theme .btn-outline {
  color: var(--color-white);
}
.light-theme .btn-outline {
  color: var(--text-dark);
}
.btn-outline:hover {
  background: var(--grad-start);
  color: #fff;
}
.btn-filled {
  border: 2px solid var(--grad-start);
  background: var(--grad-start);
  color: #fff;
}
.btn-filled:hover {
  opacity: 0.9;
}

/* gradient text fix */
.gradient-text {
  background: linear-gradient(45deg, var(--grad-start), var(--grad-end));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Aurora Terminal */
.sniping-terminal {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
  border-radius: 10px;
  padding: 1rem;
  max-width: 400px;
  min-height: 300px;
  overflow-x: hidden;
}
.dark-theme .sniping-terminal {
  background: linear-gradient(to bottom right, rgba(255,255,255,0.05), rgba(255,255,255,0));
  box-shadow: 0 2px 10px rgba(255,255,255,0.07);
}
.light-theme .sniping-terminal {
  background: linear-gradient(to bottom right, rgba(255,255,255,0.7), transparent);
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: var(--grad-start); }
.terminal-title {
  font-size: 0.9rem;
  margin-left: auto;
}
.terminal-body {
  border-radius: 6px;
  font-family: monospace;
  padding: 0.8rem;
  height: 100%;
  overflow-y: auto;
  font-size: 0.9rem;
}
.dark-theme .terminal-body {
  background: rgba(255,255,255,0.05);
  color: #ffffffcc;
}
.light-theme .terminal-body {
  background: rgba(255,255,255,0.5);
  color: #333;
}

.hero-section {
  padding: 7rem 2rem 3rem; 
  position: relative;
  /* Aggiunta: impostiamo l'immagine di sfondo a copertura */
  background: url('assets/images/aurora-hero.png') center;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-x: hidden;
}

/* Glass box + glow */
.glass-box {
  border-radius: 10px;
  padding: 1rem;
}
.dark-theme .glass-box {
  background: rgba(255,255,255,0.06);
  box-shadow: 0 3px 12px rgba(255,255,255,0.1);
}
.light-theme .glass-box {
  background: rgba(255,255,255,0.7);
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}
.glow-box {
  transition: transform 0.3s, box-shadow 0.3s;
}
.glow-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(152,97,246,0.4);
}

/* --------------------------------------- */
/* LATEST CALLS, CHART, FEATURES, PRICING, ROADMAP, SOCIAL, FAQ, DISCLAIMER 
   (restano invariati, con alveolato di background gestito dal body) 
*/
/* ULTIMI TOKEN CHIAMATI */
.latest-calls {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}
.calls-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}
.call-card {
  border-radius: 8px;
  padding: 1rem;
  width: 180px;
  cursor: pointer;
}
.dark-theme .call-card {
  background: rgba(255,255,255,0.05);
}
.light-theme .call-card {
  background: #FFF;
  border: 1px solid rgba(0,0,0,0.05);
}
.call-token-img {
  width: 60px;
  margin-bottom: 0.5rem;
}
.call-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.token-multiplier {
  font-weight: 700;
  font-size: 1.1rem;
}

/* CHART */
.chart-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}
.chart-subtext {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  opacity: 0.8;
}
.chart-box {
  max-width: 500px;
  margin: 0 auto;
  overflow-x: auto;
}
canvas {
  display: block;
  max-width: 100%;
  height: auto;
  background: transparent !important;
}

/* OTTIMIZZATO PER */
.optimized-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}
.optimized-logos {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
}
.opt-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.opt-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* FEATURES */
.services-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}
.section-subtext {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  opacity: 0.8;
}
.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.service-box {
  border-radius: 8px;
  width: 220px;
  padding: 1.2rem;
  transition: transform 0.3s;
  cursor: pointer;
}
.service-icon {
  width: 60px;
  margin-bottom: 0.8rem;
}
.service-box h3 {
  margin-bottom: 0.5rem;
  font-family: var(--font-subtitle);
  font-weight: 700;
}

/* PRICING */
.pricing-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}
.pricing-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}
.pricing-box {
  border-radius: 8px;
  width: 280px;
  padding: 2rem 1rem;
  cursor: pointer;
  text-align: center;
}
.pricing-box h3 {
  margin-bottom: 1rem;
  font-weight: 700;
  font-family: var(--font-subtitle);
}
.pricing-features {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
}
.pricing-features li {
  margin: 0.3rem 0;
}
.price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ROADMAP */
.roadmap-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}
.roadmap-subtext {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  opacity: 0.8;
}
.roadmap-box {
  max-width: 600px;
  margin: 0 auto;
}
.roadmap-step {
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.light-theme .roadmap-step {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.roadmap-step:last-child {
  border-bottom: none;
}
.roadmap-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.completed {
  opacity: 1;
}
.upcoming {
  opacity: 0.5;
}
.progress-bar-container {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  height: 6px;
  margin-top: 0.5rem;
  overflow: hidden;
}
.light-theme .progress-bar-container {
  background: rgba(0,0,0,0.1);
}
.progress-bar {
  height: 6px;
  background: linear-gradient(45deg, var(--grad-start), var(--grad-end));
  transition: width 0.5s;
}

/* SOCIAL */
.social-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem;
  text-align: center;
}
.social-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.social-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.3s;
}
.social-icon:hover {
  transform: scale(1.1);
}

/* FAQ */
.faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}
.faq-box {
  margin-top: 1.5rem;
  border-radius: 8px;
  padding: 1rem;
}
.faq-item {
  margin-bottom: 1.2rem;
}
.faq-question {
  width: 100%;
  font-weight: 700;
  font-size: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-bottom: 0.3rem;
  text-align: center;
}
.dark-theme .faq-question {
  color: var(--color-white);
}
.light-theme .faq-question {
  color: var(--text-dark);
}
.faq-answer {
  display: none;
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0.9;
  text-align: center;
}

/* DISCLAIMER */
.disclaimer-section {
  padding: 2rem;
  text-align: center;
}
.disclaimer-container {
  max-width: 600px;
  margin: 0 auto;
}
.disclaimer-text {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem;
}
.dark-theme .footer {
  background: rgba(255,255,255,0.05);
}
.light-theme .footer {
  background: rgba(0,0,0,0.05);
}
.footer p {
  font-size: 0.9rem;
  line-height: 1.4;
}
.footer-link {
  color: var(--grad-end);
  text-decoration: none;
  margin: 0 0.3rem;
  font-weight: 600;
}
.footer-link:hover {
  color: var(--grad-start);
}

/* MEDIA QUERIES */
@media (max-width: 992px) {
  .hero-section {
    padding: 5rem 1rem 2rem;
  }
  .hero-content {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    overflow-x: hidden;
  }
  .hero-text-box {
    text-align: center;
    max-width: 90%;
  }
  .sniping-terminal {
    max-width: 90%;
    margin-top: 2rem;
  }
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 70px;
    right: 2rem;
    padding: 1rem;
    border-radius: 6px;
  }
  .dark-theme .nav-links {
    background: rgba(26,26,26,0.95);
  }
  .light-theme .nav-links {
    background: rgba(238,238,255,0.95);
  }
  .nav-links.show {
    display: flex;
  }
  .burger {
    display: flex;
  }
}

/* iPhone ~430px e giù */
@media (max-width: 430px) {
  .hero-section {
    padding: 5rem 1rem 2rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .sniping-terminal {
    min-height: 250px;
  }
  .hero-image {
    width: 100%;
  }
  .calls-list, .services-container, .pricing-container, .optimized-logos {
    margin: 0 auto;
    max-width: 100%;
    overflow-x: hidden;
  }
  .call-card, .service-box, .pricing-box {
    width: 90%;
  }
  .optimized-logos .opt-logo img {
    width: 50px;
    height: 50px;
  }
  .opt-logo {
    margin: 0.5rem;
  }
}
