/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --dark-bg: #0f0f23;
    --light-bg: #ffffff;
    --text-dark: #1a1a2e;
    --text-light: #6b7280;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.nav-menu a:hover {
    color: #667eea;
}

.nav-menu a:hover svg {
    transform: scale(1.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.language-selector {
    display: flex;
    gap: 8px;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: 2px solid transparent;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    line-height: 1;
}

.lang-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.1);
}

.lang-btn.active {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

.phone-input-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

/* Custom Select */
.custom-select {
    position: relative;
    width: 150px;
    user-select: none;
}

.select-selected {
    background: white;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.select-selected:hover {
    border-color: var(--primary-color);
}

.select-selected::after {
    content: '▼';
    position: absolute;
    right: 15px;
    font-size: 0.8rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.select-selected.select-arrow-active::after {
    transform: rotate(180deg);
}

.select-items {
    position: absolute;
    background: white;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    z-index: 99;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    max-height: 250px;
    overflow-y: auto;
    border: 2px solid #e5e7eb;
}

.select-items div {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.select-items div:hover {
    background: rgba(102, 126, 234, 0.1);
}

.select-items div.same-as-selected {
    background: rgba(102, 126, 234, 0.2);
    font-weight: 600;
}

.select-hide {
    display: none;
}

.flag-emoji {
    font-size: 1.3rem;
    line-height: 1;
}

.phone-input-group input {
    flex: 1;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 50%, #f093fb15 100%);
}

.tech-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-block {
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

.hero-image {
    position: relative;
    height: 500px;
    animation: fadeIn 1s ease 0.3s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.floating-card {
    position: absolute;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 50px;
    left: 50px;
}

.card-2 {
    top: 200px;
    right: 100px;
    animation-delay: -2s;
}

.card-3 {
    bottom: 100px;
    left: 100px;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Tech Network Animation */
.tech-network {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    pointer-events: none;
}

.network-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.connect-line {
    animation: lineConnect 3s ease-in-out infinite;
}

.line-1 { animation-delay: 0s; }
.line-2 { animation-delay: 0.3s; }
.line-3 { animation-delay: 0.6s; }
.line-4 { animation-delay: 0.9s; }
.line-5 { animation-delay: 1.2s; }
.line-6 { animation-delay: 1.5s; }
.line-7 { animation-delay: 1.8s; }
.line-8 { animation-delay: 2.1s; }

@keyframes lineConnect {
    0%, 100% { 
        opacity: 0;
        stroke-dasharray: 0 1000;
    }
    50% { 
        opacity: 0.6;
        stroke-dasharray: 1000 0;
    }
}

.network-node {
    position: absolute;
    width: 60px;
    height: 60px;
}

.node-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
}

.node-top-left {
    top: 16%;
    left: 16%;
    transform: translate(-50%, -50%);
}

.node-top-right {
    top: 25%;
    right: 0%;
    transform: translate(-50%, -50%);
}

.node-bottom-right {
    bottom: 13%;
    right: 8%;
    transform: translate(-50%, -50%);
}

.node-bottom-left {
    bottom: 8%;
    left: 25%;
    transform: translate(-50%, -50%);
}

.node-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
    animation: nodeGlow 2s ease-in-out infinite;
}

.node-center .node-core {
    width: 30px;
    height: 30px;
}

.node-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

.node-center .node-ring {
    width: 60px;
    height: 60px;
}

.node-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    animation: pulseExpand 2s ease-out infinite;
}

@keyframes nodeGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(102, 126, 234, 0.9);
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes ringPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

@keyframes pulseExpand {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Data Particles */
.data-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea, #f093fb);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
}

.particle-1 {
    top: 20%;
    left: 20%;
    animation: particleMove1 8s linear infinite;
}

.particle-2 {
    top: 30%;
    right: 15%;
    animation: particleMove2 10s linear infinite;
}

.particle-3 {
    bottom: 20%;
    right: 20%;
    animation: particleMove3 12s linear infinite;
}

.particle-4 {
    bottom: 30%;
    left: 15%;
    animation: particleMove4 9s linear infinite;
}

@keyframes particleMove1 {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(300px, 200px); opacity: 0; }
}

@keyframes particleMove2 {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(-200px, 250px); opacity: 0; }
}

@keyframes particleMove3 {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(-250px, -200px); opacity: 0; }
}

@keyframes particleMove4 {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(200px, -220px); opacity: 0; }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Solutions Section */
.solutions {
    padding: 100px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 50%, #f9fafb 100%);
    position: relative;
    overflow: hidden;
}

.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.solution-card {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    gap: 24px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.solution-card:hover .solution-glow {
    opacity: 1;
}

.solution-crm:hover .solution-glow {
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 60%);
}

.solution-pulse:hover .solution-glow {
    background: radial-gradient(circle, rgba(240, 147, 251, 0.1) 0%, transparent 60%);
}

.solution-tickets:hover .solution-glow {
    background: radial-gradient(circle, rgba(79, 172, 254, 0.1) 0%, transparent 60%);
}

.solution-custom:hover .solution-glow {
    background: radial-gradient(circle, rgba(67, 233, 123, 0.1) 0%, transparent 60%);
}

.solution-icon {
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.solution-card:hover .solution-icon {
    transform: scale(1.1) rotate(3deg);
}

.solution-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.solution-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.solution-tagline {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.solution-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.solution-link svg {
    transition: transform 0.3s ease;
}

.solution-card:hover .solution-link {
    gap: 12px;
}

.solution-card:hover .solution-link svg {
    transform: translateX(4px);
}

.solution-custom {
    cursor: pointer;
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.03) 0%, rgba(56, 249, 215, 0.03) 100%);
}

.solution-custom .solution-link {
    color: #38d9a9;
}

/* Solutions Responsive */
@media (max-width: 992px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .solution-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .solution-icon {
        margin: 0 auto;
    }

    .solution-link {
        justify-content: center;
    }
}

/* Exclusive Solutions Banner */
.exclusive-banner {
    margin-top: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 24px;
    padding: 50px 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 40px;
}

.exclusive-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.exclusive-particles span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: floatParticle 8s ease-in-out infinite;
}

.exclusive-particles span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.exclusive-particles span:nth-child(2) { top: 60%; left: 25%; animation-delay: -2s; width: 6px; height: 6px; }
.exclusive-particles span:nth-child(3) { top: 30%; left: 60%; animation-delay: -4s; width: 8px; height: 8px; }
.exclusive-particles span:nth-child(4) { top: 70%; left: 80%; animation-delay: -1s; }
.exclusive-particles span:nth-child(5) { top: 15%; left: 90%; animation-delay: -3s; width: 5px; height: 5px; }

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.8; }
}

.exclusive-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.icon-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: orbitSpin 15s linear infinite;
}

.icon-orbit::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

@keyframes orbitSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.exclusive-logo {
    position: relative;
    z-index: 1;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.exclusive-logo svg {
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

.exclusive-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1;
}

.exclusive-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    line-height: 1.3;
}

.exclusive-text h3 .highlight {
    position: relative;
    display: inline-block;
}

.exclusive-text h3 .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    z-index: -1;
}

.exclusive-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 600px;
}

.exclusive-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.exclusive-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.exclusive-feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.exclusive-feature svg {
    width: 18px;
    height: 18px;
}

.exclusive-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: white;
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    z-index: 1;
}

.exclusive-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.exclusive-cta svg {
    transition: transform 0.3s ease;
}

.exclusive-cta:hover svg {
    transform: translateX(5px);
}

/* Exclusive Banner Responsive */
@media (max-width: 1200px) {
    .exclusive-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .exclusive-features {
        justify-content: center;
    }

    .exclusive-text p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .exclusive-banner {
        padding: 30px 20px;
    }

    .exclusive-text h3 {
        font-size: 1.3rem;
    }

    .exclusive-features {
        gap: 12px;
    }

    .exclusive-feature {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .exclusive-cta {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.about-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-visual {
    position: relative;
}

.visual-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

/* Code Snippet */
.code-snippet {
    background: #1e1e3f;
    border-radius: 12px;
    overflow: hidden;
}

.code-header {
    background: #2d2d4a;
    padding: 12px 20px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.code-content {
    padding: 30px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.8;
}

.code-keyword { color: #c792ea; }
.code-var { color: #82aaff; }
.code-function { color: #ffcb6b; }
.code-string { color: #c3e88d; }

.visual-card {
    position: relative;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a1e 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.contact .section-title,
.contact .section-subtitle {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* AI Assistant */
.ai-assistant {
    position: relative;
    padding: 40px;
}

.ai-avatar-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 40px;
}

.ai-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbit-1 {
    width: 140px;
    height: 140px;
}

.orbit-2 {
    width: 180px;
    height: 180px;
    animation-duration: 15s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 220px;
    height: 220px;
    animation-duration: 25s;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.ai-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 3px solid rgba(102, 126, 234, 0.6);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.ai-message {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
}

.typing-indicator {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

.ai-message h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-greeting {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1rem;
}

.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.3;
}

.network-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    animation: flow 3s ease-in-out infinite;
}

.line-1 {
    top: 20%;
    width: 40%;
    left: 10%;
}

.line-2 {
    top: 50%;
    width: 50%;
    right: 10%;
    animation-delay: 1s;
}

.line-3 {
    top: 80%;
    width: 35%;
    left: 15%;
    animation-delay: 2s;
}

@keyframes flow {
    0%, 100% { opacity: 0.3; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.1); }
}

.network-node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #667eea;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.8);
    animation: glow 2s ease-in-out infinite;
}

.node-1 { top: 20%; left: 10%; }
.node-2 { top: 50%; right: 10%; animation-delay: 0.5s; }
.node-3 { top: 80%; left: 15%; animation-delay: 1s; }
.node-4 { top: 35%; right: 20%; animation-delay: 1.5s; }

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(102, 126, 234, 0.5); }
    50% { box-shadow: 0 0 25px rgba(102, 126, 234, 1); }
}

.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateX(5px);
}

.info-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
}

.info-value {
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
}

.status-online {
    color: #43e97b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-online::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #43e97b;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Modern Form */
.modern-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.form-group input:focus + .input-accent,
.form-group textarea:focus + .input-accent {
    opacity: 1;
    transform: scaleX(1);
}

.input-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 0 0 12px 12px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.form-group textarea {
    resize: vertical;
}

.btn-futuristic {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 18px 40px;
    border: none;
}

.btn-futuristic::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;
}

.btn-futuristic:hover::before {
    left: 100%;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-futuristic:hover .btn-icon {
    transform: translateX(5px);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.security-badge {
    font-size: 1.1rem;
}

/* Success Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: modalFadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 50px 40px;
    border-radius: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp 0.5s ease;
    overflow: hidden;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.rocket-launch {
    position: relative;
    height: 200px;
    margin-bottom: 30px;
}

.rocket {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    animation: rocketLaunch 3s ease-in-out;
}

@keyframes rocketLaunch {
    0% {
        bottom: -100px;
        opacity: 0;
    }
    20% {
        bottom: 0;
        opacity: 1;
    }
    80% {
        bottom: 0;
        opacity: 1;
    }
    100% {
        bottom: 300px;
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }
}

.rocket-body {
    width: 40px;
    height: 80px;
    background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 100%);
    border-radius: 20px 20px 5px 5px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.rocket-body::before,
.rocket-body::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
}

.rocket-body::before {
    left: -15px;
    border-width: 0 0 25px 15px;
    border-color: transparent transparent #ff6b6b transparent;
}

.rocket-body::after {
    right: -15px;
    border-width: 0 15px 25px 0;
    border-color: transparent transparent #ff6b6b transparent;
}

.rocket-window {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #4facfe;
    border-radius: 50%;
    border: 2px solid #333;
}

.rocket-flame {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    display: flex;
    justify-content: center;
    gap: 3px;
}

.flame {
    width: 8px;
    height: 25px;
    background: linear-gradient(180deg, #ff9500 0%, #ff5e00 50%, transparent 100%);
    border-radius: 50% 50% 0 0;
    animation: flameFlicker 0.2s ease-in-out infinite alternate;
}

.flame:nth-child(2) {
    animation-delay: 0.1s;
    height: 30px;
}

.flame:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes flameFlicker {
    from { transform: scaleY(1); opacity: 1; }
    to { transform: scaleY(0.8); opacity: 0.7; }
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: starTwinkle 1.5s ease-in-out infinite;
}

.star:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.star:nth-child(2) { top: 40%; right: 25%; animation-delay: 0.3s; }
.star:nth-child(3) { top: 60%; left: 30%; animation-delay: 0.6s; }
.star:nth-child(4) { top: 30%; right: 15%; animation-delay: 0.9s; }
.star:nth-child(5) { top: 70%; right: 35%; animation-delay: 1.2s; }

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.modal-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modal-message {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.modal-btn {
    background: white;
    color: #667eea;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.modal-btn:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .tech-network {
        width: 350px;
        height: 350px;
    }

    .network-node {
        width: 40px;
        height: 40px;
    }

    .node-center {
        width: 60px;
        height: 60px;
    }

    .node-core {
        width: 15px;
        height: 15px;
    }

    .node-center .node-core {
        width: 22px;
        height: 22px;
    }

    .data-particle {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .contact-form {
        padding: 25px;
    }

    .tech-network {
        width: 280px;
        height: 280px;
    }

    .floating-card {
        display: none;
    }
}

/* Smooth Animations */
.service-card,
.info-card,
.feature-item {
    animation: fadeInUp 0.6s ease both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Solution Modal */
.solution-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-modal.active {
    opacity: 1;
    visibility: visible;
}

.solution-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.solution-modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.solution-modal.active .solution-modal-container {
    transform: scale(1) translateY(0);
}

.solution-modal-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

.solution-modal-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.solution-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
}

.solution-modal-content {
    flex: 1;
    overflow: hidden;
}

.solution-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Solution Modal Responsive */
@media (max-width: 768px) {
    .solution-modal-container {
        width: 95%;
        height: 90vh;
        border-radius: 16px;
    }

    .solution-modal-header {
        padding: 10px 16px;
    }

    .solution-modal-close {
        width: 36px;
        height: 36px;
    }

    .solution-modal-close svg {
        width: 18px;
        height: 18px;
    }
}

/* ==================== AI CHAT MODAL ==================== */
.ai-chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat-modal.active {
    opacity: 1;
    visibility: visible;
}

.ai-chat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.2) 0%, rgba(10, 10, 30, 0.95) 100%);
    backdrop-filter: blur(15px);
}

.ai-chat-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    height: 80vh;
    max-height: 700px;
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a35 100%);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(102, 126, 234, 0.3),
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 100px rgba(102, 126, 234, 0.15);
    transform: scale(0.9) translateY(40px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.ai-chat-modal.active .ai-chat-container {
    transform: scale(1) translateY(0);
}

/* Chat Header */
.ai-chat-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    gap: 16px;
}

.ai-chat-avatar {
    position: relative;
    width: 50px;
    height: 50px;
}

.avatar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 50%;
    animation: chatRingPulse 3s ease-in-out infinite;
}

@keyframes chatRingPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.avatar-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-core svg {
    width: 28px;
    height: 28px;
}

.avatar-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 2px solid rgba(102, 126, 234, 0.6);
    border-radius: 50%;
    animation: chatAvatarPulse 2s ease-out infinite;
}

@keyframes chatAvatarPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

.ai-chat-info {
    flex: 1;
}

.ai-chat-info h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4ade80;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px #4ade80; }
    50% { opacity: 0.5; box-shadow: 0 0 4px #4ade80; }
}

.ai-chat-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.ai-chat-close:hover {
    background: rgba(255, 100, 100, 0.2);
    color: #ff6b6b;
    transform: rotate(90deg);
}

.ai-chat-close svg {
    width: 20px;
    height: 20px;
}

/* Chat Messages Area */
.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
}

.ai-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.ai-chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 3px;
}

/* Chat Message Bubbles */
.chat-message {
    display: flex;
    gap: 12px;
    animation: messageSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chat-message.ai .message-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.chat-message.ai .message-avatar svg {
    width: 22px;
    height: 22px;
}

.chat-message.user .message-avatar {
    background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.message-content {
    max-width: 80%;
}

.message-bubble {
    padding: 14px 18px;
    border-radius: 18px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.chat-message.ai .message-bubble {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-bottom-left-radius: 6px;
}

.chat-message.user .message-bubble {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-right-radius: 6px;
}

.message-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 6px;
    padding: 0 4px;
}

.chat-message.user .message-time {
    text-align: right;
}

/* Typing Indicator */
.typing-bubble {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 20px;
}

.typing-bubble .dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite;
}

.typing-bubble .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-bubble .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-8px); opacity: 1; }
}

/* Chat Suggestions */
.ai-chat-suggestions {
    padding: 0 24px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-btn {
    padding: 10px 16px;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    color: #a5b4fc;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.suggestion-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
    color: white;
    transform: translateY(-2px);
}

/* Primary Suggestion Button (SIM) */
.suggestion-btn.suggestion-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.suggestion-btn.suggestion-primary:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

/* Secondary Suggestion Button (NÃO) */
.suggestion-btn.suggestion-secondary {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.suggestion-btn.suggestion-secondary:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.6);
    color: white;
    transform: translateY(-2px);
}

/* Chat Input Area */
.ai-chat-input-area {
    padding: 16px 24px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input-wrapper {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 6px;
    transition: all 0.3s ease;
}

.chat-input-wrapper:focus-within {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.15);
}

#chat-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: white;
    font-size: 1rem;
    outline: none;
}

#chat-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.chat-send-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

.chat-send-btn svg {
    width: 20px;
    height: 20px;
}

.chat-input-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    min-height: 20px;
}

.chat-input-hint .typing-animation {
    display: none;
    align-items: center;
    gap: 3px;
}

.chat-input-hint .typing-animation.active {
    display: flex;
}

.chat-input-hint .typing-animation .dot {
    width: 6px;
    height: 6px;
    background: #667eea;
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite;
}

.chat-input-hint .typing-animation .dot:nth-child(2) { animation-delay: 0.2s; }
.chat-input-hint .typing-animation .dot:nth-child(3) { animation-delay: 0.4s; }

#typing-status {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Chat Particles */
.ai-chat-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.ai-chat-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(102, 126, 234, 0.6);
    border-radius: 50%;
    animation: chatParticle 10s linear infinite;
}

.ai-chat-particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.ai-chat-particles span:nth-child(2) { left: 30%; animation-delay: -2s; }
.ai-chat-particles span:nth-child(3) { left: 50%; animation-delay: -4s; }
.ai-chat-particles span:nth-child(4) { left: 70%; animation-delay: -6s; }
.ai-chat-particles span:nth-child(5) { left: 90%; animation-delay: -8s; }

@keyframes chatParticle {
    0% {
        top: 100%;
        opacity: 0;
        transform: scale(0);
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        top: -10%;
        opacity: 0;
        transform: scale(0.5);
    }
}

/* Chat Responsive */
@media (max-width: 768px) {
    .ai-chat-container {
        width: 95%;
        height: 90vh;
        max-height: none;
        border-radius: 20px;
    }

    .ai-chat-header {
        padding: 16px 20px;
    }

    .ai-chat-messages {
        padding: 16px;
    }

    .ai-chat-suggestions {
        padding: 0 16px 12px;
    }

    .suggestion-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .ai-chat-input-area {
        padding: 12px 16px 20px;
    }

    .message-content {
        max-width: 85%;
    }
}
