/* === Reset & base === */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Times New Roman', 'Amiri', 'Traditional Arabic', Georgia, serif;
    font-size: 17px;
    line-height: 1.7;
    color: #000;
    background: #fff;
    direction: rtl;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #1A73E8; text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Header === */
.site-header {
    background: #0D47A1;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}
.logo:hover { text-decoration: none; }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #fff;
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    border-color: #fff;
    text-decoration: none;
}

/* === Main content === */
.page {
    padding: 40px 0;
}

.page h1 {
    font-size: 36px;
    margin-bottom: 25px;
    color: #0D47A1;
    line-height: 1.3;
}

.page h2 {
    font-size: 28px;
    margin-top: 45px;
    margin-bottom: 18px;
    color: #0D47A1;
    line-height: 1.3;
}

.page h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page p {
    margin-bottom: 18px;
}

.page ul, .page ol {
    margin: 15px 30px 20px 0; /* RTL: отступ справа */
    padding-right: 20px;
}

.page li {
    margin-bottom: 10px;
}

/* === Hero === */
.hero {
    background: linear-gradient(135deg, #1A73E8 0%, #0D47A1 100%);
    color: #fff;
    padding: 60px 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.hero h1 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
}

/* === CTA Button === */
.cta-button {
    display: inline-block;
    background: #1A73E8;
    color: #fff !important;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.cta-button:hover {
    background: #1557B0;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 115, 232, 0.4);
    text-decoration: none;
}

.hero .cta-button {
    background: #fff;
    color: #0D47A1 !important;
}
.hero .cta-button:hover {
    background: #f0f0f0;
}

/* === Promo codes === */
.promo-list {
    list-style: none !important;
    margin: 20px 0 !important;
    padding: 0 !important;
}

.promo-list li {
    background: #f5f9ff;
    border: 2px dashed #1A73E8;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.promo-code {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: bold;
    color: #0D47A1;
    letter-spacing: 1px;
    cursor: pointer;
    user-select: all;
}

.promo-copy-btn {
    background: #1A73E8;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    transition: background 0.2s;
}
.promo-copy-btn:hover { background: #1557B0; }
.promo-copy-btn.copied { background: #2e7d32; }

/* === Footer === */
.site-footer {
    background: #f5f5f5;
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
    color: #555;
    font-size: 14px;
}

.site-footer .disclaimer {
    margin-top: 8px;
    color: #888;
}

/* === Mobile === */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; }
    .main-nav ul { justify-content: center; }
    .page h1 { font-size: 28px; }
    .page h2 { font-size: 22px; }
    .hero { padding: 40px 20px; }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 16px; }
}
