/* CTA Section */
.cta-section {
    width: 100%;
    padding: 120px 40px;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.circuit-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite linear;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-duration: 20s;
    width: 15px;
    height: 15px;
}

.particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-duration: 25s;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 70%;
    animation-duration: 18s;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 50%;
    animation-duration: 22s;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 85%;
    animation-duration: 28s;
    animation-delay: 8s;
}

.cta-content {
    max-width: 800px;
    text-align: center;
    z-index: 2;
    padding: 40px;
}

.glitch-text {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    text-shadow: 0 0 30px rgba(0, 245, 212, 0.4);
    animation: glitch 5s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    color: #0ff;
    z-index: -1;
    animation: glitch-anim 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch-text::after {
    color: #f0f;
    z-index: -2;
    animation: glitch-anim-2 2s infinite;
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
}

.typewriter-text {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 40px;
    font-weight: 300;
    min-height: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 38px;
    background: var(--primary, #00f5d4);
    color: #0a0f18;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 28px rgba(0, 245, 212, 0.4), 0 4px 16px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.18);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
    z-index: -1;
}

.cta-button:hover {
    color: #0a0f18;
    transform: translateY(-3px);
    box-shadow: 0 0 48px rgba(0, 245, 212, 0.65), 0 8px 28px rgba(0, 0, 0, 0.45);
}

.cta-button:hover::before {
    left: 130%;
}

.button-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .glitch-text {
        font-size: 2rem;
    }

    .typewriter-text {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* CTA 部分 */
/* .cta-section {
    padding: 5rem 1rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    background: #0a0f18;
    min-height: 400px;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.circuit-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 50 L70 30 M50 50 L30 30 M50 50 L50 10 M50 50 L90 50 M50 50 L50 90 M50 50 L10 50' stroke='%230097e6' stroke-width='1' fill='none' opacity='0.2'/%3E%3C/svg%3E");
    background-size: 150px 150px;
    opacity: 0.15;
    animation: moveBg 60s linear infinite;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tech-primary);
    opacity: 0.6;
    box-shadow: 0 0 10px var(--tech-glow);
    animation: float 15s infinite linear;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.glitch-text {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    position: relative;
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
    margin-bottom: 1.5rem;
    animation: glitch 5s infinite;
}

.typewriter-text {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
    display: inline-block;
    border-right: 3px solid var(--tech-primary);
    white-space: nowrap;
    animation: typing 4s steps(40) 1s 1 normal both,
        blink-caret 0.75s step-end infinite;
    overflow: hidden;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(
        135deg,
        var(--tech-primary),
        var(--tech-secondary)
    );
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 200, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 200, 255, 0.4);
}

.cta-button:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.7s ease;
    z-index: -1;
}

.cta-button:hover:before {
    left: 100%;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.2;
        transform: scale(1);
    }
}

@keyframes tech-shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes moveBg {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 150px 150px;
    }
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-500px) translateX(100px);
        opacity: 0;
    }
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.3),
            -0.05em -0.025em 0 rgba(0, 255, 0, 0.3),
            -0.025em 0.05em 0 rgba(0, 0, 255, 0.3);
    }

    14% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.3),
            -0.05em -0.025em 0 rgba(0, 255, 0, 0.3),
            -0.025em 0.05em 0 rgba(0, 0, 255, 0.3);
    }

    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.3),
            0.025em 0.025em 0 rgba(0, 255, 0, 0.3),
            -0.05em -0.05em 0 rgba(0, 0, 255, 0.3);
    }

    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.3),
            0.025em 0.025em 0 rgba(0, 255, 0, 0.3),
            -0.05em -0.05em 0 rgba(0, 0, 255, 0.3);
    }

    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.3),
            0.05em 0 0 rgba(0, 255, 0, 0.3), 0 -0.05em 0 rgba(0, 0, 255, 0.3);
    }

    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.3),
            0.05em 0 0 rgba(0, 255, 0, 0.3), 0 -0.05em 0 rgba(0, 0, 255, 0.3);
    }

    100% {
        text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.3),
            -0.025em -0.025em 0 rgba(0, 255, 0, 0.3),
            -0.025em -0.05em 0 rgba(0, 0, 255, 0.3);
    }
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--tech-primary);
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 2.5rem;
    }

    .section-header h3,
    .section-title {
        font-size: 1.8rem;
    }

    .guidelines-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .guideline-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .banner-title {
        font-size: 2rem;
    }

    .section-header h3,
    .section-title {
        font-size: 1.5rem;
    }

    .header-icon {
        width: 40px;
        height: 40px;
    }

    .header-icon i {
        font-size: 18px;
    }

    .info-item {
        padding: 0.8rem;
    }

    .social-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
    }

    .card-icon i {
        font-size: 1.5rem;
    }

    .glitch-text {
        font-size: 2rem;
    }

    .typewriter-text {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
    }
} */
