.faq-hero .btn-wrap {
    margin-top: 28px;
}

.faq-hero-visual {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 1 / 0.95;
    overflow: visible;
}

.faq-hero-visual__glow {
    position: absolute;
    inset: 12% 8%;
    border-radius: 36px;
    background:
        radial-gradient(circle at 30% 30%, rgba(11, 224, 98, 0.35), transparent 55%),
        radial-gradient(circle at 75% 70%, rgba(58, 160, 255, 0.28), transparent 50%);
    filter: blur(18px);
    animation: faq-visual-glow 6s ease-in-out infinite alternate;
}

.faq-hero-visual__panel {
    position: absolute;
    inset: 12% 10% 16%;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(20, 33, 61, 0.1);
    box-shadow:
        0 24px 60px rgba(20, 33, 61, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    backdrop-filter: blur(10px);
    animation: faq-panel-float 5.5s ease-in-out infinite;
    transform-origin: center;
}

.faq-hero-visual__chrome {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #f7faf8, #eef3f8);
    border-bottom: 1px solid rgba(20, 33, 61, 0.08);
}

.faq-hero-visual__chrome > span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f57;
}

.faq-hero-visual__chrome > span:nth-child(2) {
    background: #febc2e;
}

.faq-hero-visual__chrome > span:nth-child(3) {
    background: #28c840;
}

.faq-hero-visual__url {
    flex: 1;
    margin-left: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(20, 33, 61, 0.08);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    color: #5b6b85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.faq-hero-visual__body {
    flex: 1;
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    min-height: 0;
}

.faq-hero-visual__row {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(20, 33, 61, 0.08);
    animation: faq-row-open 9s ease-in-out infinite;
}

.faq-hero-visual__row--2 {
    animation-delay: 3s;
}

.faq-hero-visual__row--3 {
    animation-delay: 6s;
}

.faq-hero-visual__plus {
    position: relative;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(11, 224, 98, 0.14);
    color: #009b3f;
    animation: faq-plus-swap 9s ease-in-out infinite;
}

.faq-hero-visual__row--2 .faq-hero-visual__plus {
    animation-delay: 3s;
}

.faq-hero-visual__row--3 .faq-hero-visual__plus {
    animation-delay: 6s;
}

.faq-hero-visual__plus::before,
.faq-hero-visual__plus::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 1px;
}

.faq-hero-visual__plus::before {
    width: 10px;
    height: 2px;
    left: 6px;
    top: 10px;
}

.faq-hero-visual__plus::after {
    width: 2px;
    height: 10px;
    left: 10px;
    top: 6px;
    animation: faq-plus-bar 9s ease-in-out infinite;
}

.faq-hero-visual__row--2 .faq-hero-visual__plus::after {
    animation-delay: 3s;
}

.faq-hero-visual__row--3 .faq-hero-visual__plus::after {
    animation-delay: 6s;
}

.faq-hero-visual__copy {
    min-width: 0;
}

.faq-hero-visual__copy strong {
    display: block;
    font-size: 13px;
    line-height: 1.3;
    color: #14213d;
}

.faq-hero-visual__copy p {
    max-height: 0;
    margin: 0;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.4;
    color: #5b6b85;
    opacity: 0;
    animation: faq-answer-open 9s ease-in-out infinite;
}

.faq-hero-visual__row--2 .faq-hero-visual__copy p {
    animation-delay: 3s;
}

.faq-hero-visual__row--3 .faq-hero-visual__copy p {
    animation-delay: 6s;
}

.faq-hero-visual__chip {
    position: absolute;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff;
    box-shadow: 0 10px 24px rgba(20, 33, 61, 0.16);
    animation: faq-chip-float 4.8s ease-in-out infinite;
}

.faq-hero-visual__chip--time {
    left: 4px;
    top: 18%;
    background: linear-gradient(135deg, #64b5ff, #3aa0ff);
}

.faq-hero-visual__chip--price {
    right: 4px;
    top: 28%;
    background: linear-gradient(135deg, #0be062, #009b3f);
    animation-delay: 0.6s;
}

.faq-hero-visual__chip--support {
    left: 10px;
    bottom: 12%;
    background: linear-gradient(135deg, #ff7a18, #fb8500);
    animation-delay: 1.2s;
}

.page-faq {
    padding-top: 8px;
}

.page-faq .faq-item {
    clip-path: inset(0 0 100% 0);
    animation: faq-item-reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-faq .faq-item:nth-child(1) { animation-delay: 0.05s; }
.page-faq .faq-item:nth-child(2) { animation-delay: 0.12s; }
.page-faq .faq-item:nth-child(3) { animation-delay: 0.19s; }
.page-faq .faq-item:nth-child(4) { animation-delay: 0.26s; }
.page-faq .faq-item:nth-child(5) { animation-delay: 0.33s; }
.page-faq .faq-item:nth-child(6) { animation-delay: 0.4s; }
.page-faq .faq-item:nth-child(7) { animation-delay: 0.47s; }

@keyframes faq-panel-float {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes faq-visual-glow {
    from { opacity: 0.7; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1.04); }
}

@keyframes faq-row-open {
    0%, 8%, 34%, 100% {
        background: rgba(255, 255, 255, 0.86);
        border-color: rgba(20, 33, 61, 0.08);
    }
    14%, 28% {
        background: rgba(11, 224, 98, 0.1);
        border-color: rgba(11, 224, 98, 0.28);
    }
}

@keyframes faq-plus-swap {
    0%, 8%, 34%, 100% {
        background: rgba(11, 224, 98, 0.14);
    }
    14%, 28% {
        background: rgba(11, 224, 98, 0.28);
    }
}

@keyframes faq-plus-bar {
    0%, 8%, 34%, 100% {
        height: 10px;
        top: 6px;
        opacity: 1;
    }
    14%, 28% {
        height: 0;
        top: 11px;
        opacity: 0;
    }
}

@keyframes faq-answer-open {
    0%, 8%, 34%, 100% {
        max-height: 0;
        margin-top: 0;
        opacity: 0;
    }
    14%, 28% {
        max-height: 40px;
        margin-top: 6px;
        opacity: 1;
    }
}

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

@keyframes faq-item-reveal {
    from { clip-path: inset(0 0 100% 0); }
    to { clip-path: inset(0 0 0 0); }
}

[data-theme="dark"] .faq-hero-visual__panel {
    background: rgba(18, 24, 38, 0.92);
    border-color: rgba(229, 234, 242, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .faq-hero-visual__chrome {
    background: linear-gradient(180deg, #1a2333, #151c29);
    border-bottom-color: rgba(229, 234, 242, 0.08);
}

[data-theme="dark"] .faq-hero-visual__url {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(229, 234, 242, 0.08);
    color: #9aa8c0;
}

[data-theme="dark"] .faq-hero-visual__row {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(229, 234, 242, 0.08);
}

[data-theme="dark"] .faq-hero-visual__copy strong {
    color: #e8eef8;
}

[data-theme="dark"] .faq-hero-visual__copy p {
    color: #9aa8c0;
}

@media (max-width: 991px) {
    .faq-hero-visual {
        max-width: 380px;
        margin: 8px auto 0;
        aspect-ratio: 1 / 0.92;
    }

    .faq-hero-visual__chip {
        font-size: 11px;
        padding: 6px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-hero-visual__glow,
    .faq-hero-visual__panel,
    .faq-hero-visual__row,
    .faq-hero-visual__plus,
    .faq-hero-visual__plus::after,
    .faq-hero-visual__copy p,
    .faq-hero-visual__chip,
    .page-faq .faq-item {
        animation: none !important;
    }

    .faq-hero-visual__copy p {
        max-height: 40px;
        margin-top: 6px;
        opacity: 1;
    }

    .page-faq .faq-item {
        clip-path: none;
    }
}
