* {
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #000;
    background: #fff;
    min-height: 100vh;
}

/* Header styles */
.header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 24px;
    color: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.header h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: white;
    letter-spacing: -0.5px;
}

/* Standard heading styles */
h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #000;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-top: 35px;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-top: 30px;
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

/* Paragraph styles */
p {
    margin-bottom: 18px;
    text-align: justify;
    font-size: 16px;
    color: #1a1a1a;
}

/* List styles */
ul {
    margin-left: 25px;
    margin-bottom: 20px;
    padding-left: 0;
}

ol {
    margin-left: 25px;
    margin-bottom: 20px;
    padding-left: 0;
}

li {
    margin-bottom: 12px;
    font-size: 16px;
    color: #1a1a1a;
    line-height: 1.7;
}

/* Text formatting */
strong {
    font-weight: 600;
    color: #000;
}

em {
    font-style: italic;
    font-weight: 400;
}

u {
    text-decoration: underline;
    text-decoration-color: rgba(255, 182, 193, 0.5);
    text-underline-offset: 2px;
}

/* Link styles */
a {
    color: rgb(254,51,47);
    text-decoration: underline;
    font-weight: 500;
}

a:hover {
    text-decoration: none;
}

/* Privacy table styles (for informativa-privacy.html) */
.privacy-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 30px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e7eb;
}

.privacy-table tr {
    border-bottom: 3px solid #f3f4f6;
    transition: background-color 0.2s ease;
}

.privacy-table tr:hover {
    background-color: #fafafa;
}

.privacy-table tr:last-child {
    border-bottom: none;
}

.icon-cell {
    width: 220px;
    padding: 40px 25px;
    vertical-align: top;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-right: 3px solid #e0e0e0;
}

.icon-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.icon-wrapper:hover {
    transform: scale(1.05) translateY(-2px);
}

.icon-wrapper svg {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.icon-purple .icon-wrapper {
    background: rgba(168, 85, 247, 0.08);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.15);
}

.icon-purple .icon-wrapper svg {
    color: #9333ea;
    opacity: 0.85;
}

.icon-blue .icon-wrapper {
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.icon-blue .icon-wrapper svg {
    color: #3b82f6;
    opacity: 0.85;
}

.icon-orange .icon-wrapper {
    background: rgba(249, 115, 22, 0.08);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.15);
}

.icon-orange .icon-wrapper svg {
    color: #f97316;
    opacity: 0.85;
}

.icon-green .icon-wrapper {
    background: rgba(34, 197, 94, 0.08);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.15);
}

.icon-green .icon-wrapper svg {
    color: #22c55e;
    opacity: 0.85;
}

.icon-pink .icon-wrapper {
    background: rgba(236, 72, 153, 0.08);
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.15);
}

.icon-pink .icon-wrapper svg {
    color: #ec4899;
    opacity: 0.85;
}

.icon-red .icon-wrapper {
    background: rgba(239, 68, 68, 0.08);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15);
}

.icon-red .icon-wrapper svg {
    color: #ef4444;
    opacity: 0.85;
}

.icon-teal .icon-wrapper {
    background: rgba(20, 184, 166, 0.08);
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.15);
}

.icon-teal .icon-wrapper svg {
    color: #14b8a6;
    opacity: 0.85;
}

.icon-yellow .icon-wrapper {
    background: rgba(245, 158, 11, 0.08);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.15);
}

.icon-yellow .icon-wrapper svg {
    color: #f59e0b;
    opacity: 0.85;
}

.icon-indigo .icon-wrapper {
    background: rgba(99, 102, 241, 0.08);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.icon-indigo .icon-wrapper svg {
    color: #6366f1;
    opacity: 0.85;
}

.icon-cyan .icon-wrapper {
    background: rgba(6, 182, 212, 0.08);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.15);
}

.icon-cyan .icon-wrapper svg {
    color: #06b6d4;
    opacity: 0.85;
}

.content-cell {
    padding: 40px 50px;
    vertical-align: top;
    background: white;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.section-title.italic {
    font-style: italic;
}

.section-content {
    font-size: 16px;
    color: #1a1a1a;
    line-height: 1.8;
    margin-bottom: 0;
}

.section-content strong {
    font-weight: 700;
    color: #000;
}

.section-content em {
    font-style: italic;
}

.section-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.section-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.contact-info {
    margin: 15px 0;
    padding-left: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 12px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    stroke: #666;
    stroke-width: 1.5;
}

.contact-text {
    flex: 1;
}

.highlight-age {
    font-weight: 700;
    font-size: 18px;
}

/* Utility classes */
.note {
    background-color: rgba(255, 182, 193, 0.3);
    padding: 3px 6px;
    font-style: italic;
    font-weight: 500;
    color: #8b4a5c;
    border-radius: 3px;
}

.script-placeholder {
    background-color: rgba(255, 182, 193, 0.2);
    padding: 15px;
    margin: 20px 0;
    font-weight: 500;
    text-align: center;
    border-radius: 8px;
    border: 1px dashed rgba(255, 182, 193, 0.5);
}

.date-placeholder {
    background-color: rgba(255, 182, 193, 0.3);
    padding: 3px 6px;
    border-radius: 3px;
}

.placeholder-text {
    background-color: #ffeb3b;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

/* Iubenda styles */
.iubenda-container {
    margin: 25px 0;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.iubenda-container * {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.iubenda-embed,
.iubenda-white,
.iubenda-noiframe,
.iub-body-embed {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #1a1a1a !important;
}

.iubenda-embed a,
.iubenda-white a,
.iubenda-noiframe a,
.iubenda-container a {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 400 !important;
    color: rgb(254,51,47) !important;
    text-decoration: underline !important;
}

.iubenda-embed a:hover,
.iubenda-white a:hover,
.iubenda-noiframe a:hover,
.iubenda-container a:hover {
    color: rgb(254,51,47) !important;
    text-decoration: none !important;
}

.iubenda-embed h1,
.iubenda-embed h2,
.iubenda-embed h3,
.iubenda-white h1,
.iubenda-white h2,
.iubenda-white h3,
.iubenda-noiframe h1,
.iubenda-noiframe h2,
.iubenda-noiframe h3,
.iubenda-container h1,
.iubenda-container h2,
.iubenda-container h3,
.iubenda-container h4,
.iubenda-container h5,
.iubenda-container h6 {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 600 !important;
    color: #000 !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
}

.iubenda-container h1,
.iubenda-container h2,
.iubenda-container h3,
.iubenda-container h4,
.iubenda-container h5,
.iubenda-container h6 {
    margin-top: 25px !important;
}

.iubenda-embed p,
.iubenda-white p,
.iubenda-noiframe p,
.iubenda-container p {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #1a1a1a !important;
    margin-bottom: 18px !important;
}

.iubenda-embed ul,
.iubenda-white ul,
.iubenda-noiframe ul,
.iubenda-embed ol,
.iubenda-white ol,
.iubenda-noiframe ol,
.iubenda-container ul,
.iubenda-container ol {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    margin-left: 25px !important;
    margin-bottom: 20px !important;
}

.iubenda-embed li,
.iubenda-white li,
.iubenda-noiframe li,
.iubenda-container li {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #1a1a1a !important;
    margin-bottom: 12px !important;
}

.iubenda-embed table,
.iubenda-white table,
.iubenda-noiframe table {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
}

.iubenda-embed table th,
.iubenda-white table th,
.iubenda-noiframe table th {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 600 !important;
    background-color: rgba(255, 182, 193, 0.2) !important;
    padding: 12px !important;
    text-align: left !important;
    border: 1px solid rgba(255, 182, 193, 0.3) !important;
}

.iubenda-embed table td,
.iubenda-white table td,
.iubenda-noiframe table td {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    padding: 12px !important;
    border: 1px solid rgba(255, 182, 193, 0.2) !important;
}

.iubenda-container > div,
.iubenda-container section {
    margin-bottom: 20px !important;
}

.iubenda-container strong,
.iubenda-container b {
    font-weight: 600 !important;
    color: #000 !important;
}

.iubenda-container em,
.iubenda-container i {
    font-style: italic !important;
}

.iubenda-container code,
.iubenda-container pre {
    font-family: 'Rubik', monospace !important;
    background-color: rgba(255, 182, 193, 0.1) !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
}

/* Responsive styles */
@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }

    .header {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .header h1 {
        font-size: 18px;
        line-height: 1.4;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    p, li {
        font-size: 15px;
    }

    .privacy-table {
        display: block;
        border-radius: 16px;
    }

    .privacy-table tr {
        display: block;
        border-bottom: 4px solid #f3f4f6;
        margin-bottom: 0;
    }

    .privacy-table tr:last-child {
        border-bottom: none;
    }

    .icon-cell {
        width: 100%;
        display: block;
        padding: 25px 20px;
        border-right: none;
        border-bottom: 2px solid #e0e0e0;
    }

    .content-cell {
        display: block;
        width: 100%;
        padding: 25px 20px;
    }

    .icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .icon-wrapper svg {
        width: 60px;
        height: 60px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .section-content {
        font-size: 15px;
        line-height: 1.7;
    }

    .contact-item {
        margin-bottom: 12px;
    }

    .contact-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 16px;
    }

    .icon-wrapper {
        width: 90px;
        height: 90px;
    }

    .icon-wrapper svg {
        width: 55px;
        height: 55px;
    }

    .section-title {
        font-size: 18px;
    }

    .section-content {
        font-size: 14px;
    }
}

