* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.radio-item {
    position: relative;
    margin-bottom: 24px;
    width: 100%;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.radio-item:nth-child(1) {
    animation-delay: 0.1s;
}

.radio-item:nth-child(2) {
    animation-delay: 0.2s;
}

.radio-item:nth-child(3) {
    animation-delay: 0.3s;
}

.radio-item:nth-child(4) {
    animation-delay: 0.4s;
}

.radio-item:nth-child(5) {
    animation-delay: 0.5s;
}

.radio-item:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.radio-item input[type="radio"] {
    display: none;
}

.radio-item label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 32px;
    background: linear-gradient(135deg, #1e1e48 0%, #2d2d52 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 800px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    overflow: hidden;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
    min-height: 60px;
}

.radio-item label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

@media (min-width: 640px) {
    .radio-item label {
        padding: 28px 40px;
        font-size: 16px;
        max-width: 850px;
        min-height: 65px;
    }
}

@media (min-width: 1024px) {
    .radio-item label {
        padding: 32px 48px;
        font-size: 17px;
        max-width: 900px;
        min-width: 650px;
        min-height: 70px;
    }
}

.radio-item label:hover {
    background: linear-gradient(135deg, #3f3f9f 0%, #524eee 100%);
    border-color: #524eee;
    box-shadow: 0 8px 32px rgba(82, 78, 238, 0.4);
    transform: translateY(-4px) scale(1.02);
}

.radio-item label:hover::before {
    left: 100%;
}


.radio-item input[type="radio"]:checked~label {
    background: linear-gradient(135deg, #524eee 0%, #6366f1 100%);
    border-color: #6366f1;
    box-shadow: 0 0 30px rgba(82, 78, 238, 0.6), 0 8px 32px rgba(99, 102, 241, 0.4);
    transform: translateY(-4px) scale(1.02);
    color: #ffffff;
}

.radio-item input[type="radio"]:checked~label::after {
    content: '✓';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #ffffff;
    font-weight: bold;
}




.panel.open {
    display: block !important;
}

.radio-section.moved {
    transform: translateX(-300px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .radio-section.moved {
        transform: translateX(-250px);
    }
}

@media (min-width: 1024px) {
    .radio-section.moved {
        transform: translateX(-400px);
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #24225a;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.faq-item {
    margin-bottom: 25px;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0 0 50px 0;
}

fieldset:last-child {
    margin-bottom: 0;
}

legend {
    font-weight: 600;
    font-size: 1.2em;
    color: #ffffff;
    margin: 40px auto 30px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(30, 30, 72, 0.9), rgba(45, 45, 82, 0.9));
    border: 1px solid rgba(82, 78, 238, 0.4);
    border-radius: 8px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    max-width: 500px;
    display: block;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

legend::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #524eee, #6366f1, #7c3aed);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

legend:hover {
    border-color: rgba(82, 78, 238, 0.7);
    box-shadow: 0 4px 20px rgba(82, 78, 238, 0.2);
    transform: translateY(-2px);
}

legend:hover::before {
    transform: scaleX(1);
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 30px;
    border-bottom: 2px solid rgba(82, 78, 238, 0.3);
    margin-bottom: 30px;
}

.panel-title {
    font-size: 2.2em;
    font-weight: 700;
    background: linear-gradient(135deg, #524eee, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.panel-badge {
    background: linear-gradient(135deg, #524eee, #6366f1);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    letter-spacing: 1px;
}

.panel-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.description-card {
    background: linear-gradient(135deg, rgba(30, 30, 72, 0.8), rgba(45, 45, 82, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.description-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(82, 78, 238, 0.2);
}

.card-icon {
    font-size: 2.5em;
    margin-top: 4px;
    filter: drop-shadow(0 0 10px rgba(82, 78, 238, 0.5));
}

.card-body {
    flex: 1;
}

.card-title {
    color: #6366f1;
    font-size: 1.3em;
    font-weight: 600;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1em;
    margin: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.section-icon {
    font-size: 2em;
    filter: drop-shadow(0 0 8px rgba(82, 78, 238, 0.5));
}

.section-title {
    color: #ffffff;
    font-size: 1.5em;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item details {
    background: linear-gradient(135deg, rgba(30, 30, 72, 0.6), rgba(45, 45, 82, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item details:hover {
    border-color: rgba(82, 78, 238, 0.5);
    box-shadow: 0 4px 20px rgba(82, 78, 238, 0.2);
}

.faq-item details summary {
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(82, 78, 238, 0.1), rgba(99, 102, 241, 0.1));
    transition: all 0.3s ease;
    position: relative;
}

.faq-item details summary:hover {
    background: linear-gradient(135deg, rgba(82, 78, 238, 0.2), rgba(99, 102, 241, 0.2));
}

.faq-item details summary::after {
    content: '▶';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: #6366f1;
}

.faq-item details[open] summary::after {
    transform: translateY(-50%) rotate(90deg);
}

.faq-item details p {
    padding: 20px 24px;
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.2);
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.download-card {
    background: linear-gradient(135deg, rgba(30, 30, 72, 0.8), rgba(45, 45, 82, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(82, 78, 238, 0.3);
    border-color: rgba(82, 78, 238, 0.5);
}

.download-icon {
    font-size: 2.2em;
    filter: drop-shadow(0 0 8px rgba(82, 78, 238, 0.5));
}

.download-info {
    flex: 1;
}

.download-name {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95em;
    line-height: 1.4;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #524eee, #6366f1);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(82, 78, 238, 0.3);
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(82, 78, 238, 0.4);
    background: linear-gradient(135deg, #6366f1, #7c3aed);
}


.panel-header {
    animation: slideInDown 0.3s ease-out;
}

.description-card {
    animation: slideInLeft 0.4s ease-out 0.1s both;
}

.faq-section {
    animation: slideInUp 0.4s ease-out 0.15s both;
}

.downloads-section {
    animation: slideInUp 0.4s ease-out 0.2s both;
}

.download-card {
    opacity: 0;
    animation: fadeInScale 0.3s ease-out forwards;
}

.download-card:nth-child(1) {
    animation-delay: 0.25s;
}

.download-card:nth-child(2) {
    animation-delay: 0.3s;
}

.download-card:nth-child(3) {
    animation-delay: 0.35s;
}

.download-card:nth-child(4) {
    animation-delay: 0.4s;
}

.download-card:nth-child(5) {
    animation-delay: 0.45s;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

footer.moved {
    transform: translateX(-300px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    footer.moved {
        transform: translateX(-250px);
    }
}

@media (min-width: 1024px) {
    footer.moved {
        transform: translateX(-400px);
    }
}

@media (max-width: 768px) {
    .panel-title {
        font-size: 1.6em;
    }

    .panel-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .description-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

.search-highlight {
    box-shadow: 0 0 0 2px #6366f1, 0 0 0 8px rgba(99, 102, 241, 0.25) !important;
    transition: box-shadow 0.2s ease;
}


@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.animated-button {
    animation: bounce 0.5s infinite;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.heartBeat {
    animation: heartBeat 1s infinite;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background-image:
        linear-gradient(90deg, rgba(82, 78, 238, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(82, 78, 238, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(99, 102, 241, 0.08) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px, 100px 100px, 100px 100px;
    background-position: 0 0, 0 0, 25px 25px, 25px 25px;
    animation: gridMove 30s linear infinite;
    pointer-events: none;
    z-index: -2;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(82, 78, 238, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: gradientFlow 25s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes gridMove {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }

    25% {
        transform: translateX(-10px) translateY(-5px) rotate(0.5deg);
    }

    50% {
        transform: translateX(0) translateY(-10px) rotate(0deg);
    }

    75% {
        transform: translateX(10px) translateY(-5px) rotate(-0.5deg);
    }

    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
}

@keyframes gradientFlow {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    25% {
        opacity: 1;
        transform: scale(1.1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }

    75% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.grid-highlight {
    position: fixed;
    width: 50px;
    height: 50px;
    background: rgba(82, 78, 238, 0.3);
    border: 1px solid rgba(99, 102, 241, 0.5);
    z-index: -1;
    opacity: 0;
    animation: pulse 2s ease-in-out;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}