/* ==================== CSS Variables ==================== */
:root {
    /* Cores Institucionais */
    --primary-dark: #001826;
    --primary-blue: #033159;
    --secondary-blue: #032340;
    --accent-blue: #588ad6;
    --light-gray: #f4f4f4;
    --white: #ffffff;
    
    /* Background Colors */
    --bg-dark: #001826;
    --bg-card: #032340;
    --bg-secondary: #033159;
    --border-color: rgba(88, 138, 214, 0.2);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #f4f4f4;
    
    /* Spacing */
    --section-padding: 8rem 0;
    
    /* Effects */
    --glow-blue: 0 0 30px rgba(88, 138, 214, 0.6), 0 0 60px rgba(88, 138, 214, 0.4);
    --glow-blue-strong: 0 0 40px rgba(88, 138, 214, 0.8), 0 0 80px rgba(88, 138, 214, 0.6), 0 0 120px rgba(88, 138, 214, 0.4);
    --text-glow-blue: 0 0 30px rgba(88, 138, 214, 1), 0 0 60px rgba(88, 138, 214, 0.8);
}

/* ==================== Global Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    background: linear-gradient(135deg, #001826 0%, #032340 50%, #001826 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ==================== Section Divider ==================== */
.section-divider {
    position: relative;
    width: 100%;
    height: 1px;
    margin: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(88, 138, 214, 0.3) 20%, 
        rgba(88, 138, 214, 0.6) 50%, 
        rgba(88, 138, 214, 0.3) 80%, 
        transparent 100%
    );
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(88, 138, 214, 0.8);
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 40px;
    background: radial-gradient(ellipse, rgba(88, 138, 214, 0.2) 0%, transparent 70%);
}

/* ==================== Background Effects ==================== */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.glow-orb-1 {
    top: 25%;
    left: 25%;
    width: 400px;
    height: 400px;
    background: var(--accent-blue);
    animation: pulse-slow 4s ease-in-out infinite;
}

.glow-orb-2 {
    bottom: 25%;
    right: 25%;
    width: 350px;
    height: 350px;
    background: var(--accent-blue);
    animation: float 6s ease-in-out infinite;
}

.glow-orb-3 {
    top: 75%;
    left: 33%;
    width: 280px;
    height: 280px;
    background: var(--accent-blue);
    opacity: 0.2;
    animation: pulse-slow 4s ease-in-out infinite 1s;
}

/* ==================== Header / Navbar ==================== */
.header-navbar {
    background: rgba(0, 24, 38, 0.95);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(88, 138, 214, 0.3);
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 0.5rem 0;
}

.logo-container .logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-svg {
    animation: rotate-subtle 20s linear infinite;
}

.logo-circle {
    stroke-dasharray: 113;
    animation: draw-circle 2s ease-in-out infinite alternate;
}

.logo-check {
    stroke-dasharray: 20;
    animation: draw-check 1.5s ease-in-out infinite;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.badge-live {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(88, 138, 214, 0.1);
    border: 1px solid rgba(88, 138, 214, 0.5);
    border-radius: 50px;
    color: var(--accent-blue);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Navbar Navigation Links */
.navbar-nav {
    gap: 0.25rem;
}

.nav-link {
    position: relative;
    color: rgba(244, 244, 244, 0.7);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), #7cb3ff);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(88, 138, 214, 0.08);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link:active,
.nav-link:focus,
.nav-link.active {
    color: var(--text-primary) !important;
    background: rgba(88, 138, 214, 0.15);
}

.nav-link:active {
    transform: scale(0.95);
}

.navbar-toggler {
    border: 1px solid rgba(88, 138, 214, 0.3);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(88, 138, 214, 0.1);
    border-color: rgba(88, 138, 214, 0.5);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(88, 138, 214, 0.15);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(88, 138, 214, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==================== Buttons ==================== */
.btn-primary-custom {
    position: relative;
    background: linear-gradient(135deg, var(--accent-blue), #6b9edb);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(88, 138, 214, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #6b9edb, var(--accent-blue));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 138, 214, 0.4);
}

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

.btn-outline-custom {
    position: relative;
    background: rgba(3, 35, 64, 0.4);
    color: var(--text-primary);
    border: 1px solid rgba(88, 138, 214, 0.4);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-outline-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(88, 138, 214, 0.1), rgba(88, 138, 214, 0.2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn-outline-custom:hover::before {
    transform: scaleX(1);
}

.btn-outline-custom:hover {
    color: var(--text-primary);
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(88, 138, 214, 0.3);
    transform: translateY(-1px);
}

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

/* ==================== Hero Section ==================== */
.hero-section {
    min-height: auto;
    padding: 4rem 0 3rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(88, 138, 214, 0.1), rgba(88, 138, 214, 0.05));
    border: 1px solid rgba(88, 138, 214, 0.3);
    border-radius: 50px;
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #7cb3ff, var(--accent-blue), #a0cbff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(244, 244, 244, 0.9);
    margin-bottom: 2rem;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== Hero Demo Card ==================== */
.hero-demo-card {
    background: rgba(3, 35, 64, 0.6);
    border: 1px solid rgba(88, 138, 214, 0.3);
    border-radius: 1.5rem;
    padding: 3rem;
    margin-top: 4rem;
    position: relative;
    box-shadow: 0 8px 32px rgba(88, 138, 214, 0.2);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.hero-demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(88, 138, 214, 0.05), transparent);
    pointer-events: none;
}

.demo-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.demo-subtitle {
    font-size: 1.125rem;
    color: rgba(244, 244, 244, 0.8);
    margin-bottom: 2rem;
}

.command-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.command-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(88, 138, 214, 0.05);
    border: 1px solid rgba(88, 138, 214, 0.2);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.command-item:hover {
    background: rgba(88, 138, 214, 0.1);
    border-color: rgba(88, 138, 214, 0.4);
    transform: translateX(5px);
}

.command-indicator {
    width: 12px;
    height: 12px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: var(--glow-blue);
    animation: pulse-animation 2s ease-in-out infinite;
}

.command-code {
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

.command-desc {
    color: rgba(244, 244, 244, 0.7);
}

.demo-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.demo-box {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, rgba(88, 138, 214, 0.3), rgba(88, 138, 214, 0.3));
    border: 1px solid rgba(88, 138, 214, 0.4);
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: transform 0.5s ease;
}

.demo-box:hover {
    transform: scale(1.05);
}

.demo-icon {
    font-size: 120px;
    color: var(--accent-blue);
    filter: drop-shadow(var(--glow-blue-strong));
}

.floating-dot {
    position: absolute;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: var(--glow-blue-strong);
}

.dot-1 {
    top: -24px;
    right: -24px;
    width: 48px;
    height: 48px;
    animation: bounce 2s ease-in-out infinite;
}

.dot-2 {
    bottom: -24px;
    left: -24px;
    width: 32px;
    height: 32px;
    background: var(--accent-blue);
    animation: pulse-animation 3s ease-in-out infinite;
}

.dot-3 {
    top: 50%;
    left: -32px;
    width: 24px;
    height: 24px;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.dot-4 {
    top: 25%;
    right: -16px;
    width: 16px;
    height: 16px;
    animation: pulse-animation 2s ease-in-out infinite 0.5s;
}

/* ==================== Sections ==================== */
.features-section,
.technical-section,
.cta-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.features-section {
    background: linear-gradient(180deg, transparent, rgba(88, 138, 214, 0.05), transparent);
    padding-top: 5rem;
    padding-bottom: 6rem;
    overflow: visible;
    scroll-margin-top: -10px;
}

#services-section {
    scroll-margin-top: -10px;
}

#technical-section {
    scroll-margin-top: -10px;
}

.technical-section {
    background: linear-gradient(180deg, transparent, rgba(88, 138, 214, 0.05));
    scroll-margin-top: -10px;
    padding-top: 5rem !important;
    padding-bottom: 6rem !important;
}

.cta-section {
    background: linear-gradient(135deg, rgba(88, 138, 214, 0.1), transparent, rgba(88, 138, 214, 0.1));
}

.section-badge {
    display: inline-flex;
    align-items: center;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(244, 244, 244, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

/* ==================== Feature Cards ==================== */
.feature-card {
    background: rgba(3, 35, 64, 0.5);
    border: 1px solid rgba(88, 138, 214, 0.3);
    border-radius: 1.5rem;
    padding: 2rem 2.5rem;
    height: 100%;
    max-height: 480px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    position: relative;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.feature-card:hover {
    background: rgba(3, 35, 64, 0.7);
    border-color: rgba(88, 138, 214, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(88, 138, 214, 0.3);
}

/* Card Destacado com IA */
.feature-card-highlighted {
    background: rgba(88, 138, 214, 0.15);
    border: 2px solid var(--accent-blue);
    box-shadow: 0 8px 32px rgba(88, 138, 214, 0.4);
}

.feature-card-highlighted:hover {
    box-shadow: 0 16px 48px rgba(88, 138, 214, 0.5);
}

/* Badge NOVO */
.feature-badge-new {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(88, 138, 214, 0.4);
    animation: pulse-slow 2s ease-in-out infinite;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(88, 138, 214, 0.1), rgba(88, 138, 214, 0.05));
    border: 1px solid rgba(88, 138, 214, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(88, 138, 214, 0.15), rgba(88, 138, 214, 0.1));
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.feature-description {
    color: rgba(244, 244, 244, 0.8);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.95rem;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.feature-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    flex-grow: 1;
}

.feature-highlights li {
    color: rgba(244, 244, 244, 0.7);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.feature-highlights i {
    color: var(--accent-blue);
}

/* Preço do Serviço */
.feature-price {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(88, 138, 214, 0.2);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-align: center;
}

/* ==================== Technical Cards ==================== */
.technical-card {
    background: rgba(3, 35, 64, 0.5);
    border: 1px solid rgba(88, 138, 214, 0.3);
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.technical-card:hover {
    background: rgba(3, 35, 64, 0.7);
    border-color: rgba(88, 138, 214, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(88, 138, 214, 0.3);
}

.technical-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(88, 138, 214, 0.1), rgba(88, 138, 214, 0.05));
    border: 1px solid rgba(88, 138, 214, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.technical-card:hover .technical-icon {
    background: linear-gradient(135deg, rgba(88, 138, 214, 0.15), rgba(88, 138, 214, 0.1));
    transform: scale(1.05);
}

.technical-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.technical-description {
    color: rgba(244, 244, 244, 0.8);
    line-height: 1.6;
}

/* ==================== Portfolio CTA ==================== */
.portfolio-cta {
    background: linear-gradient(135deg, rgba(88, 138, 214, 0.1), rgba(88, 138, 214, 0.05));
    border: 1px solid rgba(88, 138, 214, 0.3);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.portfolio-text {
    font-size: 1.15rem;
    color: rgba(244, 244, 244, 0.9);
    line-height: 1.6;
}

.portfolio-text strong {
    color: var(--accent-blue);
}

/* ==================== Footer ==================== */
.footer {
    border-top: 1px solid rgba(88, 138, 214, 0.2);
    padding: 4rem 0 2rem;
    background: rgba(0, 24, 38, 0.5);
    position: relative;
    z-index: 1;
}

.footer-description {
    color: rgba(244, 244, 244, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1rem;
    max-width: 350px;
}

.footer-column-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(244, 244, 244, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-blue);
    transform: translateX(3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(88, 138, 214, 0.2);
}

.footer-copyright {
    color: rgba(244, 244, 244, 0.6);
    font-size: 0.875rem;
}

.footer-social-icons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-social-icons {
        justify-content: flex-end;
    }
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(88, 138, 214, 0.1);
    border: 1px solid rgba(88, 138, 214, 0.3);
    border-radius: 0.5rem;
    color: rgba(244, 244, 244, 0.8);
    font-size: 1.125rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-link:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    transform: translateY(-3px);
}

/* ==================== Carousel Controls ==================== */
#servicesCarousel {
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
}

#servicesCarousel .carousel-inner {
    overflow: visible;
}

.services-carousel-row {
    align-items: center;
    min-height: 520px;
}

/* Card lateral - menor e com opacidade */
.carousel-side-card {
    transform: scale(0.85);
    opacity: 0.6;
    transition: all 1.2s ease-in-out;
    z-index: 1;
}

/* Card central - destacado */
.carousel-center-card {
    transform: scale(1.1);
    z-index: 2;
    transition: all 1.2s ease-in-out;
}

.carousel-center-card .feature-card {
    box-shadow: 0 20px 60px rgba(88, 138, 214, 0.5),
                0 0 40px rgba(88, 138, 214, 0.2);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(88, 138, 214, 0.5),
                    0 0 40px rgba(88, 138, 214, 0.2);
    }
    50% {
        box-shadow: 0 20px 70px rgba(88, 138, 214, 0.6),
                    0 0 50px rgba(88, 138, 214, 0.3);
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(88, 138, 214, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--accent-blue);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* Transição suave para carousel */
#servicesCarousel .carousel-inner {
    overflow: visible;
}

#servicesCarousel .carousel-item {
    transition: transform 1.2s ease-in-out;
}

/* Estabilização dos cards do carrossel */
#servicesCarousel .feature-card {
    transform-style: preserve-3d;
}

#servicesCarousel .feature-card:hover {
    transform: translateY(-8px) !important;
}

#servicesCarousel .feature-card *,
#servicesCarousel .feature-card *::before,
#servicesCarousel .feature-card *::after {
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: geometricPrecision !important;
}

.carousel-indicators {
    margin-bottom: -3rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(88, 138, 214, 0.5);
    border: none;
}

.carousel-indicators button.active {
    background-color: var(--accent-blue);
}

/* ==================== Testimonials Section ==================== */
#testimonials-section {
    scroll-margin-top: -10px;
}

.testimonials-section {
    padding-top: 5rem !important;
    padding-bottom: 6rem !important;
    position: relative;
    z-index: 1;
    scroll-margin-top: -10px;
}

.testimonial-card {
    background: rgba(3, 35, 64, 0.5);
    border: 1px solid rgba(88, 138, 214, 0.3);
    border-radius: 1.5rem;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(88, 138, 214, 0.5);
    box-shadow: 0 12px 32px rgba(88, 138, 214, 0.3);
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: rgba(244, 244, 244, 0.9);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(88, 138, 214, 0.2);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.125rem;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.author-position {
    font-size: 0.875rem;
    color: rgba(244, 244, 244, 0.7);
    margin: 0;
}
/* ==================== FAQ Section ==================== */
#faq-section {
    scroll-margin-top: -10px;
}

.faq-section {
    padding-top: 5rem !important;
    padding-bottom: 6rem !important;
    position: relative;
    z-index: 1;
    scroll-margin-top: -10px;
}

.accordion {
    --bs-accordion-bg: rgba(3, 35, 64, 0.5);
    --bs-accordion-border-color: rgba(88, 138, 214, 0.3);
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-active-bg: rgba(88, 138, 214, 0.1);
    --bs-accordion-btn-color: rgba(244, 244, 244, 0.9);
    --bs-accordion-active-color: var(--text-primary);
    --bs-accordion-btn-focus-border-color: rgba(88, 138, 214, 0.5);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(88, 138, 214, 0.25);
}

.accordion-item {
    background: rgba(3, 35, 64, 0.5);
    border: 1px solid rgba(88, 138, 214, 0.3);
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.accordion-button {
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    color: var(--text-primary);
    background: rgba(88, 138, 214, 0.15);
    box-shadow: none;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    color: rgba(244, 244, 244, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    padding: 1.5rem;
}

/* ==================== Contact Section (CTA) ==================== */
.cta-section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
    scroll-margin-top: -10px;
}

/* Contact Info - Left Side */
.contact-info-wrapper {
    background: rgba(3, 35, 64, 0.5);
    border: 1px solid rgba(88, 138, 214, 0.3);
    border-radius: 1.5rem;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    height: 100%;
}

.contact-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(88, 138, 214, 0.2);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(88, 138, 214, 0.2), rgba(88, 138, 214, 0.1));
    border: 1px solid rgba(88, 138, 214, 0.3);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.contact-icon-green {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(37, 211, 102, 0.1));
    border-color: rgba(37, 211, 102, 0.3);
    color: #25d366;
}

.contact-icon-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
    border-color: rgba(168, 85, 247, 0.3);
    color: #a855f7;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1rem;
    color: rgba(244, 244, 244, 0.9);
    margin-bottom: 0.25rem;
}

.contact-value-small {
    font-size: 0.875rem;
    color: rgba(244, 244, 244, 0.7);
    margin-bottom: 0.25rem;
}

/* Contact Form - Right Side */
.contact-form-wrapper {
    background: rgba(3, 35, 64, 0.5);
    border: 1px solid rgba(88, 138, 214, 0.3);
    border-radius: 1.5rem;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 1rem;
    color: rgba(244, 244, 244, 0.7);
    margin-bottom: 2rem;
}

.contact-form .form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(244, 244, 244, 0.9);
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    background: rgba(0, 24, 38, 0.5);
    border: 1px solid rgba(88, 138, 214, 0.3);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: rgba(0, 24, 38, 0.7);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 0.25rem rgba(88, 138, 214, 0.25);
    color: var(--text-primary);
}

.contact-form .form-control::placeholder {
    color: rgba(244, 244, 244, 0.4);
}

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

/* ==================== Animations ==================== */
@keyframes pulse-animation {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

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

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

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

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes rotate-subtle {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes draw-circle {
    from {
        stroke-dashoffset: 113;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes draw-check {
    0%, 50% {
        stroke-dashoffset: 20;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-demo-card {
        padding: 2rem;
    }
    
    .demo-box {
        width: 280px;
        height: 280px;
    }
    
    .demo-icon {
        font-size: 100px;
    }
}

@media (max-width: 768px) {
    /* Carousel - mostrar apenas card central no mobile */
    .carousel-side-card {
        display: none;
    }
    
    .carousel-center-card {
        transform: scale(1);
    }
    
    .services-carousel-row {
        min-height: auto;
        padding: 2rem 0;
    }
    
    #servicesCarousel {
        padding: 2rem 0;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .hero-section {
        min-height: 100vh;
        padding: 1.5rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
    }
    
    .demo-title {
        font-size: 1.75rem;
    }
    
    .demo-box {
        width: 240px;
        height: 240px;
    }
    
    .demo-icon {
        font-size: 80px;
    }
    
    .floating-dot {
        display: none;
    }
    
    .features-section,
    .technical-section,
    .cta-section {
        padding: 4rem 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-description {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .command-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .demo-box {
        width: 200px;
        height: 200px;
    }
    
    .demo-icon {
        font-size: 60px;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem !important;
    }
}

/* ==================== Typography Utility Classes ==================== */
h1, h2, h3, h4, h5, h6,
.font-bold,
.hero-title,
.section-title,
.stat-number,
.cta-title,
.btn {
    font-weight: 700;
}

.font-regular,
p,
.hero-subtitle,
.section-subtitle,
.stat-label,
.feature-description {
    font-weight: 400;
}
