/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
}

/* Header e Navigazione */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #dd504e ;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #dd504e ;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Sezioni */
section {
  min-height: 100vh;
  padding: 100px 5% 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* Home Section */
#home {
  background: linear-gradient(135deg, #dd504e  0%, #fc7b79 100%);
  color: white;
  text-align: center;
}

#home h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

#home p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: #00FF00;
  color: #000;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(0, 255, 0, 0.5);
}

/* Sezione TempoX */
#tempox {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  color: white;
}

.tempox-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tempox-logo {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0, 255, 0, 0.5));
}

#tempox h2 {
  font-size: 2.5rem;
  color: #00FF00;
  margin: 0;
  text-align: center;
}

.tempox-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tempox-description h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #00FF00;
}

.tempox-description p {
  margin-bottom: 1.5rem;
  color: #e0e0e0;
  font-size: 1.1rem;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(0, 255, 0, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 2px solid #00FF00;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #00FF00;
}

.features {
  list-style: none;
}

.features li {
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  color: #d0d0d0;
  font-size: 1.05rem;
}

.features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00FF00;
  font-weight: bold;
  font-size: 1.2rem;
}

.app-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-screenshot {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 255, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-screenshot:hover {
  transform: scale(1.05);
  box-shadow: 0 30px 80px rgba(0, 255, 0, 0.5);
}

/* Sezione Contatti */
#contact {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: white;
}

#contact h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-content-simple {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #6BB6FF;
}

.contact-info p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.email-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 3rem;
  background-color: #dd504e;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(221, 80, 78, 0.3);
}

.email-button:hover {
  background-color: #00FF00;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.4);
}

.email-address {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: #6BB6FF;
  opacity: 1 !important;
}

.contact-links {
  list-style: none;
  margin-top: 2rem;
}

.contact-links li {
  margin-bottom: 1rem;
}

.contact-links a {
  color: #6BB6FF;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.contact-links a:hover {
  color: #00FF00;
}

/* Footer */
footer {
  background-color: #000000;
  color: white;
  text-align: center;
  padding: 2rem;
}

footer p {
  opacity: 0.8;
}

/* Animazioni */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }
  
  #home h1 {
    font-size: 2.5rem;
  }
  
  #home p {
    font-size: 1.1rem;
  }
  
  .tempox-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .tempox-logo {
    width: 80px;
  }
  
  #tempox h2 {
    font-size: 2rem;
  }
  
  .tempox-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .email-button {
    font-size: 1rem;
    padding: 1rem 2rem;
  }
  
  .app-screenshot {
    width: 100%;
  }
}

