:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --bg: #f5f7fa;
    --text: #1f2937;
    --muted: #6b7280;
    --card: #ffffff;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
}
a { text-decoration: none; color: inherit; }

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffffcc;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo { font-size: 20px; font-weight: bold; color: var(--primary); }

nav a {
    margin-right: 20px;
    font-size: 14px;
    color: var(--muted);
}
nav a:hover { color: var(--primary); }

.auth-buttons a {
    margin-right: 10px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.2s;
}
.login { border: 1px solid var(--primary); color: var(--primary); }
.login:hover { background: #eef2ff; }
.register { background: var(--primary); color: #fff; }
.register:hover { background: var(--primary-dark); }

.hero {
    padding: 90px 20px 70px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}
.hero h1 { font-size: 36px; margin-bottom: 20px; }
.hero p {
    font-size: 16px;
    max-width: 760px;
    margin: 0 auto 35px;
    line-height: 2;
    color: #e5e7eb;
}
.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ffffff, #eef2ff);
    color: var(--primary);
    padding: 16px 38px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 15px 35px rgba(37,99,235,0.35);
    transition: 0.3s ease;
}
.cta i {
    transition: 0.3s ease;
}
.cta:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 45px rgba(37,99,235,0.45);
}
.cta:hover i {
    transform: translateX(-6px);
}
.cta:hover { transform: translateY(-3px); }

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: -40px auto 60px;
    padding: 0 20px;
}
.stat-box {
    background: var(--card);
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.stat-box i { color: var(--primary); font-size: 26px; margin-bottom: 10px; }
.stat-box strong { display: block; font-size: 20px; }

.preview {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 20px;
}
.preview-box {
    background: #0f172a;
    color: #e5e7eb;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}
.preview-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}
.dot { width: 12px; height: 12px; border-radius: 50%; background: #475569; }

.preview-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}
.preview-links div {
    background: #1e293b;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    padding: 40px 30px 70px;
    max-width: 1100px;
    margin: auto;
}
.feature-box {
    background: var(--card);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: 0.25s;
}
.feature-box:hover { transform: translateY(-8px); }
.feature-box i { font-size: 34px; color: var(--primary); margin-bottom: 18px; }

.faq {
    background: #f9fafb;
    padding: 70px 20px;
}
.faq-item {
    background: var(--card);
    padding: 22px;
    border-radius: 16px;
}

footer {
    background: #111827;
    color: #9ca3af;
    text-align: center;
    padding: 30px 20px;
    font-size: 13px;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.footer-links a {
    font-size: 14px;
    color: #d1d5db;
}
.footer-links a:hover {
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        padding: 12px 16px;
    }
    nav {
        display: none;
    }
    .auth-buttons a {
        padding: 6px 12px;
        font-size: 13px;
    }
    .hero {
        padding: 70px 16px 60px;
    }
    .hero h1 {
        font-size: 26px;
        line-height: 1.6;
    }
    .hero p {
        font-size: 14px;
        line-height: 1.9;
    }
    .cta {
        width: 80%;
        justify-content: center;
        font-size: 15px;
        padding: 14px 20px;
    }
    .stats {
        margin-top: 30px;
        grid-template-columns: 1fr;
    }
    .features {
        padding: 30px 16px 50px;
        grid-template-columns: 1fr;
    }
    .final-cta h2 {
        font-size: 22px;
    }
}

/* Sticky Mobile CTA */
.mobile-cta {
    display: none;
}
@media (max-width: 768px) {
    .mobile-cta {
        display: block;
        position: fixed;
        bottom: 12px;
        left: 12px;
        right: 12px;
        z-index: 2000;
    }
    footer {
        padding-bottom: 80px;
    }
}

 /* نمایش لوگو فقط در سایز دسکتاپ (بزرگتر از 768px) */
.etemad-logo {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: block;
    
}
.etemad-logo img{
    border-radius: 50%;
}

/* مخفی کردن لوگو در دستگاه‌های موبایل و تبلت */
@media only screen and (max-width: 768px) {
    .etemad-logo {
        display: none !important;
    }
}