/* Landing Page Styles - ConnectKey */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1a202c;
    line-height: 1.6;
    background: #f7fafc;
}

/* Header */
.header {
    background: white;
    padding: 1.5rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

.brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    width: 300px;
}

.brand-logo {
    display: block;
    height: 74px !important;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

    .nav-links a {
        text-decoration: none;
        color: #4a5568;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.3s;
    }

        .nav-links a:hover {
            color: #1a202c;
        }

.btn {
    padding: 0.65rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #16D69B 0%, #00C7D9 100%);
    color: white;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #12C88F 0%, #00B8C7 100%);
    }

.btn-outline {
    background: white;
    color: #1a202c;
    border: 1px solid #e2e8f0;
}

    .btn-outline:hover {
        background: #f8fafc;
    }

/* Hero Section */
.hero {
    padding: 120px 0 90px;
    background: linear-gradient(135deg, #f0fdf9 0%, #d1fae5 50%, #f8fafc 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 2.5rem;
    align-items: center;
}

.hero-copy {
    max-width: 620px;
}

.tags {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tag {
    background: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #16D69B;
    border: 1px solid #d1fae5;
}

.hero h1 {
    font-size: 4.1rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.65;
}

/* Hero Metrics */
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 1.35rem 1rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

    .metric-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .metric-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .metric-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .metric-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(22, 214, 155, 0.15);
        border-color: rgba(22, 214, 155, 0.3);
    }

.metric-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #16D69B;
    background: linear-gradient(135deg, rgba(22, 214, 155, 0.12), rgba(0, 199, 217, 0.08));
}

.metric-icon-chat {
    color: #16D69B;
}

.metric-icon-time {
    color: #f59e0b;
}

.metric-icon-ai {
    color: #061A44;
}

.metric-value {
    font-size: 2.35rem;
    font-weight: 800;
    color: #F59E0B;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.3;
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Benefits */
.hero-benefits {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 1.05rem;
    color: #334155;
    font-weight: 500;
}

.benefit-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #16D69B 0%, #00C7D9 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-large {
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
}

/* Hero Card - WhatsApp Web Style */
.hero-card {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 0;
    width: 100%;
}

.whatsapp-mockup {
    width: 100%;
    max-width: 900px;
    background: white;
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-2deg);
    transition: transform 0.3s;
}

    .whatsapp-mockup.whatsapp-web {
        width: 100%;
        max-width: 920px;
        min-height: 820px;
        height: auto;
    }

    .whatsapp-mockup:hover {
        transform: perspective(1200px) rotateY(0deg);
    }

.mockup-header {
    background: #075E54;
    padding: 0;
}

.mockup-content {
    padding: 0;
}

.whatsapp-header-content {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #075E54;
    padding: 1rem 1.5rem;
}

.whatsapp-avatar {
    width: 46px;
    height: 46px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.whatsapp-info {
    display: flex;
    flex-direction: column;
}

.whatsapp-name {
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.whatsapp-status {
    color: #d1fae5;
    font-size: 14px;
}

.mockup-content.whatsapp-chat,
.whatsapp-chat {
    background: #ECE5DD !important;
    padding: 2rem 2rem;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 72%;
    animation: slideIn 0.3s ease-out;
}

    .chat-message.guest {
        align-self: flex-end;
    }

    .chat-message.bot {
        align-self: flex-start;
    }

.message-bubble {
    padding: 1.15rem 1.35rem;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
    font-size: 17px;
    line-height: 1.5;
    color: #1f2937;
}

.guest-bubble {
    background: #DCF8C6 !important;
    border-bottom-right-radius: 3px;
    color: #1f2937 !important;
}

.bot-bubble {
    background: white !important;
    border-bottom-left-radius: 3px;
    color: #1f2937 !important;
}

.bot-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #16D69B 0%, #00C7D9 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 14px;
    margin-bottom: 7px;
}

.message-time {
    font-size: 12px;
    color: #667781;
    margin-top: 5px;
    align-self: flex-end;
}

.chat-message.bot .message-time {
    align-self: flex-start;
}

.whatsapp-typing {
    align-self: flex-start;
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    border-bottom-left-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.typing-indicator {
    display: flex;
    gap: 5px;
}

    .typing-indicator span {
        width: 9px;
        height: 9px;
        background: #94a3b8;
        border-radius: 50%;
        animation: typing 1.4s infinite;
    }

        .typing-indicator span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .typing-indicator span:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }

    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* Dashboard Mockup */
.dashboard-mockup {
    width: 100%;
    max-width: 480px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s;
}

    .dashboard-mockup:hover {
        transform: perspective(1000px) rotateY(0deg);
    }

.mockup-image {
    width: 100%;
    height: auto;
}

/* Features Icons Section */
.features-icons {
    padding: 60px 0;
    background: white;
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3rem;
    text-align: center;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.icon-box {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    color: #16D69B;
}

.icon-item span {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Financial Section */
.financial {
    padding: 80px 0;
    background: #f8fafc;
}

.financial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.financial-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.financial-heading-block {
    text-align: center;
    margin-bottom: 2rem;
}

.financial-subtitle {
    font-size: 1.0625rem;
    color: #475569;
    margin-bottom: 0;
    line-height: 1.7;
}

.financial-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.financial-benefit-card {
    background: white;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    min-height: 180px;
}

.financial-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.35);
}

.financial-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    color: #b8890b;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.financial-badge-exclusive {
    background: rgba(6, 26, 68, 0.08);
    color: #061A44;
}

.financial-benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #F59E0B;
    background: rgba(245, 158, 11, 0.1);
    margin-bottom: 1rem;
}

.financial-benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.financial-benefit-card p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #475569;
}

.financial-summary-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1.25rem;
    margin-top: 2rem;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.financial-summary-item {
    color: #0f172a;
    font-weight: 600;
    font-size: 0.98rem;
}

.financial-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

    .financial-mockup img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

.financial-mockup-image {
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 24px;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.22);
    min-height: 900px;
    margin-top: 1rem;
}

.financial-dashboard-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 24px;
}

.feature-icon i,
.chat-feature-icon i,
.icon-box i,
.footer-social-link i,
.whatsapp-avatar i,
.bot-badge i,
.whatsapp-status i {
    line-height: 1;
}

/* Chat Section */
.chat-section {
    padding: 80px 0;
    background: #0f172a;
    color: white;
    text-align: center;
}

    .chat-section h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .chat-section p {
        font-size: 1.0625rem;
        opacity: 0.9;
        margin-bottom: 3rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.chat-demo {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Escopo separado para não interferir no mockup do Hero */
.chat-section .chat-message {
    background: #334155;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    position: relative;
    max-width: none;
}

    .chat-section .chat-message.user {
        background: #0ea5e9;
        margin-left: 2rem;
    }

    .chat-section .chat-message.bot {
        background: #334155;
        margin-right: 2rem;
    }

.chat-conversation {
    background: #1e293b;
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
}

.chat-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.chat-feature {
    background: #1e293b;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: left;
}

.chat-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(22, 214, 155, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #16D69B;
}

.feature-icon-ai,
.chat-feature-icon.feature-icon-ai {
    color: #16D69B;
}

.chat-feature-icon.feature-icon-security {
    color: #061A44;
    background: rgba(6, 26, 68, 0.1);
}

.chat-feature h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.chat-feature p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    text-align: center;
}

    .cta h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: #0f172a;
    }

    .cta p {
        font-size: 1.125rem;
        color: #475569;
        margin-bottom: 2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta .btn {
        font-size: 1rem;
        padding: 1rem 2.5rem;
    }

/* Footer */
.footer {
    background: white;
    padding: 3rem 0 2rem;
    border-top: 1px solid #e2e8f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    line-height: 2;
    transition: color 0.3s;
}

    .footer-section a:hover {
        color: #0f172a;
    }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #16D69B;
    text-decoration: none;
    font-size: 1.25rem;
    transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.footer-social-link:hover {
    transform: scale(1.08);
    color: #12c88f;
    background: #eefbf6;
}

.whatsapp-avatar {
    color: #16D69B;
    font-size: 1.25rem;
}

.whatsapp-status {
    color: #d1fae5;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.whatsapp-status-dot {
    color: #22c55e;
    font-size: 0.55rem;
}

.bot-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #16D69B 0%, #00C7D9 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 45% 55%;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .brand-logo {
        height: 58px;
    }

    .brand {
        width: 240px;
    }

    .whatsapp-mockup.whatsapp-web {
        max-width: 760px;
        min-height: 560px;
    }

    .mockup-content.whatsapp-chat,
    .whatsapp-chat {
        min-height: 500px;
    }

    .message-bubble {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-grid,
    .financial-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .financial-heading-block {
        text-align: left;
    }

    .hero-copy {
        max-width: 760px;
        margin: 0 auto;
        text-align: left;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .metric-card {
        padding: 1.5rem 1.25rem;
    }

    .metric-value {
        font-size: 2.5rem;
    }

    .metric-label {
        font-size: 0.875rem;
    }

    .hero-card {
        justify-content: center;
    }

    .whatsapp-mockup {
        max-width: 100%;
        margin: 0 auto;
        transform: none;
    }

    .whatsapp-mockup.whatsapp-web {
        max-width: 900px;
        min-height: 560px;
    }

    .icons-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .chat-demo {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .financial-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .financial-mockup-image {
        min-height: 680px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .header {
        padding: 1rem 0;
    }

    .brand-logo {
        height: 46px;
    }

    .brand {
        width: 190px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 110px 0 60px;
    }

        .hero h1 {
            font-size: 2.5rem;
        }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .metric-card {
        padding: 1.5rem;
    }

    .metric-icon {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .metric-value {
        font-size: 2.5rem;
    }

    .metric-label {
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
    }

        .hero-actions .btn {
            width: 100%;
            text-align: center;
        }

    .hero-benefits {
        margin-bottom: 2rem;
    }

    .benefit-item {
        font-size: 1rem;
    }

    .whatsapp-mockup {
        transform: none;
        max-width: 100%;
        border-radius: 18px;
    }

    .whatsapp-mockup.whatsapp-web {
        min-height: auto;
        aspect-ratio: auto;
    }

    .mockup-content.whatsapp-chat,
    .whatsapp-chat {
        min-height: 420px;
        padding: 1.5rem 1rem;
    }

    .message-bubble {
        font-size: 15px;
        padding: 0.875rem 1rem;
    }

    .chat-message {
        max-width: 82%;
    }

    .icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .financial-content h2,
    .chat-section h2,
    .cta h2 {
        font-size: 1.875rem;
    }

    .financial-subtitle {
        font-size: 0.98rem;
    }

    .financial-benefits-grid {
        grid-template-columns: 1fr;
    }

    .financial-summary-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }

    .financial-mockup-image {
        min-height: auto;
    }

    .chat-features {
        grid-template-columns: 1fr;
    }

    .financial-benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}
