/* ===== Variables ===== */
:root {
    --primary: #7B2D8E;
    --primary-light: #9B4DAE;
    --primary-dark: #5B1D6E;
    --secondary: #F8F4F9;
    --text-dark: #2D2D2D;
    --text-muted: #6B6B6B;
    --border-color: #E5E5E5;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===== Navbar ===== */
#mainNav {
    padding: 1rem 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

#mainNav.scrolled {
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    width: 45px;
    height: 45px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
}

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

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(123,45,142,0.3);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--secondary) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-content {
    padding-right: 3rem;
}

.badge-virtual {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.badge-virtual i {
    color: var(--primary);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.text-purple {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-differentiators {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.differentiator-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.differentiator strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.differentiator p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== Hero Card (Emotional Test) ===== */
.hero-card-wrapper {
    position: relative;
}

.hero-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
}

.card-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.card-header-custom h3 {
    font-size: 1.5rem;
    margin: 0;
    flex: 1;
}

.badge-time {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--secondary);
    color: var(--primary);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.card-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.question-card {
    background: var(--secondary);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    opacity: 0.7;
}

.question-card.active,
.question-card.completed {
    opacity: 1;
    background: var(--white);
    border: 2px solid var(--primary);
}

.question-number {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.question-content {
    flex: 1;
}

.question-content p {
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.option-btn {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.option-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.option-btn.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.question-arrow {
    color: var(--primary);
    font-size: 1.25rem;
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.btn-submit:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.card-footer-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* ===== Trust Section ===== */
.trust-section {
    padding: 4rem 0;
    background: var(--white);
}

.trust-card {
    text-align: center;
    padding: 1.5rem;
}

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

.trust-card h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.trust-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* ===== Testimonials ===== */
.testimonials-preview {
    padding: 5rem 0;
    background: var(--secondary);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.testimonial-rating {
    color: #FFC107;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    font-size: 2rem;
    color: var(--primary);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-light {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--secondary);
    border-color: var(--white);
    color: var(--primary-dark);
}

/* ===== Footer ===== */
.footer {
    background: #1A1A1A;
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand .brand-icon {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.footer-brand h5 {
    font-size: 1.1rem;
    margin: 0;
}

.footer-description {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

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

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

.social-link:hover {
    background: var(--primary);
}

.footer-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0;
}

.footer-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin: 0;
}

.footer-privacy {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.footer-privacy:hover {
    color: var(--white);
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

.portal-float {
    position: fixed;
    bottom: 2rem;
    right: 6rem;
    height: 60px;
    background: var(--primary);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 1.5rem;
    padding: 0 1.25rem;
    box-shadow: 0 4px 20px rgba(123,45,142,0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.portal-float-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.portal-float:hover {
    transform: scale(1.05);
    color: var(--white);
}

@media (max-width: 768px) {
    .portal-float-text {
        display: none;
    }
    .portal-float {
        right: 5rem;
        width: 60px;
        padding: 0;
        border-radius: 50%;
    }
}

/* ===== Animations ===== */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spinning {
    animation: spin 1s linear infinite;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 6rem;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-differentiators {
        align-items: center;
    }
    
    .differentiator {
        text-align: left;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-card {
        margin-top: 2rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ===== Page Headers ===== */
.page-header {
    padding: 8rem 0 4rem;
    background: var(--secondary);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Service Cards ===== */
.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

.service-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.service-list li:last-child {
    border-bottom: none;
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    z-index: 1;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== Blog Cards ===== */
.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 3rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.blog-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.blog-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== Form Styles ===== */
.form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(123,45,142,0.1);
}

/* ===== Dashboard Styles ===== */
.dashboard-sidebar {
    background: #1A1A1A;
    min-height: 100vh;
    padding: 2rem 0;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: rgba(255,255,255,0.7);
    border-radius: 8px;
    transition: var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.purple {
    background: rgba(123,45,142,0.1);
    color: var(--primary);
}

.stat-icon.green {
    background: rgba(40,167,69,0.1);
    color: #28a745;
}

.stat-icon.blue {
    background: rgba(0,123,255,0.1);
    color: #007bff;
}

.stat-icon.orange {
    background: rgba(255,165,0,0.1);
    color: #ffa500;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0 0.25rem;
}

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