:root {
    --hemotec-red: #e02020;
    --hemotec-dark-red: #c01010;
    --hemotec-light-red: #ff4040;
    --hemotec-bg-light: #f8f9fa;
    --hemotec-text-dark: #333333;
    --hemotec-accent: #0066cc;
    --hemotec-success: #28a745;
    --hemotec-warning: #ffc107;
    --hemotec-info: #17a2b8;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--hemotec-text-dark);
    background: var(--hemotec-bg-light);
    min-height: 100vh;
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--hemotec-red) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--hemotec-text-dark) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--hemotec-red) !important;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1615461066841-6116e61058f4?auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
    opacity: 0.7;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.benefits-list {
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.benefit-item i {
    color: var(--hemotec-success);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.trust-item i {
    margin-right: 0.5rem;
    color: #ffc107;
}

/* Form Container */
.form-container {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--hemotec-text-dark);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #666;
    font-size: 1rem;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.form-step.active {
    display: block;
}

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

.step-title {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--hemotec-text-dark);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--hemotec-red), var(--hemotec-light-red));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 700;
}

/* Form Controls */
.form-label {
    font-weight: 600;
    color: var(--hemotec-text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    border-color: var(--hemotec-red);
    box-shadow: 0 0 0 0.2rem rgba(224, 32, 32, 0.1);
    background: white;
}

.form-control.is-invalid {
    border-color: #dc3545;
    background: #fff5f5;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.1);
}

/* Checkbox Group */
.checkbox-group {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
}

.form-check {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.form-check:last-child {
    margin-bottom: 0;
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-left: -2rem;
    border: 2px solid #dee2e6;
    border-radius: 4px;
}

.form-check-input:checked {
    background-color: var(--hemotec-red);
    border-color: var(--hemotec-red);
}

.form-check-label {
    font-weight: 500;
    color: var(--hemotec-text-dark);
    cursor: pointer;
}

/* Buttons */
.form-buttons {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--hemotec-red), var(--hemotec-light-red));
    color: white;
    box-shadow: 0 4px 15px rgba(224, 32, 32, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 32, 32, 0.4);
    color: white;
}

.btn-success {
    background: linear-gradient(45deg, var(--hemotec-success), #34ce57);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white;
}

.btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: transparent;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
}

.btn-next,
.btn-submit {
    flex: 1;
    max-width: 200px;
    margin-left: auto;
}

.btn-next {
    max-width: 100px !important;
    width: 100px !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 0.90rem;
}

.btn-back {
    flex: 0 0 auto;
}

/* Progress Bar */
.form-progress {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.progress-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, var(--hemotec-red), var(--hemotec-light-red));
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 33.33%;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: linear-gradient(45deg, var(--hemotec-red), var(--hemotec-light-red));
    color: white;
}

/* Success Modal */
.success-icon {
    font-size: 4rem;
    color: var(--hemotec-success);
}

.next-steps {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.next-steps h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--hemotec-text-dark);
}

.next-steps ul li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Footer */
.footer {
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    backdrop-filter: blur(10px);
}

.footer-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-text {
    color: #bdc3c7;
    margin-bottom: 2rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1rem;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .trust-indicators {
        gap: 1rem;
    }
    
    .trust-item {
        font-size: 0.8rem;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .btn-next,
    .btn-next {
        max-width: 80px !important;
        width: 80px !important;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        font-size: 0.90rem;
    }
    .btn-submit,
    .btn-back {
        width: 100%;
        max-width: none;
        margin: 0 0 1rem 0;
    }
    
    .form-buttons .btn-back {
        order: 2;
    }
    
    .form-buttons .btn-next,
    .form-buttons .btn-submit {
        order: 1;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .form-container {
        padding: 1.5rem 1rem;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .benefits-list {
        margin-bottom: 1.5rem;
    }
    
    .benefit-item {
        font-size: 0.9rem;
    }
}

/* Custom animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn:hover {
    animation: pulse 0.3s ease-in-out;
}

/* Loading state */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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



/* Styles from publico_inicio.css for Navbar and Footer */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--hemotec-red) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--hemotec-text-dark) !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--hemotec-red) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--hemotec-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-text {
    color: #bdc3c7;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--hemotec-red);
    transform: translateY(-2px);
}

.footer-links h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

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

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

.footer-links ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: #bdc3c7;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .beneficios-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .dashboard-preview {
        transform: none;
        margin-top: 3rem;
    }
    
    .btn-cta,
    .btn-demo,
    .btn-cta-large,
    .btn-contact {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .feature-card,
    .depoimento-card {
        padding: 2rem 1.5rem;
    }
    
    .stats-card {
        padding: 2rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

