/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, Roboto, Helvetica, sans-serif;
    font-feature-settings: 'dlig' on;
    color: #121417;
    background: #FFF;
    line-height: 1.5;
}

/* Page container */
.page-container {
    display: flex;
    min-height: 800px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    background: #FFF;
    position: relative;
}

/* Header */
.header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    position: relative;
}

.header-content {
    display: flex;
    padding: 12px 40px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-bottom: 1px solid #E5E8EB;
    position: relative;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.logo-icon {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.logo-icon svg {
    width: 16px;
    height: 16px;
    fill: #121417;
}

.logo-text {
    color: #121417;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 23px;
}

.nav-section {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 32px;
    flex: 1 0 0;
    position: relative;
}

.nav-links {
    display: flex;
    height: 40px;
    align-items: center;
    gap: 36px;
    position: relative;
}

.nav-link {
    color: #121417;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #697582;
}

.header-actions {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    position: relative;
}

/* Buttons */
.btn {
    display: flex;
    min-width: 84px;
    max-width: 480px;
    padding: 0 16px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 21px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
}

.btn:hover {
    opacity: 0.9;
}

.btn-primary {
    height: 40px;
    background: #B0CCE8;
    color: #121417;
}

.btn-secondary {
    height: 40px;
    background: #F2F2F5;
    color: #121417;
}

/* Main content */
.main-content {
    display: flex;
    padding: 20px 160px;
    justify-content: center;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
    position: relative;
}

.content-wrapper {
    display: flex;
    max-width: 960px;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
    position: relative;
}

/* Hero section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    position: relative;
}

.hero-content {
    display: flex;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
    position: relative;
}

.hero-background {
    height: 480px;
    min-height: 480px;
    align-self: stretch;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.64) 70.19%), 
                linear-gradient(90deg, rgba(0, 0, 0, 0.09) 0%, rgba(0, 0, 0, 0.36) 100%), 
                url('https://api.builder.io/api/v1/image/assets/TEMP/0df6437fffa4b07ed78aa7a48ba64d8b9e750199?width=1856') lightgray 50% / cover no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 28px;
}

.hero-text-content {
    display: flex;
    width: 848px;
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 80px;
}

.hero-title {
    align-self: stretch;
    color: #FFF;
    font-size: 48px;
    font-style: normal;
    font-weight: 900;
    line-height: 60px;
    letter-spacing: -2px;
}

.hero-description {
    align-self: stretch;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.hero-cta {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    height: 48px;
    min-width: 84px;
    max-width: 480px;
    padding: 0 20px;
    font-size: 16px;
    line-height: 24px;
}

/* Features section */
.features-section {
    display: flex;
    padding: 40px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    align-self: stretch;
    position: relative;
}

.features-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    position: relative;
}

.features-title {
    width: 720px;
    max-width: 720px;
    color: #121417;
    font-size: 36px;
    font-style: normal;
    font-weight: 900;
    line-height: 45px;
    letter-spacing: -1px;
}

.features-subtitle {
    width: 720px;
    max-width: 720px;
    color: #121417;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.features-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
    position: relative;
}

.feature-card {
    display: flex;
    width: 301px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid #DEE0E3;
    background: #FFF;
    position: relative;
}

.feature-icon {
    width: 24px;
    flex: 1 0 0;
    position: relative;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: #121417;
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
    position: relative;
}

.feature-title {
    align-self: stretch;
    color: #121417;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.feature-description {
    align-self: stretch;
    color: #697582;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
}

/* Contact section */
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    position: relative;
}

.contact-header {
    display: flex;
    padding: 35px 40px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 32px;
    flex: 1 0 0;
    align-self: stretch;
    position: relative;
}

.contact-header > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    position: relative;
}

.contact-title {
    width: 720px;
    color: #121417;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 900;
    line-height: 45px;
    letter-spacing: -1px;
}

.contact-subtitle {
    align-self: stretch;
    color: #121417;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.contact-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
    position: relative;
    padding: 0 40px 220px;
}

.contact-form {
    display: flex;
    height: 64px;
    min-width: 160px;
    max-width: 480px;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
    position: relative;
}

.form-layout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    align-self: stretch;
    border-radius: 12px;
    position: relative;
}

.form-fields {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
    position: relative;
}

.form-field {
    display: flex;
    padding: 8px;
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;
    background: #F2F2F5;
    position: relative;
}

.form-field:first-child {
    border-radius: 12px 12px 0 0;
}

.form-field:last-of-type {
    border-radius: 0;
}

.form-field-large {
    height: 100px;
}

.form-input,
.form-textarea {
    display: flex;
    padding: 8px 16px;
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 12px;
    background: #FBFBFB;
    border: none;
    color: #121417;
    font-family: 'Inter', -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #727272;
}

.form-textarea {
    resize: none;
    height: 100%;
    padding: 8px 16px 48px 16px;
}

.form-submit {
    display: flex;
    padding: 8px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 0 0 12px 12px;
    background: #F2F2F5;
    position: relative;
}

.form-submit .btn {
    height: 48px;
    min-width: 84px;
    max-width: 480px;
    padding: 0 20px;
    flex: 1 0 0;
    font-size: 16px;
    line-height: 24px;
}

/* Footer */
.footer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    position: relative;
}

.footer-content {
    display: flex;
    max-width: 960px;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
    position: relative;
}

.footer-content > div:first-child {
    display: flex;
    padding: 0px 20px 20px;
    flex-direction: row;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
    position: relative;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    row-gap: 7px;
    align-self: stretch;
    flex-wrap: wrap;
    position: relative;
}

.footer-links .footer-link:nth-child(1) {
    flex: 1;
    text-align: right;
    padding-right: 20px;
}

.footer-links .footer-link:nth-child(2) {
    flex: 0 0 auto;
    text-align: center;
}

.footer-links .footer-link:nth-child(3) {
    flex: 1;
    text-align: left;
    padding-left: 20px;
}

.footer-link {
    min-width: 160px;
    color: #697582;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #121417;
}

.footer-copyright {
    align-self: stretch;
    color: #697582;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    position: relative;
}


.footer-spacer {
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    flex-basis: 0px;
    flex-grow: 1;
    gap: 24px;
    justify-content: center;
    position: relative;
    padding: 20px 20px;
}

/* Responsive design */
@media (max-width: 1200px) {
    .main-content {
        padding: 20px 80px;
    }
}

@media (max-width: 768px) {
    .hero-background {
        height: auto;
    }
    .header-content {
        padding: 12px 20px;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .nav-section {
        justify-content: center;
        gap: 16px;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-links {
        gap: 24px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-actions {
        flex-direction: row;
        gap: 8px;
        justify-content: center;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 45px;
    }
    
    .hero-text-content {
        width: 100%;
    }
    
    .features-title,
    .features-subtitle,
    .contact-title {
        width: 100%;
        max-width: 100%;
    }
    
    .features-grid {
        flex-direction: column;
    }

    .feature-card {
        width: 100%;
    }
    
    .contact-form-wrapper {
        padding: 0 20px 220px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .footer-links .footer-link:nth-child(1),
    .footer-links .footer-link:nth-child(2),
    .footer-links .footer-link:nth-child(3) {
        flex: none;
        text-align: center;
        padding: 0;
    }
    
    .footer-link {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 12px 16px;
    }

    .nav-section {
        gap: 12px;
    }

    .nav-links {
        flex-direction: column;
        height: auto;
        gap: 12px;
        text-align: center;
    }

    .header-actions {
        flex-direction: column;
        gap: 8px;
    }

    .btn {
        width: 98%;
        max-width: 280px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 35px;
    }
    
    .features-title,
    .contact-title {
        font-size: 28px;
        line-height: 35px;
    }
    
    .form-layout {
        flex-direction: column;
        height: auto;
    }

    .form-fields {
        width: 100%;
    }

    .form-field:first-child {
        border-radius: 12px 12px 0 0;
    }

    .form-field:last-of-type {
        border-radius: 0;
    }

    .form-submit {
        border-radius: 0 0 12px 12px;
        padding: 8px;
    }
}
