@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

:root {
  --bg: #F7F0F5;
  --text: #433633;
  --accent: #f88706;
  --secondary: #000000;
  --secondary-bg: #DECBB7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

header.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--secondary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
}

.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 10%;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: linear-gradient(to right, #00000044, var(--secondary));
}

.cta {
  display: inline-block;
  background: linear-gradient(to top right, rgb(248, 79, 6), rgb(248, 135, 6));
  border: solid 2px var(--accent);
  color: #F7F0F5;
  padding: 0.8rem 1.6rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background 2s, color 0.5s;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.cta:hover {
  background: var(--bg);
  color: var(--accent);
}

.section {
  padding: 15rem 10%;
  text-align: center;
  height: 80vh;
}

.social-section .section-sub{
  max-width: 700px;
  margin: 1rem auto 2rem auto;
  color: rgba(0,0,0,0.7);
}

.social-grid{
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.social-card{
  display: flex;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.85));
  padding: 1rem;
  border-radius: 25px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.social-icon{
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: auto 64px;
  background-repeat: no-repeat;
  font-weight: 700;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.social-body p{
  font-size: 0.8rem;
  color: rgba(0,0,0,0.7);
}

/* social colors */
.social-icon.twitter{ background-image: url(https://upload.wikimedia.org/wikipedia/commons/9/95/Twitter_new_X_logo.png); }
.social-icon.instagram{ background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Instagram_logo_2022.svg/1000px-Instagram_logo_2022.svg.png); }
.social-icon.whatsapp{ background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/4/4c/WhatsApp_Logo_green.svg/250px-WhatsApp_Logo_green.svg.png); }
.social-icon.tiktok{ background-image: url(https://www.addlance.com/blog/wp-content/uploads/2021/10/tiktok-logo.png); }
.social-icon.discord{ background-image: url(https://upload.wikimedia.org/wikipedia/fr/thumb/4/4f/Discord_Logo_sans_texte.svg/909px-Discord_Logo_sans_texte.svg.png); }

.features-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
  align-items: start;
}

.feature-card{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.92));
  padding: 1.25rem;
  border-radius: 14px;
  border-left: 5px solid var(--accent);
  box-shadow: 0 8px 20px rgba(34,34,34,0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  min-height: 140px;
}

.feature-card h3{
  font-size: 1.05rem;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.feature-card p{
  color: rgba(0,0,0,0.7);
  line-height: 1.4;
  margin-top: auto; /* keep paragraphs below heading */
}

.feature-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(34,34,34,0.12);
}

footer.site-footer{
  padding: 3rem 10%;
  background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.02));
  margin-top: 2rem;
}

.footer-top{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.footer-brand .logo{
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.footer-tag{
  margin-top: 0.5rem;
  color: rgba(0,0,0,0.6);
  font-size: 0.95rem;
}

.footer-nav h4, .footer-social h4{
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.footer-nav nav{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a{
  color: rgba(0,0,0,0.75);
  text-decoration: none;
}

.footer-nav a:hover{ text-decoration: underline; }

.footer-social .social-row{
  display: flex;
  gap: 0.5rem;
}

.footer-social .social-row a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0,0,0,0.06);
  color: var(--text);
  text-decoration: none;
}

.footer-bottom{
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: rgba(0,0,0,0.6);
  font-size: 0.9rem;
}

.footer-bottom .legal a{ color: rgba(0,0,0,0.6); text-decoration: none; }

@media (max-width: 768px){
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 70px;
    right: 5%;
    border-radius: 8px;
    padding: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  /* maggiore spazio sopra il CTA su schermi piccoli per evitare sovrapposizioni */
  .cta {
    margin-top: 3rem;
  }

  .social-card{ padding: 0.85rem; }
  .social-icon{ width: 56px; height: 56px; font-size: 1.1rem; }

  .features-grid{ gap: 1rem; }
  .feature-card{ padding: 1rem; border-radius: 12px; min-height: auto; }

  .footer-top{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
}

/* Animazioni fade */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}