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

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background: #f4f4f4;
}

.app {
    max-width: 1440px;
    margin: 0 auto;
    background: #f4f4f4;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    background-image:
        linear-gradient(180deg, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.55) 55%, #333 100%),
        url('assets/hero.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.hero-container {
    padding: 33px 112px 72px;
    display: flex;
    flex-direction: column;
    min-height: 760px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-icon {
    display: block;
    flex-shrink: 0;
    width: 41px;
    height: 47px;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.16;
    color: #ffffff;
    text-transform: uppercase;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    transition: opacity 0.2s ease;
}

.phone-number:hover {
    opacity: 0.7;
}

.hero-body {
    display: flex;
    gap: 32px;
    margin-top: 92px;
    align-items: flex-start;
}

.hero-text {
    flex: 1 1 0;
    min-width: 0;
    max-width: 712px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 64px;
    line-height: 1;
    letter-spacing: -3.2px;
    color: #ffffff;
}

.hero-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #ffffff;
    max-width: 487px;
}

.cta-button {
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%),
        linear-gradient(90deg, #e8680c 0%, #e8680c 100%);
    border: none;
    border-radius: 8px;
    padding: 20px 32px;
    width: 353px;
    max-width: 100%;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

.cta-button:active {
    transform: translateY(0);
}

.hero-card {
    flex-shrink: 0;
    width: 504px;
    margin-top: 288px;
    background: #ffffff;
    border: 1px solid #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-card-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    color: #1a1a1a;
}

.hero-card-text {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #1a1a1a;
}

/* ===== Stats ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 40px 112px 80px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #f5f5f5;
    border-radius: 8px;
    padding: 24px;
    min-height: 257px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-num {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 64px;
    line-height: 1.2;
    color: #e8680c;
}

.stat-label {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.2;
    color: #333333;
}

/* ===== Footer ===== */
.footer {
    background: #333333;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 112px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.footer-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 6px;
}

.footer span,
.footer-copy {
    font-weight: 400;
    font-size: 13px;
    line-height: 1.4;
    color: #ffffff;
}

.footer-copy {
    margin-top: 12px;
}

.footer-download {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #e8680c;
    font-weight: 500;
    font-size: 14px;
    margin-top: 4px;
    transition: opacity 0.2s ease;
}

.footer-download:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ===== Contact Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.open {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 375px;
    max-width: 90%;
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e9e9e9;
}

.modal-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2;
    color: #111;
}

.close-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.close-button:hover {
    transform: scale(1.1);
}

.close-button:hover svg path {
    fill: #111;
}

.contact-form {
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group input {
    background: #f7f7f7;
    border: none;
    border-radius: 4px;
    padding: 16px 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 24px;
    color: #111;
    transition: border 0.2s ease;
}

.form-group input::placeholder {
    color: #949494;
}

.form-group input:focus {
    outline: none;
    background: #f0f0f0;
}

.form-group input.error {
    border: 2px solid #ff5252;
    background: #fff5f5;
}

.error-message {
    color: #ff5252;
    font-size: 12px;
    line-height: 1.4;
    min-height: 17px;
    font-family: 'Poppins', sans-serif;
}

.submit-button {
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%),
        linear-gradient(90deg, #e8680c 0%, #e8680c 100%);
    border: none;
    border-radius: 8px;
    padding: 20px 32px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(0);
}

.privacy-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.privacy-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.privacy-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid #c4c4c4;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    margin-top: 1px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.privacy-checkbox:hover {
    border-color: #e8680c;
}

.privacy-checkbox:checked {
    background: #e8680c;
    border-color: #e8680c;
}

.privacy-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.privacy-row.has-error .privacy-checkbox {
    border-color: #ff5252;
}

.privacy-notice {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: #949494;
    font-weight: 400;
    cursor: pointer;
}

.privacy-link {
    color: #e8680c;
    text-decoration: underline;
    font-weight: 500;
}

.privacy-link:hover {
    color: #cf5d0a;
}

.agreed-error {
    min-height: 0;
}

/* ===== Tablet ===== */
@media (min-width: 769px) and (max-width: 1100px) {
    .hero-container {
        padding: 28px 40px 56px;
        min-height: 0;
    }

    .hero-body {
        flex-direction: column;
        margin-top: 56px;
        gap: 28px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-title {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero-card {
        width: 100%;
        max-width: 560px;
        margin-top: 0;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 40px 64px;
    }

    .footer-inner {
        padding: 40px 40px;
    }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    .hero {
        background-position: center;
    }

    .hero-container {
        padding: 20px 16px 40px;
        min-height: 0;
    }

    .site-header {
        gap: 12px;
    }

    .logo {
        gap: 12px;
    }

    .logo-icon {
        width: 32px;
        height: 37px;
    }

    .logo-text {
        font-size: 16px;
    }

    .phone-number {
        gap: 8px;
        font-size: 14px;
    }

    .hero-body {
        flex-direction: column;
        margin-top: 40px;
        gap: 24px;
    }

    .hero-text {
        max-width: 100%;
        gap: 24px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .cta-button {
        width: 100%;
    }

    .hero-card {
        width: 100%;
        margin-top: 0;
        padding: 24px;
    }

    .hero-card-title {
        font-size: 20px;
    }

    .stats {
        grid-template-columns: 1fr;
        padding: 24px 16px 48px;
        gap: 16px;
    }

    .stat-card {
        min-height: auto;
        padding: 20px;
    }

    .stat-num {
        font-size: 48px;
    }

    .stat-label {
        font-size: 16px;
    }

    .footer-inner {
        padding: 32px 16px;
        gap: 8px;
    }

    .footer-title {
        font-size: 18px;
    }

    .footer span,
    .footer-copy {
        font-size: 13px;
    }

    /* Modal */
    .modal-content {
        width: 100%;
        max-width: 343px;
    }

    .modal-header {
        padding: 20px 24px;
    }

    .modal-title {
        font-size: 20px;
    }

    .contact-form {
        padding: 20px 24px;
    }
}
