* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #041322;
    width: 100%;
    position: relative;
    overflow-x: clip;
}

main {
    width: 100%;
}

section {
    width: 100%;
}

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

/* Header e Navegação */
header {
    background-color: #2c3e50;
    color: white;
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 1rem;
    position: relative;
}

.logo {
    z-index: 1001;
    order: 1;
}

.mobile-menu-toggle {
    order: 2;
}

.nav-links {
    order: 3;
}

/* Desktop: esconder menu mobile */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
    
    .nav-links {
        flex: 1;
        justify-content: center;
    }
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

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

/* Menu Hamburguer Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Overlay Mobile Menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Carrinho na Navbar */
.cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(10, 25, 41, 0.6);
    border: 1px solid rgba(52, 152, 219, 0.4);
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.cart-button:hover {
    background: rgba(52, 152, 219, 0.15);
    box-shadow: 0 6px 18px rgba(52, 152, 219, 0.35);
    transform: translateY(-1px);
}

.cart-icon {
    width: 18px;
    height: 18px;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #e74c3c;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    line-height: 1;
    min-width: 18px;
    text-align: center;
}

/* Modal do Carrinho */
.cart-modal-system {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.cart-modal-system.active {
    display: flex;
}

.cart-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 19, 34, 0.85);
    backdrop-filter: blur(6px);
}

.cart-modal-content {
    position: relative;
    width: min(900px, 92vw);
    max-height: 85vh;
    background: linear-gradient(145deg, #0a1929, #0d1f35);
    border: 1px solid rgba(52, 152, 219, 0.35);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    padding: 24px;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.cart-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.cart-modal-header h2 {
    font-size: 1.4rem;
    color: #fff;
    margin: 0;
}

.close-cart-modal {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.close-cart-modal:hover {
    background: rgba(52, 152, 219, 0.2);
}

.cart-modal-body {
    overflow: auto;
    padding-right: 6px;
    flex: 1;
}

.cart-empty {
    text-align: center;
    color: #cbd6e2;
    padding: 40px 20px;
}

.cart-empty .empty-icon {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.cart-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 14px;
    padding: 12px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 12px;
    margin-bottom: 12px;
    background: rgba(10, 25, 41, 0.6);
}

.item-image {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: rgba(52, 152, 219, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details h4 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 1rem;
}

.item-category {
    color: #7fb3ff;
    font-size: 0.75rem;
}

.item-description {
    color: #b0b8c2;
    font-size: 0.85rem;
    margin: 6px 0 0;
}

.item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(52, 152, 219, 0.4);
    background: rgba(52, 152, 219, 0.15);
    color: #fff;
    cursor: pointer;
}

.qty-input {
    width: 52px;
    padding: 4px 6px;
    border-radius: 8px;
    border: 1px solid rgba(52, 152, 219, 0.4);
    background: rgba(10, 25, 41, 0.6);
    color: #fff;
    text-align: center;
}

.item-price {
    color: #fff;
    font-weight: 700;
}

.remove-btn {
    border: none;
    background: rgba(231, 76, 60, 0.15);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
}

.remove-btn svg {
    width: 16px;
    height: 16px;
}

.cart-modal-footer {
    margin-top: 16px;
    border-top: 1px solid rgba(52, 152, 219, 0.2);
    padding-top: 16px;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #cbd6e2;
}

.cart-summary .total {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-weight: 700;
}

.cart-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.btn-clear-cart,
.btn-checkout {
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
}

.btn-clear-cart {
    background: rgba(231, 76, 60, 0.2);
    color: #fff;
}

.btn-checkout {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
}

.cart-info {
    color: #aab6c3;
    font-size: 0.85rem;
    margin-top: 10px;
}

/* Menu de Perfil */
.profile-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(52, 152, 219, 0.5);
    background: linear-gradient(135deg, #0d2137, #0a1929);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 0;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-avatar:hover {
    box-shadow: 0 6px 18px rgba(52, 152, 219, 0.4);
    transform: translateY(-1px);
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: rgba(10, 25, 41, 0.98);
    border: 1px solid rgba(52, 152, 219, 0.35);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    padding: 12px;
    display: none;
    z-index: 2000;
}

.profile-menu.open .profile-dropdown {
    display: block;
}

.profile-info {
    padding: 8px 10px 12px;
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
    margin-bottom: 8px;
}

.profile-info strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
}

.profile-info small {
    display: block;
    color: #9bb0c5;
    font-size: 0.8rem;
}

.profile-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-dropdown a,
.profile-dropdown button {
    width: 100%;
    text-align: left;
    background: rgba(52, 152, 219, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.2);
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
    background: rgba(52, 152, 219, 0.2);
    box-shadow: 0 6px 14px rgba(52, 152, 219, 0.25);
}

.profile-dropdown .danger {
    background: rgba(231, 76, 60, 0.18);
    border-color: rgba(231, 76, 60, 0.35);
}

.profile-dropdown .danger:hover {
    background: rgba(231, 76, 60, 0.28);
    box-shadow: 0 6px 14px rgba(231, 76, 60, 0.25);
}

/* Botão de Login no Header */
.login-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

/* Quando tem foto de perfil */
.login-button img {
    transition: transform 0.3s ease;
}

.login-button:hover img {
    transform: scale(1.1);
}

.login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.login-button:hover::before {
    left: 100%;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
}

.login-button:active {
    transform: translateY(0);
}

/* Hero Section */
.hero {
    background: linear-gradient(90deg, #335c74, #041322, #335c74, #041322);
    background-size: 300% 100%;
    animation: waveGradient 8s ease-in-out infinite;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    position: relative;
    overflow: visible;
}

.hero-gradient-transition {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(180deg, 
        rgba(51, 92, 116, 0.3) 0%, 
        rgba(10, 31, 58, 0.7) 50%,
        #0a1f3a 100%);
    z-index: 10;
    pointer-events: none;
}

.hero .hero-circuitry {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 24%, rgba(52, 152, 219, 0.3) 25%, rgba(52, 152, 219, 0.3) 26%, transparent 27%, transparent 74%, rgba(52, 152, 219, 0.3) 75%, rgba(52, 152, 219, 0.3) 76%, transparent 77%, transparent),
        linear-gradient(0deg, transparent 24%, rgba(52, 152, 219, 0.3) 25%, rgba(52, 152, 219, 0.3) 26%, transparent 27%, transparent 74%, rgba(52, 152, 219, 0.3) 75%, rgba(52, 152, 219, 0.3) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    opacity: 0.4;
    animation: circuitMove 20s linear infinite, waveFloat 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 24%, rgba(52, 152, 219, 0.3) 25%, rgba(52, 152, 219, 0.3) 26%, transparent 27%, transparent 74%, rgba(52, 152, 219, 0.3) 75%, rgba(52, 152, 219, 0.3) 76%, transparent 77%, transparent),
        linear-gradient(0deg, transparent 24%, rgba(52, 152, 219, 0.3) 25%, rgba(52, 152, 219, 0.3) 26%, transparent 27%, transparent 74%, rgba(52, 152, 219, 0.3) 75%, rgba(52, 152, 219, 0.3) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    opacity: 0.4;
    animation: circuitMove 20s linear infinite, waveFloat 6s ease-in-out infinite;
}

.hero-effects {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.6) 3px, transparent 3px),
        radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.6) 3px, transparent 3px),
        radial-gradient(circle at 50% 50%, rgba(52, 152, 219, 0.6) 3px, transparent 3px),
        radial-gradient(circle at 30% 80%, rgba(51, 92, 116, 0.6) 4px, transparent 4px),
        radial-gradient(circle at 70% 20%, rgba(51, 92, 116, 0.6) 4px, transparent 4px);
    background-size: 100px 100px;
    animation: circuitPulse 3s ease-in-out infinite, waveFloat 8s ease-in-out infinite reverse;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    color: white;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.cta-button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Seções */
section {
    padding: 80px 20px;
}

section#services,
section#contact {
    padding: 80px 20px;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* About Section */
.about {
    background: linear-gradient(180deg, #0a1f3a 0%, #041322 50%, #0d2137 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}

.about-gradient-transition {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(180deg, 
        rgba(13, 33, 55, 0.5) 0%, 
        rgba(10, 31, 58, 0.7) 50%,
        #041322 100%);
    z-index: 10;
    pointer-events: none;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(51, 92, 116, 0.15) 0%, transparent 50%);
    animation: breathe 8s ease-in-out infinite alternate;
}

.about-diagonal-pattern {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 50px,
            rgba(52, 152, 219, 0.02) 50px,
            rgba(52, 152, 219, 0.02) 100px
        );
    animation: diagonalMove 30s linear infinite reverse;
    pointer-events: none;
}

.about .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.about h2 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    animation: fadeInUp 1s ease;
    position: relative;
    display: inline-block;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
}

.about h2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -80px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db);
    animation: slideInLeft 1s ease 0.5s forwards, pulseLine 2s ease-in-out 1.5s infinite;
    opacity: 0;
}

.about h2::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -80px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #3498db, transparent);
    animation: slideInRight 1s ease 0.5s forwards, pulseLine 2s ease-in-out 1.5s infinite;
    opacity: 0;
}

.about h2 span {
    position: relative;
}

.about h2::before,
.about h2::after {
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.8);
}

.about p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 900px;
    margin: 30px auto 0;
    color: #e0e0e0;
    line-height: 2;
    padding: 40px 50px;
    background: linear-gradient(135deg, rgba(4, 19, 34, 0.7), rgba(26, 58, 82, 0.5));
    border-radius: 20px;
    border: 1px solid rgba(52, 152, 219, 0.4);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 30px rgba(52, 152, 219, 0.1);
    animation: fadeInUp 1s ease 0.5s;
    animation-fill-mode: both;
    backdrop-filter: blur(10px);
}

.about p {
    text-align: center;
    font-size: 1.3rem;
    max-width: 900px;
    margin: 30px auto 0;
    color: #e0e0e0;
    line-height: 2;
    padding: 40px 50px;
    background: linear-gradient(135deg, rgba(4, 19, 34, 0.8), rgba(26, 58, 82, 0.6));
    border-radius: 20px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

/* Services Section */
.services {
    background: linear-gradient(180deg, #041322 0%, #0a1f3a 50%, #041322 100%);
    position: relative;
    overflow: visible;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(51, 92, 116, 0.1) 0%, transparent 50%);
    animation: breathe 8s ease-in-out infinite;
    z-index: 1;
}

.services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 50px,
            rgba(52, 152, 219, 0.02) 50px,
            rgba(52, 152, 219, 0.02) 100px
        );
    animation: diagonalMove 30s linear infinite;
    z-index: 2;
}

.services .container {
    position: relative;
    z-index: 3;
}

/* Transição de gradiente entre Services e Contact */
.services .container::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 80px;
    background: linear-gradient(180deg, 
        rgba(4, 19, 34, 0.3) 0%, 
        rgba(10, 31, 58, 0.6) 50%,
        rgba(10, 31, 58, 0.9) 100%);
    z-index: 10;
    pointer-events: none;
}

.services h2 {
    color: #fff;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.8);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 20px;
}

.service-card {
    background: linear-gradient(145deg, #0a1929, #0d1f35);
    padding: 1.8rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-decoration: none;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(52, 152, 219, 0.5) 50%, 
        transparent 100%);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: borderRotate 3s linear infinite;
    animation-play-state: paused;
}

.service-card:hover::before {
    width: 400px;
    height: 400px;
}

.service-card:hover::after {
    opacity: 1;
    animation-play-state: running;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(52, 152, 219, 0.6);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(52, 152, 219, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.service-card h3 {
    color: #fff;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: #3498db;
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.service-card p {
    color: #a0a0a0;
    line-height: 1.5;
    text-align: center;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: #c0c0c0;
}

.service-card__header {
    text-align: center;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.service-card__icon {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
    line-height: 1;
}

.service-card__tagline {
    color: #9aa8b5;
    font-size: 0.82rem;
    margin-top: 0.2rem;
}

.service-card__body {
    flex: 1;
    position: relative;
    z-index: 1;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: #b0b0b0;
    font-size: 0.85rem;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.service-list li::before {
    content: "•";
    color: #3498db;
    line-height: 1.2;
}

.service-card__footer {
    margin-top: auto;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.service-btn {
    margin-top: 1.2rem;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(52, 152, 219, 0.45);
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 6px 18px rgba(21, 101, 192, 0.35);
    position: relative;
    z-index: 1;
}

.service-btn .btn-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(21, 101, 192, 0.5);
}

.service-btn:active {
    transform: translateY(0);
}

.service-btn.btn-produtos {
    background: linear-gradient(135deg, #00b0ff, #0081cb);
    border-color: rgba(0, 176, 255, 0.5);
    box-shadow: 0 6px 18px rgba(0, 129, 203, 0.35);
}

.service-btn.btn-produtos:hover {
    box-shadow: 0 10px 24px rgba(0, 129, 203, 0.5);
}

.service-btn.btn-especialista {
    background: linear-gradient(135deg, #00c853, #009624);
    border-color: rgba(0, 200, 83, 0.45);
    box-shadow: 0 6px 18px rgba(0, 150, 36, 0.35);
}

.service-btn.btn-especialista:hover {
    box-shadow: 0 10px 24px rgba(0, 150, 36, 0.5);
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, #0a1f3a 0%, #041322 50%, #0d2137 100%);
    position: relative;
    overflow: visible;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(51, 92, 116, 0.15) 0%, transparent 50%);
    animation: breathe 8s ease-in-out infinite alternate;
}

.contact::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 50px,
            rgba(52, 152, 219, 0.02) 50px,
            rgba(52, 152, 219, 0.02) 100px
        );
    animation: diagonalMove 30s linear infinite reverse;
}

.contact .container {
    position: relative;
    z-index: 3;
}

/* Transição de gradiente no final do Contact */
.contact .container::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 80px;
    background: linear-gradient(180deg, 
        rgba(13, 33, 55, 0.3) 0%, 
        rgba(10, 31, 58, 0.6) 50%,
        rgba(4, 19, 34, 0.9) 100%);
    z-index: 10;
    pointer-events: none;
}

.contact h2 {
    color: #fff;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.8);
}

#contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#contact-form input,
#contact-form textarea {
    padding: 18px;
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(10, 25, 41, 0.6);
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: #a0a0a0;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #3498db;
    background: rgba(10, 25, 41, 0.8);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
}

#contact-form button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

#contact-form button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

#contact-form button:hover::before {
    width: 300px;
    height: 300px;
}

#contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.5);
}

/* Footer */
footer {
    background-color: transparent;
    color: white;
    text-align: center;
    padding: 2rem 0;
    min-height: fit-content;
}

footer p {
    margin: 0.5rem 0;
    line-height: 1.8;
}

/* Botão Flutuante IA */
.ai-float-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #0a4d8f 0%, #1e88e5 50%, #00d4ff 100%);
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(30, 136, 229, 0.4), 0 0 40px rgba(0, 212, 255, 0.2);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.ai-float-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.ai-float-button:hover::before {
    width: 100%;
    height: 100%;
}

.ai-float-button:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(30, 136, 229, 0.6), 0 0 60px rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.6);
}

.ai-float-button:active {
    transform: scale(1.05) translateY(-1px);
}

.ai-icon {
    width: 30px;
    height: 30px;
    color: #ffffff;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: pulse-icon 2s ease-in-out infinite;
}

.ai-text {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

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

/* Chat Flutuante IA */
.ai-chat-window {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 380px;
    height: 550px;
    background: linear-gradient(180deg, #0a1f3a 0%, #041322 100%);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 212, 255, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.3);
    display: flex;
    flex-direction: column;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.ai-chat-header {
    background: linear-gradient(135deg, #0a4d8f 0%, #1e88e5 100%);
    padding: 20px;
    border-radius: 18px 18px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.ai-chat-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #00d4ff 0%, #1e88e5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.ai-avatar svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.ai-chat-title h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ai-status {
    color: #a0ffc4;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ai-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.ai-chat-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.ai-chat-close svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.ai-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.ai-chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 10px;
}

.ai-chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.5);
}

.ai-welcome-message {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 15px;
    color: #a0c4ff;
    font-size: 14px;
    line-height: 1.6;
}

.ai-welcome-message p {
    margin: 5px 0;
}

.ai-message {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.5;
    animation: fadeInMessage 0.3s ease;
}

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

.user-message {
    background: linear-gradient(135deg, #1e88e5 0%, #00d4ff 100%);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.ai-chat-input {
    padding: 15px 20px;
    border-top: 2px solid rgba(0, 212, 255, 0.2);
    display: flex;
    gap: 10px;
    background: rgba(10, 31, 58, 0.5);
    border-radius: 0 0 18px 18px;
}

.ai-chat-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    padding: 12px 18px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.ai-chat-input input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.ai-chat-input input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.ai-send-button {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1e88e5 0%, #00d4ff 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.ai-send-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

.ai-send-button:active {
    transform: scale(0.95);
}

.ai-send-button svg {
    width: 22px;
    height: 22px;
    color: #ffffff;
}

/* Responsivo Mobile */
@media (max-width: 768px) {
    .ai-float-button {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .ai-icon {
        width: 26px;
        height: 26px;
    }
    
    .ai-text {
        font-size: 10px;
    }

    .ai-chat-window {
        width: calc(100% - 20px);
        height: calc(100vh - 100px);
        bottom: 10px;
        right: 10px;
        left: 10px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .ai-float-button {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
    
    .ai-icon {
        width: 24px;
        height: 24px;
    }
    
    .ai-text {
        font-size: 9px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes breathe {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scaleX(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scaleX(1.2);
    }
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 60%;
    }
}

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

@keyframes flashMove {
    0% {
        --x: 20%;
        --y: 30%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    20% {
        --x: 80%;
        --y: 70%;
        opacity: 0;
    }
    30% {
        --x: 50%;
        --y: 20%;
        opacity: 0;
    }
    40% {
        opacity: 0.8;
    }
    50% {
        --x: 30%;
        --y: 80%;
        opacity: 0;
    }
    60% {
        --x: 70%;
        --y: 40%;
        opacity: 0;
    }
    70% {
        opacity: 1;
    }
    80% {
        --x: 40%;
        --y: 60%;
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

@keyframes pulseLine {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(52, 152, 219, 0.8);
    }
    50% {
        opacity: 0.4;
        box-shadow: 0 0 20px rgba(52, 152, 219, 1);
    }
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(50px);
    }
}

@keyframes diagonalMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

@keyframes circuitMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes circuitPulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes waveGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes waveFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-10px) translateX(5px);
    }
    50% {
        transform: translateY(-5px) translateX(10px);
    }
    75% {
        transform: translateY(-10px) translateX(5px);
    }
}

@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Modais de Login e Cadastro */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 19, 34, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(145deg, #0a1929, #0d1f35);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(52, 152, 219, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: slideDown 0.4s ease;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: #fff;
    background: rgba(52, 152, 219, 0.2);
    transform: rotate(90deg);
}

.modal-content h2 {
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
}

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

.form-group label {
    display: block;
    color: #e0e0e0;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(10, 25, 41, 0.6);
    color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    background: rgba(10, 25, 41, 0.8);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: auto;
    cursor: pointer;
    accent-color: #3498db;
}

.forgot-password {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #5dade2;
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
}

.submit-btn:active {
    transform: translateY(0);
}

.modal-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(52, 152, 219, 0.2);
}

.modal-footer p {
    color: #aaa;
    font-size: 0.95rem;
}

.modal-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.modal-footer a:hover {
    color: #5dade2;
    text-decoration: underline;
}

/* Divisor Social */
.social-divider {
    text-align: center;
    margin: 25px 0 20px;
    position: relative;
}

.social-divider::before,
.social-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.3), transparent);
}

.social-divider::before {
    left: 0;
}

.social-divider::after {
    right: 0;
}

.social-divider span {
    color: #aaa;
    font-size: 0.85rem;
    background: linear-gradient(145deg, #0a1929, #0d1f35);
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

/* Botões de Login Social */
.social-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(10, 25, 41, 0.6);
    color: #fff;
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.google-btn {
    border-color: rgba(66, 133, 244, 0.5);
}

.google-btn:hover {
    background: rgba(66, 133, 244, 0.1);
    border-color: #4285F4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.facebook-btn {
    border-color: rgba(24, 119, 242, 0.5);
}

.facebook-btn:hover {
    background: rgba(24, 119, 242, 0.1);
    border-color: #1877F2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

/* ============================================
   LOGIN MODAL APRIMORADO
   ============================================ */
.login-modal-enhanced {
    max-width: 500px;
    background: linear-gradient(145deg, #0a1929 0%, #0d2338 50%, #0a1929 100%);
    border: 2px solid rgba(52, 152, 219, 0.4);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(52, 152, 219, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.login-modal-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    right: 0;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    animation: rotateGlow 20s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-header-enhanced {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.lock-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: pulse 2s ease-in-out infinite;
}

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

.modal-header-enhanced h2 {
    margin: 0;
    font-size: 2rem;
    background: linear-gradient(135deg, #3498db, #5dade2, #3498db);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.modal-subtitle {
    color: #aaa;
    font-size: 0.95rem;
    margin-top: 8px;
}

.form-group-enhanced {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.form-group-enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    border-radius: 50%;
    pointer-events: none;
}

.form-group-enhanced:has(input:focus)::before {
    width: 100%;
    height: 100%;
}

.input-icon {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.input-icon.password-field {
    align-items: center;
}

.input-icon .icon {
    position: absolute !important;
    left: 20px !important;
    font-size: 1.4rem !important;
    z-index: 1 !important;
    pointer-events: none !important;
    filter: drop-shadow(0 2px 4px rgba(52, 152, 219, 0.5)) !important;
    transition: all 0.3s ease !important;
}

.input-icon input:focus ~ .icon,
.input-icon:has(input:focus) .icon {
    transform: scale(1.2) !important;
    filter: drop-shadow(0 4px 8px rgba(52, 152, 219, 0.8)) !important;
}

.input-icon input {
    width: 100% !important;
    padding: 18px 60px 18px 55px !important;
    border: 2px solid rgba(52, 152, 219, 0.4) !important;
    border-radius: 15px !important;
    font-size: 1.05rem !important;
    font-family: inherit !important;
    background: linear-gradient(145deg, rgba(15, 30, 50, 0.8), rgba(10, 25, 41, 0.8)) !important;
    color: #fff !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
    backdrop-filter: blur(10px) !important;
}

.input-icon input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
    font-weight: 400 !important;
}

.input-icon input:focus {
    outline: none !important;
    border-color: #3498db !important;
    background: linear-gradient(145deg, rgba(20, 40, 65, 0.9), rgba(15, 30, 50, 0.9)) !important;
    box-shadow: 
        0 0 0 4px rgba(52, 152, 219, 0.15),
        0 8px 30px rgba(52, 152, 219, 0.4),
        inset 0 1px 3px rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-3px) !important;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(52, 152, 219, 0.1);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0;
    padding: 0;
    z-index: 2;
    box-shadow: inset 0 0 0 1px rgba(52, 152, 219, 0.3);
    transition: all 0.25s ease;
}

.password-toggle:hover {
    background: rgba(52, 152, 219, 0.2);
    box-shadow: 0 6px 14px rgba(52, 152, 219, 0.3), inset 0 0 0 1px rgba(52, 152, 219, 0.5);
}

.password-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.password-toggle .icon {
    font-size: 1rem;
    display: block;
    line-height: 1;
}

.remember-me-enhanced {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e0e0e0;
    cursor: pointer;
    user-select: none;
}

.remember-me-enhanced input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(52, 152, 219, 0.5);
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(10, 25, 41, 0.4);
}

.remember-me-enhanced input:checked ~ .checkmark {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-color: #3498db;
}

.remember-me-enhanced input:checked ~ .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.submit-btn-enhanced {
    width: 100% !important;
    padding: 18px !important;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 50%, #3498db 100%) !important;
    background-size: 200% 200% !important;
    color: white !important;
    border: none !important;
    border-radius: 15px !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 
        0 8px 25px rgba(52, 152, 219, 0.5),
        0 4px 10px rgba(52, 152, 219, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    animation: bgShift 3s ease infinite !important;
}

@keyframes bgShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-shine {
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 50% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: left 0.6s ease !important;
    transform: skewX(-20deg) !important;
    pointer-events: none !important;
}

.submit-btn-enhanced:hover .btn-shine {
    left: 150% !important;
}

.submit-btn-enhanced:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 
        0 12px 35px rgba(52, 152, 219, 0.7),
        0 8px 20px rgba(52, 152, 219, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.submit-btn-enhanced:active {
    transform: translateY(-2px) scale(1) !important;
    box-shadow: 
        0 6px 20px rgba(52, 152, 219, 0.6),
        inset 0 2px 5px rgba(0, 0, 0, 0.3) !important;
}

.social-divider-enhanced {
    text-align: center;
    margin: 30px 0 25px;
    position: relative;
    z-index: 1;
}

.social-divider-enhanced::before,
.social-divider-enhanced::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 38%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.4), transparent);
}

.social-divider-enhanced::before {
    left: 0;
}

.social-divider-enhanced::after {
    right: 0;
}

.social-divider-enhanced span {
    color: #bbb;
    font-size: 0.9rem;
    font-weight: 500;
    background: #0a1929;
    padding: 0 15px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-buttons-enhanced {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.social-btn-enhanced {
    flex: 1;
    padding: 14px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(10, 25, 41, 0.4);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.social-btn-enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-btn-enhanced:hover::before {
    width: 300px;
    height: 300px;
}

.social-btn-enhanced svg {
    position: relative;
    z-index: 1;
}

.social-btn-enhanced span {
    position: relative;
    z-index: 1;
}

.social-btn-enhanced.google-btn:hover {
    border-color: #4285F4;
    background: rgba(66, 133, 244, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

.social-btn-enhanced.facebook-btn:hover {
    border-color: #1877F2;
    background: rgba(24, 119, 242, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.modal-footer-enhanced {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid rgba(52, 152, 219, 0.2);
    position: relative;
    z-index: 1;
}

.modal-footer-enhanced p {
    color: #bbb;
    font-size: 0.95rem;
}

.register-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
}

.register-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #5dade2);
    transition: width 0.3s ease;
}

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

.register-link:hover {
    color: #5dade2;
}

/* Responsividade */
@media (max-width: 768px) {
    header {
        padding: 0.5rem 0;
    }
    
    nav {
        gap: 1rem;
        padding: 0 15px;
        flex-wrap: nowrap;
    }
    
    .logo {
        order: 1;
        flex: 1;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        order: 2;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 60px);
        order: 3;
        background: rgba(44, 62, 80, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 30px 20px;
        gap: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a {
        display: block;
        font-size: 1.1rem;
        padding: 10px;
    }
    
    .login-button {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
        border-radius: 10px;
        margin-top: 10px;
        background: linear-gradient(135deg, #3498db, #2980b9);
        color: white;
        border: none;
        cursor: pointer;
        font-weight: 600;
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    }
    
    .login-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
    }

    /* Ajustes do menu de perfil no mobile */
    .profile-dropdown {
        position: fixed !important;
        top: 60px !important;
        right: 10px !important;
        left: 10px !important;
        min-width: auto !important;
        width: auto !important;
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 70px);
        overflow-y: scroll !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    /* Esconder scrollbar no menu de perfil mobile - todas as versões */
    .profile-dropdown::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
        display: none !important;
    }

    .profile-dropdown::-webkit-scrollbar-track {
        display: none !important;
    }

    .profile-dropdown::-webkit-scrollbar-thumb {
        display: none !important;
    }

    .profile-info {
        padding: 12px;
        overflow: hidden;
    }

    .profile-info strong {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .profile-info small {
        font-size: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .profile-dropdown ul {
        gap: 8px;
        overflow: hidden;
    }

    .profile-dropdown a,
    .profile-dropdown button {
        padding: 12px 14px;
        font-size: 0.95rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content h2 {
        font-size: 1.6rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    /* Touch Targets Otimizados */
    button, .btn, a.cta-button {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
    }
    
    input, textarea, select {
        min-height: 44px;
        font-size: 16px;
        padding: 12px 15px;
    }
    
    textarea {
        min-height: 100px;
    }
    
    .modal-content {
        width: 95%;
        max-width: 95%;
        height: auto;
        max-height: 90vh;
        border-radius: 15px;
        margin: auto;
        overflow-y: auto;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
}

/* Animações dos Modais */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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