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

:root {
    --primary: #5b21b6;
    --primary-dark: #4c1d95;
    --primary-light: #7c3aed;
    --secondary: #fbbf24;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-light: #f3f4f6;
    --bg-white: #ffffff;
    --bg-dark: #1f1f1f;
    --border: #e5e7eb;
    --success: #10b981;
    --warning: #f59e0b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Warning Banner */
.warning-banner {
    background: var(--secondary);
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
}

/* Header */
.header {
    background: var(--primary);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    height: 32px;
    min-width: 120px;
    flex-shrink: 0;
}

.logo-icon {
    position: absolute;
    left: -120px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.logo span {
    display: none;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

.header-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--text-white);
}

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

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

.btn-white:hover {
    background: var(--bg-light);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

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

/* Botão secundário para ofertas */
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: 600;
}

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

/* Botão pequeno para ofertas secundárias */
.offer-btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: auto;
}

/* Hero Section */
.hero {
    background: var(--primary);
    padding: 80px 0;
    color: var(--text-white);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 480px;
}

/* Simulator Card */
.simulator-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px;
    color: var(--text-dark);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.simulator-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.amount-display {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.slider-container {
    margin-bottom: 24px;
}

.slider-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
    text-align: center;
}

.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    touch-action: pan-x;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    touch-action: pan-x;
}

.slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
}

.slider-container {
    touch-action: pan-x;
    padding: 8px 0;
}

.installment-display {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin: 8px 0 24px;
}

.simulator-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

.simulator-footer {
    text-align: center;
    font-size: 11px;
    color: var(--text-light);
    margin-top: 16px;
}

/* Stats Section */
.stats {
    background: var(--bg-white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.stat-icon {
    width: 16px;
    height: 16px;
}

.stat-value {
    font-size: 14px;
    color: var(--text-light);
}

/* Section Common */
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 40px;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Loan Types Section */
.loan-types {
    background: var(--bg-white);
}

.loan-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
}

.loan-card {
    background: #f0f0f7;
    border-radius: 20px;
    padding: 24px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.loan-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.loan-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    flex-grow: 1;
}

.loan-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* Embedded Finance Section */
.embedded {
    background: linear-gradient(135deg, #3b1270 0%, #5b21b6 100%);
    color: var(--text-white);
}

.embedded .section-title {
    color: var(--text-white);
}

.embedded .tag {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.2);
}

.embedded-description {
    font-size: 16px;
    opacity: 0.9;
    max-width: 700px;
    margin-top: 16px;
}

.embedded-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.embedded-card {
    background: rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(10px);
}

.embedded-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
}

.embedded-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.embedded-card p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.embedded-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.embedded-feature {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.embedded-feature-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.embedded-feature p {
    font-size: 13px;
    opacity: 0.8;
}

/* Media Section */
.media {
    background: var(--bg-white);
}

.media-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.media-card {
    background: #f5f5fa;
    border-radius: 20px;
    overflow: hidden;
}

.media-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    padding: 20px;
}

.media-logo img {
    max-height: 40px;
    max-width: 120px;
}

.media-content {
    padding: 20px;
}

.media-content p {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Differentials Section */
.differentials {
    background: var(--primary);
    color: var(--text-white);
    padding: 60px 0;
}

.differentials .section-title {
    color: var(--text-white);
    margin-bottom: 40px;
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.differential-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.differential-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.differential-item p {
    font-size: 14px;
    opacity: 0.9;
}

/* Ratings Section */
.ratings {
    background: var(--bg-light);
}

.ratings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.rating-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rating-info h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.rating-info span {
    font-size: 13px;
    color: var(--text-light);
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.star {
    color: var(--secondary);
    font-size: 18px;
    display: inline-flex;
}

.star svg {
    width: 18px;
    height: 18px;
    fill: var(--secondary);
    stroke: var(--secondary);
}

.star.empty svg {
    fill: none;
    stroke: var(--border);
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-progress {
    width: 100px;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.rating-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #10b981 100%);
    width: 95%;
}

/* Testimonials */
.testimonials-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 24px;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.testimonial-author {
    font-size: 13px;
    color: var(--text-light);
}

/* FAQ Section */
.faq {
    background: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: #f5f5fa;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    font-size: 20px;
    color: var(--text-light);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: var(--bg-light);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 16px;
    color: var(--text-light);
}

.cta-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.cta-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 32px;
}

.cta-card-icon {
    width: 48px;
    height: 48px;
    background: #f0f0f7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
}

.cta-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.cta-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Blog Section */
.blog {
    background: var(--bg-white);
}

.blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.blog-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.blog-card {
    background: #f5f5fa;
    border-radius: 20px;
    padding: 24px;
}

.blog-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

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

.footer-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.contact-box {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 20px;
}

.contact-box h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-box p, .contact-box a {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

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

.social-icon:hover {
    background: rgba(255,255,255,0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    text-align: center;
}

/* Page Header */
.page-header {
    background: var(--primary);
    color: var(--text-white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.content-section p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 16px;
}

/* Blog Post */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-header {
    margin-bottom: 32px;
}

.blog-post-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 16px;
}

.blog-post h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 32px 0 16px;
    color: var(--text-dark);
}

.blog-post h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text-dark);
}

.blog-post p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.blog-post ul {
    margin: 16px 0;
    padding-left: 24px;
}

.blog-post li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .loan-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .embedded-cards,
    .embedded-features {
        grid-template-columns: 1fr;
    }
    
    .media-grid,
    .differentials-grid,
    .testimonials-grid,
    .blog-grid,
    .cta-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .header-buttons {
        display: none;
    }
    
    .header .container {
        padding: 0 16px;
    }
    
    .logo {
        min-width: 100px;
        height: 28px;
    }
    
    .logo-icon {
        left: -100px;
        width: 320px;
        height: 80px;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
    }
    
    .nav.mobile-active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    
    .nav.mobile-active a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .header.menu-open {
        background: var(--primary);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .loan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .media-grid,
    .differentials-grid,
    .ratings-grid,
    .testimonials-grid,
    .blog-grid,
    .cta-cards,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .footer-contact {
        grid-template-columns: 1fr;
    }
}

/* Icon Styles */
.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-lg {
    width: 24px;
    height: 24px;
}

.icon-xl {
    width: 32px;
    height: 32px;
}

.loan-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.embedded-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.cta-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.stat-icon svg,
.differential-icon svg,
.embedded-feature-icon svg {
    width: 16px;
    height: 16px;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}

/* User Menu & Auth System */
.user-menu {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s ease;
}

.user-menu-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(91, 33, 182, 0.1);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.user-menu.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: background 0.2s;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.dropdown-item:hover {
    background: var(--bg-light);
}

.dropdown-item svg {
    color: var(--text-light);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

.logout-btn {
    color: #ef4444;
}

.logout-btn:hover {
    background: #fef2f2;
}

/* Loading Screen */
.loading-screen {
    min-height: 100vh;
    background: linear-gradient(135deg, #5b21b6 0%, #3b1270 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.loading-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
}

.back-btn {
    position: absolute;
    left: 20px;
    top: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #5b21b6;
}

.loading-logo {
    font-size: 24px;
    font-weight: 700;
    color: #5b21b6;
    margin-bottom: 8px;
}

.loading-logo span {
    color: #10b981;
}

.loading-step {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 32px;
}

.loading-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 32px;
}

.progress-container {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #5b21b6, #10b981);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

.loading-text {
    font-size: 14px;
    color: #6b7280;
}

/* Results Screen */
.results-screen {
    min-height: 100vh;
    background: #f9fafb;
}

.results-header {
    background: linear-gradient(135deg, #5b21b6 0%, #3b1270 100%);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.results-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.results-header .back-btn {
    position: static;
    color: white;
}

.results-logo {
    font-size: 20px;
    font-weight: 700;
    color: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.results-logo span {
    color: #10b981;
}

.results-nav {
    margin-left: auto;
}

.results-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
}

.results-content {
    padding: 40px 0;
}

.simulation-summary {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.simulation-summary h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1f2937;
}

.summary-details {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-label {
    font-size: 14px;
    color: #6b7280;
}

.summary-value {
    font-size: 18px;
    font-weight: 600;
    color: #5b21b6;
}

.offers-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.offers-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 24px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.offer-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.offer-card:hover {
    border-color: #5b21b6;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(91, 33, 182, 0.15);
}

.offer-best {
    border-color: #10b981;
    position: relative;
    grid-column: 1 / -1;
    max-width: 400px;
}

.offer-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: #10b981;
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.offer-bank {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.offer-amount {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
}

.offer-installment {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.offer-rate {
    font-size: 14px;
    color: #10b981;
    margin-bottom: 8px;
}

.offer-fee {
    font-size: 13px;
    color: #f59e0b;
    margin-bottom: 8px;
    font-weight: 500;
}

.offer-total {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 16px;
}

.offer-btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .loading-content {
        padding: 24px;
    }
    
    .results-logo {
        font-size: 16px;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-details {
        flex-direction: column;
        gap: 16px;
    }
}

/* Registration & Login Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.modal-container {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-radius: 24px 24px 0 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #6b7280;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #1f2937;
}

.modal-logo {
    font-size: 20px;
    font-weight: 700;
    color: #5b21b6;
}

.modal-logo span {
    color: #10b981;
}

.modal-body {
    padding: 24px;
}

.modal-offer-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #f3f0ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.offer-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.offer-details {
    flex: 1;
}

.offer-bank-name {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.offer-info {
    font-size: 14px;
    color: #6b7280;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 24px;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    gap: 8px;
}

.step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    background: #e5e7eb;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.step.active {
    background: #5b21b6;
    color: white;
}

.step.completed {
    background: #10b981;
    color: white;
}

.step-line {
    width: 40px;
    height: 2px;
    background: #e5e7eb;
    transition: background 0.3s ease;
}

.step-line.active {
    background: #5b21b6;
}

/* Form Steps */
.form-steps {
    position: relative;
}

.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

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

.form-group-modal {
    margin-bottom: 16px;
}

.form-group-modal label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.form-group-modal input,
.form-group-modal select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    background: white;
    transition: all 0.2s ease;
}

.form-group-modal input:focus,
.form-group-modal select:focus {
    outline: none;
    border-color: #5b21b6;
    box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.1);
}

.form-group-modal input::placeholder {
    color: #9ca3af;
}

.form-row-modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-btn {
    width: 100%;
    margin-top: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
}

.modal-btn-half {
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
}

.modal-terms {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
}

.modal-terms a {
    color: #5b21b6;
    text-decoration: none;
    font-weight: 500;
}

.modal-login-link {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: #6b7280;
}

.modal-login-link a {
    color: #5b21b6;
    text-decoration: none;
    font-weight: 600;
}

.forgot-password {
    font-size: 13px;
    color: #5b21b6;
    text-decoration: none;
}

.login-modal .modal-body {
    padding: 32px;
}

/* Responsive */
@media (max-width: 640px) {
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .modal-container {
        max-height: 95vh;
        border-radius: 24px 24px 0 0;
        animation: modalSlideUp 0.3s ease;
    }
    
    @keyframes modalSlideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    .modal-header {
        border-radius: 24px 24px 0 0;
    }
    
    .form-row-modal {
        grid-template-columns: 1fr;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-offer-summary {
        padding: 16px;
    }
    
    .offer-icon {
        width: 40px;
        height: 40px;
    }
    
    .offer-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Team Section */
.team {
    background: #f9fafb;
    padding: 80px 0;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.team-info {
    color: #1f2937;
}

.team-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #4b5563;
}

.team-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.team-value {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #374151;
}

.team-value-icon {
    width: 40px;
    height: 40px;
    background: #10b981;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.team-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.team-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.team-motto {
    background: #10b981;
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

/* Team Section Responsive */
@media (max-width: 768px) {
    .team-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .team-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .team-values {
        align-items: center;
    }
    
    .team-photo {
        height: 300px;
    }
    
    .team-motto {
        font-size: 16px;
        padding: 20px 15px 15px;
    }
}

/* Additional Mobile Responsive Improvements */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .loan-grid {
        grid-template-columns: 1fr;
    }
    
    .loan-card {
        padding: 20px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 14px 28px;
    }
    
    .simulator-box {
        padding: 20px;
    }
    
    .slider-labels {
        font-size: 12px;
    }
    
    .installment-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .result-value {
        font-size: 20px;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-grid {
        gap: 16px;
    }
    
    .cta-card {
        padding: 24px;
    }
    
    .cta-card h3 {
        font-size: 18px;
    }
    
    .blog-card {
        padding: 16px;
    }
    
    .blog-card h3 {
        font-size: 16px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-section h4 {
        font-size: 14px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    /* User menu mobile improvements */
    .user-menu-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .user-dropdown {
        right: -20px;
        min-width: 180px;
    }
    
    .dropdown-item {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* Mobile critical fixes */
@media (max-width: 768px) {
    /* Prevent iOS zoom on focus */
    input, select, textarea {
        font-size: 16px !important;
    }
    
    /* Better touch targets */
    .btn {
        min-height: 48px;
    }
    
    /* Slider mobile */
    .slider {
        height: 8px;
    }
    
    .slider::-webkit-slider-thumb {
        width: 32px;
        height: 32px;
    }
    
    /* Modal body scrollable on mobile */
    .modal-body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent body scroll when modal open */
    body.modal-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    /* Form inputs mobile */
    .form-group-modal input,
    .form-group-modal select {
        height: 48px;
        font-size: 16px !important;
    }
    
    /* Mobile menu nav items bigger tap target */
    .mobile-nav a {
        padding: 14px 0;
        font-size: 16px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .header .container {
        padding: 0 12px;
    }
    
    .logo {
        min-width: 80px;
        height: 24px;
    }
    
    .logo-icon {
        left: -80px;
        width: 260px;
        height: 65px;
    }
    
    .hero-content h1 {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}
