:root {
    --bg: #02050b;
    --panel: rgba(10, 13, 22, 0.72);
    --panel-2: rgba(17, 20, 31, 0.82);
    --red: #ff1e2d;
    --red-light: #ff4653;
    --blue: #24a8ff;
    --gold: #ffc53d;
    --text: #ffffff;
    --muted: #98a3b7;
    --border: rgba(255, 255, 255, 0.09);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Vazirmatn", sans-serif;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 20, 35, 0.16), transparent 28%),
        radial-gradient(circle at 0% 45%, rgba(255, 20, 35, 0.07), transparent 26%),
        radial-gradient(circle at 100% 65%, rgba(0, 130, 255, 0.08), transparent 25%),
        var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .35;
    animation: drift 10s ease-in-out infinite alternate;
}

.glow-1 {
    width: 330px;
    height: 330px;
    background: rgba(255, 0, 25, .16);
    top: 50px;
    left: -100px;
}

.glow-2 {
    width: 280px;
    height: 280px;
    background: rgba(255, 20, 40, .12);
    top: 420px;
    right: -100px;
    animation-delay: 2s;
}

.glow-3 {
    width: 250px;
    height: 250px;
    background: rgba(0, 110, 255, .12);
    bottom: 50px;
    left: 45%;
    animation-delay: 4s;
}

.container {
    position: relative;
    z-index: 2;
    width: min(1100px, calc(100% - 32px));
    margin: auto;
    padding: 70px 0 35px;
}

.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-wrapper {
    position: relative;
    width: 190px;
    height: 190px;
    margin-bottom: 30px;
    animation: float 5s ease-in-out infinite;
}

.icon-glow {
    position: absolute;
    inset: 10px;
    background: var(--red);
    filter: blur(45px);
    opacity: .42;
    border-radius: 45px;
}

.icon-wrapper::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 42px;
    background: conic-gradient(
        from 0deg,
        #ff1524,
        #ff5a62,
        #7d0009,
        #ff1524
    );
    animation: rotate 8s linear infinite;
}

.icon-wrapper::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 39px;
    background: #070a11;
}

.main-icon {
    position: absolute;
    z-index: 3;
    inset: 9px;
    width: calc(100% - 18px);
    height: calc(100% - 18px);
    object-fit: cover;
    border-radius: 34px;
    box-shadow:
        0 0 20px rgba(255, 24, 37, .45),
        0 0 60px rgba(255, 24, 37, .18);
}

.brand-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border: 1px solid rgba(255, 55, 68, .2);
    border-radius: 999px;
    background: rgba(255, 25, 38, .06);
    color: #ff626c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

h1 {
    font-size: clamp(32px, 5vw, 62px);
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: -2px;
    max-width: 850px;
    text-shadow: 0 10px 50px rgba(255, 255, 255, .06);
}

h1 span {
    display: block;
    background: linear-gradient(90deg, #fff, #ff6b74, #ff1829);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 4px;
}

.hero-text {
    color: var(--muted);
    font-size: 16px;
    margin-top: 18px;
    max-width: 600px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 23px;
    padding: 10px 18px;
    border: 1px solid rgba(60, 255, 140, .16);
    border-radius: 999px;
    background: rgba(60, 255, 140, .055);
    color: #a6ffc6;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 0 30px rgba(60, 255, 140, .06);
}

.status-dot,
.mini-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34e87d;
    box-shadow: 0 0 12px #34e87d;
    animation: pulse 1.6s infinite;
}

.services {
    margin-top: 85px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.section-title span {
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

.section-title div {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, rgba(255, 35, 50, .35), transparent);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    --accent: var(--red);
    position: relative;
    min-height: 275px;
    padding: 26px;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.045), transparent 45%),
        var(--panel);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    top: -85px;
    left: -55px;
    background: var(--accent);
    filter: blur(85px);
    opacity: .14;
}

.card::after {
    content: "";
    position: absolute;
    width: 130%;
    height: 80px;
    top: -40px;
    left: -20%;
    transform: rotate(-12deg);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.08),
        transparent
    );
    animation: shine 6s linear infinite;
}

.card:hover {
    transform: translateY(-10px);
    border-color: color-mix(in srgb, var(--accent) 48%, transparent);
    box-shadow:
        0 24px 60px rgba(0,0,0,.35),
        0 0 35px color-mix(in srgb, var(--accent) 13%, transparent);
}

.card.red {
    --accent: var(--red);
}

.card.blue {
    --accent: var(--blue);
}

.card.gold {
    --accent: var(--gold);
}

.card-number {
    position: absolute;
    left: 22px;
    top: 20px;
    color: rgba(255,255,255,.16);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 21px;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--accent) 20%, transparent), rgba(255,255,255,.02));
    border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    box-shadow:
        inset 0 0 25px color-mix(in srgb, var(--accent) 7%, transparent),
        0 0 25px color-mix(in srgb, var(--accent) 10%, transparent);
    color: var(--accent);
    font-weight: 900;
    font-size: 23px;
}

.card-content {
    margin-top: 28px;
}

.card-content h2 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 9px;
}

.card-content p {
    color: var(--muted);
    line-height: 1.9;
    font-size: 14px;
}

.card-footer {
    position: absolute;
    right: 26px;
    bottom: 23px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b9c3d4;
    font-size: 12px;
}

.info-box {
    margin-top: 25px;
    padding: 30px;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255,30,45,.07), rgba(255,255,255,.02)),
        var(--panel-2);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0,0,0,.22);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 26px;
}

.info-header h2 {
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
}

.info-line {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, rgba(255,50,65,.3));
}

.info-line:last-child {
    background: linear-gradient(90deg, rgba(255,50,65,.3), transparent);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.info-item {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.055);
}

.info-item span {
    display: block;
    color: #758197;
    font-size: 12px;
    margin-bottom: 7px;
}

.info-item strong {
    color: #f1f4fa;
    font-size: 14px;
    font-weight: 700;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 28px 5px 5px;
    color: #687489;
    font-size: 12px;
}

.footer-brand {
    color: #ff3645;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(255,30,45,.35);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .45;
        transform: scale(.8);
    }
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes drift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(35px, -25px, 0) scale(1.08);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(-12deg);
    }
    100% {
        transform: translateX(140%) rotate(-12deg);
    }
}

@media (max-width: 850px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding-top: 45px;
    }

    .icon-wrapper {
        width: 155px;
        height: 155px;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 20px, 1100px);
    }

    h1 {
        font-size: 31px;
        letter-spacing: -1px;
    }

    .hero-text {
        font-size: 14px;
    }

    .services {
        margin-top: 60px;
    }

    .card {
        min-height: 250px;
    }

    .info-box {
        padding: 22px;
    }

    footer {
        flex-direction: column;
        text-align: center;
        padding-top: 24px;
    }
}