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

body {
    font-family: 'Inter', sans-serif;
    color: #191818;
    background: #ffffff;
}

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

/* ===== Header ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 112px;
}

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

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #191818;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

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

.phone-number span {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #191818;
}

/* ===== Hero ===== */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 112px;
    gap: 64px;
}

.hero-content {
    max-width: 488px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-title {
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -2px;
    color: #191818;
    font-weight: 400;
}

.hero-description {
    font-size: 16px;
    line-height: 1.4;
    color: #343434;
    font-weight: 400;
}

.cta-button {
    background: #ef2d65;
    border: none;
    border-radius: 32px;
    padding: 20px 32px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    width: 353px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: #d92558;
    transform: translateY(-2px);
}

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

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

.hero-illustration-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ===== Products ===== */
.products {
    padding: 80px 112px;
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.section-title {
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -2px;
    color: #191818;
    font-weight: 400;
}

.products-grid {
    display: flex;
    gap: 32px;
}

.product-card {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1;
}

.product-icon {
    width: 104px;
    height: 86px;
    flex-shrink: 0;
    object-fit: contain;
}

.product-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    color: #191818;
}

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

.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: white;
}

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

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

.download-link: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 #ef2d65;
    background: #fff5f7;
}

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

.submit-button {
    background: #ef2d65;
    border: none;
    border-radius: 32px;
    padding: 20px 32px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    background: #d92558;
    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: #ef2d65;
}

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

.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: #ef2d65;
}

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

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

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

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

/* ===== Tablet ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .header {
        padding: 20px 40px;
    }

    .hero {
        padding: 60px 40px;
    }

    .products {
        padding: 60px 40px;
    }

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

/* ===== Mobile ===== */
@media (max-width: 768px) {
    .header {
        padding: 20px 16px;
    }

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

    .phone-number {
        gap: 8px;
    }

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

    .hero {
        flex-direction: column;
        padding: 40px 16px;
        gap: 32px;
    }

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

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

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

    .cta-button {
        width: 100%;
        max-width: 343px;
        padding: 16px 24px;
        font-size: 14px;
    }

    .hero-illustration {
        width: 100%;
        min-height: auto;
    }

    .hero-illustration-img {
        max-width: 100%;
    }

    .products {
        padding: 40px 16px;
        gap: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .products-grid {
        flex-direction: column;
        gap: 24px;
    }

    .product-card {
        flex-direction: row;
    }

    .product-icon {
        width: 64px;
        height: 64px;
    }

    .product-title {
        font-size: 16px;
    }

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

    .download-link {
        font-size: 13px;
    }

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

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

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

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