:root {
    --bg: #0d1117;
    --bg2: #161b22;
    --text: #e6edf3;
    --accent: #5865f2;
    --warning: #d5353b;
    --border: #30363d;
    --black: #333333;
    --white: #f5f5f5;
    --transition: 0.5s ease;
}


body.light {
    --bg: #ffffff;
    --bg2: #f5f5f5;
    --text: #111111;
    --accent: #5865f2;
    --border: #d0d7de;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: all 0.3s;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px;
}

.profile-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #4752c4;
    padding: 8px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-width: fit-content;
    cursor: pointer;
}


.profile {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-name {
    font-weight: bold;
    font-size: 14px;
    margin: 0;
}

.none-color-link {
    color: inherit;
    text-decoration: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}


@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-5px); }
}

.dropdown {
    position: absolute;
    top: 58px;  /* 50px + 8px فاصله */
    right: 0;
    background-color: #4752c4;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    min-width: 129px;
    z-index: 10;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.dropdown.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}





.dropdown-item {
    padding: 10px 12px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: rgba(0,123,255,0.1);
}


.profile-box:hover .dropdown {
    display: flex;
}


.header-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.header-links-items {
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
}

.header-links-items:hover {
    color: var(--accent);
}

header h1 {
    font-weight: 700;
    font-size: 26px;
}





#hero {
    text-align: center;
    padding: 100px 20px 80px;
    max-width: 1000px;
    margin: 0 auto;
}

#hero h2 {
    font-size: clamp(36px, 8vw, 52px);
    margin-bottom: 16px;
    font-weight: 700;
}

#hero p {
    font-size: 18px;
    max-width: 680px;
    margin: 0 auto 32px;
    opacity: 0.9;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.btn {
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.25s;
    min-width: 170px;
    text-align: center;
}

.btn-accent {
    background: var(--accent);
    color: white;
}
.btn-accent:hover { opacity: 0.92; transform: translateY(-2px); }

.btn-outline {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
}
.btn-outline:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

#features {
    padding: 70px 20px;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}


.pc-only {
    display: none;
}


.circle-bg {
    width: 10px;
    height: 10px;
    background: red;
    border-radius: 50%;
    display: inline-block;
}

.beta {
    background: #2ecc71;
    box-shadow: 0 20px 40px rgba(10,19,8,0.3);
    color: white;
    font-size: 0.6em;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;

}
.new {
    background: #8b5cf6;
    box-shadow: 0 20px 40px rgba(10,19,8,0.3);
    color: white;
    font-size: 0.6em;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;

}

.updated {
    background: #2563eb;
    box-shadow: 0 20px 40px rgba(10,19,8,0.3);
    color: white;
    font-size: 0.6em;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;

}

.maintenance {
    background: #d5353b;
    box-shadow: 0 20px 40px rgba(10,19,8,0.3);
    color: white;
    font-size: 0.6em;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;

}
.soon {
    background: cyan;
    box-shadow: 0 20px 40px rgba(10,19,8,0.3);
    color: white;
    font-size: 0.6em;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;

}

.dashboard-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5em;
    font-weight: bold;
}

.card {
    background: var(--bg2);
    padding: 28px;
    border-radius: 14px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(.16,1,.3,1);
}
.card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    border-color: var(--accent);
}

.card h3 {
    font-size: 21px;
    margin-bottom: 12px;
    color: var(--accent);
}

#warning {
    background: var(--warning);
    color: white;
    padding: 22px;
    border-radius: 14px;
    text-align: center;
    margin: 60px 20px 40px;
    font-weight: 600;
    font-size: 17px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#warning_2 {
    background: var(--warning);
    color: white;
    padding: 22px;
    border-radius: 14px;
    text-align: center;
    margin: 60px 20px 40px;
    font-weight: 600;
    font-size: 17px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


#feedback {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

#feedback h2 {
    font-size: 34px;
    margin-bottom: 16px;
}

#feedback > p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 20px;
}

.feedback-card {
    background: var(--bg2);
    padding: 36px 28px;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s;
}
.feedback-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.feedback-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
    color: var(--accent);
}

.feedback-card p {
    margin-bottom: 24px;
    opacity: 0.9;
    line-height: 1.7;
}

.feedback-btn {
    display: block;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    padding: 14px 20px;
    font-size: 15px;
    border-radius: 10px;
    font-weight: 600;
}


footer {
    margin-top: auto;
    background: var(--bg2);
    padding: 50px 20px 40px;
    border-top: 1px solid var(--border);
    text-align: center;

    display: flex;
    flex-direction: column;
    gap: 32px;
}


footer .top {
    display: flex;
    justify-content: center;
    gap: 60px;
}


footer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: 0.2s;
}

footer a:hover {
    text-decoration: underline;
    opacity: 0.9;
}


footer p {
    opacity: 0.8;
    font-size: 14px;
}


@media (max-width: 900px) {
    .main-content {
        display: none;
    }

    .pc-only {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh;
        text-align: center;
        padding: 20px;
        background: var(--bg);
        color: var(--text);
    }

    .pc-only h1 {
        font-size: 42px;
        margin-bottom: 16px;
        background: linear-gradient(135deg, #5865f2, #8b5cf6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .pc-only h4 {
        font-size: 20px;
        opacity: 0.9;
        font-weight: normal;
    }
}


@media (max-width: 768px) {
    header { padding: 14px 20px; }
    header h1 { font-size: 24px; }
    #hero { padding: 80px 20px 60px; }
    #hero h2 { font-size: 38px; }
    .buttons { gap: 14px; }
    .btn { padding: 13px 24px; font-size: 15.5px; }
    #features { padding: 50px 16px; gap: 20px; }
    .card { padding: 24px; }
    #warning { margin: 50px 16px 30px; font-size: 16px; }
    #feedback { margin: 70px auto; }
    #feedback h2 { font-size: 30px; }
    .feedback-card { padding: 32px 24px; }
    .header-links { margin-right: 100px; display: inline-flex; }

    #features {
        display: grid;
        grid-template-columns: 1fr ;
        width: 100%;
        padding: 0 14px ;
        gap: 30px ;
    }

    .card {
        width: 100% ;
        max-width: 100% ;
        padding: 22px ;
    }

}




