/* ------------------------------
   GLOBAL STYLE - AstraHorizon IT | 3D Prototyping Lab
   Stile pulito tipo Figma per Thinking Design
--------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #ffffff;
  color: #1e1e2f;
  line-height: 1.4;
}

/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&display=swap');

/* ------------------------------
   CONTAINER
--------------------------------*/
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ------------------------------
   HEADER FULL-WIDTH BIANCO
--------------------------------*/
.header-full {
  background-color: #ffffff;
  width: 100%;
  border-bottom: 1px solid #eaeef2;
  position: sticky;
  top: 0;
  z-index: 100;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
}

/* Logo testuale */
.logo-text {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #121826 0%, #2c3e66 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-decoration: none;
}

/* Navigazione */
nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #0a66c2;
}

/* ------------------------------
   HERO SECTION - FIGMA STYLE
--------------------------------*/
.hero {
  text-align: center;
  padding: 80px 0 64px 0;
  max-width: 900px;
  margin: 0 auto;
}

.hero-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  color: #0a66c2;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #121826 0%, #2c3e66 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: #4a5568;
  line-height: 1.5;
  margin-bottom: 32px;
}

/* ------------------------------
   BUTTONS
--------------------------------*/
.btn-primary {
  background-color: #0a66c2;
  color: white;
  border: none;
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 40px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #004182;
}

/* ------------------------------
   TRUSTED BY SECTION
--------------------------------*/
.trusted-section {
  text-align: center;
  margin: 40px 0 80px 0;
  width: 100%;
}

.trusted-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: #5b6e8c;
  margin-bottom: 28px;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  font-weight: 600;
  color: #1f2a44;
  font-size: 1rem;
  padding: 0;
  margin: 0 auto;
  width: 100%;
}

/* ------------------------------
   FEATURES SECTION
--------------------------------*/
.features {
  background-color: #f9fafb;
  padding: 80px 0;
  margin: 40px 0;
  border-radius: 48px;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.features-sub {
  text-align: center;
  color: #4a5568;
  max-width: 700px;
  margin: 0 auto 56px auto;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.feature-card {
  flex: 1;
  min-width: 260px;
  background: white;
  padding: 32px 24px;
  border-radius: 24px;
  border: 1px solid #eef2f8;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ------------------------------
   DOUBLE DIAMOND SECTION
--------------------------------*/
.double-diamond {
  padding: 60px 0;
}

.diamond-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 16px;
}

.diamond-sub {
  text-align: center;
  color: #4a5568;
  margin-bottom: 48px;
}

.phases-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.phase {
  flex: 1;
  min-width: 220px;
  background: #f9fafb;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.phase:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.phase-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  background: #e6f0ff;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  color: #1e40af;
  margin-bottom: 16px;
}

.phase h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.phase ul {
  list-style: none;
  padding: 0;
}

.phase li {
  padding: 8px 0;
  border-bottom: 1px solid #eef2f6;
  font-size: 0.9rem;
}

.phase li::before {
  content: "▹";
  color: #0a66c2;
  margin-right: 8px;
}

/* ------------------------------
   DOUBLE DIAMOND FOOTER
--------------------------------*/
.diamond-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background: white;
  padding: 24px;
  border-radius: 16px;
  margin-top: 40px;
  border: 1px solid #e2e8f0;
}

/* ------------------------------
   FOOTER (SITO)
--------------------------------*/
footer {
  padding: 32px 0;
  border-top: 1px solid #ecf3f9;
  text-align: center;
  color: #5a6e8a;
  font-size: 0.8rem;
  background-color: #ffffff;
  margin-top: 0;
}

/* ------------------------------
   RESPONSIVE PER SMARTPHONE
--------------------------------*/

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.8rem;
    letter-spacing: -0.5px;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 8px;
  }

  .hero {
    padding: 40px 0 32px 0;
  }

  .hero-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }

  header {
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
  }

  nav {
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  .logo-text {
    font-size: 1.2rem;
    text-align: center;
  }

  .features-grid {
    flex-direction: column;
    gap: 20px;
  }

  .feature-card {
    min-width: auto;
    padding: 24px 20px;
  }

  .feature-card h3 {
    font-size: 1.2rem;
  }

  .phases-grid {
    flex-direction: column;
    gap: 20px;
  }

  .phase {
    min-width: auto;
    padding: 20px;
  }

  .phase h3 {
    font-size: 1.3rem;
  }

  .diamond-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px;
  }

  .diamond-footer span {
    display: block;
  }

  .logo-row {
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
  }

  .trusted-section {
    margin: 20px 0 40px 0;
  }

  .features {
    padding: 40px 0;
    border-radius: 24px;
    margin: 20px 0;
  }

  .features h2 {
    font-size: 1.5rem;
    padding: 0 8px;
  }

  .features-sub {
    font-size: 0.95rem;
    padding: 0 12px;
    margin-bottom: 32px;
  }

  .diamond-title {
    font-size: 1.5rem;
    padding: 0 8px;
  }

  .diamond-sub {
    font-size: 0.9rem;
    padding: 0 12px;
  }

  footer {
    font-size: 0.7rem;
    padding: 24px 16px;
  }

  .btn-primary {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}

/* ------------------------------
   PER SCHERMI MOLTO PICCOLI (max 480px)
--------------------------------*/
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  nav {
    gap: 8px;
  }

  nav a {
    font-size: 0.75rem;
    padding: 4px 8px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .phase ul li {
    font-size: 0.8rem;
  }

  .logo-row {
    gap: 12px;
    font-size: 0.75rem;
  }

  .feature-card h3 {
    font-size: 1.1rem;
  }

  .phase-badge {
    font-size: 0.6rem;
  }
}

/* ------------------------------
   CLASSI UTILI (se necessario)
--------------------------------*/
.section-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}
