/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #1a1a2e; background: #f8f9fc; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ===== UTILITIES ===== */
.container { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.gradient-text { background: linear-gradient(135deg, #e91e8c, #7b2ff2, #3b82f6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-bg { background: linear-gradient(135deg, #e91e8c, #7b2ff2, #3b82f6); }
.section-label { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.section-title { font-size: 36px; font-weight: 700; color: #1a1a2e; margin-top: 12px; margin-bottom: 20px; }
.section-desc { color: #6b7280; max-width: 640px; margin: 0 auto; font-size: 18px; }

/* ===== HEADER ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.08); padding: 12px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.header-logo { height: 40px; width: auto; }
.nav-desktop { display: flex; align-items: center; gap: 32px; }
.nav-desktop a { font-size: 14px; font-weight: 500; color: #374151; transition: color 0.2s; }
.nav-desktop a:hover { color: #7b2ff2; }
.nav-cta { background: linear-gradient(135deg, #e91e8c, #7b2ff2, #3b82f6); color: #fff !important; font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 9999px; transition: opacity 0.2s; }
.nav-cta:hover { opacity: 0.9; }
.mobile-toggle { display: none; padding: 8px; color: #374151; }
.mobile-toggle svg { width: 24px; height: 24px; }
.mobile-menu { display: none; background: #fff; border-top: 1px solid #e5e7eb; padding: 16px 24px; }
.mobile-menu.active { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu a { font-size: 14px; font-weight: 500; color: #374151; padding: 8px 0; }
.mobile-menu .nav-cta { text-align: center; margin-top: 8px; display: block; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(26,26,46,0.9), rgba(26,26,46,0.7), rgba(26,26,46,0.5)); }
.hero-content { position: relative; z-index: 10; max-width: 1152px; margin: 0 auto; padding: 80px 24px; }
.hero-inner { max-width: 640px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border-radius: 9999px; padding: 8px 16px; margin-bottom: 32px; }
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #e91e8c, #7b2ff2, #3b82f6); }
.hero-badge span { color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 500; }
.hero h1 { font-size: 48px; font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 24px; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 40px; max-width: 560px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-btn-primary { background: linear-gradient(135deg, #e91e8c, #7b2ff2, #3b82f6); color: #fff; font-weight: 600; padding: 16px 32px; border-radius: 9999px; font-size: 18px; transition: opacity 0.2s; display: inline-block; text-align: center; }
.hero-btn-primary:hover { opacity: 0.9; }
.hero-btn-secondary { border: 1px solid rgba(255,255,255,0.3); color: #fff; font-weight: 600; padding: 16px 32px; border-radius: 9999px; font-size: 18px; transition: background 0.2s; display: inline-block; text-align: center; }
.hero-btn-secondary:hover { background: rgba(255,255,255,0.1); }
.hero-stats { display: flex; gap: 40px; margin-top: 64px; }
.hero-stat-number { font-size: 32px; font-weight: 700; color: #fff; }
.hero-stat-label { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 4px; }
/* ===== SERVIZI ===== */
.servizi { padding: 96px 0; background: #fff; }
.servizi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 64px; }
.servizio-card { padding: 32px; border-radius: 16px; border: 1px solid #f3f4f6; background: #fff; transition: all 0.3s; }
.servizio-card:hover { border-color: #e9d5ff; box-shadow: 0 20px 40px rgba(123,47,242,0.05); }
.servizio-icon { width: 56px; height: 56px; border-radius: 12px; background: linear-gradient(135deg, #e91e8c, #7b2ff2, #3b82f6); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: transform 0.3s; }
.servizio-card:hover .servizio-icon { transform: scale(1.1); }
.servizio-icon svg { width: 28px; height: 28px; }
.servizio-card h3 { font-size: 20px; font-weight: 700; color: #1a1a2e; margin-bottom: 12px; }
.servizio-card p { color: #6b7280; line-height: 1.7; margin-bottom: 20px; }
.servizio-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.servizio-tag { font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 9999px; background: #f5f3ff; color: #7b2ff2; }

/* ===== CHI SONO ===== */
.chi-sono { padding: 96px 0; background: #f8f9fc; }
.chi-sono-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px; align-items: start; }
.chi-sono h2 { font-size: 36px; font-weight: 700; color: #1a1a2e; margin-top: 12px; margin-bottom: 24px; }
.chi-sono-text { display: flex; flex-direction: column; gap: 16px; color: #6b7280; line-height: 1.7; }
.chi-sono-text strong { color: #1a1a2e; }
.formazione-box { margin-top: 40px; padding: 24px; border-radius: 16px; background: #fff; border: 1px solid #f3f4f6; }
.formazione-box h3 { font-weight: 700; color: #1a1a2e; margin-bottom: 12px; }
.formazione-row { display: flex; justify-content: space-between; font-size: 14px; color: #6b7280; }
.formazione-row .score { font-weight: 600; color: #7b2ff2; flex-shrink: 0; margin-left: 16px; }
.formazione-uni { font-size: 14px; color: #9ca3af; margin-top: 4px; }
.timeline h3 { font-size: 24px; font-weight: 700; color: #1a1a2e; margin-top: 12px; margin-bottom: 32px; }
.timeline-item { position: relative; padding-left: 32px; border-left: 2px solid #e9d5ff; margin-bottom: 32px; }
.timeline-dot { position: absolute; left: -9px; top: 0; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #e91e8c, #7b2ff2, #3b82f6); }
.timeline-period { font-size: 14px; font-weight: 600; color: #7b2ff2; }
.timeline-role { font-size: 18px; font-weight: 700; color: #1a1a2e; margin-top: 4px; }
.timeline-company { font-size: 14px; color: #9ca3af; margin-bottom: 8px; }
.timeline-desc { font-size: 14px; color: #6b7280; line-height: 1.6; }
.cert-grid { display: flex; gap: 16px; margin-top: 40px; }
.cert-box { flex: 1; padding: 16px; border-radius: 12px; background: #fff; border: 1px solid #f3f4f6; text-align: center; }
.cert-title { font-size: 14px; font-weight: 700; color: #1a1a2e; }
.cert-sub { font-size: 12px; color: #9ca3af; margin-top: 4px; }

/* ===== COMPETENZE ===== */
.competenze { padding: 96px 0; background: #fff; }
.competenze-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px; margin-top: 64px; }
.competenze h3 { font-size: 20px; font-weight: 700; color: #1a1a2e; margin-bottom: 32px; }
.skill-item { margin-bottom: 24px; }
.skill-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.skill-name { font-size: 14px; font-weight: 500; color: #374151; }
.skill-pct { font-size: 14px; font-weight: 600; color: #7b2ff2; }
.skill-bar { height: 8px; background: #f3f4f6; border-radius: 9999px; overflow: hidden; }
.skill-fill { height: 100%; border-radius: 9999px; background: linear-gradient(135deg, #e91e8c, #7b2ff2, #3b82f6); }
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tool-box { padding: 16px; border-radius: 12px; border: 1px solid #f3f4f6; text-align: center; font-size: 14px; font-weight: 500; color: #374151; transition: all 0.3s; }
.tool-box:hover { border-color: #e9d5ff; box-shadow: 0 10px 20px rgba(123,47,242,0.05); }
.lingue-box { margin-top: 32px; padding: 24px; border-radius: 16px; background: #f8f9fc; }
.lingue-box h4 { font-weight: 700; color: #1a1a2e; margin-bottom: 16px; }
.lingue-row { display: flex; gap: 24px; }
.lingua { display: flex; align-items: center; gap: 12px; }
.lingua-flag { font-size: 24px; }
.lingua-name { font-size: 14px; font-weight: 600; color: #1a1a2e; }
.lingua-level { font-size: 12px; color: #9ca3af; }
/* ===== CONTATTI ===== */
.contatti { padding: 96px 0; background: #1a1a2e; position: relative; overflow: hidden; }
.contatti-deco1 { position: absolute; top: 0; right: 0; width: 384px; height: 384px; border-radius: 50%; background: rgba(123,47,242,0.1); filter: blur(48px); }
.contatti-deco2 { position: absolute; bottom: 0; left: 0; width: 384px; height: 384px; border-radius: 50%; background: rgba(233,30,140,0.1); filter: blur(48px); }
.contatti-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px; align-items: center; position: relative; z-index: 10; }
.contatti-label { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #a78bfa; }
.contatti h2 { font-size: 36px; font-weight: 700; color: #fff; margin-top: 12px; margin-bottom: 24px; }
.contatti-text { color: #9ca3af; font-size: 18px; line-height: 1.7; margin-bottom: 40px; }
.contatti-info { display: flex; flex-direction: column; gap: 24px; }
.contatti-info-item { display: flex; align-items: center; gap: 16px; }
.contatti-info-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contatti-info-icon svg { width: 20px; height: 20px; color: #a78bfa; stroke: #a78bfa; fill: none; }
.contatti-info-label { font-size: 14px; color: #9ca3af; }
.contatti-info-value { color: #fff; font-weight: 500; }
.contatti-info-value a { color: #fff; transition: color 0.2s; }
.contatti-info-value a:hover { color: #a78bfa; }
.form-box { background: rgba(255,255,255,0.05); backdrop-filter: blur(8px); border-radius: 24px; padding: 32px; border: 1px solid rgba(255,255,255,0.1); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: #d1d5db; margin-bottom: 8px; }
.form-input { width: 100%; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; font-size: 16px; transition: border-color 0.2s; outline: none; }
.form-input::placeholder { color: #6b7280; }
.form-input:focus { border-color: #7b2ff2; }
textarea.form-input { resize: none; }
.form-submit { width: 100%; background: linear-gradient(135deg, #e91e8c, #7b2ff2, #3b82f6); color: #fff; font-weight: 600; padding: 16px; border-radius: 12px; font-size: 18px; border: none; cursor: pointer; transition: opacity 0.2s; }
.form-submit:hover { opacity: 0.9; }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.form-msg-success { color: #4ade80; font-size: 14px; text-align: center; margin-top: 12px; display: none; }
.form-msg-error { color: #f87171; font-size: 14px; text-align: center; margin-top: 12px; display: none; }

/* ===== FOOTER ===== */
.footer { background: #1a1a2e; color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding: 64px 0; }
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-desc { font-size: 14px; color: #9ca3af; line-height: 1.7; }
.footer h3 { font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: #9ca3af; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #9ca3af; margin-bottom: 12px; }
.footer-contact-item svg { width: 16px; height: 16px; stroke: #a78bfa; fill: none; flex-shrink: 0; }
.footer-contact-item a { color: #9ca3af; transition: color 0.2s; }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #374151; padding: 32px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-copy { font-size: 12px; color: #6b7280; }
.footer-tagline { font-size: 12px; color: #6b7280; }

/* ===== PER CHI LAVORO ===== */
.per-chi-lavoro { padding: 96px 0; background: #f8f9fc; }
.target-intro { font-size: 18px; color: #6b7280; line-height: 1.7; max-width: 720px; margin: 24px auto 48px; text-align: center; }
.target-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.target-card { padding: 32px; border-radius: 16px; background: #fff; border: 1px solid #f3f4f6; transition: all 0.3s; text-align: center; }
.target-card:hover { border-color: #e9d5ff; box-shadow: 0 20px 40px rgba(123,47,242,0.05); transform: translateY(-4px); }
.target-icon { font-size: 36px; margin-bottom: 16px; }
.target-card h3 { font-size: 18px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.target-card p { font-size: 14px; color: #6b7280; line-height: 1.6; }

/* ===== PERCHE LAVORARE CON ME ===== */
.perche-me { padding: 96px 0; background: #1a1a2e; position: relative; overflow: hidden; }
.perche-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px; align-items: start; }
.perche-title { font-size: 36px; font-weight: 700; color: #fff; margin-top: 12px; margin-bottom: 24px; }
.perche-intro { font-size: 18px; color: #9ca3af; line-height: 1.7; }
.perche-points { display: flex; flex-direction: column; gap: 28px; }
.perche-point { display: flex; gap: 16px; align-items: flex-start; }
.perche-point-icon { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #e91e8c, #7b2ff2, #3b82f6); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.perche-point h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.perche-point p { font-size: 14px; color: #9ca3af; line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .servizi-grid { grid-template-columns: 1fr; }
  .chi-sono-grid { grid-template-columns: 1fr; }
  .competenze-grid { grid-template-columns: 1fr; }
  .contatti-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .target-grid { grid-template-columns: repeat(2, 1fr); }
  .perche-grid { grid-template-columns: 1fr; }

}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 32px; }
  .hero-content { padding: 96px 24px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat-number { font-size: 24px; }
  .hero-buttons { flex-direction: column; }
  .hero-btn-primary, .hero-btn-secondary { width: 100%; text-align: center; }
  .section-title { font-size: 28px; }
  .contatti h2 { font-size: 28px; }
  .cert-grid { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  /* Per chi lavoro - mobile */
  .per-chi-lavoro { padding: 64px 0; }
  .target-intro { font-size: 16px; margin: 16px auto 32px; }
  .target-grid { grid-template-columns: 1fr; gap: 16px; }
  .target-card { padding: 24px; }
  .target-icon { font-size: 28px; margin-bottom: 12px; }
  .target-card h3 { font-size: 16px; }

  /* Perché lavorare con me - mobile */
  .perche-me { padding: 64px 0; }
  .perche-grid { grid-template-columns: 1fr; gap: 40px; }
  .perche-title { font-size: 28px; }
  .perche-intro { font-size: 16px; }
  .perche-points { gap: 24px; }
  .perche-point-icon { width: 28px; height: 28px; font-size: 12px; }
  .perche-point h3 { font-size: 15px; }
  .perche-point p { font-size: 13px; }
  /* Hero - mobile fix */
    .hero {
    padding-top: 80px !important;
    padding-bottom: 24px !important;
    min-height: auto !important;
  }

  .hero-content { max-width: 100%; }
  .hero-badge { margin-bottom: 24px; }
  .hero-badge span:last-child { font-size: 12px; }
  .hero h1 { font-size: 32px; line-height: 1.2; margin-bottom: 16px; }
  .hero p { font-size: 16px; line-height: 1.6; margin-bottom: 32px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons a { padding: 16px 24px; font-size: 16px; text-align: center; }
  .hero-stats { flex-direction: column; gap: 20px; margin-top: 40px; }
  .hero-stats div span:first-child { font-size: 28px; }
/* Hero mobile - riduce spazio sopra e sistema stats */
  .hero {
    padding-top: 100px !important;
    padding-bottom: 48px !important;
  }
  .hero-stats {
    display: flex !important;
    flex-direction: row !important;
    gap: 24px !important;
    margin-top: 32px !important;
  }
  .hero-stats div {
    text-align: left;
  }
  .hero-stats div span:first-child {
    font-size: 24px !important;
  }
  .hero-stats div span:last-child {
    font-size: 11px !important;
  }
@media (max-width: 768px) {
  .hero {
    min-height: auto !important;
    position: relative !important;
  }
  .hero-content {
    padding: 20px 24px 32px !important;
    position: relative !important;
    z-index: 10 !important;
  }
  .hero-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: auto !important;
  }
}
}