/* styles.css */
:root {
  --algorand-primary: rgba(45, 45, 241, 1);
  --algorand-secondary: #00C4FF;
  --algorand-accent: #00D1FF;
  --algorand-dark: rgba(45, 45, 241, 1);
  --algorand-light: #E6F7FF;
  --algorand-gradient: linear-gradient(135deg, var(--algorand-primary), var(--algorand-dark));
}

/* Font personalizzati */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset e stili base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #f9fbfd;
}

/* Animazioni */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Header */
header {
  background: var(--algorand-gradient);
  color: white;
  padding: 4rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: #f9fbfd;
  transform: skewY(-3deg);
  z-index: 1;
}

.logo {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.8s ease-out;
}

.tagline {
  font-size: 1.8rem;
  text-align: left;
  margin-bottom: 2.5rem;
  font-weight: 300;
  max-width: 800px;
  margin-left: 0;
  margin-right: auto;
  animation: fadeIn 1s ease-out 0.2s both;
}

/* Bottoni */
.cta-button {
  background-color: var(--algorand-accent);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 10px 20px rgba(0, 196, 255, 0.3);
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-out 0.4s both;
}

.cta-button:hover {
  background-color: var(--algorand-secondary);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 196, 255, 0.4);
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.cta-button:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Sezioni */
section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  color: var(--algorand-primary);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--algorand-accent);
  border-radius: 3px;
}

.description {
  font-size: 1.2rem;
}

/* Feature Cards */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-card {
  flex: 1 1 300px;
  background-color: white;
  border-radius: 15px;
  text-align: center;
  padding: 2.5rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  max-width: 350px;
  animation: fadeIn 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--algorand-accent);
}

.feature-icon {
  font-size: 3rem;
  
  color: var(--algorand-accent);
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

.feature-title {
  font-size: 1.5rem;
  color: var(--algorand-primary);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: left;
}


.feature-card p {
  color: #666;
  font-size: 1rem;
}



/* How It Works Section */
.how-it-works {
  background-color: rgb(255, 255, 255);
  color: var(--algorand-dark);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgwLCAwLCAwLCAwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
  */opacity: 0.3;
}

.how-it-works .section-title {
  color: var(--algorand-dark);
}

.how-it-works .section-title::after {
  background: var(--algorand-dark);
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.step-number {
  background-color: var(--algorand-accent);
  color: var(--algorand-dark);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-right: 2rem;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(0, 196, 255, 0.3);
}

.step-content {
  flex: 1;
}

.step h3 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--algorand-accent);
}

.step p {
  color: var(--algorand-dark);
  font-size: 1.1rem;
}

/* Download Section */
.download-section {
  text-align: center;
  padding: 6rem 0;
  background: var(--algorand-gradient);
  color: white;
  position: relative;
}

.download-section .section-title {
  color: white;
  margin-bottom: 1.5rem;
}

.download-section .section-title::after {
  background: white;
}

.download-section p {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.app-button {
  display: flex;
  align-items: center;
  background: white;
  color: var(--algorand-primary);
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.app-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.app-button i {
  font-size: 2rem;
  margin-right: 1rem;
}

.app-button .small {
  font-size: 0.8rem;
  font-weight: normal;
  display: block;
}

/* Footer */
footer {
  background-color: var(--algorand-primary);
  color: white;
  padding: 4rem 0 2rem;
  text-align: center;
  position: relative;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.footer-contacts {
  text-align: left;
  gap: 1rem;
  color: white;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  flex: 1 1 100%;
}

.row{
  display: flex;
  color: white;
  text-decoration: none;
  justify-content: center;
  flex-direction: row;
  gap: 1rem;
  margin-bottom: 2rem;
  flex: 1 1 100%;
}

.footer-contacts a{
  color: white;
  text-decoration: none;
  
  
}
.footer-links a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  color: var(--algorand-accent);
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--algorand-accent);
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.social-icons {
  display: flex;
  justify-content: right;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex: 1 1 100%;
}

.social-icon {
  color: white;
  font-size: 1.5rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--algorand-accent);
  transform: translateY(-3px);
}

.copyright {
  flex: 1 1 100%;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Effetti hover avanzati */
.feature-card:hover .feature-icon {
  animation: pulse 0.5s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.4rem;
  }
  
  .features {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-card {
    max-width: 100%;
  }
  
  .step {
    flex-direction: row;
  }
  
  .step-number {
    margin-right: 2;
    margin-top: 0.5rem;
    margin-bottom: 0rem;
    width: 35px;
    height: 35px;
    font-size: 1.4rem;
    align-items: center;
    justify-content: center;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Effetti di parallasse */
.parallax-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
}