:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --telegram: #0088cc;
    --rubika: #00a2ff;
    --bg: #f1f5f9;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --radius: 18px;
    --shadow: 0 20px 50px rgba(0,0,0,.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(180deg, #eef2ff, var(--bg));
    color: var(--text);
}

/* هدر */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0px;
    z-index: 100;
    left: 0px;
    width: 100%;
}

.navbar2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 28px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero */
.hero {
    max-width: 1100px;
    margin: 70px auto 30px;
    padding: 25px 15px;
    background: radial-gradient(circle at top right, #3b82f6, #1e3a8a);
    color: #fff;
    border-radius: 28px;
    box-shadow: var(--shadow);
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.15rem;
    opacity: .95;
    line-height: 1.9;
}

/* Cards */
.cards {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 35px;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: .35s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-12px);
}

.card:hover::after {
    opacity: 1;
}

.icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
}

.telegram .icon { background: var(--telegram); }
.rubika .icon { background: var(--rubika); }

.card h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--muted);
    margin-bottom: 25px;
    line-height: 1.8;
}

.username {
    background: #f8fafc;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    font-family: monospace;
    direction: ltr;
    cursor: pointer;
    margin-bottom: 20px;
    transition: .3s;
}

.username:hover {
    background: #eef2ff;
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 15px;
    border-radius: 999px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: .3s;
}

.btn.telegram { background: var(--telegram); }
.btn.telegram:hover { background: #0077b5; }

.btn.rubika { background: var(--rubika); }
.btn.rubika:hover { background: #0090e0; }

/* Info */
.info {
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 35px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info h3 {
    text-align: center;
    margin-bottom: 25px;
}

.info ol {
    line-height: 2.2;
    padding-right: 20px;
}

footer {
    text-align: center;
    padding: 35px 15px;
    color: var(--muted);
    font-size: .9rem;
}

/* Toast */
.toast {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: #22c55e;
    color: #fff;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: bold;
    box-shadow: var(--shadow);
    display: none;
    z-index: 999;
}

.support-intro {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 1100px;
    text-align: center;
    margin: 10px auto 10px;
}