/* 1. RESET & VARIÁVEIS 
   Definição das cores e gradientes extraídos do seu design */
:root {
    --bg-dark: #0A0E1A;
    --bg-card: rgba(255, 255, 255, 0.05);
    --border-card: rgba(255, 255, 255, 0.1);
    
    /* Gradientes do Figma */
    --primary-gradient: linear-gradient(90deg, #00B8DB 0%, #00BBA7 100%);
    --text-gradient-cyan: linear-gradient(90deg, #00D3F3 0%, #46ECD5 100%);
    --text-gradient-orange: linear-gradient(90deg, #FF6467 0%, #FF8904 100%);
    
    /* Cores de suporte */
    --accent-cyan: #00D3F3;
    --text-main: #FFFFFF;
    --text-muted: #D1D5DC;
    --text-dim: #99A1AF;
}

/* Estilo do Alerta Customizado (Toast) */
.ie-toast {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 10px;
    animation: slideInRight 0.4s ease forwards;
}

.ie-toast.success { border-left: 4px solid #00D3F3; }
.ie-toast.error { border-left: 4px solid #FF6467; }

.ie-toast-icon {
    font-size: 20px;
    margin-right: 12px;
}

.ie-toast-message {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Animação de entrada */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Animação de saída (opcional para JS) */
.ie-toast.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(20px); }
}

body {
    background-color: var(--bg-dark);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    margin: 0;
    overflow-x: hidden;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
}

.text-muted-ie {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 540px;
}

/* Logo Estilizada */
.ie-logo {
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1px;
}
.ie-logo span { font-weight: 400; color: var(--text-dim); }
.ie-logo img {
    height: 40px;
    width: auto;
}


/* Wrapper do Dashboard (Elemento da Direita) */
.dashboard-wrapper {
    position: relative;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.dashboard-img {
    border-radius: 18px;
    width: 100%;
}

/* Botão de Play Central */
.play-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.play-button {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(0, 184, 219, 0.4);
}

.play-button::after {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent white;
    margin-left: 4px;
}

/* Tags Flutuantes */
.floating-tag {
    position: absolute;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.floating-tag span {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.tag-left {
    top: 45%; /* Fica mais ou menos no meio da altura */
    left: -40px; /* Puxa para fora da imagem pela esquerda */
    color: #00D3F3; /* Cor azul ciano do texto */
}

/* Posicionamento da tag da direita (Custo/kg) */
.tag-right {
    bottom: 15%; /* Fica perto da base */
    right: -40px; /* Puxa para fora da imagem pela direita */
    color: #00D5BE; /* Cor verde-água do texto */
}

/* 2. CLASSES DE UTILIDADE */
.text-gradient-cyan {
    background: var(--text-gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    display: inline-block;
}

.text-gradient-orange {
    background: var(--text-gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-dim { color: var(--text-dim); }
.text-cyan { color: var(--accent-cyan); }

/* 3. COMPONENTES REUTILIZÁVEIS */
.badge-custom {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(0, 184, 219, 0.1);
    border: 1px solid rgba(0, 184, 219, 0.3);
    border-radius: 33px;
    color: var(--accent-cyan);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.btn-ie-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-ie-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 184, 219, 0.3);
    color: white;
}

.btn-ie-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-ie-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* 4. SEÇÃO HERO */
.hero-section {
    position: relative;
    padding: 100px 0;
}

.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    left: -150px;
    top: 50px;
    background: linear-gradient(45deg, rgba(0, 187, 167, 0.1) 0%, rgba(0, 146, 184, 0.1) 100%);
    filter: blur(80px);
    z-index: -1;
}

/* 5. SEÇÃO 2 (PROBLEMA E CARDS) */
.problem-section {
    position: relative;
    z-index: 1;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.image-overlay-warning {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 14, 26, 0.8) 0%, rgba(10, 14, 26, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.warning-icon {
    font-size: 48px;
    color: #FDC700;
    margin-bottom: 12px;
}

.warning-text {
    color: #FF6467;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1.5px;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.icon-box {
    min-width: 48px;
    height: 48px;
    background: rgba(0, 184, 219, 0.1);
    border: 1px solid rgba(0, 184, 219, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* 6. FORMULÁRIO (GLASSMORPHISM) */
.form-container-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.ie-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    padding: 14px !important;
    border-radius: 10px !important;
}

.ie-input::placeholder { color: var(--text-dim); }

.ie-input:focus {
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 0 0 4px rgba(0, 211, 243, 0.1) !important;
}

/* Espaçamentos customizados para fidelidade ao design */
.py-120 { padding-top: 120px; padding-bottom: 120px; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }
.mb-80 { margin-bottom: 80px; }

/* Estilo dos Cards de Benefícios */
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: left;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* Wrapper dos Ícones com as cores do Figma */
.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
}

.icon-blue   { background: linear-gradient(135deg, #00B8DB 0%, #2B7FFF 100%); }
.icon-teal   { background: linear-gradient(135deg, #00BBA7 0%, #00B8DB 100%); }
.icon-indigo { background: linear-gradient(135deg, #2B7FFF 0%, #615FFF 100%); }
.icon-purple { background: linear-gradient(135deg, #615FFF 0%, #AD46FF 100%); }

/* Ajuste do botão central */
.cta-wrapper p {
    margin-bottom: 0.5rem;
}

/* Espaçamento extra entre blocos */
.mb-100 { margin-bottom: 100px; }

/* Cores específicas dos ícones desta seção */
.icon-magenta { background: linear-gradient(135deg, #AD46FF 0%, #F6339A 100%); }
.icon-cyan { background: linear-gradient(135deg, #00B8DB 0%, #00BBA7 100%); }

/* Container das imagens e efeitos de sombra/brilho */
.resource-image-wrapper {
    position: relative;
    border-radius: 16px;
    z-index: 1;
}

.resource-img {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Brilho difuso atrás das imagens (Glow Effect) */
.glow-magenta, .glow-cyan {
    position: absolute;
    width: 60%;
    height: 60%;
    filter: blur(80px);
    opacity: 0.25;
    z-index: 0;
    border-radius: 50%;
}
.glow-magenta {
    right: 10%;
    bottom: 10%;
    background: linear-gradient(135deg, #AD46FF 0%, #F6339A 100%);
}
.glow-cyan {
    left: 10%;
    bottom: 10%;
    background: linear-gradient(135deg, #00B8DB 0%, #00BBA7 100%);
}

/* Tag "Tela real do sistema" flutuante */
.floating-real-tag {
    position: absolute;
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    z-index: 3;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    bottom: -15px; /* Faz a tag "vazar" um pouco da imagem */
}

.tag-magenta {
    background: linear-gradient(135deg, #AD46FF 0%, #F6339A 100%);
    right: 20px;
}

.tag-cyan {
    background: linear-gradient(135deg, #00B8DB 0%, #00BBA7 100%);
    left: 20px;
}

/* Lista com Ícones Pequenos */
.custom-feature-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.icon-box-small {
    min-width: 40px;
    height: 40px;
    background: rgba(0, 184, 219, 0.1);
    border: 1px solid rgba(0, 184, 219, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 18px;
}

.icon-box-small img {
    width: 15px;
    height: auto;
}

/* Tag escura centralizada abaixo do gráfico */
.tag-dark-glass {
    background: rgba(10, 14, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Caixa "Seus dados, seu controle" */
.security-box {
    background: linear-gradient(135deg, rgba(0, 184, 219, 0.05) 0%, rgba(0, 187, 167, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent-cyan);
    border-radius: 12px;
    padding: 24px;
}

.check-list li {
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    gap: 8px;
}

/* Estrutura do Card de Objeções */
.objection-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.objection-card:hover {
    transform: translateY(-5px);
}

/* Área de Gradiente Superior */
.card-gradient-top {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Os gradientes específicos de cada card */
.gradient-blue { background: linear-gradient(135deg, #00B8DB 0%, #2B7FFF 100%); }
.gradient-teal { background: linear-gradient(135deg, #00BBA7 0%, #00B8DB 100%); }

/* Sombra interna para o gradiente não ficar chapado */
.card-gradient-top::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

/* Caixa de Ícone com Glassmorphism */
.icon-glass-box {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 1;
}

/* Corpo de Texto do Card */
.card-content-bottom {
    padding: 40px;
    flex-grow: 1; /* Força o card a preencher o espaço se o irmão for mais alto */
}

/* Lista de Checagem */
.check-list-objection li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.check-icon {
    color: var(--accent-cyan);
    font-weight: bold;
    flex-shrink: 0; /* Impede que o "check" amasse se o texto for para a segunda linha */
}

/* Card do Formulário (Glassmorphism Escuro) */
.form-glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Campos de Input */
.ie-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: white !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 0.95rem;
}

.ie-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.ie-input:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 0 0 3px rgba(0, 211, 243, 0.15) !important;
}

.text-light-ie {
    color: var(--text-dim);
}

/* Customização dos Checkboxes */
.custom-checkbox .form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: 18px;
    height: 18px;
    margin-top: 0.15em;
    cursor: pointer;
}

.custom-checkbox .form-check-input:checked {
    background-color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.custom-checkbox .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(0, 211, 243, 0.2);
}

.custom-checkbox .form-check-label {
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
}

.icon-box-cyan{
    width: 48px;
    height: 48px;
    background: rgba(0, 184, 219, 0.1);
    border: 1px solid rgba(0, 184, 219, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 7. RESPONSIVIDADE */
@media (max-width: 991px) {
    .hero-section { text-align: center; padding: 60px 0; }
    .hero-title { font-size: 2.5rem; text-align: center; }
    .text-muted-ie { text-align: center; margin: 0 auto 2rem; }
    .floating-tag { display: none; } /* Remove tags no mobile para não poluir */
    .btn-ie-primary, .btn-ie-secondary { width: 100%; margin-bottom: 10px; }
    .dashboard-wrapper { margin-top: 2rem; }
    .problem-card { flex-direction: column; text-align: center; align-items: center; }
}