:root {
    --ink: #182433;
    --ink-soft: #4b5b70;
    --surface: #ffffff;
    --surface-soft: #f5f8fc;
    --line: #d9e2ee;
    --accent: #4d6fff;
    --accent-dark: #2f4be0;
    --teal: #18a4a6;
    --rose-soft: #f4dfe9;
    --success: #117a36;
    --error: #b91c1c;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    direction: rtl;
    text-align: right;
    font-family: Tahoma, Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 0%, #edf5ff 0%, rgba(237, 245, 255, 0) 36%),
        radial-gradient(circle at 90% 16%, #f9eef4 0%, rgba(249, 238, 244, 0) 26%),
        #f7fafd;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 160;
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(216, 226, 238, 0.88);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand img {
    height: 48px;
    width: auto;
    display: block;
}

.primary-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.primary-nav a {
    color: var(--ink);
    font-weight: 700;
    font-size: 0.95rem;
}

.primary-nav a:hover {
    color: var(--accent);
}

.site-main {
    overflow: hidden;
}

.hero-bg {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background-image: var(--hero-bg-image);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(16, 32, 50, 0.82), rgba(31, 56, 87, 0.65)),
        linear-gradient(0deg, rgba(24, 164, 166, 0.2), rgba(24, 164, 166, 0.2));
}

.hero-content {
    position: relative;
    color: #fff;
    max-width: 760px;
    padding: 46px 0;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 3.7rem);
    line-height: 1.22;
}

.hero p {
    margin: 20px 0 0;
    line-height: 1.95;
    font-size: 1.08rem;
    color: #e8eff8;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 700;
    border: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent));
    box-shadow: 0 10px 22px rgba(52, 88, 233, 0.34);
}

.btn-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.08);
}

.section-gap {
    padding: 76px 0;
}

.section-title {
    margin: 0 0 12px;
    text-align: center;
    font-size: clamp(1.5rem, 2.8vw, 2.3rem);
    color: var(--ink);
}

.section-intro {
    max-width: 840px;
    margin: 0 auto 36px;
    text-align: center;
    color: var(--ink-soft);
    line-height: 1.9;
}

.products {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #f8fbff 30%, #f8fbff 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--surface);
    border: 1px solid #dfe8f3;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 20px 34px rgba(20, 40, 60, 0.06);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 14px;
}

.tag {
    display: inline-block;
    margin: 0 0 8px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #375171;
    background: #edf4ff;
}

.product-card h3 {
    margin: 0;
    font-size: 1.32rem;
}

.product-card p {
    line-height: 1.9;
    color: var(--ink-soft);
}

.product-link {
    color: var(--accent-dark);
    font-weight: 700;
}

.benefits {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.benefit {
    border: 1px solid #deebee;
    border-radius: 16px;
    background: var(--surface);
    padding: 18px;
}

.benefit-icon,
.benefit-icon-fallback {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
}

.benefit-icon {
    object-fit: contain;
}

.benefit-icon-fallback {
    border-radius: 999px;
    display: inline-block;
    background: linear-gradient(135deg, #8adbe2, #5a74ff);
}

.benefit h3 {
    margin: 0 0 8px;
    color: #1f3e66;
}

.benefit p {
    margin: 0;
    line-height: 1.85;
    color: var(--ink-soft);
}

.contact {
    background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.contact-copy p {
    line-height: 1.9;
    color: var(--ink-soft);
}

.quick-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-btn {
    border-radius: 999px;
    padding: 10px 14px;
    color: #fff;
    font-weight: 700;
}

.quick-btn.phone {
    direction: ltr;
    background: #2354db;
}

.quick-btn.whatsapp {
    background: #25d366;
}

.contact-form {
    background: var(--surface);
    border: 1px solid #dbe7f2;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 20px 34px rgba(20, 40, 60, 0.06);
}

.contact-form label {
    display: block;
    margin: 0 0 7px;
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    margin: 0 0 12px;
    padding: 11px 12px;
    border: 1px solid #d5dfeb;
    border-radius: 10px;
    font: inherit;
    background: #fbfdff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #96ace6;
    box-shadow: 0 0 0 3px rgba(77, 111, 255, 0.15);
}

.form-btn {
    width: 100%;
    cursor: pointer;
    min-height: 48px;
}

.btn-loader {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    display: none;
    animation: puretech-spin 0.8s linear infinite;
}

.form-btn.is-loading {
    opacity: 0.9;
    pointer-events: none;
}

.form-btn.is-loading .btn-loader {
    display: inline-block;
}

.form-result {
    min-height: 24px;
    margin: 12px 0 0;
    border-radius: 8px;
    padding: 0;
    font-weight: 700;
    color: var(--ink-soft);
}

.form-result.is-success,
.form-result.is-error {
    padding: 10px 12px;
}

.form-result.is-success {
    color: var(--success);
    background: #e9f8ee;
}

.form-result.is-error {
    color: var(--error);
    background: #feeef1;
}

.site-footer {
    border-top: 1px solid #dce6f2;
    text-align: center;
    padding: 18px 0 24px;
    color: #4f5f72;
    background: #f7fbff;
}

.floating-actions {
    position: fixed;
    inset-inline-start: 16px;
    bottom: 18px;
    z-index: 210;
    display: grid;
    gap: 8px;
}

.floating-btn {
    border-radius: 999px;
    padding: 10px 15px;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.floating-btn.whatsapp {
    background: #25d366;
}

.floating-btn.phone {
    background: #2156de;
}

@keyframes puretech-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 980px) {
    .products-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .header-inner {
        min-height: auto;
        padding: 12px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-bg {
        min-height: 74vh;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
