/* 
   PROFESSIONAL POLISH - Enterprise Grade Enhancements
   Focus: Readability, Consistency, Subtle Interactions
   Overrides "God Mode" excesses for a more trustworthy business aesthetic.
*/

:root {
    /* Refined Colors for Professional Look */
    --primary-professional: #6366f1; /* Indigo 500 */
    --primary-dark-prof: #4f46e5;    /* Indigo 600 */
    --surface-glass: rgba(255, 255, 255, 0.03);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --shadow-pro: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --text-body-pro: #94a3b8; /* Slate 400 - easy on eyes */
}

/* 1. Typography Refinement */
body {
    line-height: 1.7; /* Improved readability */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-body-pro); /* Ensure good contrast but not harsh black/white */
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.025em; /* Tighter, more modern heading tracking */
}

/* 2. Card Refinement - Taming the "God Mode" */
.glass-product-card, .feature-card, .pricing-card, .testimonial-card, .agent-card {
    background: var(--surface-glass) !important;
    border: 1px solid var(--border-subtle) !important;
    box-shadow: var(--shadow-pro) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important; /* Smoother glass */
    border-radius: 12px !important; /* Slightly tighter radius for professional feel */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

/* Remove excessive 3D tilt on hover if it feels too "gamey" */
.glass-product-card:hover, .feature-card:hover {
    transform: translateY(-4px) !important; /* Subtle lift, not 12px */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(99, 102, 241, 0.4) !important; /* Subtle primary color bleed */
}

/* 3. Button Consistency */
.btn {
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important; /* Professional standard */
    text-transform: none !important; /* Avoid aggressive uppercase */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.btn-primary {
    background: var(--primary-professional) !important;
    background-image: linear-gradient(to bottom right, #6366f1, #4f46e5) !important;
}

.btn-primary:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4) !important;
}

/* 4. Section Spacing */
section {
    padding: 5rem 0 !important; /* Consistent breathing room */
}

.section-header {
    margin-bottom: 3.5rem !important;
}

.section-title {
    margin-bottom: 1rem !important;
}

.section-description {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
    line-height: 1.75;
}

/* 5. Navigation Polish */
.nav-menu a {
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.85;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-menu a:hover {
    opacity: 1;
    color: #fff;
}

/* 6. Footer Polish */
.footer {
    border-top: 1px solid var(--border-subtle);
    background: #020617; /* Deepest slate */
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #f8fafc;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: #94a3b8;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer ul li a:hover {
    color: #fff;
    text-decoration: none;
    padding-left: 4px; /* Subtle movement */
}

/* 7. Form Elements */
input, textarea, select {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    color: #fff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-professional) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

/* 8. Trust Badges - Grayscale until hover */
.logos-grid .logo-item {
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logos-grid .logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}
