/* Custom styles for MYSECUR.IT website - Professional Light Theme */
body { 
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--color-background) 0%, var(--color-gray-50) 100%);
    color: var(--color-gray-700);
    font-feature-settings: "kern" 1, "liga" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* Professional light section backgrounds */
.section-professional {
    background: linear-gradient(145deg, var(--color-background) 0%, var(--color-gray-50) 100%);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 4px var(--color-secondary-05), 0 1px 2px var(--color-secondary-10);
}

/* Enhanced light card styling */
.card-professional {
    background: var(--color-background);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 1px 3px var(--color-secondary-05), 0 1px 2px var(--color-secondary-10);
    transition: var(--transition-smooth);
}

.card-professional:hover {
    border-color: var(--color-brand-cyan-20);
    box-shadow: 0 4px 12px var(--color-secondary-10), 0 2px 4px var(--color-brand-cyan-10);
    transform: var(--transform-lift-small);
}

/* Light theme text colors */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-gray-900);
}

p, span, div {
    color: var(--color-gray-600);
}

/* Strong/bold text visibility */
strong, b {
    color: var(--color-gray-900);
    font-weight: 700;
}

/* Enhanced readability */
.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

/* Ensure all text elements have proper contrast */
.font-semibold, .font-bold {
    color: var(--color-gray-900);
}

.lang-switcher .lang-btn.active { 
    color: var(--color-primary); 
    font-weight: 700; 
}

/* Enhanced styles for audit page */
.prose {
    max-width: none;
}

.prose p {
    margin-bottom: 1rem;
}

/* Smooth scroll behavior for better UX */
html {
    scroll-behavior: smooth;
}

/* Utility classes (bg-custom-*, text-custom-*, hover effects, etc.) moved to utilities.css */





/* Legal page simple card */
.legal-simple-card {
    background: var(--color-background);
    border: 1px solid var(--color-gray-200);
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 4px var(--color-secondary-05), 0 1px 2px var(--color-secondary-10);
    transition: all 0.3s ease;
}

.legal-simple-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px var(--color-secondary-10), 0 2px 4px var(--color-brand-cyan-10);
    border-color: var(--color-brand-cyan-20);
}

.legal-simple-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-gray-900);
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-gray-200);
}

.legal-simple-content {
    color: var(--color-gray-700);
    line-height: 1.7;
}

.legal-simple-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.legal-simple-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-simple-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.legal-simple-section p {
    margin-bottom: 0.5rem;
    color: var(--color-gray-700);
}

.legal-simple-section p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .legal-simple-card { padding: 1.5rem 1rem; }
    .legal-simple-title { font-size: 2rem; margin-bottom: 1.5rem; }
    .legal-simple-section-title { font-size: 1.25rem; }
}



/* Quiz Results - Inline layout on desktop with proper spacing */
#results-container .services-step-cta-text {
    margin: 0 !important;
    width: 240px;
    text-align: center;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Desktop inline layout */
@media (min-width: 768px) {
    #results-container .services-step-cta .flex {
        gap: 3rem !important;
    }
    
    #results-container .services-step-cta-text {
        width: 220px;
        height: 56px;
    }
}

/* Hover animation with controlled boundaries */
#results-container .services-step-cta-text:hover {
    background: linear-gradient(135deg, var(--color-primary-50), var(--color-success-50));
    border-color: var(--color-primary-50);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px var(--color-primary-40);
}

#results-container .services-step-cta-text:first-child:hover {
    background: linear-gradient(135deg, var(--color-success-50), var(--color-success-dark-50));
    border-color: var(--color-success-50);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

/* Mobile column layout */
@media (max-width: 767px) {
    #results-container .services-step-cta-text {
        width: 100%;
        max-width: 280px;
        height: 52px;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Mobile menu body lock */
body.menu-open {
    overflow: hidden;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--gradient-primary-blue);
    color: white;
    border: 1px solid var(--color-primary-30);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--color-primary-30);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-brand-cyan);
    border-color: var(--color-brand-cyan);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px var(--color-brand-cyan-30);
}

.back-to-top:active {
    transform: translateY(-1px) scale(0.98);
}

/* Back to top button responsive */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }
}
