/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logo Styles */
.logo-main {
    height: 45px;
    width: auto;
    max-width: 150px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.logo-main:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1a365d;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3182ce;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3182ce;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.title-logo {
    height: 4rem;
    width: auto;
    max-width: 120px;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #3182ce;
    color: white;
    border-color: #3182ce;
}

.btn-primary:hover {
    background: #2c5aa0;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(49, 130, 206, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #3182ce;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

.floating-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
    opacity: 0.9;
}

.floating-logo {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    animation: float 4s ease-in-out infinite;
}

.element-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.element-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.element-4 {
    bottom: 10%;
    right: 20%;
    animation-delay: 3s;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3182ce, #667eea);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about {
    background: #f7fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #1a365d;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.tech-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.tech-info h4 {
    color: #3182ce;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tech-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.powered-by {
    text-align: center;
    margin-top: 20px;
}

.powered-by p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.himni-logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.himni-logo:hover {
    opacity: 1;
}

/* Modules Section */
.modules {
    background: white;
}

/* Main Module Container */
.main-module-container {
    margin-bottom: 60px;
}

.main-module-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Módulo 2 - Sistema Cível */
.main-module-card.secondary-module {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

/* Módulo 3 - Sistema Trabalhista */
.main-module-card.tertiary-module {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
}

/* Módulo 4 - Sistema Administrativo */
.main-module-card.quaternary-module {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}

.main-module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.main-module-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.main-module-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.main-module-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.main-module-subtitle {
    font-size: 1.3rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.main-module-description {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Sub-modules Grid */
.sub-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.sub-module-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.sub-module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3182ce, #667eea);
}

.sub-module-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.sub-module-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.sub-module-title {
    font-size: 1.3rem;
    color: #1a365d;
    margin-bottom: 10px;
    font-weight: 600;
}

.sub-module-subtitle {
    color: #3182ce;
    font-weight: 600;
    margin-bottom: 8px;
}

.sub-module-responsible {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.sub-module-features {
    list-style: none;
    margin-bottom: 25px;
}

.sub-module-features li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: #666;
    font-size: 0.9rem;
}

.sub-module-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3182ce;
    font-weight: bold;
}

.sub-module-image {
    margin-top: 20px;
}

.sub-module-image img {
    width: 100%;
    border-radius: 10px;
    opacity: 0.8;
}

/* Future Modules */
.future-modules {
    margin-top: 60px;
}

.future-module-placeholder {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px dashed #cbd5e0;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.future-module-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.6;
}

.future-module-placeholder h3 {
    font-size: 1.8rem;
    color: #4a5568;
    margin-bottom: 15px;
    font-weight: 600;
}

.future-module-placeholder p {
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(90deg, #ed8936, #f6ad55);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Legacy styles for backward compatibility */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.module-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3182ce, #667eea);
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.module-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.module-title {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 10px;
    font-weight: 600;
}

.module-subtitle {
    color: #3182ce;
    font-weight: 600;
    margin-bottom: 10px;
}

.module-responsible {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

.module-features {
    list-style: none;
    margin-bottom: 30px;
}

.module-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #666;
}

.module-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3182ce;
    font-weight: bold;
}

.module-image {
    margin-top: 20px;
}

.module-image img {
    width: 100%;
    border-radius: 10px;
    opacity: 0.8;
}

/* Benefits Section */
.benefits {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.benefits .section-title {
    color: white;
}

.benefits .section-title::after {
    background: white;
}

.benefits .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

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

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.benefit-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Integrations Section */
.integrations {
    background: #f7fafc;
}

.integrations-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.integrations-list {
    display: grid;
    gap: 30px;
}

.integration-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.integration-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.integration-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.integration-text h4 {
    color: #1a365d;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.integration-text p {
    color: #666;
}

.integration-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.integration-center {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    animation: pulse 3s ease-in-out infinite;
}

.integration-connections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    max-width: 300px;
}

.connection-item {
    background: linear-gradient(135deg, #3182ce, #667eea);
    color: white;
    padding: 12px 16px;
    border-radius: 25px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
    transition: all 0.3s ease;
}

.connection-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(49, 130, 206, 0.4);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f7fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #edf2f7;
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #3182ce;
    width: 30px;
    text-align: center;
}

.contact-item h4 {
    color: #1a365d;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: #f7fafc;
    padding: 40px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

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

/* Footer */
.footer {
    background: #1a365d;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-main {
    height: 50px;
    width: auto;
    max-width: 120px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.himni-branding {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.himni-branding p {
    font-size: 0.9rem;
    margin: 0;
}

.footer-himni-logo {
    height: 30px;
    width: auto;
    max-width: 100px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-himni-logo:hover {
    opacity: 1;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3182ce;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Auth Section Mobile */
    .auth-section {
        order: -1;
        margin-right: 15px;
    }

    .auth-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .btn-login,
    .btn-register {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .user-name {
        display: none;
    }

    .user-dropdown {
        right: -10px;
        min-width: 180px;
    }

    /* Modal Mobile */
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-width: 400px;
    }

    .modal-header {
        padding: 15px 20px;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .auth-form {
        padding: 20px;
    }

    .profile-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .profile-avatar .avatar-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .settings-section {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content,
    .integrations-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .title-logo {
        height: 2.5rem;
        max-width: 80px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .module-card,
    .benefit-card {
        padding: 25px;
    }

    .contact-form {
        padding: 25px;
    }

    .logo-main {
        height: 35px;
        max-width: 100px;
    }

    .floating-image {
        max-width: 250px;
    }

    .floating-logo {
        width: 20px;
        height: 20px;
    }

    .tech-image {
        max-width: 200px;
    }

    .himni-logo {
        height: 30px;
        max-width: 80px;
    }

    .integration-center {
        width: 80px;
        height: 80px;
    }

    .connection-item {
        font-size: 0.8rem;
        padding: 10px 12px;
    }

    .footer-logo-main {
        height: 40px;
        max-width: 100px;
    }

    .footer-himni-logo {
        height: 25px;
        max-width: 80px;
    }

    .footer-logos {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero::before {
        background-size: 50px 50px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-indicator,
    .floating-elements {
        display: none;
    }

    section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Authentication Styles */
.auth-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn-login,
.btn-register {
    padding: 8px 16px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-login {
    background: transparent;
    color: #3182ce;
    border: 2px solid #3182ce;
}

.btn-login:hover {
    background: #3182ce;
    color: white;
}

.btn-register {
    background: #3182ce;
    color: white;
    border: 2px solid #3182ce;
}

.btn-register:hover {
    background: #2c5aa0;
    border-color: #2c5aa0;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-avatar {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(49, 130, 206, 0.1);
    border: 1px solid rgba(49, 130, 206, 0.2);
}

.user-avatar:hover {
    background: rgba(49, 130, 206, 0.2);
}

.user-initials {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3182ce, #667eea);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.user-name {
    font-weight: 600;
    color: #333;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-icon {
    font-size: 0.8rem;
    color: #666;
    transition: transform 0.3s ease;
}

.user-avatar.active .dropdown-icon {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
    border-radius: 8px;
    margin: 4px;
}

.user-dropdown a:hover {
    background: #f7fafc;
    color: #3182ce;
}

.user-dropdown hr {
    margin: 4px 8px;
    border: none;
    border-top: 1px solid #e2e8f0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: slideInModal 0.3s ease;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, #3182ce, #667eea);
    color: white;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.auth-form {
    padding: 25px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.auth-form input,
.auth-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.auth-form small {
    color: #666;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.full-width {
    width: 100%;
    margin: 20px 0 10px 0;
}

.auth-switch {
    text-align: center;
    margin-top: 15px;
    color: #666;
}

.auth-switch a {
    color: #3182ce;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Profile Modal */
.profile-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 10px;
}

.profile-avatar .avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3182ce, #667eea);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.profile-details h3 {
    margin: 0 0 5px 0;
    color: #1a365d;
}

.profile-details p {
    margin: 2px 0;
    color: #666;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 25px;
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #cbd5e0;
    border-color: #cbd5e0;
}

/* Settings Modal */
.settings-content {
    padding: 25px;
}

.settings-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.settings-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.settings-section h3 {
    margin: 0 0 20px 0;
    color: #1a365d;
    font-size: 1.2rem;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #3182ce;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInModal {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Focus States */
.nav-link:focus,
.btn-primary:focus,
.btn-secondary:focus,
.btn-login:focus,
.btn-register:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #3182ce;
    outline-offset: 2px;
}

/* Dark Mode Styles */
.dark-mode {
    background-color: #1a202c;
    color: #e2e8f0;
}

.dark-mode .navbar {
    background: rgba(26, 32, 44, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .nav-link {
    color: #e2e8f0;
}

.dark-mode .nav-link:hover {
    color: #63b3ed;
}

.dark-mode .logo-text {
    color: #e2e8f0;
}

.dark-mode .about {
    background: #2d3748;
}

.dark-mode .integrations {
    background: #2d3748;
}

.dark-mode .contact {
    background: #1a202c;
}

.dark-mode .module-card,
.dark-mode .benefit-card {
    background: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}

.dark-mode .modal-content {
    background: #2d3748;
    color: #e2e8f0;
}

.dark-mode .auth-form input,
.dark-mode .auth-form select {
    background: #4a5568;
    border-color: #718096;
    color: #e2e8f0;
}

.dark-mode .auth-form input::placeholder {
    color: #a0aec0;
}

.dark-mode .profile-info {
    background: #4a5568;
}

.dark-mode .user-dropdown {
    background: #2d3748;
    border-color: #4a5568;
}

.dark-mode .user-dropdown a {
    color: #e2e8f0;
}

.dark-mode .user-dropdown a:hover {
    background: #4a5568;
}

.dark-mode .section-title {
    color: #e2e8f0;
}

.dark-mode .section-subtitle {
    color: #a0aec0;
}

.dark-mode .footer {
    background: #1a202c;
    border-top: 1px solid #4a5568;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Cookie Banner LGPD Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #3182ce;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
}

.cookie-icon {
    font-size: 2rem;
    color: #fbb040;
}

.cookie-text h4 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 1.1rem;
}

.cookie-text p {
    margin: 0 0 8px 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-small {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.cookie-link {
    color: #90cdf4;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: #bee3f8;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.btn-cookie-accept {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.95rem;
}

.btn-cookie-accept:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.btn-cookie-config {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9rem;
}

.btn-cookie-config:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Cookie Config Modal */
.cookie-category {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-category h4 {
    margin: 0 0 5px 0;
    color: #2d3748;
    font-size: 1rem;
}

.cookie-category p {
    margin: 0;
    color: #4a5568;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .btn-cookie-accept,
    .btn-cookie-config {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .cookie-text h4 {
        font-size: 1rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-cookie-accept,
    .btn-cookie-config {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

/* Cookie Banner Animation */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner.animate {
    animation: slideUp 0.4s ease-out;
} 