/* ========================================
   DENDRIA PRIVACY POLICY - MODERN STYLE
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   PAGE LAYOUT
======================================== */

.legal-page {
  margin-top: 40;
  padding: 0;
  background: #ffffff;
  min-height: 100vh;
}

.legal-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   PRIVACY HERO SECTION - NEW LAYOUT
======================================== */

.privacy-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 80px 0 60px;
  min-height: 600px;
}

.privacy-hero__text {
  flex: 1;
  max-width: 550px;
}

.privacy-hero__text h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a1a1a;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.privacy-hero__subtitle {
  font-size: 18px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 32px;
}

.privacy-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.privacy-hero__btn {
  padding: 16px 40px;
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.privacy-hero__btn:hover {
  background: #333333;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.privacy-hero__btn:active {
  transform: translateY(0);
}

.legal-update {
  color: #999999;
  font-size: 14px;
  font-style: italic;
}

.privacy-hero__art {
  flex: 0 0 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-hero__art img {
  width: 120%;
  max-width: 600px;
  height: auto;
  display: block;
}

/* ========================================
   PRIVACY CONTENT SECTION
======================================== */

.privacy-content {
  padding: 40px 0 80px;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   CARDS
======================================== */

.legal-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.legal-card h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.legal-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.legal-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.legal-card p {
  line-height: 1.8;
  color: #333333;
  margin-bottom: 16px;
  font-size: 16px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.section-intro {
  color: #666666;
  margin-bottom: 24px;
}

/* ========================================
   INFO LIST
======================================== */

.info-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 12px;
  color: #999999;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

.info-value {
  font-size: 16px;
  color: #1a1a1a;
  font-weight: 500;
}

/* ========================================
   DATA GROUPS
======================================== */

.data-group {
  margin-top: 32px;
}

.data-group:first-child {
  margin-top: 0;
}

.data-group h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.data-group p {
  color: #666666;
  line-height: 1.8;
}

/* ========================================
   SIMPLE LISTS
======================================== */

.simple-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.simple-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #333333;
  line-height: 1.7;
  font-size: 16px;
}

.simple-list li:before {
  content: "•";
  position: absolute;
  left: 8px;
  color: #000000;
  font-weight: bold;
  font-size: 20px;
}

/* ========================================
   HIGHLIGHT SECTIONS
======================================== */

.highlight-section {
  background: #f8f8f8;
  padding: 28px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #000000;
}

.highlight-section:last-child {
  margin-bottom: 0;
}

.highlight-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.highlight-section p {
  color: #666666;
  line-height: 1.8;
  margin: 0;
}

/* ========================================
   NOTE BOX
======================================== */

.note-box {
  background: #fef9ed;
  padding: 20px 24px;
  border-radius: 8px;
  border: 1px solid #f4d9a0;
  margin-top: 20px;
  color: #666666;
  font-size: 15px;
  line-height: 1.7;
}

.note-box.important {
  background: #fef3f2;
  border-color: #fecdca;
}

/* ========================================
   HIGHLIGHT CARD
======================================== */

.highlight-card {
  background: #fafafa;
  border: 2px solid #000000;
}

/* ========================================
   CTA SECTION
======================================== */

.cta-section {
  margin-top: 32px;
  padding: 32px;
  background: #f8f8f8;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.cta-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.cta-content p {
  color: #666666;
  margin-bottom: 24px;
  line-height: 1.7;
  font-size: 16px;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: #1a1a1a;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 2px solid #1a1a1a;
}

.cta-button:hover {
  background: #333333;
  border-color: #333333;
  transform: translateY(-2px);
}

/* ========================================
   CONTACT INFO
======================================== */

.contact-info {
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-label {
  font-size: 12px;
  color: #999999;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

.contact-link {
  font-size: 18px;
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #666666;
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */

@media (max-width: 1024px) {
  .privacy-hero {
    gap: 40px;
    padding: 60px 0 40px;
    min-height: auto;
  }

  .privacy-hero__art {
    flex: 0 0 350px;
  }

  .privacy-hero__text h1 {
    font-size: 40px;
  }

  .privacy-hero__subtitle {
    font-size: 17px;
  }
}

/* ========================================
   RESPONSIVE - MOBILE
======================================== */

@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
  }

  .nav {
    gap: 20px;
  }

  .nav-link {
    font-size: 14px;
  }

  .legal-container {
    padding: 0 20px;
  }

  .privacy-hero {
    flex-direction: column;
    text-align: left;
    gap: 40px;
    padding: 40px 0 30px;
  }

  .privacy-hero__art {
    flex: none;
    order: -1;
    width: 100%;
    max-width: 300px;
  }

  .privacy-hero__art img {
    max-width: 300px;
  }

  .privacy-hero__text {
    max-width: 100%;
  }

  .privacy-hero__text h1 {
    font-size: 32px;
  }

  .privacy-hero__subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .privacy-hero__btn {
    padding: 14px 32px;
    font-size: 15px;
  }

  .privacy-content {
    padding: 30px 0 60px;
  }

  .legal-card {
    padding: 28px 20px;
  }

  .legal-card h2 {
    font-size: 24px;
  }

  .legal-card h3 {
    font-size: 18px;
  }

  .legal-card p {
    font-size: 15px;
  }

  .cta-section {
    padding: 24px 20px;
  }
}

/* ========================================
   RESPONSIVE - SMALL MOBILE
======================================== */

@media (max-width: 480px) {
  .logo {
    font-size: 20px;
  }

  .nav {
    gap: 16px;
  }

  .nav-link {
    font-size: 13px;
  }

  .legal-container {
    padding: 0 16px;
  }

  .privacy-hero {
    padding: 30px 0 20px;
  }

  .privacy-hero__art {
    max-width: 250px;
  }

  .privacy-hero__art img {
    max-width: 250px;
  }

  .privacy-hero__text h1 {
    font-size: 28px;
  }

  .privacy-hero__subtitle {
    font-size: 15px;
  }

  .privacy-hero__btn {
    padding: 12px 28px;
    font-size: 14px;
  }

  .legal-card {
    padding: 24px 16px;
  }

  .legal-card h2 {
    font-size: 22px;
  }

  .legal-card h3 {
    font-size: 17px;
  }

  .legal-card p,
  .simple-list li {
    font-size: 14px;
  }

  .highlight-section {
    padding: 20px;
  }
}
/* ================================
   HERO ART — dimensione uniforme
   ================================ */
.privacy-hero__art,
.terms-hero__art {
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-hero__art img,
.terms-hero__art img {
  width: 130%;
  height: 130%;
  object-fit: contain;
  display: block;
}

/* Responsive: su mobile riduciamo ma restano uguali */
@media (max-width: 900px) {
  .privacy-hero__art,
  .terms-hero__art {
    width: 320px;
    height: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .privacy-hero__art,
  .terms-hero__art {
    width: 260px;
    height: 260px;
  }
}