/* ===================================
   LEGAL & CONTACT PAGES
   Modern Design for Terms, Privacy, About, Contact
   =================================== */

/* ===================================
   LEGAL PAGES (Terms, Privacy)
   =================================== */

.legal-section {
    padding: 40px 0 80px;
    background: var(--gray-50, #f9fafb);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.legal-intro {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--gray-200, #e5e7eb);
}

.legal-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-700, #374151);
    margin-bottom: 16px;
}

.legal-date {
    font-size: 14px;
    color: var(--gray-500, #6b7280);
    font-weight: 600;
}

.legal-article {
    margin-bottom: 40px;
}

.legal-article h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900, #111827);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary, #6366f1);
}

.legal-article p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-700, #374151);
    margin-bottom: 16px;
}

.legal-article ol,
.legal-article ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-article ol li,
.legal-article ul li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-700, #374151);
    margin-bottom: 12px;
}

.legal-article ul ul {
    margin-top: 8px;
    margin-bottom: 8px;
}

.legal-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--gray-200, #e5e7eb);
    text-align: center;
}

.legal-footer p {
    font-size: 14px;
    color: var(--gray-600, #4b5563);
    margin-bottom: 8px;
}

.legal-contact {
    margin-top: 16px !important;
}

.legal-contact a,
.btn-contact-link {
    color: var(--primary, #6366f1);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.legal-contact a:hover,
.btn-contact-link:hover {
    color: var(--primary-dark, #4f46e5);
    text-decoration: underline;
}

/* ===================================
   ABOUT PAGE
   =================================== */

.about-section {
    padding: 40px 0 80px;
    background: var(--gray-50, #f9fafb);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-hero {
    background: white;
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.about-hero-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900, #111827);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.about-hero-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-600, #4b5563);
    max-width: 800px;
    margin: 0 auto;
}

.vision-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.vision-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.vision-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.vision-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.vision-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900, #111827);
    margin-bottom: 12px;
}

.vision-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-600, #4b5563);
    margin: 0;
}

.about-features {
    background: white;
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-title-modern {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900, #111827);
    margin-bottom: 32px;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    border-radius: 12px;
    background: var(--gray-50, #f9fafb);
    transition: all 0.2s;
}

.feature-item:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: white;
}

.feature-icon-blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.feature-icon-green { background: linear-gradient(135deg, #10b981, #34d399); }
.feature-icon-purple { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.feature-icon-orange { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.feature-icon-pink { background: linear-gradient(135deg, #ec4899, #f472b6); }
.feature-icon-teal { background: linear-gradient(135deg, #14b8a6, #2dd4bf); }

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900, #111827);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-600, #4b5563);
    margin: 0;
}

.about-tools {
    background: white;
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: var(--gray-50, #f9fafb);
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.tool-card:hover {
    background: white;
    border-color: var(--primary, #6366f1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.tool-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.tool-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900, #111827);
    margin-bottom: 4px;
    display: block;
}

.tool-desc {
    font-size: 13px;
    color: var(--gray-600, #4b5563);
    display: block;
}

.about-cta {
    background: linear-gradient(135deg, var(--primary, #6366f1), var(--primary-light, #818cf8));
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
    opacity: 0.95;
}

.btn-cta-primary {
    display: inline-block;
    padding: 14px 32px;
    background: white;
    color: var(--primary, #6366f1);
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ===================================
   CONTACT PAGE
   =================================== */

.contact-section {
    padding: 40px 0 80px;
    background: var(--gray-50, #f9fafb);
}

.contact-card-modern {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
}

.contact-intro {
    margin-bottom: 32px;
}

.contact-form-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900, #111827);
    margin-bottom: 12px;
}

.contact-form-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-600, #4b5563);
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
}

.form-label-modern {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700, #374151);
    margin-bottom: 8px;
}

.required-mark {
    color: #ef4444;
}

.form-input-modern,
.form-select-modern,
.form-textarea-modern {
    padding: 12px 16px;
    font-size: 15px;
    color: var(--gray-900, #111827);
    background: white;
    border: 1px solid var(--gray-300, #d1d5db);
    border-radius: 10px;
    transition: all 0.2s;
    font-family: inherit;
}

.form-input-modern:focus,
.form-select-modern:focus,
.form-textarea-modern:focus {
    outline: none;
    border-color: var(--primary, #6366f1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-textarea-modern {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 13px;
    color: var(--gray-500, #6b7280);
    margin-top: 6px;
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.form-checkbox-modern {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-text {
    font-size: 14px;
    color: var(--gray-700, #374151);
}

.checkbox-text a {
    color: var(--primary, #6366f1);
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.form-actions {
    margin-top: 8px;
}

.btn-submit-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: var(--primary, #6366f1);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit-modern:hover {
    background: var(--primary-dark, #4f46e5);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.alert-success-modern {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    border-radius: 12px;
    color: #065f46;
    margin-top: 24px;
}

.alert-success-modern svg {
    flex-shrink: 0;
    color: #10b981;
}

.alert-success-modern strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.alert-success-modern p {
    font-size: 14px;
    margin: 0;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-info-icon-blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.contact-info-icon-green { background: linear-gradient(135deg, #10b981, #34d399); }
.contact-info-icon-purple { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }

.contact-info-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900, #111827);
    margin-bottom: 4px;
}

.contact-info-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-600, #4b5563);
    margin: 0;
}

.faq-link-card {
    background: linear-gradient(135deg, var(--primary, #6366f1), var(--primary-light, #818cf8));
    border-radius: 12px;
    padding: 24px;
    color: white;
    text-align: center;
}

.faq-link-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.faq-link-text {
    font-size: 14px;
    margin-bottom: 16px;
    opacity: 0.95;
}

.btn-faq-link {
    display: inline-block;
    padding: 10px 24px;
    background: white;
    color: var(--primary, #6366f1);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-faq-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .legal-content,
    .contact-card-modern {
        padding: 24px;
    }

    .about-hero {
        padding: 32px 24px;
    }

    .about-hero-title {
        font-size: 24px;
    }

    .about-hero-text {
        font-size: 16px;
    }

    .about-features,
    .about-tools {
        padding: 32px 24px;
    }

    .section-title-modern {
        font-size: 24px;
    }

    .vision-cards,
    .feature-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .about-cta {
        padding: 32px 24px;
    }

    .cta-title {
        font-size: 24px;
    }
}
