:root {
    --primary: #1C3F92;
    --secondary: #B5136D;
    --bg-light: #EEE5F3;
    /* This appears to be the requested light purple/pinkish bg */
    --text-dark: #333333;
    --accent: #63C3D7;
    --white: #ffffff;
}

footer a {
    text-decoration: none;
    color: white;
}

body {
    font-family: 'Sora', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-light-purple {
    background-color: var(--bg-light) !important;
}

/* Navbar */
.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #163275;
    border-color: #163275;
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: #960f5a;
    border-color: #960f5a;
    color: white;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

/* Global Section Styles */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-margin-top: 60px;
    /* Offset for fixed navbar */
}

/* Hero Section */
#hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    /* min-height handled by global section rule */
    overflow: hidden;
    /* Prevent animation overflow */
}

.pulse-btn {
    animation: pulse-blue 2s infinite;
    box-shadow: 0 0 0 0 rgba(28, 63, 146, 0.7);
}

@keyframes pulse-blue {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(28, 63, 146, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(28, 63, 146, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(28, 63, 146, 0);
    }
}

.hero-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Validation Section */
.pain-point-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.3s;
}

.pain-point-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

/* Feature Box */
.feature-box {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-box:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Cards */
.card {
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.scale-up {
    transform: scale(1.05);
    z-index: 2;
}

@media (max-width: 991px) {
    .scale-up {
        transform: scale(1);
        z-index: 1;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

/* Footer Links */
.hover-white:hover {
    color: white !important;
    opacity: 1 !important;
}

.ls-2 {
    letter-spacing: 2px;
}

/* Support Image Grayscale to Color on hover */
.grayscale-img {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.grayscale-img:hover {
    filter: grayscale(0%);
}

#suporte .img-fluid {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    /* Ensure it fills the column width */
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
    #hero {
        padding: 100px 0 60px;
        /* Reduced padding */
        text-align: center;
    }

    #hero h1 {
        font-size: 2.5rem;
        /* Smaller heading */
    }

    #hero .lead {
        font-size: 1.1rem;
    }

    #hero .img-fluid {
        margin-top: 2rem;
        max-width: 80%;
        /* Don't take full width on mobile if it looks too big */
    }

    .pain-point-card,
    .feature-box {
        margin-bottom: 1rem;
    }

    .display-4 {
        font-size: 2.5rem;
        /* Adjust generic display-4 */
    }

    .card-body {
        padding: 2rem !important;
        /* Reduce card padding */
    }

    #suporte .img-fluid {
        margin-bottom: 2rem;
    }

    #suporte {
        text-align: center;
    }

    footer {
        text-align: center;
    }

    footer .text-md-start,
    footer .text-md-end {
        text-align: center !important;
    }

    footer .badge {
        display: inline-block;
        margin-top: 1rem;
        white-space: normal;
        /* Allow text wrap */
        line-height: 1.4;
    }
}

@media (max-width: 576px) {
    #hero h1 {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .btn-lg {
        width: 100%;
        /* Full width buttons on very small screens */
    }
}

.btn-success {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
}

.btn-success:hover {
    background-color: #1ebc57;
    border-color: #1ebc57;
    transform: translateY(-2px);
}