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

:root {
    /* Colors from Figma */
    --primary-blue: #1649FF;
    --dark-blue: #061C3D;
    --light-blue: #0B63E5;
    --gray-light: #F8F8F8;
    --gray-medium: #A6A6A6;
    --white: #FFFFFF;
    
    /* Typography */
    --font-inter: 'Inter', sans-serif;
    --font-epilogue: 'Epilogue', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
    
    /* Spacing */
    --container-padding: 60px;
    --section-padding: 124px 0;
    --border-radius: 7px;
    --border-radius-lg: 20px;
}

body {
    font-family: var(--font-inter);
    line-height: 1.6;
    color: var(--dark-blue);
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1564px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header */
.header {
    background: var(--white);
    position: relative;
    z-index: 1000;
}

.topbar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 10px 60px;
    width: 100%;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    width: 100%;
}

.logo {
    height: 22px;
    width: 165px;
    flex-shrink: 0;
}

.logo img {
    display: block;
    max-width: none;
    width: 100%;
    height: 100%;
}

.nav {
    background: #f8f8f8;
    border-radius: 50px;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 500px;
    flex-grow: 1;
    margin: 0 auto;
    overflow: hidden;
    font-size: 16px;
    line-height: 0;
    text-align: left;
    white-space: nowrap;
}

.nav-link {
    font-family: 'Epilogue', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #061c3d;
    text-decoration: none;
    position: relative;
    flex-shrink: 0;
    line-height: normal;
    white-space: pre;
}

.nav-link.active {
    font-family: 'Epilogue', sans-serif;
    font-weight: 600;
    color: #1649ff;
}

.header-button {
    background: #1649ff;
    border-radius: 7px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 300px;
    flex-shrink: 0;
}

.header-button .btn {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 0;
    height: 48px;
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 16px;
    line-height: 48px;
    text-transform: capitalize;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 16px;
    line-height: 48px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: #0d35cc;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--gray-light);
    color: var(--dark-blue);
}

.btn-secondary:hover {
    background: #e5e5e5;
}

.btn-large {
    padding: 0 32px;
    height: 48px;
}

/* Hero Section */
.hero {
    background: var(--white);
    padding: 0;
    position: relative;
    border-radius: var(--border-radius-lg);
    min-height: 748px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0;
}

.hero-text {
    flex: 1;
    max-width: 700px;
    min-width: 350px;
}

.hero-title {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 62px;
    line-height: 80px;
    letter-spacing: -1.24px;
    margin-bottom: 24px;
    color: var(--dark-blue);
}

.hero-title .text-primary {
    color: var(--primary-blue);
}

.hero-description {
    font-family: var(--font-epilogue);
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: var(--dark-blue);
    margin-bottom: 24px;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 748px;
}

.hero-img {
    width: 100%;
    max-width: 600px;
    height: 748px;
    object-fit: cover;
    border-radius: 32px;
}

/* Products Section */
.products {
    padding: 64px 0;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 64px;
    box-sizing: border-box;
    position: relative;
    width: 100%;
}

.products .container {
    width: 100%;
    max-width: 100%;
    padding: 0 60px;
}

.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 64px;
}

.section-title h2 {
    font-family: var(--font-epilogue);
    font-weight: 500;
    font-size: 40px;
    line-height: 46px;
    text-align: center;
    color: var(--dark-blue);
    width: 100%;
    margin: 0;
}

.section-title .text-primary {
    color: var(--primary-blue);
}

.products-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.product-card {
    display: inline-grid;
    grid-template-columns: max-content;
    grid-template-rows: max-content;
    place-items: start;
    position: relative;
    flex: 1;
    flex-shrink: 0;
    min-width: 217px;
}

.product-icon {
    grid-area: 1 / 1;
    margin-left: 0;
    margin-top: 0;
    position: relative;
    width: 60px;
    height: 60px;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-title {
    grid-area: 1 / 1;
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 24px;
    line-height: 33.6px;
    color: var(--dark-blue);
    margin-left: 0;
    margin-top: 82px;
    position: relative;
    text-align: left;
}

.product-description {
    grid-area: 1 / 1;
    font-family: var(--font-epilogue);
    font-weight: 400;
    font-size: 18px;
    line-height: 28.8px;
    letter-spacing: 0.36px;
    color: var(--dark-blue);
    margin-left: 0;
    margin-top: 161px;
    position: relative;
    text-align: left;
    width: 217px;
}

.product-link {
    grid-area: 1 / 1;
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 14px;
    line-height: 16.8px;
    color: #1749FF;
    text-decoration: none;
    margin-left: 0;
    margin-top: 279px;
    position: relative;
    text-align: left;
    width: 115px;
}

/* Desktop - Force horizontal layout */
@media (min-width: 1201px) {
    .products-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: flex-start;
        gap: 62px;
    }
    
    .product-card {
        flex: 0 0 217px;
        width: 217px;
    }
}

/* Ajustes específicos para cada card */
.product-card:nth-child(1) .product-title {
    width: 147px;
}

.product-card:nth-child(2) .product-title {
    width: 142px;
}

.product-card:nth-child(2) .product-description {
    font-size: 17px;
    width: 201px;
}

.product-card:nth-child(3) .product-title {
    width: 157px;
}

.product-card:nth-child(3) .product-description {
    font-size: 17px;
    width: 207px;
    margin-top: 162px;
}

.product-card:nth-child(3) .product-link {
    margin-top: 309px;
}

.product-card:nth-child(4) .product-title {
    width: 157px;
}

.product-card:nth-child(4) .product-description {
    width: 215px;
    margin-top: 162px;
}

.product-card:nth-child(4) .product-link {
    margin-top: 309px;
}

/* Market Section */
.market {
    padding: var(--section-padding);
    background: var(--gray-light);
    text-align: center;
}

.market-content h2 {
    font-family: var(--font-epilogue);
    font-weight: 500;
    font-size: 40px;
    line-height: 1.15;
    color: var(--dark-blue);
    margin-bottom: 40px;
}

.market-content h2 .text-primary {
    color: var(--primary-blue);
}

.market-content p {
    font-family: var(--font-inter);
    font-weight: 500;
    font-size: 18px;
    line-height: 30px;
    color: var(--gray-medium);
    max-width: 976px;
    margin: 0 auto 40px;
}

.market-content p .text-primary {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: underline;
}

.market-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 40px 0;
    padding: 24px;
    background: var(--gray-light);
    border-radius: 16px;
    box-shadow: 0px 12px 56px 0px rgba(6, 28, 61, 0.12);
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0px 12px 56px 0px rgba(6, 28, 61, 0.12);
    text-align: center;
    width: 312px;
    height: 234px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.stat-icon {
    background: var(--light-blue);
    padding: 16px;
    border-radius: 8px;
}

.stat-icon img {
    width: 32px;
    height: 32px;
}

.stat-value {
    font-family: var(--font-inter);
    font-weight: 500;
    font-size: 32px;
    line-height: 26px;
    text-align: center;
    color: var(--dark-blue);
    width: 264px;
    flex-shrink: 0;
}

.stat-label {
    font-family: var(--font-roboto);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    color: var(--dark-blue);
    width: 264px;
    flex-shrink: 0;
}

.market-cta {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    position: relative;
    flex-shrink: 0;
}

.btn-large {
    background: var(--primary-blue);
    display: flex;
    flex-direction: row;
    gap: 18px;
    align-items: center;
    justify-content: center;
    padding: 0 49px;
    border-radius: 7px;
    width: 404px;
    height: 74px;
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 25px;
    line-height: 74px;
    text-align: left;
    text-transform: capitalize;
    color: var(--gray-light);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.text-primary-underline {
    color: var(--primary-blue);
    font-family: var(--font-inter);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-decoration-style: solid;
    text-underline-position: from-font;
}

.market .btn {
    margin-top: 40px;
    padding: 0 49.414px;
    height: 74.12px;
    font-size: 24.71px;
    border-radius: var(--border-radius);
}

.company-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 64px;
    margin-top: 64px;
    padding: 32px;
    align-items: center;
}

.company-logos img {
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.company-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* How it Works Section */
.how-it-works {
    padding: var(--section-padding);
    background: var(--white);
    text-align: center;
}

.how-it-works .section-title {
    font-family: var(--font-epilogue);
    font-weight: 500;
    font-size: 40px;
    line-height: 1.15;
    color: var(--dark-blue);
    margin-bottom: 80px;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 74px;
    margin: 80px 0;
}

.step {
    text-align: center;
    max-width: 364px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.step-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.step-number {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 122px;
    color: var(--primary-blue);
    line-height: 1;
}

.step-title {
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 30px;
    line-height: 38px;
    color: var(--dark-blue);
    text-align: center;
}

.step-description {
    font-family: var(--font-inter);
    font-weight: 500;
    font-size: 18px;
    line-height: 30px;
    color: var(--gray-medium);
    text-align: center;
}

.how-it-works .btn {
    padding: 0 49.414px;
    height: 74.12px;
    font-size: 24.71px;
    border-radius: var(--border-radius);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0d35cc 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    min-height: 511px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 1281px;
    padding: 0 64px;
}

.cta-title {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 32px;
    line-height: 48px;
    letter-spacing: -0.64px;
    margin-bottom: 16px;
}

.cta-description {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 42px;
    line-height: 48px;
    letter-spacing: -0.84px;
    margin-bottom: 32px;
    max-width: 833.958px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form {
    margin-top: 48px;
}

.input-container {
    background: var(--white);
    border: 1px solid #CEE0FA;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 526px;
    margin: 0 auto;
}

.cta-input {
    flex: 1;
    height: 48px;
    border: none;
    outline: none;
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: #6A778B;
    padding: 0 18px;
    border-radius: 5px;
}

.cta-input::placeholder {
    color: #6A778B;
}

.input-container .btn {
    height: 48px;
    padding: 0 32px;
    font-size: 16px;
    line-height: 48px;
}

/* FAQ Section */
.faq {
    padding: 112px 0;
    background: var(--gray-light);
    text-align: center;
}

.faq .section-title {
    font-family: var(--font-epilogue);
    font-weight: 500;
    font-size: 40px;
    line-height: 1.15;
    color: var(--dark-blue);
    margin-bottom: 80px;
}

.faq-list {
    max-width: 858px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-medium);
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-family: var(--font-epilogue);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.15;
    color: var(--dark-blue);
    text-align: left;
}

.faq-question img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.faq-item:hover .faq-question img {
    transform: rotate(180deg);
}

/* Final CTA Section */
.final-cta {
    background: var(--white);
    padding: 64px;
}

.final-cta-content {
    background: #163FD9;
    border-radius: 16px;
    box-shadow: 0px 12px 56px 0px rgba(6, 28, 61, 0.12);
    padding: 64px;
    color: var(--white);
}

.final-cta-inner {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.final-cta-text {
    flex: 1;
}

.final-cta-text h2 {
    font-family: var(--font-roboto);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
    color: var(--white);
}

.newsletter-form {
    background: var(--white);
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 16px;
}

.newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: var(--gray-medium);
}

.newsletter-input::placeholder {
    color: var(--gray-medium);
}

.newsletter-form .btn {
    height: 48px;
    padding: 0 32px;
    font-size: 16px;
    line-height: 48px;
}

.disclaimer {
    font-family: var(--font-roboto);
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    color: var(--white);
    max-width: 456px;
}

.disclaimer a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 700;
}

.final-cta-links {
    display: flex;
    gap: 40px;
    flex: 1;
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    font-family: var(--font-roboto);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    font-family: var(--font-roboto);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--white);
    text-decoration: none;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8.435px;
    margin-bottom: 15.622px;
    height: 20.033px;
}

.contact-item img {
    width: 23.517px;
    height: 23.517px;
}

.contact-item span {
    font-family: var(--font-roboto);
    font-weight: 400;
    font-size: 12.652px;
    line-height: 1.5;
    color: var(--white);
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.social-link img {
    width: 24px;
    height: 24px;
}

.social-link span {
    font-family: var(--font-roboto);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--white);
    padding: 64px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-blue);
}

.footer-bottom p {
    font-family: var(--font-roboto);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.privacy-link {
    font-family: var(--font-roboto);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--dark-blue);
    text-decoration: underline;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--dark-blue);
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-image {
        min-height: auto;
    }
    
    .hero-img {
        height: 400px;
    }
    
    .products-grid {
        flex-flow: row wrap;
        justify-content: center;
        gap: 32px;
    }
    
    .product-card {
        flex: 0 0 calc(50% - 16px);
        max-width: 250px;
    }
    
    .steps {
        flex-direction: column;
        gap: 48px;
        align-items: center;
    }
    
    .market-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .final-cta-inner {
        flex-direction: column;
        gap: 32px;
    }
    
    .final-cta-links {
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
        --section-padding: 80px 0;
    }
    
    .topbar {
        padding: 10px 20px;
    }
    
    .navbar {
        position: relative;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .header-button {
        display: none;
    }
}
    
    .hero-title {
        font-size: 36px;
        line-height: 44px;
    }
    
    .hero-description {
        font-size: 18px;
        line-height: 24px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .how-it-works .section-title {
        font-size: 28px;
    }
    
    .cta-title {
        font-size: 24px;
        line-height: 32px;
    }
    
    .cta-description {
        font-size: 24px;
        line-height: 32px;
    }
    
    .input-container {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    
    .cta-input {
        width: 100%;
    }
    
    .input-container .btn {
        width: 100%;
    }
    
    .products-grid {
        flex-flow: column nowrap;
        align-items: center;
        gap: 40px;
    }
    
    .product-card {
        flex: none;
        width: 100%;
        max-width: 300px;
    }
    
    .company-logos {
        gap: 24px;
    }
    
    .final-cta-content {
        padding: 32px;
    }
    
    .final-cta-links {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        line-height: 36px;
    }
    
    .hero-description {
        font-size: 16px;
        line-height: 22px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .product-card {
        grid-template-rows: auto auto auto auto;
    }
    
    .step-number {
        font-size: 80px;
    }
    
    .step-title {
        font-size: 24px;
        line-height: 30px;
    }
    
    .cta-title {
        font-size: 20px;
        line-height: 28px;
    }
    
    .cta-description {
        font-size: 18px;
        line-height: 24px;
    }
    
    .faq .section-title {
        font-size: 24px;
    }
    
    .faq-question {
        font-size: 18px;
    }
}