:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ========== HEADER ========== */
header {
    background: var(--bg-white);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 20px;
    color: var(--primary);
    margin: 0;
}

.logo-text p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
}


/* ========== NAVIGATION WITH DROPDOWN ========== */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    white-space: nowrap;
    display: block;
}

nav ul li a:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

/* DROPDOWN */
.has-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

/* PONTE INVISIBILE PER EVITARE CHE IL DROPDOWN SPARISCA */
.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
    display: none;
}

.has-dropdown:hover::after {
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    padding: 8px 0;
    min-width: 220px;
    z-index: 1000;
    list-style: none;
}

.dropdown li {
    display: block;
}

.dropdown li a {
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 0;
}

.dropdown li a:hover {
    background: rgba(37, 99, 235, 0.1);
}

/* MOSTRA DROPDOWN AL HOVER (DESKTOP) */
.has-dropdown:hover .dropdown {
    display: block;
}

/* MOSTRA DROPDOWN AL CLICK (MOBILE E DESKTOP) */
.has-dropdown.active .dropdown {
    display: block;
}

/* ========== HEADER CTA ========== */
.header-cta {
    display: flex;
    gap: 10px;
}

.btn-cta {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s;
}

.btn-cta.primary {
    background: var(--primary);
    color: white;
}

.btn-cta.secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ========== HERO UNIFICATO CON BANDIERE ========== */
.hero-unified {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.hero-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
}

.flag-icon {
    width: 40px;
    height: 30px;
    margin: 0 auto 20px;
    display: block;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.hero-section .badge {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-section .hero-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #2563eb, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-section .hero-subtitle {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-section .info-box {
    background: #fef3c7;
    border: 3px solid #f59e0b;
    border-radius: 16px;
    padding: 20px;
    margin-top: 25px;
    text-align: left;
}

.hero-section .info-box h4 {
    color: #92400e;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 800;
}

.hero-section .info-box p {
    color: #78350f;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.hero-section .info-box p:last-child {
    margin-bottom: 0;
}

/* ========== TWO COLUMNS ========== */
.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.card p {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 1.8;
}

.card-intro {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 20px;
    font-weight: 500;
}

.card ul {
    list-style: none;
    margin: 25px 0;
}

.card ul li {
    padding: 15px 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-gray);
    font-size: 17px;
    border-bottom: 1px solid var(--border);
}

.card ul li:last-child {
    border-bottom: none;
}

.card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.btn.primary {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    box-shadow: var(--shadow);
}

.btn.outline {
    background: white;
    color: var(--primary);
    border: 3px solid var(--primary);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========== DAPI BOX ========== */
.dapi-box {
    margin-top: 35px;
    background: #dbeafe;
    border: 3px solid #2563eb;
    border-radius: 12px;
    padding: 20px;
}

.dapi-box h4 {
    color: #1e40af;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 800;
}

.dapi-box p {
    color: #1e3a8a;
    font-size: 14px;
    margin-bottom: 10px;
}

.dapi-box a {
    color: #1e40af;
    font-weight: 800;
    text-decoration: underline;
}

/* ========== INFO BOX ========== */
.info-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 3px solid #f59e0b;
    border-radius: 20px;
    padding: 30px;
    margin: 50px 0;
}

.info-box h4 {
    color: #92400e;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 800;
}

.info-box p {
    color: #78350f;
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
}

.info-box strong {
    color: #78350f;
    font-weight: 800;
}

/* ========== FOOTER ========== */
footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 20px 30px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 20px;
    color: white;
    font-weight: 800;
}

.footer-section p,
.footer-section a {
    color: #94a3b8;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-section a:hover {
    color: white;
}

.footer-section strong {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 14px;
}

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 968px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    nav {
        width: 100%;
        order: 3;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        width: 100%;
        text-align: left;
        border-radius: 0;
        padding: 12px 16px;
        border-bottom: 1px solid var(--border);
    }
    
    .dropdown {
        position: static;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--primary);
        margin: 0;
        padding: 0;
        background: #f8fafc;
    }
    
    .dropdown li a {
        padding-left: 32px;
    }
    
    .header-cta {
        width: 100%;
        justify-content: center;
        order: 2;
    }
    
    .hero-unified {
        grid-template-columns: 1fr;
    }
    
    .hero-section .hero-title {
        font-size: 26px;
    }
    
    .two-cols {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 25px;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* ========== PAGE HEADER ========== */
.page-header {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
}

.page-flag {
    width: 60px;
    height: 45px;
    margin: 0 auto 20px;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.page-header h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ========== ALERT BOX ========== */
.alert-box {
    background: #fef2f2;
    border: 3px solid #dc2626;
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
}

.alert-box.emergency {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.alert-box h3 {
    color: #991b1b;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 800;
}

.alert-box p {
    color: #7f1d1d;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.alert-box ul {
    list-style: none;
    margin: 15px 0;
}

.alert-box ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #7f1d1d;
    font-weight: 600;
}

.alert-box ul li::before {
    content: "📞";
    position: absolute;
    left: 0;
}

.alert-box a {
    color: #991b1b;
    font-weight: 800;
    text-decoration: underline;
}

/* ========== GUIDE SECTION ========== */
.guide-section {
    margin: 50px 0;
}

.guide-section h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--text-dark);
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
}

.guide-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.guide-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary);
}

.guide-card p {
    color: var(--text-gray);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* ========== CHECKLISTS ========== */
.checklist {
    list-style: none;
    margin: 20px 0;
}

.checklist li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.6;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 20px;
}

/* ========== NUMBERED LIST ========== */
.numbered-list {
    list-style: none;
    counter-reset: step-counter;
    margin: 20px 0;
}

.numbered-list li {
    counter-increment: step-counter;
    margin-bottom: 25px;
    padding-left: 50px;
    position: relative;
}

.numbered-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.numbered-list li strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.numbered-list li p {
    font-size: 15px;
    color: var(--text-gray);
    margin: 0;
}

/* ========== ACTION BOX ========== */
.action-box {
    margin: 25px 0;
    text-align: center;
}

.help-text {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 15px;
    line-height: 1.8;
}

/* ========== WARNING BOX ========== */
.warning-box {
    background: #fef3c7;
    border-left: 4px solid var(--warning);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.warning-box p {
    color: #78350f;
    font-size: 15px;
    margin: 0;
}

/* ========== INFO BOX INLINE ========== */
.info-box-inline {
    background: #dbeafe;
    border-left: 4px solid var(--primary);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.info-box-inline.green {
    background: #d1fae5;
    border-left-color: var(--success);
}

.info-box-inline p {
    color: #1e3a8a;
    font-size: 15px;
    margin: 0;
}

.info-box-inline.green p {
    color: #065f46;
}

/* ========== CONTACT GRID ========== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.contact-card {
    background: #f8fafc;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.contact-card h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 15px;
    color: var(--text-gray);
    margin: 5px 0;
}

.contact-card a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}

/* ========== FINAL CTA BOX ========== */
.final-cta-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 3px solid var(--primary);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.final-cta-box h3 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.final-cta-box p {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn.large {
    padding: 18px 40px;
    font-size: 20px;
}

/* ========== DISCLAIMER ========== */
.disclaimer-box {
    background: #f1f5f9;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin: 50px 0;
    font-size: 14px;
    color: var(--text-gray);
}

.disclaimer-box p {
    margin: 0;
}

/* ========== PLATFORM LIST ========== */
.platform-list {
    list-style: none;
    margin: 20px 0;
}

.platform-list li {
    padding: 15px;
    margin-bottom: 10px;
    background: #f8fafc;
    border-left: 4px solid var(--primary);
    border-radius: 8px;
}

.platform-list li strong {
    color: var(--text-dark);
    font-size: 17px;
}

/* ========== RESOURCE LIST ========== */
.resource-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.resource-item {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.resource-item h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}

.resource-item p {
    font-size: 15px;
    color: var(--text-gray);
    margin: 5px 0;
}

.resource-item a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}

/* ========== EMOTION LIST ========== */
.emotion-list {
    list-style: none;
    margin: 20px 0;
}

.emotion-list li {
    padding: 12px 0;
    font-size: 17px;
    color: var(--text-gray);
}

/* ========== WELLNESS CARD ========== */
.wellness-card {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
    border-color: var(--success) !important;
}

.emergency-card {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
    border-color: #dc2626 !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 36px;
    }
    
    .guide-section h2 {
        font-size: 28px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== INTRO BOX ========== */
.intro-box {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border: 3px solid var(--secondary);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 40px;
}

.intro-box h2 {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.intro-box p {
    font-size: 18px;
    color: #5b21b6;
    margin-bottom: 20px;
    line-height: 1.7;
}

.intro-list {
    list-style: none;
    margin: 20px 0;
}

.intro-list li {
    padding: 12px 0;
    font-size: 17px;
    color: #5b21b6;
    font-weight: 600;
}

/* ========== DANGER LIST ========== */
.danger-list {
    list-style: none;
    margin: 20px 0;
}

.danger-list li {
    padding: 15px;
    margin-bottom: 15px;
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    border-radius: 8px;
}

.danger-list li strong {
    display: block;
    font-size: 17px;
    color: #991b1b;
    margin-bottom: 5px;
}

/* ========== RISK BOX ========== */
.risk-box {
    background: #fef3c7;
    border: 2px solid var(--warning);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.risk-box p {
    font-size: 17px;
    color: #78350f;
    font-weight: 700;
    margin-bottom: 15px;
}

/* ========== CONVERSATION BOX ========== */
.conversation-box {
    background: #f0f9ff;
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
}

.conversation-box h4 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 800;
}

.talk-points {
    list-style: none;
    margin: 0;
}

.talk-points li {
    margin-bottom: 25px;
}

.talk-points li strong {
    display: block;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.talk-points li p {
    font-size: 16px;
    color: var(--text-gray);
    margin: 0;
    padding-left: 20px;
}

/* ========== ACTION CHECKLIST ========== */
.action-checklist {
    margin: 25px 0;
}

.action-item {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.action-item h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 800;
}

.action-item p {
    font-size: 16px;
    color: var(--text-gray);
    margin: 0;
}

/* ========== CONSENT BOX ========== */
.consent-box {
    background: #ecfdf5;
    border: 2px solid var(--success);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.consent-box p {
    font-size: 17px;
    color: #065f46;
    font-weight: 700;
    margin-bottom: 15px;
}

/* ========== SIGNALS GRID ========== */
.signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.signal-item {
    background: #fef2f2;
    border: 2px solid #fca5a5;
    border-radius: 12px;
    padding: 20px;
}

.signal-item h4 {
    font-size: 18px;
    color: #991b1b;
    margin-bottom: 15px;
    font-weight: 800;
}

.signal-item ul {
    list-style: none;
    margin: 0;
}

.signal-item ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
    color: #7f1d1d;
}

.signal-item ul li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
    font-size: 14px;
}

/* ========== SUB CHECKLIST ========== */
.sub-checklist {
    list-style: none;
    margin: 15px 0 0 20px;
}

.sub-checklist li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
    color: var(--text-gray);
}

.sub-checklist li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 20px;
}

/* ========== LEGAL INFO BOX ========== */
.legal-info-box {
    background: #f0fdfa;
    border: 2px solid #14b8a6;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
}

.legal-info-box h4 {
    font-size: 20px;
    color: #0f766e;
    margin-bottom: 15px;
    font-weight: 800;
}

.legal-list {
    list-style: none;
    margin: 0;
}

.legal-list li {
    padding: 12px 0;
    border-bottom: 1px solid #ccfbf1;
    font-size: 16px;
    color: #134e4a;
}

.legal-list li:last-child {
    border-bottom: none;
}

.legal-list li strong {
    color: #0f766e;
}

/* ========== REMOVAL STEPS ========== */
.removal-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.removal-step {
    background: #f8fafc;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.removal-step h4 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
}

.removal-step p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* ========== SUPPORT GRID ========== */
.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 25px 0;
}

.support-item {
    border-radius: 12px;
    padding: 25px;
}

.support-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 800;
}

.support-item:first-child {
    background: #ecfdf5;
    border: 2px solid var(--success);
}

.support-item:first-child h4 {
    color: #065f46;
}

.support-item:last-child {
    background: #fef2f2;
    border: 2px solid #dc2626;
}

.support-item:last-child h4 {
    color: #991b1b;
}

.do-list, .dont-list {
    list-style: none;
    margin: 0;
}

.do-list li, .dont-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
}

.do-list li {
    color: #065f46;
}

.do-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 20px;
}

.dont-list li {
    color: #991b1b;
}

.dont-list li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
    font-size: 20px;
}

/* ========== THERAPY SIGNS ========== */
.therapy-signs {
    list-style: none;
    margin: 20px 0;
}

.therapy-signs li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 17px;
    color: var(--text-gray);
}

.therapy-signs li::before {
    content: "🩺";
    position: absolute;
    left: 0;
}

/* ========== WARNING CARD ========== */
.warning-card {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%) !important;
    border-color: var(--warning) !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .signals-grid {
        grid-template-columns: 1fr;
    }
    
    .removal-steps {
        grid-template-columns: 1fr;
    }
}


/* ========== FORM CONTAINER ========== */
.form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

/* ========== FORM CARD ========== */
.form-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-card h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

/* ========== FORM STYLES ========== */
.pdf-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.label-text {
    font-size: 15px;
}

.optional-badge {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.field-help {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 6px;
    font-style: italic;
}

/* ========== INPUT WITH PREFIX ========== */
.input-with-prefix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: 16px;
    font-weight: 600;
    color: var(--text-gray);
    pointer-events: none;
}

.input-with-prefix input {
    padding-left: 35px;
}

/* ========== FORM SECTION ========== */
.form-section {
    background: #f8fafc;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
}

.form-section h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.section-help {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* ========== PRIVACY NOTICE ========== */
.privacy-notice {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid var(--success);
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
}

.privacy-notice h4 {
    font-size: 18px;
    color: #065f46;
    margin-bottom: 15px;
    font-weight: 800;
}

.privacy-notice ul {
    list-style: none;
    margin: 0;
}

.privacy-notice ul li {
    padding: 8px 0;
    font-size: 15px;
    color: #065f46;
    font-weight: 500;
}

/* ========== FORM ACTIONS ========== */
.form-actions {
    margin-top: 40px;
    text-align: center;
}

.btn-generate {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 50px !important;
    font-size: 20px !important;
    cursor: pointer;
    border: none;
}

.btn-generate:hover {
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 24px;
}

/* ========== FORM SIDEBAR ========== */
.form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.sidebar-list {
    list-style: none;
    margin: 0;
}

.sidebar-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li strong {
    display: block;
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 5px;
}

.sidebar-list li p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.sidebar-steps {
    list-style: none;
    counter-reset: step;
    margin: 0;
}

.sidebar-steps li {
    counter-increment: step;
    padding: 15px 0;
    padding-left: 40px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.sidebar-steps li:last-child {
    border-bottom: none;
}

.sidebar-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 15px;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.sidebar-steps li strong {
    display: block;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.sidebar-steps li p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.support-links {
    list-style: none;
    margin: 15px 0 0 0;
}

.support-links li {
    margin-bottom: 10px;
}

.support-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.support-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ========== STEPS GRID ========== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.step-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========== LIMITATIONS BOX ========== */
.limitations-box {
    background: #fff7ed;
    border: 3px solid var(--warning);
    border-radius: 20px;
    padding: 35px;
}

.limitations-box h3 {
    font-size: 24px;
    color: #92400e;
    margin-bottom: 15px;
    font-weight: 800;
}

.limitations-box > p {
    font-size: 17px;
    color: #78350f;
    margin-bottom: 20px;
}

.limitations-list {
    list-style: none;
    margin: 0;
}

.limitations-list li {
    padding: 20px;
    margin-bottom: 15px;
    background: white;
    border-left: 4px solid var(--warning);
    border-radius: 8px;
}

.limitations-list li strong {
    display: block;
    font-size: 18px;
    color: #92400e;
    margin-bottom: 8px;
}

.limitations-list li p {
    font-size: 15px;
    color: #78350f;
    margin: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
    .form-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-card {
        padding: 25px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
}


/* ========== COMPONENT GRID ========== */
.component-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.component-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.component-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
}

.component-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 15px;
}

.component-example {
    background: #f1f5f9;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
}

.component-example code {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    word-break: break-all;
}

.component-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 12px;
}

.component-card p strong {
    display: block;
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 8px;
    margin-top: 15px;
}

.component-list {
    list-style: none;
    margin: 15px 0 0 0;
}

.component-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    color: var(--text-gray);
}

.component-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ========== VERIFICATION STEPS ========== */
.verification-steps {
    margin: 30px 0;
}

.verification-step {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.verification-step .step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.step-content p {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* ========== EXAMPLE BOX ========== */
.example-box {
    background: #f8fafc;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.example-box h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.code-block {
    background: #1e293b;
    color: #10b981;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    overflow-x: auto;
    margin: 0;
}

/* ========== FORMAT EXAMPLES ========== */
.format-examples {
    margin: 20px 0;
}

.format-example {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.format-example.valid {
    background: #ecfdf5;
    border: 2px solid var(--success);
}

.format-example.invalid {
    background: #fef2f2;
    border: 2px solid #dc2626;
}

.format-label {
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.format-example.valid .format-label {
    color: #065f46;
}

.format-example.invalid .format-label {
    color: #991b1b;
}

.format-example code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--text-dark);
}

/* ========== TIMELINE BOX ========== */
.timeline-box {
    background: #f0f9ff;
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
}

.timeline-box h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 800;
}

.timeline-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-left: 3px solid var(--primary);
    padding-left: 20px;
    margin-bottom: 10px;
}

.timeline-date {
    font-weight: 700;
    color: var(--primary);
    min-width: 150px;
}

.timeline-event {
    color: var(--text-gray);
}

.timeline-result {
    margin-top: 20px;
    padding: 15px;
    background: #d1fae5;
    border-radius: 8px;
    font-size: 16px;
    color: #065f46;
}

/* ========== TECHNICAL BOX ========== */
.technical-box {
    background: #f8fafc;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
}

.technical-box h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 800;
}

.technical-steps {
    list-style: none;
    counter-reset: tech-step;
    margin: 15px 0;
}

.technical-steps li {
    counter-increment: tech-step;
    padding: 10px 0;
    padding-left: 35px;
    position: relative;
    font-size: 15px;
    color: var(--text-gray);
}

.technical-steps li::before {
    content: counter(tech-step);
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

/* ========== LIMITATIONS GRID ========== */
.limitations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.limitation-card {
    background: #fef2f2;
    border: 2px solid #fca5a5;
    border-radius: 16px;
    padding: 25px;
}

.limitation-icon {
    font-size: 40px;
    text-align: center;
    margin-bottom: 15px;
}

.limitation-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #991b1b;
    margin-bottom: 12px;
    text-align: center;
}

.limitation-card p {
    font-size: 15px;
    color: #7f1d1d;
    line-height: 1.7;
    margin-bottom: 15px;
}

.limitation-solution {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.limitation-solution p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.limitation-solution p strong {
    color: var(--text-dark);
    font-weight: 700;
}

.limitation-solution a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}

/* ========== USECASE GRID ========== */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.usecase-card {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid var(--success);
    border-radius: 16px;
    padding: 25px;
}

.usecase-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #065f46;
    margin-bottom: 12px;
}

.usecase-card p {
    font-size: 15px;
    color: #064e3b;
    line-height: 1.7;
}

/* ========== DAPI COMPARISON ========== */
.dapi-comparison {
    margin: 30px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.comparison-card {
    border-radius: 20px;
    padding: 35px;
    position: relative;
}

.comparison-card.free {
    background: #f8fafc;
    border: 2px solid var(--border);
}

.comparison-card.premium {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border: 3px solid var(--secondary);
}

.comparison-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-gray);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.comparison-badge.premium {
    background: var(--gradient-1);
}

.comparison-card h3 {
    font-size: 26px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-align: center;
}

.comparison-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.comparison-features {
    list-style: none;
    margin: 25px 0;
}

.comparison-features li {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.comparison-features li:last-child {
    border-bottom: none;
}

.feature-yes {
    color: #065f46;
    font-weight: 600;
}

.feature-no {
    color: #991b1b;
    font-weight: 600;
}

.comparison-best-for {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
    font-size: 15px;
    color: var(--text-gray);
}

.comparison-best-for strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 8px;
}

/* ========== FAQ ========== */
.faq-container {
    margin: 30px 0;
}

.faq-item {
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

.faq-item code {
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--primary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
    .verification-step {
        flex-direction: column;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .component-grid {
        grid-template-columns: 1fr;
    }
    
    .limitations-grid {
        grid-template-columns: 1fr;
    }
    
    .usecase-grid {
        grid-template-columns: 1fr;
    }
}