@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700&display=swap");

body {
    font-family: "Vazirmatn", "IRANSans", "Tahoma", sans-serif;
    color: #f7f9fb;
    background-color: #0e0e12;
}

.text-gradient-primary {
    background: linear-gradient(90deg, rgba(129, 140, 248, 1) 0%, rgba(236, 72, 153, 1) 55%, rgba(56, 189, 248, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-glass {
    backdrop-filter: blur(16px);
    background: rgba(20, 20, 28, 0.75);
    border: 1px solid rgba(129, 140, 248, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.shadow-aurora {
    position: relative;
}

.shadow-aurora::after {
    content: "";
    position: absolute;
    inset: -20%;
    z-index: -1;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.25) 0%, rgba(14, 14, 18, 0) 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.shadow-aurora:hover::after {
    opacity: 1;
}

.backdrop-soft {
    background: linear-gradient(135deg, rgba(30, 30, 42, 0.9) 0%, rgba(12, 12, 18, 0.95) 100%);
}

.section-title {
    position: relative;
    padding-right: 3rem;
}

.section-title::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.45), rgba(236, 72, 153, 0.45));
    filter: blur(24px);
    opacity: 0.65;
}

.aurora-container {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    background: radial-gradient(circle at top, rgba(14, 22, 45, 0.9), rgba(5, 6, 13, 0.98));
}

.glow-ring {
    position: relative;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.25), rgba(236, 72, 153, 0.2));
}

.glow-ring::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 26px;
    background: rgba(12, 13, 21, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.glow-ring::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    opacity: 0;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(236, 72, 153, 0.35));
    filter: blur(12px);
    transition: opacity 0.5s ease;
}

.glow-ring:hover::after {
    opacity: 1;
}

.glow-ring > * {
    position: relative;
    z-index: 1;
}

.glow-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
}

.input-soft {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    color: #f9fbff;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.input-soft::placeholder {
    color: rgba(226, 232, 240, 0.45);
}

.input-soft:focus {
    outline: none;
    border-color: rgba(129, 140, 248, 0.45);
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.18);
}

.btn-gradient {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.9), rgba(236, 72, 153, 0.9));
    border-radius: 9999px;
    color: #fff;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(129, 140, 248, 0.25);
}

.btn-muted {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    color: rgba(248, 250, 252, 0.85);
    transition: background 0.25s ease, transform 0.25s ease;
}

.btn-muted:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.tab-pill {
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.4rem;
}

.tab-pill button {
    border-radius: 9999px;
    padding: 0.55rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.tab-pill button.is-active {
    background: rgba(15, 23, 42, 0.88);
    color: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
    transform: translateY(-2px);
}

.badge-subtle {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.55);
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
    color: rgba(226, 232, 240, 0.9);
}

.badge-dot {
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(129, 140, 248, 1), rgba(56, 189, 248, 1));
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.6);
}

.scroll-animate {
    --scroll-animate-duration: 0.85s;
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity var(--scroll-animate-duration) cubic-bezier(0.23, 0.92, 0.35, 1), transform var(--scroll-animate-duration) cubic-bezier(0.23, 0.92, 0.35, 1);
    will-change: opacity, transform;
}

.scroll-animate.from-up {
    transform: translate3d(0, -40px, 0);
}

.scroll-animate.from-down {
    transform: translate3d(0, 40px, 0);
}

.scroll-animate.from-left {
    transform: translate3d(-40px, 0, 0);
}

.scroll-animate.from-right {
    transform: translate3d(40px, 0, 0);
}

.scroll-animate.in-view-down,
.scroll-animate.in-view-up {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.hero-radar-section {
    position: relative;
    overflow: hidden;
}

.hero-section {
    background-image: url("../images/herosec.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 11, 23, 0.5);
    z-index: 0;
}

.hero-radar-section::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at top right, rgba(129, 140, 248, 0.18), transparent 65%);
    opacity: 0.5;
    pointer-events: none;
}

.hero-glass {
    position: relative;
    border-radius: 32px;
    padding: 2.25rem;
    background: rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(226, 232, 240, 0.22);
    box-shadow: 0 20px 45px rgba(8, 11, 23, 0.35);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    overflow: hidden;
}

.hero-glass::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.28), rgba(148, 163, 255, 0.08) 55%, transparent 90%);
    opacity: 0.6;
    pointer-events: none;
}

.hero-glass > * {
    position: relative;
    z-index: 1;
}

.hero-radar-header {
    display: grid;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero-radar-header {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        align-items: start;
        gap: 2.5rem;
    }
}

.hero-radar-intro {
    background: rgba(17, 24, 39, 0.82);
    border: 1px solid rgba(148, 163, 255, 0.35);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 20px 45px rgba(8, 11, 23, 0.6);
    backdrop-filter: blur(24px);
}

.hero-radar-intro p {
    color: rgba(226, 232, 240, 0.9);
}

.hero-radar-insights {
    display: grid;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(148, 163, 255, 0.12);
    border-radius: 24px;
    padding: 1.25rem;
    box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.15);
}

.hero-radar-note {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 18px;
    padding: 1.1rem 1.25rem;
    background: rgba(13, 17, 33, 0.75);
}

.hero-radar-note-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(129, 140, 248, 0.18);
    color: rgba(199, 210, 254, 0.95);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    font-weight: 600;
    position: relative;
}

.hero-radar-note-label::before {
    content: "";
    display: inline-flex;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.9), rgba(236, 72, 153, 0.9));
    box-shadow: 0 0 16px rgba(129, 140, 248, 0.45);
}

.hero-radar-note-copy {
    font-size: 0.88rem;
    line-height: 1.9;
    color: rgba(226, 232, 240, 0.82);
}

.hero-radar-highlight {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.4rem;
}

.hero-radar-highlight > * {
    margin: 0 !important;
}

@media (min-width: 640px) {
    .hero-radar-highlight {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .hero-radar-highlight {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.hero-radar-card {
    --scroll-animate-duration: 1s;
    position: relative;
    background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.28), transparent 55%), linear-gradient(135deg, rgba(27, 31, 50, 0.95), rgba(11, 14, 29, 0.95));
    border: 1px solid rgba(148, 163, 255, 0.35);
    border-radius: 28px;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 28px 55px rgba(8, 11, 23, 0.65), inset 0 0 0 1px rgba(129, 140, 248, 0.12);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.hero-radar-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.18), rgba(236, 72, 153, 0.18));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.hero-radar-card:hover::after {
    opacity: 0.4;
}

.hero-radar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(129, 140, 248, 0.16);
    color: rgba(199, 210, 254, 0.92);
    position: relative;
}

.hero-radar-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(129, 140, 248, 0.35);
    opacity: 0.6;
    pointer-events: none;
}

.hero-radar-card .hero-radar-badge + .hero-radar-label {
    margin-top: 1rem;
}

.hero-radar-card.scroll-animate {
    transition-delay: 0.12s;
}

.hero-radar-card.scroll-animate:nth-child(2) {
    transition-delay: 0.28s;
}

.hero-radar-card.scroll-animate:nth-child(3) {
    transition-delay: 0.44s;
}

.hero-radar-label {
    font-size: 1.9rem;
    font-weight: 700;
    color: #f5f7ff;
}

.hero-radar-description {
    margin-top: 0.85rem;
    font-size: 0.98rem;
    line-height: 1.8;
    color: rgba(226, 232, 240, 0.9);
}

.hero-radar-metrics {
    position: relative;
    z-index: 1;
}

.hero-radar-metric {
    background: rgba(18, 24, 43, 0.9);
    border-radius: 24px;
    padding: 1.8rem;
    border: 1px solid rgba(165, 180, 252, 0.3);
    box-shadow: 0 16px 38px rgba(8, 11, 23, 0.45);
}

.hero-radar-metric > p:first-child {
    color: rgba(199, 210, 254, 0.95);
    font-weight: 600;
}

.hero-radar-metric > p:last-child {
    color: rgba(226, 232, 240, 0.9);
}

.hero-radar-metric.scroll-animate {
    transition-delay: 0.08s;
}

.hero-radar-metric.scroll-animate:nth-child(2) {
    transition-delay: 0.18s;
}

.hero-radar-metric.scroll-animate:nth-child(3) {
    transition-delay: 0.28s;
}

.hero-radar-metric p + p {
    margin-top: 0.9rem;
}

#category-overview {
    position: relative;
    overflow: hidden;
}

#category-overview::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/sun.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
}

#category-overview > * {
    position: relative;
    z-index: 1;
}

#service-details-section {
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
    box-shadow: 
        inset 0 1px 0 rgba(110, 4, 110, 0.2),
        inset 0 -1px 0 rgba(227, 95, 227, 0.15),
        inset 1px 0 0 rgba(110, 4, 110, 0.15),
        inset -1px 0 0 rgba(227, 95, 227, 0.1);
}

#service-details-section::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid;
    border-color: rgba(110, 4, 110, 0.2) rgba(227, 95, 227, 0.15) rgba(110, 4, 110, 0.1) rgba(227, 95, 227, 0.1);
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
    filter: blur(2px);
}

.mouse-gradient-hover {
    position: relative;
    overflow: hidden;
}

.mouse-gradient-hover::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(110, 4, 110, 0.5) 0%, rgba(227, 95, 227, 0.4) 40%, rgba(227, 95, 227, 0.2) 60%, transparent 80%);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);
    z-index: 0;
    filter: blur(25px);
    transition: opacity 0.4s ease;
    will-change: left, top;
}

.mouse-gradient-hover:hover::before {
    opacity: 1;
}

.mouse-gradient-hover > * {
    position: relative;
    z-index: 2;
}

#service-details-section .card-glass {
    background: rgba(20, 20, 28, 0.85);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
}

