/* HamidSr | Optional self-hosted Persian font */
@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* Server Afroz | HamidSr */
/* HamidSr | Design system */
*, *::before, *::after {
    box-sizing: border-box;
   
}
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    color: #f5f7fb;
    background: #090e17;
   
}
.brand {
    text-align: center;
    padding: 18px;
    font-size: 24px;
    font-weight: 800;
    border-bottom: 1px solid #25303d;
   
}
.brand small {
    display: block;
    font-size: 10px;
    letter-spacing: 5px;
    color: #9daebf;
   
}
main {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 22px;
    max-width: 1500px;
    width: 100%;
    margin: auto;
   
}
/* HamidSr | Atmospheric backgrounds */
.panel {
    --accent: #e8c49b;
    --ink: #271d19;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 7%;
    border: 1px solid #493b35;
    border-radius: 24px;
    background: #17141b;
   
}
.hosting {
    --accent: #75e2d3;
    --ink: #102a2c;
    border-color: #28484b;
    background: #0c1b22;
   
}
.panel::before {
    content: '';
    position: absolute;
    inset: -20px;
    z-index: -2;
    background: radial-gradient(ellipse at 90% 0%, #9c624e 0%, transparent 48%), radial-gradient(ellipse at 0% 100%, #57446f 0%, transparent 55%);
    filter: blur(24px);
    opacity: .65;
   
}
.hosting::before {
    background: radial-gradient(ellipse at 0% 0%, #197e80 0%, transparent 50%), radial-gradient(ellipse at 100% 100%, #285a85 0%, transparent 55%);
   
}
.panel::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(160deg, transparent, #090e17c9), repeating-linear-gradient(120deg, transparent 0, transparent 65px, #ffffff08 66px, transparent 67px);
   
}
.content {
    width: 100%;
    max-width: 490px;
   
}
.symbol {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--accent);
    color: var(--ink);
    margin-bottom: 14px;
    box-shadow: 0 8px 30px #0004;
   
}
svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
   
}
.symbol svg {
    width: 30px;
    height: 30px;
   
}
.eyebrow {
    color: var(--accent);
    font-size: 10px;
    letter-spacing: 2px;
    direction: ltr;
    display: block;
    text-align: right;
   
}
h1 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.5;
    margin: 5px 0;
    font-weight: 800;
   
}
p {
    color: #d3dce6;
    font-size: 15px;
    line-height: 1.9;
    margin: 0 0 22px;
   
}
/* HamidSr | Service navigation */
nav {
    display: grid;
    gap: 10px;
    min-height: 250px;
    align-content: start;
   
}
a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 55px;
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid #ffffff24;
    background: #101722ed;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
    transition: background .2s, transform .2s, border-color .2s;
   
}
a.login-card {
    background: var(--accent);
    color: var(--ink);
    border-color: transparent;
   
}
.service-icon, .arrow {
    color: var(--accent);
   
}
a.login-card svg {
    color: var(--ink);
   
}
.arrow {
    margin-right: auto;
    width: 19px;
   
}
a:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 6px 18px #0004;
   
}
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
   
}
.footer {
    text-align: center;
    padding: 22px 12px;
    color: #aab9ca;
    font-size: 14px;
    border-top: 1px solid #25303d;
   
}
@media (max-width: 760px) {
    main {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 12px;
   
} .panel {
    padding: 28px 20px;
   
} nav {
    min-height: 0;
   
} a {
    font-size: 15px;
   
}
}
@media (prefers-reduced-motion: reduce) {
    a {
    transition: none;
   
} a:hover {
    transform: none;
   
}
}
/* HamidSr | Existing customer access */
a.login-card {
min-height: 78px;
padding: 14px;
background: var(--accent);
color: var(--ink);
box-shadow: 0 8px 26px #0003;
}
.login-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
   
}
.login-hint {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
   
}
.login-hint svg {
    width: 15px;
    height: 15px;
   
}
.login-card .service-icon {
    width: 25px;
    height: 25px;
   
}
.login-card strong {
    font-size: 16px;
    font-weight: 800;
   
}
@media (max-width: 760px) {
    .login-card strong {
    font-size: 14px;
   
}
}
/* HamidSr | Gentle animated customer access indicators */
a.login-card .login-hint svg {
color: #075c32;
animation: hamidsr-check-pulse 1.8s ease-in-out infinite;
}
a.login-card {
animation: hamidsr-login-glow 2.4s ease-in-out infinite;
}
@keyframes hamidsr-check-pulse {
0%, 100% {
    opacity: 1;
    transform: scale(1);
   
}
50% {
    opacity: .35;
    transform: scale(1.12);
   
}
}
@keyframes hamidsr-login-glow {
0%, 100% {
    box-shadow: 0 8px 26px #0003, 0 0 0 0 transparent;
   
}
50% {
    box-shadow: 0 8px 26px #0003, 0 0 18px 2px var(--accent);
   
}
}
@media (prefers-reduced-motion: reduce) {
a.login-card, a.login-card .login-hint svg {
    animation: none;
   
}
}
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
