/* 
  Modern Theme Upgrade - Portal Fire (2026 UI/UX)
  Overrides default Applify styles with modern design principles.
*/

/* 1. Global Typography: Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body,
h1,
h2,
h3,
h4,
h5,
h6,
.heading,
.sub-heading,
p,
a,
button,
input,
.nav-link {
    font-family: 'Inter', sans-serif !important;
}

/* Base text styling */
p.paragraph,
.paragraph {
    color: #4b5563 !important;
    /* Tailwind slate-600 */
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 2. Hero Section: Soft Mesh Gradient & Whitespace */
.ui-hero.ui-gradient-blue {
    background: linear-gradient(135deg, #0e2a47 0%, #1a4b82 50%, #2b6cb0 100%) !important;
    padding-top: 180px !important;
    padding-bottom: 120px !important;
}

.ui-hero h1.heading {
    font-weight: 800 !important;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 3. Buttons: Modern Floating Look */
.btn {
    border-radius: 12px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
}

/* Primary Button (Blue) */
.btn.ui-gradient-blue {
    background: linear-gradient(to right, #3b82f6, #2563eb) !important;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4), 0 8px 10px -6px rgba(37, 99, 235, 0.1) !important;
}

/* Success Button (Green/Suporte) */
.btn.ui-gradient-green {
    background: linear-gradient(to right, #10b981, #059669) !important;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4), 0 8px 10px -6px rgba(16, 185, 129, 0.1) !important;
}

/* Hover Effects on Buttons */
.btn:hover {
    transform: translateY(-3px) scale(1.02) !important;
    filter: brightness(1.1) !important;
}

.btn:active {
    transform: translateY(1px) scale(0.98) !important;
}

/* 4. Glassmorphism Navbar */
.navbar.bg-white:not(.transparent) {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
}

/* 5. Cards & Shadows: Soft & Diffuse */
.ui-card {
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
    background: #ffffff;
}

.ui-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.12) !important;
}

/* 6. Contact Form Card Modernization */
.form-card.bg-indigo {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.4) !important;
}

input.form-control,
textarea.form-control {
    border-radius: 12px !important;
    background-color: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    transition: all 0.2s ease;
}

input.form-control:focus,
textarea.form-control:focus {
    background-color: #ffffff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
}

/* 7. Enhanced "Modulos" Tabs */
.ui-tabs .nav-tabs .nav-link {
    border-radius: 12px !important;
    font-weight: 600 !important;
    color: #6b7280;
    transition: all 0.3s ease;
}

.ui-tabs .nav-tabs .nav-link.active {
    background-color: #ffffff !important;
    color: #4f46e5 !important;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-2px);
}

/* 8. Spacing/Padding Improvements */
.section {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

.section-heading.mb-2 {
    margin-bottom: 3rem !important;
}