:root {
    --primary: #d32f2f;
    --secondary: #e53935;
    --bg: #fffbf7;
    --surface: #ffffff;
    --card: #ffebee;
    --text-main: #2d1515;
    --text-muted: #7a4a4a;
    --border: #f2c6c6;
    --shadow: rgba(211, 47, 47, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
}

.hero,
.features,
.how,
.contact {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px;
}

.hero {
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;
}

.hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.brand-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: contain;
    box-shadow: 0 8px 24px var(--shadow);
}

.brand-name {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}

.hero h1 {
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 8px;
    font-weight: 700;
}

.hero p {
    font-size: 22px;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.buttons {
    width: min(720px, 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid var(--border);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.android {
    background: var(--primary);
    color: #fff;
}

.android:hover {
    background: #be2a2a;
    transform: translateY(-1px);
}

.ios {
    background: var(--surface);
    color: var(--text-muted);
}

.features h2,
.how h2,
.contact h2 {
    text-align: center;
    margin-bottom: 18px;
    color: var(--text-main);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 6px 18px var(--shadow);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 6px;
}

.card p {
    color: var(--text-muted);
}

.how {
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.steps div {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    font-weight: 600;
}

.contact {
    text-align: center;
}

.contact p {
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contact-links {
    width: min(760px, 100%);
    margin: 0 auto 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 6px 18px var(--shadow);
    text-decoration: none;
    transition: .2s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px var(--shadow);
}

.contact-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    color: var(--text-main);
}

.contact-copy strong {
    color: var(--primary);
}

.contact-copy span {
    color: var(--text-muted);
}

.contact a {
    color: var(--primary);
    font-weight: 700;
}

.contact form {
    margin: 26px auto 0;
    width: min(1000px, 100%);
    display: grid;
    gap: 12px;
}

.contact input,
.contact textarea {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 18px;
    color: var(--text-main);
    outline: none;
}

.contact input:focus,
.contact textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.12);
}

.contact textarea {
    min-height: 120px;
    resize: vertical;
}

.contact button {
    min-height: 54px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.contact button:hover {
    background: #be2a2a;
}

footer {
    margin-top: auto;
    background: #2b1b1b;
    color: #fff;
    text-align: center;
    padding: 16px;
}

@media (max-width: 900px) {
    .features-grid,
    .steps,
    .buttons {
        grid-template-columns: 1fr;
    }

    .contact-links {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 62vh;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-brand {
        gap: 10px;
        margin-bottom: 18px;
    }

    .brand-logo {
        width: 54px;
        height: 54px;
    }

    .btn,
    .contact input,
    .contact textarea {
        font-size: 16px;
    }

    .contact button {
        font-size: 24px;
    }
}
