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

:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff6b35;
    --accent-color: #7c3aed;
    --dark-bg: #1a1a1a;
    --dark-surface: #2a2a2a;
    --dark-card: #3a3a3a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Splash Screen */
#splash-screen {
    position: fixed;
    inset: 0;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    animation: splashIn 0.8s ease-out forwards, pulse 2s 0.8s infinite;
    filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.45));
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-progress {
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    width: min(60%, 420px);
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.25);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15) inset;
}

.splash-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    animation: fillBar 3s linear forwards;
}

/* Cyber Flash & Scan effects */
.splash-flash {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.35) 0%, rgba(0, 212, 255, 0.12) 30%, rgba(0, 212, 255, 0.05) 55%, transparent 70%);
    opacity: 0;
    animation: neonFlash 0.9s ease-out 0.55s both;
    pointer-events: none;
    mix-blend-mode: screen;
}

.splash-scan {
    position: absolute;
    left: 0;
    right: 0;
    top: 15%;
    height: 0;
    pointer-events: none;
}

.splash-scan::before {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.9), transparent);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6), 0 0 40px rgba(0, 212, 255, 0.3);
    filter: blur(0.2px);
    transform: translateY(-50%);
    animation: scanLine 2.2s ease-in-out 0.6s both;
}

@keyframes splashIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
        filter: blur(2px) drop-shadow(0 0 0 rgba(0, 212, 255, 0));
    }
    60% {
        opacity: 1;
        transform: translateY(0) scale(1.04);
        filter: blur(0) drop-shadow(0 0 22px rgba(0, 212, 255, 0.6));
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0) drop-shadow(0 0 18px rgba(0, 212, 255, 0.45));
    }
}

@keyframes fillBar {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes neonFlash {
    0% { opacity: 0; transform: scale(0.98); }
    30% { opacity: 1; transform: scale(1.05); }
    60% { opacity: 0.8; transform: scale(1.01); }
    100% { opacity: 0; transform: scale(1); }
}

@keyframes scanLine {
    0% { top: 15%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 85%; opacity: 0; }
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
    }
}

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

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

@keyframes flashSequence {
    0%, 85%, 100% {
        border-color: rgba(0, 212, 255, 0.1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        transform: scale(1);
    }
    90% {
        border-color: rgba(0, 212, 255, 1);
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 20px 60px rgba(0, 212, 255, 0.3);
        transform: scale(1.02);
    }
    95% {
        border-color: rgba(0, 212, 255, 1);
        box-shadow: 0 0 40px rgba(0, 212, 255, 1), 0 25px 80px rgba(0, 212, 255, 0.4);
        transform: scale(1.05);
    }
}

@keyframes iconFlash {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(0, 212, 255, 0);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.nav-logo i {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    animation: pulse 2s infinite;
}

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

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Botões */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    padding-top: 240px; /* offset do header fixo */
    padding-bottom: 80px;
    margin-bottom: 80px; /* garante espaço após o hero */
}

.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.background-slide.active {
    opacity: 0.6;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) blur(0.5px);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,212,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    background: rgba(26, 26, 26, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(15px);
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: professionalFlash 3s ease-in-out infinite;
}

@keyframes professionalFlash {
    0%, 90%, 100% {
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
        filter: brightness(1);
    }
    5% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 30px rgba(0, 212, 255, 0.6);
        filter: brightness(1.2);
    }
    10% {
        text-shadow: 0 0 30px rgba(0, 212, 255, 1), 0 0 40px rgba(0, 212, 255, 0.8);
        filter: brightness(1.4);
    }
    15% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 30px rgba(0, 212, 255, 0.6);
        filter: brightness(1.2);
    }
}


.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlash 3s ease-in-out infinite;
}

@keyframes gradientFlash {
    0%, 90%, 100% {
        filter: brightness(1) drop-shadow(0 0 5px rgba(0, 212, 255, 0.3));
    }
    5% {
        filter: brightness(1.3) drop-shadow(0 0 15px rgba(0, 212, 255, 0.8));
    }
    10% {
        filter: brightness(1.6) drop-shadow(0 0 25px rgba(0, 212, 255, 1));
    }
    15% {
        filter: brightness(1.3) drop-shadow(0 0 15px rgba(0, 212, 255, 0.8));
    }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    min-height: 400px;
}

.hero-image {
    position: relative;
}

.app-screenshot {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    animation: float 3s ease-in-out infinite;
    transition: transform 0.3s ease;
    border: 2px solid rgba(0, 212, 255, 0.2);
}

.app-screenshot:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.cyber-card {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
    animation: float 3s ease-in-out infinite;
    box-shadow: var(--shadow-card);
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.card-chip {
    width: 40px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    position: relative;
}

.card-chip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

.card-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: white;
}

.card-logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.card-number {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    color: white;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: end;
    color: white;
}

.card-holder span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.card-expiry span {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--dark-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    animation: float 2s ease-in-out infinite;
}

.floating-icon.icon-1 {
    top: 10%;
    right: -30px;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    top: 30%;
    left: -30px;
    animation-delay: 0.5s;
}

.floating-icon.icon-3 {
    bottom: 30%;
    right: -30px;
    animation-delay: 1s;
}

.floating-icon.icon-4 {
    bottom: 10%;
    left: -30px;
    animation-delay: 1.5s;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--dark-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--dark-card);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: flashSequence 8s infinite;
}

.service-card:nth-child(1) {
    animation-delay: 0s;
}

.service-card:nth-child(2) {
    animation-delay: 1.5s;
}

.service-card:nth-child(3) {
    animation-delay: 3s;
}

.service-card:nth-child(4) {
    animation-delay: 4.5s;
}

.service-card:nth-child(5) {
    animation-delay: 6s;
}

.service-card:nth-child(6) {
    animation-delay: 7.5s;
}

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

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.service-card:nth-child(1):hover .service-icon,
.service-card:nth-child(1).flashing .service-icon {
    animation: iconFlash 0.5s ease-in-out;
}

.service-card:nth-child(2):hover .service-icon,
.service-card:nth-child(2).flashing .service-icon {
    animation: iconFlash 0.5s ease-in-out;
}

.service-card:nth-child(3):hover .service-icon,
.service-card:nth-child(3).flashing .service-icon {
    animation: iconFlash 0.5s ease-in-out;
}

.service-card:nth-child(4):hover .service-icon,
.service-card:nth-child(4).flashing .service-icon {
    animation: iconFlash 0.5s ease-in-out;
}

.service-card:nth-child(5):hover .service-icon,
.service-card:nth-child(5).flashing .service-icon {
    animation: iconFlash 0.5s ease-in-out;
}

.service-card:nth-child(6):hover .service-icon,
.service-card:nth-child(6).flashing .service-icon {
    animation: iconFlash 0.5s ease-in-out;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--dark-bg);
}

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

.about-text {
    animation: fadeInLeft 1s ease-out;
}

.about-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-visual {
    animation: fadeInRight 1s ease-out;
}

.tech-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.tech-item {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.tech-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.tech-item span {
    font-weight: 600;
    color: var(--text-primary);
}

/* Account Opening Section */
.account-opening {
    padding: 6rem 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.account-opening::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 4rem 0;
    flex-wrap: wrap;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-glow);
    animation: pulse 2s infinite;
}

.step-content {
    background: var(--dark-card);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
    max-width: 200px;
    position: relative;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.step-arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
    animation: pulse 2s infinite;
    margin: 0 1rem;
}

.cta-button {
    text-align: center;
    margin-top: 3rem;
}

/* App Screenshots Section */
.app-screenshots {
    padding: 6rem 0;
    background: var(--dark-surface);
    position: relative;
    overflow: hidden;
}

.app-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.app-background-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.app-background-slide.active {
    opacity: 0.4;
}

.app-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) blur(1px);
}

.app-screenshots .container {
    position: relative;
    z-index: 2;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    align-items: center;
}

.carousel-slide {
    flex: 0 0 33.333%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.carousel-image {
    width: 100%;
    max-width: 300px; /* tamanho unificado */
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.carousel-caption {
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
    max-width: 300px;
}

/* Esconde legendas individuais dentro dos slides (usaremos legenda global) */
.carousel-slide .carousel-caption { display: none; }

.carousel-caption-display {
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: center;
}

.carousel-image:hover {
    transform: scale(1.02);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.carousel-btn {
    background: rgba(0, 212, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: var(--shadow-glow);
}

.carousel-btn:hover {
    background: rgba(0, 212, 255, 1);
    transform: scale(1.1);
}

.carousel-btn.prev-btn {
    margin-left: 20px;
}

.carousel-btn.next-btn {
    margin-right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--dark-surface);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

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

.contact-details p {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--dark-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--dark-bg);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.footer-logo i {
    font-size: 2rem;
}

.footer-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-secondary);
}

/* AI Assistant */
.ai-assistant {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.ai-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    animation: aiFloat 3s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-avatar:hover {
    transform: scale(1.1);
    box-shadow: none;
}

.ai-image {
    width: 80px;
    height: 80px;
    border-radius: 0;
    object-fit: contain;
    filter: brightness(1.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: transparent;
}

.ai-message {
    background: var(--dark-card);
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: var(--shadow-card);
    max-width: 200px;
    opacity: 0;
    transform: translateY(2px);
    transition: all 0.3s ease;
    position: relative;
    margin-top: -8px;
}

.ai-message::before {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 30px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--dark-card);
}

.ai-message p {
    margin: 0;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.ai-message.show {
    opacity: 1;
    transform: translateY(0);
}

.ai-toggle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: none;
    transition: all 0.3s ease;
}

.ai-toggle:hover {
    transform: scale(1.1);
}

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

/* Responsividade */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--dark-bg);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 120px; /* reduzir offset no mobile */
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .hero-visual {
        gap: 1rem;
    }

    .app-screenshot {
        max-width: 320px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .tech-showcase {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
        gap: 1rem;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

    .step-content {
        max-width: 100%;
    }

    .carousel-container {
        max-width: 100%;
        margin: 0 1rem;
    }

    .carousel-slide {
        flex: 0 0 100%;
    }

    .carousel-slide.center .carousel-image {
        max-width: 280px;
    }

    .carousel-slide.side .carousel-image {
        max-width: 220px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-btn.prev-btn {
        margin-left: 10px;
    }

    .carousel-btn.next-btn {
        margin-right: 10px;
    }
}

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

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

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    /* AI Assistant Mobile */
    .ai-assistant {
        bottom: 15px;
        right: 15px;
    }
    
    .ai-avatar {
        width: 80px;
        height: 80px;
        background: transparent;
        box-shadow: none;
    }
    
    .ai-image {
        width: 60px;
        height: 60px;
        background: transparent;
        border-radius: 0;
    }
    
    .ai-message {
        max-width: 160px;
        padding: 8px 12px;
        font-size: 0.7rem;
        margin-top: -6px;
    }
    
    .ai-toggle {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
        background: transparent;
        color: transparent;
        box-shadow: none;
    }
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}
